zsgf_client 1.0.24 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/AccessTokenApi.md +15 -15
- data/docs/AccessTokenPutRequest.md +2 -2
- data/docs/AlipayApi.md +25 -25
- data/docs/AppApi.md +1 -655
- data/docs/AppUserResetEmailRequest.md +20 -0
- data/docs/AppUserResetPhoneRequest.md +20 -0
- data/docs/AppUserResetPwdRequest.md +4 -8
- data/docs/CommonFriendModel.md +3 -3
- data/docs/DingTalkApi.md +1 -1
- data/docs/EmailSignInRequest.md +3 -3
- data/docs/EmailSignUpRequest.md +5 -5
- data/docs/ExternalAccountApi.md +373 -0
- data/docs/{OAuthAccountBindRequest.md → ExternalAccountBindRequest.md} +2 -2
- data/docs/{OAuthAccountPutBindRequest.md → ExternalAccountPutRequest.md} +2 -2
- data/docs/ExternalAccountSignInRequest.md +22 -0
- data/docs/FileApi.md +19 -19
- data/docs/FollowerModel.md +12 -12
- data/docs/FollowerPutModel.md +6 -6
- data/docs/GeoLocation.md +62 -0
- data/docs/GeoLocationModel.md +4 -4
- data/docs/GeoLocationResponseModel.md +4 -4
- data/docs/GetUserProfileResult.md +24 -0
- data/docs/{CurrencyExchangeRateApiResponse.md → GetUserProfileResultApiResponse.md} +3 -3
- data/docs/MySqlGeometry.md +26 -0
- data/docs/OAuthApi.md +17 -17
- data/docs/OrderApi.md +1 -1
- data/docs/PhoneSignInRequest.md +3 -3
- data/docs/PhoneSignUpRequest.md +7 -7
- data/docs/QRCodePreSignInRequest.md +3 -3
- data/docs/QRCodeScanRequest.md +1 -1
- data/docs/QRCodeSignInRequest.md +1 -1
- data/docs/QRCodeSignUpRequest.md +8 -8
- data/docs/RecommendFriend.md +21 -11
- data/docs/SendEmailCodeRequest.md +2 -2
- data/docs/SendSMSCodeRequest.md +2 -2
- data/docs/SignInRequest.md +3 -3
- data/docs/SignUpRequest.md +8 -8
- data/docs/StorageApi.md +69 -819
- data/docs/TapPayInfo.md +5 -1
- data/docs/UnionIDSignInRequest.md +3 -3
- data/docs/UnionIDSignUpRequest.md +10 -10
- data/docs/UpdateProfileRequest.md +27 -15
- data/docs/UserApi.md +145 -2195
- data/docs/UserCurrencyApi.md +1 -1
- data/docs/UserFriendsApi.md +795 -0
- data/docs/UserFriendsNearByResult.md +3 -3
- data/docs/UserLocationApi.md +387 -0
- data/docs/UserProfileResult.md +2 -28
- data/docs/WechatApi.md +425 -55
- data/lib/zsgf_client/api/access_token_api.rb +15 -15
- data/lib/zsgf_client/api/alipay_api.rb +13 -13
- data/lib/zsgf_client/api/app_api.rb +1 -588
- data/lib/zsgf_client/api/ding_talk_api.rb +1 -1
- data/lib/zsgf_client/api/{authorize_policy_api.rb → external_account_api.rb} +108 -113
- data/lib/zsgf_client/api/file_api.rb +14 -14
- data/lib/zsgf_client/api/o_auth_api.rb +9 -9
- data/lib/zsgf_client/api/order_api.rb +1 -1
- data/lib/zsgf_client/api/storage_api.rb +113 -885
- data/lib/zsgf_client/api/user_api.rb +153 -2126
- data/lib/zsgf_client/api/user_currency_api.rb +1 -1
- data/lib/zsgf_client/api/user_friends_api.rb +787 -0
- data/lib/zsgf_client/api/{user_setting_api.rb → user_location_api.rb} +106 -94
- data/lib/zsgf_client/api/wechat_api.rb +391 -41
- data/lib/zsgf_client/api_client.rb +1 -1
- data/lib/zsgf_client/api_error.rb +1 -1
- data/lib/zsgf_client/configuration.rb +4 -4
- data/lib/zsgf_client/models/access_token_list_result.rb +1 -1
- data/lib/zsgf_client/models/access_token_list_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/access_token_post_request.rb +1 -1
- data/lib/zsgf_client/models/access_token_put_request.rb +4 -28
- data/lib/zsgf_client/models/alipay_create_order_page_pay_request.rb +1 -1
- data/lib/zsgf_client/models/alipay_create_order_request.rb +1 -1
- data/lib/zsgf_client/models/alipay_create_order_wap_pay_request.rb +1 -1
- data/lib/zsgf_client/models/alipay_trade_query_response.rb +1 -1
- data/lib/zsgf_client/models/alipay_trade_query_response_api_response.rb +1 -1
- data/lib/zsgf_client/models/alipay_trade_refund_response.rb +1 -1
- data/lib/zsgf_client/models/alipay_trade_refund_response_api_response.rb +1 -1
- data/lib/zsgf_client/models/app_info_item.rb +1 -1
- data/lib/zsgf_client/models/app_info_result.rb +1 -1
- data/lib/zsgf_client/models/app_info_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/app_property.rb +1 -1
- data/lib/zsgf_client/models/app_user_consent_model.rb +1 -1
- data/lib/zsgf_client/models/app_user_consent_model_list_api_response.rb +1 -1
- data/lib/zsgf_client/models/{app_list_result_api_response.rb → app_user_reset_email_request.rb} +56 -32
- data/lib/zsgf_client/models/{app_post_result_api_response.rb → app_user_reset_phone_request.rb} +56 -32
- data/lib/zsgf_client/models/app_user_reset_pwd_request.rb +53 -71
- data/lib/zsgf_client/models/authorize_result.rb +1 -1
- data/lib/zsgf_client/models/authorize_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/bk_agent_resp_info.rb +1 -1
- data/lib/zsgf_client/models/boolean_api_response.rb +1 -1
- data/lib/zsgf_client/models/charge_info.rb +1 -1
- data/lib/zsgf_client/models/common_friend_model.rb +4 -1
- data/lib/zsgf_client/models/contribute_detail.rb +1 -1
- data/lib/zsgf_client/models/create_order_request.rb +1 -1
- data/lib/zsgf_client/models/create_order_result.rb +1 -1
- data/lib/zsgf_client/models/create_order_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/currency_consume_request.rb +1 -1
- data/lib/zsgf_client/models/currency_transaction.rb +1 -1
- data/lib/zsgf_client/models/directory_item.rb +1 -1
- data/lib/zsgf_client/models/email_sign_in_request.rb +39 -2
- data/lib/zsgf_client/models/email_sign_up_request.rb +31 -9
- data/lib/zsgf_client/models/enterprise_pay_info.rb +1 -1
- data/lib/zsgf_client/models/exchange_currency_request.rb +1 -1
- data/lib/zsgf_client/models/{o_auth_account_bind_request.rb → external_account_bind_request.rb} +4 -4
- data/lib/zsgf_client/models/{o_auth_account_put_bind_request.rb → external_account_put_request.rb} +4 -4
- data/lib/zsgf_client/models/{o_auth_account_sign_in_request.rb → external_account_sign_in_request.rb} +82 -5
- data/lib/zsgf_client/models/file_item.rb +1 -1
- data/lib/zsgf_client/models/file_list_result.rb +1 -1
- data/lib/zsgf_client/models/file_list_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/follower_model.rb +13 -1
- data/lib/zsgf_client/models/follower_put_model.rb +7 -1
- data/lib/zsgf_client/models/fulfillment_detail.rb +1 -1
- data/lib/zsgf_client/models/geo_location.rb +750 -0
- data/lib/zsgf_client/models/geo_location_model.rb +263 -13
- data/lib/zsgf_client/models/geo_location_model_api_response.rb +1 -1
- data/lib/zsgf_client/models/geo_location_response_model.rb +263 -13
- data/lib/zsgf_client/models/{system_file_list_result.rb → get_user_profile_result.rb} +35 -28
- data/lib/zsgf_client/models/{currency_exchange_rate_api_response.rb → get_user_profile_result_api_response.rb} +5 -5
- data/lib/zsgf_client/models/goods_detail.rb +1 -1
- data/lib/zsgf_client/models/grant_request.rb +1 -1
- data/lib/zsgf_client/models/grant_result.rb +1 -1
- data/lib/zsgf_client/models/grant_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/hb_fq_pay_info.rb +1 -1
- data/lib/zsgf_client/models/int64_api_response.rb +1 -1
- data/lib/zsgf_client/models/intact_charge_info.rb +1 -1
- data/lib/zsgf_client/models/{app_post_result.rb → my_sql_geometry.rb} +48 -18
- data/lib/zsgf_client/models/object_api_response.rb +1 -1
- data/lib/zsgf_client/models/object_list_api_response.rb +1 -1
- data/lib/zsgf_client/models/order.rb +1 -1
- data/lib/zsgf_client/models/order_api_response.rb +1 -1
- data/lib/zsgf_client/models/order_list_result.rb +1 -1
- data/lib/zsgf_client/models/order_list_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/payment_info_with_id.rb +1 -1
- data/lib/zsgf_client/models/phone_sign_in_request.rb +50 -2
- data/lib/zsgf_client/models/phone_sign_up_request.rb +30 -25
- data/lib/zsgf_client/models/preset_pay_tool_info.rb +1 -1
- data/lib/zsgf_client/models/profile_result.rb +1 -1
- data/lib/zsgf_client/models/profile_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/qr_code_pre_sign_in_request.rb +98 -1
- data/lib/zsgf_client/models/qr_code_scan_request.rb +2 -1
- data/lib/zsgf_client/models/qr_code_sign_in_request.rb +2 -1
- data/lib/zsgf_client/models/qr_code_sign_up_request.rb +39 -34
- data/lib/zsgf_client/models/recharge_point_request.rb +1 -1
- data/lib/zsgf_client/models/recommend_friend.rb +70 -5
- data/lib/zsgf_client/models/refund_charge_info.rb +1 -1
- data/lib/zsgf_client/models/refund_sub_fee.rb +1 -1
- data/lib/zsgf_client/models/return_page_notify_request.rb +1 -1
- data/lib/zsgf_client/models/send_email_code_request.rb +3 -2
- data/lib/zsgf_client/models/send_sms_code_request.rb +3 -3
- data/lib/zsgf_client/models/setup_code.rb +1 -1
- data/lib/zsgf_client/models/setup_code_api_response.rb +1 -1
- data/lib/zsgf_client/models/sign_in_request.rb +78 -12
- data/lib/zsgf_client/models/sign_up_request.rb +48 -36
- data/lib/zsgf_client/models/storage_list_result.rb +1 -1
- data/lib/zsgf_client/models/storage_list_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/string_api_response.rb +1 -1
- data/lib/zsgf_client/models/sub_fee.rb +1 -1
- data/lib/zsgf_client/models/tap_pay_info.rb +26 -6
- data/lib/zsgf_client/models/token_model.rb +1 -1
- data/lib/zsgf_client/models/token_model_api_response.rb +1 -1
- data/lib/zsgf_client/models/trade_fund_bill.rb +1 -1
- data/lib/zsgf_client/models/trade_settle_detail.rb +1 -1
- data/lib/zsgf_client/models/trade_settle_info.rb +1 -1
- data/lib/zsgf_client/models/union_id_sign_in_request.rb +79 -2
- data/lib/zsgf_client/models/union_id_sign_up_request.rb +93 -46
- data/lib/zsgf_client/models/update_profile_request.rb +100 -25
- data/lib/zsgf_client/models/user.rb +1 -1
- data/lib/zsgf_client/models/user_access_token.rb +1 -1
- data/lib/zsgf_client/models/user_common_interests_result.rb +1 -1
- data/lib/zsgf_client/models/user_common_interests_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_currency.rb +1 -1
- data/lib/zsgf_client/models/user_currency_currency_trans_result.rb +1 -1
- data/lib/zsgf_client/models/user_currency_currency_trans_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_currency_list_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_followers_result.rb +1 -1
- data/lib/zsgf_client/models/user_followers_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_friends_near_by_result.rb +11 -8
- data/lib/zsgf_client/models/user_friends_near_by_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_location_post_result.rb +1 -1
- data/lib/zsgf_client/models/user_location_post_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_locations_result.rb +1 -1
- data/lib/zsgf_client/models/user_locations_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_logins.rb +1 -1
- data/lib/zsgf_client/models/user_logins_list_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_mutual_followers_result.rb +1 -1
- data/lib/zsgf_client/models/user_mutual_followers_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_mutual_followings_result.rb +1 -1
- data/lib/zsgf_client/models/user_mutual_followings_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_profile_result.rb +8 -134
- data/lib/zsgf_client/models/user_profile_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/user_qr_code_scan_result.rb +1 -1
- data/lib/zsgf_client/models/user_qr_code_scan_result_api_response.rb +1 -1
- data/lib/zsgf_client/models/voucher_detail.rb +1 -1
- data/lib/zsgf_client/models/wechat_js_config_result.rb +1 -1
- data/lib/zsgf_client/models/wechat_js_config_result_api_response.rb +1 -1
- data/lib/zsgf_client/version.rb +2 -2
- data/lib/zsgf_client.rb +13 -90
- data/spec/api/access_token_api_spec.rb +8 -8
- data/spec/api/alipay_api_spec.rb +7 -7
- data/spec/api/app_api_spec.rb +1 -115
- data/spec/api/ding_talk_api_spec.rb +1 -1
- data/spec/api/{user_setting_api_spec.rb → external_account_api_spec.rb} +35 -38
- data/spec/api/file_api_spec.rb +7 -7
- data/spec/api/o_auth_api_spec.rb +5 -5
- data/spec/api/order_api_spec.rb +1 -1
- data/spec/api/storage_api_spec.rb +2 -141
- data/spec/api/user_api_spec.rb +20 -406
- data/spec/api/user_currency_api_spec.rb +1 -1
- data/spec/api/user_friends_api_spec.rb +192 -0
- data/spec/api/user_location_api_spec.rb +107 -0
- data/spec/api/wechat_api_spec.rb +82 -17
- data/spec/models/access_token_list_result_api_response_spec.rb +1 -1
- data/spec/models/access_token_list_result_spec.rb +1 -1
- data/spec/models/access_token_post_request_spec.rb +1 -1
- data/spec/models/access_token_put_request_spec.rb +1 -1
- data/spec/models/alipay_create_order_page_pay_request_spec.rb +1 -1
- data/spec/models/alipay_create_order_request_spec.rb +1 -1
- data/spec/models/alipay_create_order_wap_pay_request_spec.rb +1 -1
- data/spec/models/alipay_trade_query_response_api_response_spec.rb +1 -1
- data/spec/models/alipay_trade_query_response_spec.rb +1 -1
- data/spec/models/alipay_trade_refund_response_api_response_spec.rb +1 -1
- data/spec/models/alipay_trade_refund_response_spec.rb +1 -1
- data/spec/models/app_info_item_spec.rb +1 -1
- data/spec/models/app_info_result_api_response_spec.rb +1 -1
- data/spec/models/app_info_result_spec.rb +1 -1
- data/spec/models/app_property_spec.rb +1 -1
- data/spec/models/app_user_consent_model_list_api_response_spec.rb +1 -1
- data/spec/models/app_user_consent_model_spec.rb +1 -1
- data/spec/models/{app_post_result_spec.rb → app_user_reset_email_request_spec.rb} +9 -9
- data/spec/models/{post_index_request_spec.rb → app_user_reset_phone_request_spec.rb} +9 -9
- data/spec/models/app_user_reset_pwd_request_spec.rb +3 -15
- data/spec/models/authorize_result_api_response_spec.rb +1 -1
- data/spec/models/authorize_result_spec.rb +1 -1
- data/spec/models/bk_agent_resp_info_spec.rb +1 -1
- data/spec/models/boolean_api_response_spec.rb +1 -1
- data/spec/models/charge_info_spec.rb +1 -1
- data/spec/models/common_friend_model_spec.rb +1 -1
- data/spec/models/contribute_detail_spec.rb +1 -1
- data/spec/models/create_order_request_spec.rb +1 -1
- data/spec/models/create_order_result_api_response_spec.rb +1 -1
- data/spec/models/create_order_result_spec.rb +1 -1
- data/spec/models/currency_consume_request_spec.rb +1 -1
- data/spec/models/currency_transaction_spec.rb +1 -1
- data/spec/models/directory_item_spec.rb +1 -1
- data/spec/models/email_sign_in_request_spec.rb +1 -1
- data/spec/models/email_sign_up_request_spec.rb +1 -1
- data/spec/models/enterprise_pay_info_spec.rb +1 -1
- data/spec/models/exchange_currency_request_spec.rb +1 -1
- data/spec/models/{o_auth_account_bind_request_spec.rb → external_account_bind_request_spec.rb} +7 -7
- data/spec/models/{o_auth_account_put_bind_request_spec.rb → external_account_put_request_spec.rb} +7 -7
- data/spec/models/{o_auth_account_sign_in_request_spec.rb → external_account_sign_in_request_spec.rb} +7 -7
- data/spec/models/file_item_spec.rb +1 -1
- data/spec/models/file_list_result_api_response_spec.rb +1 -1
- data/spec/models/file_list_result_spec.rb +1 -1
- data/spec/models/follower_model_spec.rb +1 -1
- data/spec/models/follower_put_model_spec.rb +1 -1
- data/spec/models/fulfillment_detail_spec.rb +1 -1
- data/spec/models/geo_location_model_api_response_spec.rb +1 -1
- data/spec/models/geo_location_model_spec.rb +4 -4
- data/spec/models/geo_location_response_model_spec.rb +4 -4
- data/spec/models/{app_spec.rb → geo_location_spec.rb} +58 -22
- data/spec/models/{system_file_list_result_api_response_spec.rb → get_user_profile_result_api_response_spec.rb} +7 -7
- data/spec/models/{system_directory_item_spec.rb → get_user_profile_result_spec.rb} +11 -11
- data/spec/models/goods_detail_spec.rb +1 -1
- data/spec/models/grant_request_spec.rb +1 -1
- data/spec/models/grant_result_api_response_spec.rb +1 -1
- data/spec/models/grant_result_spec.rb +1 -1
- data/spec/models/hb_fq_pay_info_spec.rb +1 -1
- data/spec/models/int64_api_response_spec.rb +1 -1
- data/spec/models/intact_charge_info_spec.rb +1 -1
- data/spec/models/{authorize_policy_spec.rb → my_sql_geometry_spec.rb} +12 -18
- data/spec/models/object_api_response_spec.rb +1 -1
- data/spec/models/object_list_api_response_spec.rb +1 -1
- data/spec/models/order_api_response_spec.rb +1 -1
- data/spec/models/order_list_result_api_response_spec.rb +1 -1
- data/spec/models/order_list_result_spec.rb +1 -1
- data/spec/models/order_spec.rb +1 -1
- data/spec/models/payment_info_with_id_spec.rb +1 -1
- data/spec/models/phone_sign_in_request_spec.rb +1 -1
- data/spec/models/phone_sign_up_request_spec.rb +1 -1
- data/spec/models/preset_pay_tool_info_spec.rb +1 -1
- data/spec/models/profile_result_api_response_spec.rb +1 -1
- data/spec/models/profile_result_spec.rb +1 -1
- data/spec/models/qr_code_pre_sign_in_request_spec.rb +1 -1
- data/spec/models/qr_code_scan_request_spec.rb +1 -1
- data/spec/models/qr_code_sign_in_request_spec.rb +1 -1
- data/spec/models/qr_code_sign_up_request_spec.rb +1 -1
- data/spec/models/recharge_point_request_spec.rb +1 -1
- data/spec/models/recommend_friend_spec.rb +31 -1
- data/spec/models/refund_charge_info_spec.rb +1 -1
- data/spec/models/refund_sub_fee_spec.rb +1 -1
- data/spec/models/return_page_notify_request_spec.rb +1 -1
- data/spec/models/send_email_code_request_spec.rb +1 -1
- data/spec/models/send_sms_code_request_spec.rb +1 -1
- data/spec/models/setup_code_api_response_spec.rb +1 -1
- data/spec/models/setup_code_spec.rb +1 -1
- data/spec/models/sign_in_request_spec.rb +1 -1
- data/spec/models/sign_up_request_spec.rb +1 -1
- data/spec/models/storage_list_result_api_response_spec.rb +1 -1
- data/spec/models/storage_list_result_spec.rb +1 -1
- data/spec/models/string_api_response_spec.rb +1 -1
- data/spec/models/sub_fee_spec.rb +1 -1
- data/spec/models/tap_pay_info_spec.rb +13 -1
- data/spec/models/token_model_api_response_spec.rb +1 -1
- data/spec/models/token_model_spec.rb +1 -1
- data/spec/models/trade_fund_bill_spec.rb +1 -1
- data/spec/models/trade_settle_detail_spec.rb +1 -1
- data/spec/models/trade_settle_info_spec.rb +1 -1
- data/spec/models/union_id_sign_in_request_spec.rb +1 -1
- data/spec/models/union_id_sign_up_request_spec.rb +1 -1
- data/spec/models/update_profile_request_spec.rb +37 -1
- data/spec/models/user_access_token_spec.rb +1 -1
- data/spec/models/user_common_interests_result_api_response_spec.rb +1 -1
- data/spec/models/user_common_interests_result_spec.rb +1 -1
- data/spec/models/user_currency_currency_trans_result_api_response_spec.rb +1 -1
- data/spec/models/user_currency_currency_trans_result_spec.rb +1 -1
- data/spec/models/user_currency_list_api_response_spec.rb +1 -1
- data/spec/models/user_currency_spec.rb +1 -1
- data/spec/models/user_followers_result_api_response_spec.rb +1 -1
- data/spec/models/user_followers_result_spec.rb +1 -1
- data/spec/models/user_friends_near_by_result_api_response_spec.rb +1 -1
- data/spec/models/user_friends_near_by_result_spec.rb +2 -2
- data/spec/models/user_location_post_result_api_response_spec.rb +1 -1
- data/spec/models/user_location_post_result_spec.rb +1 -1
- data/spec/models/user_locations_result_api_response_spec.rb +1 -1
- data/spec/models/user_locations_result_spec.rb +1 -1
- data/spec/models/user_logins_list_api_response_spec.rb +1 -1
- data/spec/models/user_logins_spec.rb +1 -1
- data/spec/models/user_mutual_followers_result_api_response_spec.rb +1 -1
- data/spec/models/user_mutual_followers_result_spec.rb +1 -1
- data/spec/models/user_mutual_followings_result_api_response_spec.rb +1 -1
- data/spec/models/user_mutual_followings_result_spec.rb +1 -1
- data/spec/models/user_profile_result_api_response_spec.rb +1 -1
- data/spec/models/user_profile_result_spec.rb +2 -80
- data/spec/models/user_qr_code_scan_result_api_response_spec.rb +1 -1
- data/spec/models/user_qr_code_scan_result_spec.rb +1 -1
- data/spec/models/user_spec.rb +1 -1
- data/spec/models/voucher_detail_spec.rb +1 -1
- data/spec/models/wechat_js_config_result_api_response_spec.rb +1 -1
- data/spec/models/wechat_js_config_result_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/zsgf_client.gemspec +1 -1
- metadata +159 -467
- data/docs/App.md +0 -50
- data/docs/AppApiResponse.md +0 -22
- data/docs/AppCheckVersionResult.md +0 -20
- data/docs/AppCheckVersionResultApiResponse.md +0 -22
- data/docs/AppListResult.md +0 -20
- data/docs/AppListResultApiResponse.md +0 -22
- data/docs/AppPostResult.md +0 -20
- data/docs/AppPostResultApiResponse.md +0 -22
- data/docs/AppSetting.md +0 -36
- data/docs/AppSettingApi.md +0 -1495
- data/docs/AppSettingApiResponse.md +0 -22
- data/docs/AppSettingGroupPostResult.md +0 -18
- data/docs/AppSettingGroupPostResultApiResponse.md +0 -22
- data/docs/AppSettingItemPostResult.md +0 -18
- data/docs/AppSettingItemPostResultApiResponse.md +0 -22
- data/docs/AppSettingListApiResponse.md +0 -22
- data/docs/AppSettingProviderPostResult.md +0 -18
- data/docs/AppSettingProviderPostResultApiResponse.md +0 -22
- data/docs/AppSettingSettingPostResult.md +0 -18
- data/docs/AppSettingSettingPostResultApiResponse.md +0 -22
- data/docs/AppUserListResponse.md +0 -40
- data/docs/AuthorizePolicy.md +0 -28
- data/docs/AuthorizePolicyApi.md +0 -377
- data/docs/AuthorizePolicyApiResponse.md +0 -22
- data/docs/AuthorizePolicyListApiResponse.md +0 -22
- data/docs/CreatePostResult.md +0 -18
- data/docs/CreatePostResultApiResponse.md +0 -22
- data/docs/Currency.md +0 -48
- data/docs/CurrencyApi.md +0 -677
- data/docs/CurrencyApiResponse.md +0 -22
- data/docs/CurrencyExchangeRate.md +0 -30
- data/docs/CurrencyListApiResponse.md +0 -22
- data/docs/CurrencyTransactionListApiResponse.md +0 -22
- data/docs/ExchangeRatePutRequest.md +0 -22
- data/docs/ExecuteFunctionRequest.md +0 -18
- data/docs/ListResponseItem.md +0 -36
- data/docs/ListResponseItemListApiResponse.md +0 -22
- data/docs/OAuthAccountSignInRequest.md +0 -22
- data/docs/PostIndexRequest.md +0 -20
- data/docs/PostResult.md +0 -18
- data/docs/PostResultApiResponse.md +0 -22
- data/docs/Project.md +0 -34
- data/docs/ProjectApi.md +0 -367
- data/docs/ProjectApiResponse.md +0 -22
- data/docs/ProjectListResult.md +0 -20
- data/docs/ProjectListResultApiResponse.md +0 -22
- data/docs/ServiceGroup.md +0 -36
- data/docs/ServiceGroupApiResponse.md +0 -22
- data/docs/ServiceGroupListApiResponse.md +0 -22
- data/docs/ServiceItem.md +0 -48
- data/docs/ServiceItemApiResponse.md +0 -22
- data/docs/ServiceItemListApiResponse.md +0 -22
- data/docs/ServiceProvider.md +0 -38
- data/docs/ServiceProviderApiResponse.md +0 -22
- data/docs/ServiceProviderListApiResponse.md +0 -22
- data/docs/ServiceSettingApi.md +0 -1459
- data/docs/ServiceSettingGroupPostResult.md +0 -18
- data/docs/ServiceSettingGroupPostResultApiResponse.md +0 -22
- data/docs/ServiceSettingItemPostResult.md +0 -18
- data/docs/ServiceSettingItemPostResultApiResponse.md +0 -22
- data/docs/ServiceSettingProviderPostResult.md +0 -18
- data/docs/ServiceSettingProviderPostResultApiResponse.md +0 -22
- data/docs/ServiceSettingSettingPostResult.md +0 -18
- data/docs/ServiceSettingSettingPostResultApiResponse.md +0 -22
- data/docs/Settings.md +0 -40
- data/docs/SettingsApiResponse.md +0 -22
- data/docs/SettingsListApiResponse.md +0 -22
- data/docs/StringListApiResponse.md +0 -22
- data/docs/SystemDirectoryItem.md +0 -24
- data/docs/SystemFileApi.md +0 -371
- data/docs/SystemFileItem.md +0 -24
- data/docs/SystemFileListResult.md +0 -22
- data/docs/SystemFileListResultApiResponse.md +0 -22
- data/docs/Team.md +0 -36
- data/docs/TeamApi.md +0 -297
- data/docs/UserApiResponse.md +0 -22
- data/docs/UserFollowingResult.md +0 -20
- data/docs/UserFollowingResultApiResponse.md +0 -22
- data/docs/UserListResult.md +0 -20
- data/docs/UserListResultApiResponse.md +0 -22
- data/docs/UserSetting.md +0 -38
- data/docs/UserSettingApi.md +0 -379
- data/docs/UserSettingApiResponse.md +0 -22
- data/docs/UserSettingListApiResponse.md +0 -22
- data/docs/UserSettingPostResult.md +0 -18
- data/docs/UserSettingPostResultApiResponse.md +0 -22
- data/lib/zsgf_client/api/app_setting_api.rb +0 -1446
- data/lib/zsgf_client/api/currency_api.rb +0 -667
- data/lib/zsgf_client/api/project_api.rb +0 -345
- data/lib/zsgf_client/api/service_setting_api.rb +0 -1340
- data/lib/zsgf_client/api/system_file_api.rb +0 -333
- data/lib/zsgf_client/api/team_api.rb +0 -282
- data/lib/zsgf_client/models/app.rb +0 -583
- data/lib/zsgf_client/models/app_api_response.rb +0 -245
- data/lib/zsgf_client/models/app_check_version_result.rb +0 -235
- data/lib/zsgf_client/models/app_check_version_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/app_list_result.rb +0 -232
- data/lib/zsgf_client/models/app_setting.rb +0 -437
- data/lib/zsgf_client/models/app_setting_api_response.rb +0 -245
- data/lib/zsgf_client/models/app_setting_group_post_result.rb +0 -220
- data/lib/zsgf_client/models/app_setting_group_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/app_setting_item_post_result.rb +0 -220
- data/lib/zsgf_client/models/app_setting_item_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/app_setting_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/app_setting_provider_post_result.rb +0 -220
- data/lib/zsgf_client/models/app_setting_provider_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/app_setting_setting_post_result.rb +0 -220
- data/lib/zsgf_client/models/app_setting_setting_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/app_user_list_response.rb +0 -327
- data/lib/zsgf_client/models/authorize_policy.rb +0 -290
- data/lib/zsgf_client/models/authorize_policy_api_response.rb +0 -245
- data/lib/zsgf_client/models/authorize_policy_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/create_post_result.rb +0 -220
- data/lib/zsgf_client/models/create_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/currency.rb +0 -484
- data/lib/zsgf_client/models/currency_api_response.rb +0 -245
- data/lib/zsgf_client/models/currency_exchange_rate.rb +0 -330
- data/lib/zsgf_client/models/currency_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/currency_transaction_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/exchange_rate_put_request.rb +0 -240
- data/lib/zsgf_client/models/execute_function_request.rb +0 -222
- data/lib/zsgf_client/models/list_response_item.rb +0 -308
- data/lib/zsgf_client/models/list_response_item_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/post_index_request.rb +0 -251
- data/lib/zsgf_client/models/post_result.rb +0 -220
- data/lib/zsgf_client/models/post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/project.rb +0 -353
- data/lib/zsgf_client/models/project_api_response.rb +0 -245
- data/lib/zsgf_client/models/project_list_result.rb +0 -232
- data/lib/zsgf_client/models/project_list_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/service_group.rb +0 -361
- data/lib/zsgf_client/models/service_group_api_response.rb +0 -245
- data/lib/zsgf_client/models/service_group_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/service_item.rb +0 -502
- data/lib/zsgf_client/models/service_item_api_response.rb +0 -245
- data/lib/zsgf_client/models/service_item_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/service_provider.rb +0 -403
- data/lib/zsgf_client/models/service_provider_api_response.rb +0 -245
- data/lib/zsgf_client/models/service_provider_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/service_setting_group_post_result.rb +0 -220
- data/lib/zsgf_client/models/service_setting_group_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/service_setting_item_post_result.rb +0 -220
- data/lib/zsgf_client/models/service_setting_item_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/service_setting_provider_post_result.rb +0 -220
- data/lib/zsgf_client/models/service_setting_provider_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/service_setting_setting_post_result.rb +0 -220
- data/lib/zsgf_client/models/service_setting_setting_post_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/settings.rb +0 -445
- data/lib/zsgf_client/models/settings_api_response.rb +0 -245
- data/lib/zsgf_client/models/settings_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/string_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/system_directory_item.rb +0 -249
- data/lib/zsgf_client/models/system_file_item.rb +0 -249
- data/lib/zsgf_client/models/system_file_list_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/team.rb +0 -376
- data/lib/zsgf_client/models/user_api_response.rb +0 -245
- data/lib/zsgf_client/models/user_following_result.rb +0 -232
- data/lib/zsgf_client/models/user_following_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/user_list_result.rb +0 -232
- data/lib/zsgf_client/models/user_list_result_api_response.rb +0 -245
- data/lib/zsgf_client/models/user_setting.rb +0 -464
- data/lib/zsgf_client/models/user_setting_api_response.rb +0 -245
- data/lib/zsgf_client/models/user_setting_list_api_response.rb +0 -249
- data/lib/zsgf_client/models/user_setting_post_result.rb +0 -220
- data/lib/zsgf_client/models/user_setting_post_result_api_response.rb +0 -245
- data/spec/api/app_setting_api_spec.rb +0 -307
- data/spec/api/authorize_policy_api_spec.rb +0 -102
- data/spec/api/currency_api_spec.rb +0 -159
- data/spec/api/project_api_spec.rb +0 -97
- data/spec/api/service_setting_api_spec.rb +0 -289
- data/spec/api/system_file_api_spec.rb +0 -97
- data/spec/api/team_api_spec.rb +0 -85
- data/spec/models/app_api_response_spec.rb +0 -48
- data/spec/models/app_check_version_result_api_response_spec.rb +0 -48
- data/spec/models/app_check_version_result_spec.rb +0 -42
- data/spec/models/app_list_result_api_response_spec.rb +0 -48
- data/spec/models/app_list_result_spec.rb +0 -42
- data/spec/models/app_post_result_api_response_spec.rb +0 -48
- data/spec/models/app_setting_api_response_spec.rb +0 -48
- data/spec/models/app_setting_group_post_result_api_response_spec.rb +0 -48
- data/spec/models/app_setting_group_post_result_spec.rb +0 -36
- data/spec/models/app_setting_item_post_result_api_response_spec.rb +0 -48
- data/spec/models/app_setting_item_post_result_spec.rb +0 -36
- data/spec/models/app_setting_list_api_response_spec.rb +0 -48
- data/spec/models/app_setting_provider_post_result_api_response_spec.rb +0 -48
- data/spec/models/app_setting_provider_post_result_spec.rb +0 -36
- data/spec/models/app_setting_setting_post_result_api_response_spec.rb +0 -48
- data/spec/models/app_setting_setting_post_result_spec.rb +0 -36
- data/spec/models/app_setting_spec.rb +0 -90
- data/spec/models/app_user_list_response_spec.rb +0 -102
- data/spec/models/authorize_policy_api_response_spec.rb +0 -48
- data/spec/models/authorize_policy_list_api_response_spec.rb +0 -48
- data/spec/models/create_post_result_api_response_spec.rb +0 -48
- data/spec/models/create_post_result_spec.rb +0 -36
- data/spec/models/currency_api_response_spec.rb +0 -48
- data/spec/models/currency_exchange_rate_api_response_spec.rb +0 -48
- data/spec/models/currency_exchange_rate_spec.rb +0 -72
- data/spec/models/currency_list_api_response_spec.rb +0 -48
- data/spec/models/currency_spec.rb +0 -126
- data/spec/models/currency_transaction_list_api_response_spec.rb +0 -48
- data/spec/models/exchange_rate_put_request_spec.rb +0 -48
- data/spec/models/execute_function_request_spec.rb +0 -36
- data/spec/models/list_response_item_list_api_response_spec.rb +0 -48
- data/spec/models/list_response_item_spec.rb +0 -90
- data/spec/models/post_result_api_response_spec.rb +0 -48
- data/spec/models/post_result_spec.rb +0 -36
- data/spec/models/project_api_response_spec.rb +0 -48
- data/spec/models/project_list_result_api_response_spec.rb +0 -48
- data/spec/models/project_list_result_spec.rb +0 -42
- data/spec/models/project_spec.rb +0 -84
- data/spec/models/service_group_api_response_spec.rb +0 -48
- data/spec/models/service_group_list_api_response_spec.rb +0 -48
- data/spec/models/service_group_spec.rb +0 -90
- data/spec/models/service_item_api_response_spec.rb +0 -48
- data/spec/models/service_item_list_api_response_spec.rb +0 -48
- data/spec/models/service_item_spec.rb +0 -126
- data/spec/models/service_provider_api_response_spec.rb +0 -48
- data/spec/models/service_provider_list_api_response_spec.rb +0 -48
- data/spec/models/service_provider_spec.rb +0 -96
- data/spec/models/service_setting_group_post_result_api_response_spec.rb +0 -48
- data/spec/models/service_setting_group_post_result_spec.rb +0 -36
- data/spec/models/service_setting_item_post_result_api_response_spec.rb +0 -48
- data/spec/models/service_setting_item_post_result_spec.rb +0 -36
- data/spec/models/service_setting_provider_post_result_api_response_spec.rb +0 -48
- data/spec/models/service_setting_provider_post_result_spec.rb +0 -36
- data/spec/models/service_setting_setting_post_result_api_response_spec.rb +0 -48
- data/spec/models/service_setting_setting_post_result_spec.rb +0 -36
- data/spec/models/settings_api_response_spec.rb +0 -48
- data/spec/models/settings_list_api_response_spec.rb +0 -48
- data/spec/models/settings_spec.rb +0 -102
- data/spec/models/string_list_api_response_spec.rb +0 -48
- data/spec/models/system_file_item_spec.rb +0 -54
- data/spec/models/system_file_list_result_spec.rb +0 -48
- data/spec/models/team_spec.rb +0 -90
- data/spec/models/user_api_response_spec.rb +0 -48
- data/spec/models/user_following_result_api_response_spec.rb +0 -48
- data/spec/models/user_following_result_spec.rb +0 -42
- data/spec/models/user_list_result_api_response_spec.rb +0 -48
- data/spec/models/user_list_result_spec.rb +0 -42
- data/spec/models/user_setting_api_response_spec.rb +0 -48
- data/spec/models/user_setting_list_api_response_spec.rb +0 -48
- data/spec/models/user_setting_post_result_api_response_spec.rb +0 -48
- data/spec/models/user_setting_post_result_spec.rb +0 -36
- data/spec/models/user_setting_spec.rb +0 -96
data/docs/AppSettingApi.md
DELETED
|
@@ -1,1495 +0,0 @@
|
|
|
1
|
-
# ZSGFClient::AppSettingApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://api.zashigaofa.cn*
|
|
4
|
-
|
|
5
|
-
| Method | HTTP request | Description |
|
|
6
|
-
| ------ | ------------ | ----------- |
|
|
7
|
-
| [**app_service_setting_group**](AppSettingApi.md#app_service_setting_group) | **GET** /AppSetting/{appKey}/Groups/{id} | 获取服务分组详情 |
|
|
8
|
-
| [**app_service_setting_group_delete**](AppSettingApi.md#app_service_setting_group_delete) | **DELETE** /AppSetting/{appKey}/Groups/{id} | 删除服务分组 |
|
|
9
|
-
| [**app_service_setting_group_post**](AppSettingApi.md#app_service_setting_group_post) | **POST** /AppSetting/{appKey}/Groups | 添加服务分组 |
|
|
10
|
-
| [**app_service_setting_group_put**](AppSettingApi.md#app_service_setting_group_put) | **PUT** /AppSetting/{appKey}/Groups/{id} | 更新服务分组 |
|
|
11
|
-
| [**app_service_setting_groups**](AppSettingApi.md#app_service_setting_groups) | **GET** /AppSetting/{appKey}/Groups | 获取服务分组列表 |
|
|
12
|
-
| [**app_service_setting_item**](AppSettingApi.md#app_service_setting_item) | **GET** /AppSetting/{appKey}/Items/{id} | 服务配置项详情 |
|
|
13
|
-
| [**app_service_setting_item_delete**](AppSettingApi.md#app_service_setting_item_delete) | **DELETE** /AppSetting/{appKey}/Items/{id} | 删除服务配置项 |
|
|
14
|
-
| [**app_service_setting_item_post**](AppSettingApi.md#app_service_setting_item_post) | **POST** /AppSetting/{appKey}/Items | 添加服务配置项 |
|
|
15
|
-
| [**app_service_setting_item_put**](AppSettingApi.md#app_service_setting_item_put) | **PUT** /AppSetting/{appKey}/Items/{id} | 更新服务配置项 |
|
|
16
|
-
| [**app_service_setting_items**](AppSettingApi.md#app_service_setting_items) | **GET** /AppSetting/{appKey}/Items | 服务配置项列表 |
|
|
17
|
-
| [**app_service_setting_provider**](AppSettingApi.md#app_service_setting_provider) | **GET** /AppSetting/{appKey}/Providers/{id} | 获取服务商详情 |
|
|
18
|
-
| [**app_service_setting_provider_delete**](AppSettingApi.md#app_service_setting_provider_delete) | **DELETE** /AppSetting/{appKey}/Providers/{id} | 删除服务商 |
|
|
19
|
-
| [**app_service_setting_provider_post**](AppSettingApi.md#app_service_setting_provider_post) | **POST** /AppSetting/{appKey}/Providers | 添加服务商 |
|
|
20
|
-
| [**app_service_setting_provider_put**](AppSettingApi.md#app_service_setting_provider_put) | **PUT** /AppSetting/{appKey}/Providers/{id} | 更新服务商 |
|
|
21
|
-
| [**app_service_setting_providers**](AppSettingApi.md#app_service_setting_providers) | **GET** /AppSetting/{appKey}/Providers | 获取服务商列表 |
|
|
22
|
-
| [**app_setting**](AppSettingApi.md#app_setting) | **GET** /AppSetting/{appKey}/{id} | 配置详情 |
|
|
23
|
-
| [**app_setting_delete**](AppSettingApi.md#app_setting_delete) | **DELETE** /AppSetting/{appKey}/{id} | 删除配置 |
|
|
24
|
-
| [**app_setting_post**](AppSettingApi.md#app_setting_post) | **POST** /AppSetting/{appKey} | 增加配置 |
|
|
25
|
-
| [**app_setting_put**](AppSettingApi.md#app_setting_put) | **PUT** /AppSetting/{appKey}/{id} | 更新配置 |
|
|
26
|
-
| [**app_settings**](AppSettingApi.md#app_settings) | **GET** /AppSetting/{appKey} | 配置列表 |
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
## app_service_setting_group
|
|
30
|
-
|
|
31
|
-
> <ServiceGroupApiResponse> app_service_setting_group(id, app_key)
|
|
32
|
-
|
|
33
|
-
获取服务分组详情
|
|
34
|
-
|
|
35
|
-
根据服务分组ID获取服务分组详情
|
|
36
|
-
|
|
37
|
-
### Examples
|
|
38
|
-
|
|
39
|
-
```ruby
|
|
40
|
-
require 'time'
|
|
41
|
-
require 'zsgf_client'
|
|
42
|
-
# setup authorization
|
|
43
|
-
ZSGFClient.configure do |config|
|
|
44
|
-
# Configure Bearer authorization: Bearer
|
|
45
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
49
|
-
id = 789 # Integer | 服务分组ID
|
|
50
|
-
app_key = 'app_key_example' # String |
|
|
51
|
-
|
|
52
|
-
begin
|
|
53
|
-
# 获取服务分组详情
|
|
54
|
-
result = api_instance.app_service_setting_group(id, app_key)
|
|
55
|
-
p result
|
|
56
|
-
rescue ZSGFClient::ApiError => e
|
|
57
|
-
puts "Error when calling AppSettingApi->app_service_setting_group: #{e}"
|
|
58
|
-
end
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
#### Using the app_service_setting_group_with_http_info variant
|
|
62
|
-
|
|
63
|
-
This returns an Array which contains the response data, status code and headers.
|
|
64
|
-
|
|
65
|
-
> <Array(<ServiceGroupApiResponse>, Integer, Hash)> app_service_setting_group_with_http_info(id, app_key)
|
|
66
|
-
|
|
67
|
-
```ruby
|
|
68
|
-
begin
|
|
69
|
-
# 获取服务分组详情
|
|
70
|
-
data, status_code, headers = api_instance.app_service_setting_group_with_http_info(id, app_key)
|
|
71
|
-
p status_code # => 2xx
|
|
72
|
-
p headers # => { ... }
|
|
73
|
-
p data # => <ServiceGroupApiResponse>
|
|
74
|
-
rescue ZSGFClient::ApiError => e
|
|
75
|
-
puts "Error when calling AppSettingApi->app_service_setting_group_with_http_info: #{e}"
|
|
76
|
-
end
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
### Parameters
|
|
80
|
-
|
|
81
|
-
| Name | Type | Description | Notes |
|
|
82
|
-
| ---- | ---- | ----------- | ----- |
|
|
83
|
-
| **id** | **Integer** | 服务分组ID | |
|
|
84
|
-
| **app_key** | **String** | | |
|
|
85
|
-
|
|
86
|
-
### Return type
|
|
87
|
-
|
|
88
|
-
[**ServiceGroupApiResponse**](ServiceGroupApiResponse.md)
|
|
89
|
-
|
|
90
|
-
### Authorization
|
|
91
|
-
|
|
92
|
-
[Bearer](../README.md#Bearer)
|
|
93
|
-
|
|
94
|
-
### HTTP request headers
|
|
95
|
-
|
|
96
|
-
- **Content-Type**: Not defined
|
|
97
|
-
- **Accept**: application/json
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
## app_service_setting_group_delete
|
|
101
|
-
|
|
102
|
-
> <BooleanApiResponse> app_service_setting_group_delete(id, app_key)
|
|
103
|
-
|
|
104
|
-
删除服务分组
|
|
105
|
-
|
|
106
|
-
根据服务分组ID删除服务分组
|
|
107
|
-
|
|
108
|
-
### Examples
|
|
109
|
-
|
|
110
|
-
```ruby
|
|
111
|
-
require 'time'
|
|
112
|
-
require 'zsgf_client'
|
|
113
|
-
# setup authorization
|
|
114
|
-
ZSGFClient.configure do |config|
|
|
115
|
-
# Configure Bearer authorization: Bearer
|
|
116
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
117
|
-
end
|
|
118
|
-
|
|
119
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
120
|
-
id = 789 # Integer | 服务分组ID
|
|
121
|
-
app_key = 'app_key_example' # String |
|
|
122
|
-
|
|
123
|
-
begin
|
|
124
|
-
# 删除服务分组
|
|
125
|
-
result = api_instance.app_service_setting_group_delete(id, app_key)
|
|
126
|
-
p result
|
|
127
|
-
rescue ZSGFClient::ApiError => e
|
|
128
|
-
puts "Error when calling AppSettingApi->app_service_setting_group_delete: #{e}"
|
|
129
|
-
end
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
#### Using the app_service_setting_group_delete_with_http_info variant
|
|
133
|
-
|
|
134
|
-
This returns an Array which contains the response data, status code and headers.
|
|
135
|
-
|
|
136
|
-
> <Array(<BooleanApiResponse>, Integer, Hash)> app_service_setting_group_delete_with_http_info(id, app_key)
|
|
137
|
-
|
|
138
|
-
```ruby
|
|
139
|
-
begin
|
|
140
|
-
# 删除服务分组
|
|
141
|
-
data, status_code, headers = api_instance.app_service_setting_group_delete_with_http_info(id, app_key)
|
|
142
|
-
p status_code # => 2xx
|
|
143
|
-
p headers # => { ... }
|
|
144
|
-
p data # => <BooleanApiResponse>
|
|
145
|
-
rescue ZSGFClient::ApiError => e
|
|
146
|
-
puts "Error when calling AppSettingApi->app_service_setting_group_delete_with_http_info: #{e}"
|
|
147
|
-
end
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
### Parameters
|
|
151
|
-
|
|
152
|
-
| Name | Type | Description | Notes |
|
|
153
|
-
| ---- | ---- | ----------- | ----- |
|
|
154
|
-
| **id** | **Integer** | 服务分组ID | |
|
|
155
|
-
| **app_key** | **String** | | |
|
|
156
|
-
|
|
157
|
-
### Return type
|
|
158
|
-
|
|
159
|
-
[**BooleanApiResponse**](BooleanApiResponse.md)
|
|
160
|
-
|
|
161
|
-
### Authorization
|
|
162
|
-
|
|
163
|
-
[Bearer](../README.md#Bearer)
|
|
164
|
-
|
|
165
|
-
### HTTP request headers
|
|
166
|
-
|
|
167
|
-
- **Content-Type**: Not defined
|
|
168
|
-
- **Accept**: application/json
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
## app_service_setting_group_post
|
|
172
|
-
|
|
173
|
-
> <AppSettingGroupPostResultApiResponse> app_service_setting_group_post(app_key, opts)
|
|
174
|
-
|
|
175
|
-
添加服务分组
|
|
176
|
-
|
|
177
|
-
添加新的服务分组信息
|
|
178
|
-
|
|
179
|
-
### Examples
|
|
180
|
-
|
|
181
|
-
```ruby
|
|
182
|
-
require 'time'
|
|
183
|
-
require 'zsgf_client'
|
|
184
|
-
# setup authorization
|
|
185
|
-
ZSGFClient.configure do |config|
|
|
186
|
-
# Configure Bearer authorization: Bearer
|
|
187
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
188
|
-
end
|
|
189
|
-
|
|
190
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
191
|
-
app_key = 'app_key_example' # String |
|
|
192
|
-
opts = {
|
|
193
|
-
service_group: ZSGFClient::ServiceGroup.new # ServiceGroup | 服务分组信息
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
begin
|
|
197
|
-
# 添加服务分组
|
|
198
|
-
result = api_instance.app_service_setting_group_post(app_key, opts)
|
|
199
|
-
p result
|
|
200
|
-
rescue ZSGFClient::ApiError => e
|
|
201
|
-
puts "Error when calling AppSettingApi->app_service_setting_group_post: #{e}"
|
|
202
|
-
end
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
#### Using the app_service_setting_group_post_with_http_info variant
|
|
206
|
-
|
|
207
|
-
This returns an Array which contains the response data, status code and headers.
|
|
208
|
-
|
|
209
|
-
> <Array(<AppSettingGroupPostResultApiResponse>, Integer, Hash)> app_service_setting_group_post_with_http_info(app_key, opts)
|
|
210
|
-
|
|
211
|
-
```ruby
|
|
212
|
-
begin
|
|
213
|
-
# 添加服务分组
|
|
214
|
-
data, status_code, headers = api_instance.app_service_setting_group_post_with_http_info(app_key, opts)
|
|
215
|
-
p status_code # => 2xx
|
|
216
|
-
p headers # => { ... }
|
|
217
|
-
p data # => <AppSettingGroupPostResultApiResponse>
|
|
218
|
-
rescue ZSGFClient::ApiError => e
|
|
219
|
-
puts "Error when calling AppSettingApi->app_service_setting_group_post_with_http_info: #{e}"
|
|
220
|
-
end
|
|
221
|
-
```
|
|
222
|
-
|
|
223
|
-
### Parameters
|
|
224
|
-
|
|
225
|
-
| Name | Type | Description | Notes |
|
|
226
|
-
| ---- | ---- | ----------- | ----- |
|
|
227
|
-
| **app_key** | **String** | | |
|
|
228
|
-
| **service_group** | [**ServiceGroup**](ServiceGroup.md) | 服务分组信息 | [optional] |
|
|
229
|
-
|
|
230
|
-
### Return type
|
|
231
|
-
|
|
232
|
-
[**AppSettingGroupPostResultApiResponse**](AppSettingGroupPostResultApiResponse.md)
|
|
233
|
-
|
|
234
|
-
### Authorization
|
|
235
|
-
|
|
236
|
-
[Bearer](../README.md#Bearer)
|
|
237
|
-
|
|
238
|
-
### HTTP request headers
|
|
239
|
-
|
|
240
|
-
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json
|
|
241
|
-
- **Accept**: application/json
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
## app_service_setting_group_put
|
|
245
|
-
|
|
246
|
-
> <BooleanApiResponse> app_service_setting_group_put(id, app_key, opts)
|
|
247
|
-
|
|
248
|
-
更新服务分组
|
|
249
|
-
|
|
250
|
-
根据服务分组ID更新服务分组信息
|
|
251
|
-
|
|
252
|
-
### Examples
|
|
253
|
-
|
|
254
|
-
```ruby
|
|
255
|
-
require 'time'
|
|
256
|
-
require 'zsgf_client'
|
|
257
|
-
# setup authorization
|
|
258
|
-
ZSGFClient.configure do |config|
|
|
259
|
-
# Configure Bearer authorization: Bearer
|
|
260
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
261
|
-
end
|
|
262
|
-
|
|
263
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
264
|
-
id = 789 # Integer | 服务分组ID
|
|
265
|
-
app_key = 'app_key_example' # String |
|
|
266
|
-
opts = {
|
|
267
|
-
service_group: ZSGFClient::ServiceGroup.new # ServiceGroup | 服务分组信息
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
begin
|
|
271
|
-
# 更新服务分组
|
|
272
|
-
result = api_instance.app_service_setting_group_put(id, app_key, opts)
|
|
273
|
-
p result
|
|
274
|
-
rescue ZSGFClient::ApiError => e
|
|
275
|
-
puts "Error when calling AppSettingApi->app_service_setting_group_put: #{e}"
|
|
276
|
-
end
|
|
277
|
-
```
|
|
278
|
-
|
|
279
|
-
#### Using the app_service_setting_group_put_with_http_info variant
|
|
280
|
-
|
|
281
|
-
This returns an Array which contains the response data, status code and headers.
|
|
282
|
-
|
|
283
|
-
> <Array(<BooleanApiResponse>, Integer, Hash)> app_service_setting_group_put_with_http_info(id, app_key, opts)
|
|
284
|
-
|
|
285
|
-
```ruby
|
|
286
|
-
begin
|
|
287
|
-
# 更新服务分组
|
|
288
|
-
data, status_code, headers = api_instance.app_service_setting_group_put_with_http_info(id, app_key, opts)
|
|
289
|
-
p status_code # => 2xx
|
|
290
|
-
p headers # => { ... }
|
|
291
|
-
p data # => <BooleanApiResponse>
|
|
292
|
-
rescue ZSGFClient::ApiError => e
|
|
293
|
-
puts "Error when calling AppSettingApi->app_service_setting_group_put_with_http_info: #{e}"
|
|
294
|
-
end
|
|
295
|
-
```
|
|
296
|
-
|
|
297
|
-
### Parameters
|
|
298
|
-
|
|
299
|
-
| Name | Type | Description | Notes |
|
|
300
|
-
| ---- | ---- | ----------- | ----- |
|
|
301
|
-
| **id** | **Integer** | 服务分组ID | |
|
|
302
|
-
| **app_key** | **String** | | |
|
|
303
|
-
| **service_group** | [**ServiceGroup**](ServiceGroup.md) | 服务分组信息 | [optional] |
|
|
304
|
-
|
|
305
|
-
### Return type
|
|
306
|
-
|
|
307
|
-
[**BooleanApiResponse**](BooleanApiResponse.md)
|
|
308
|
-
|
|
309
|
-
### Authorization
|
|
310
|
-
|
|
311
|
-
[Bearer](../README.md#Bearer)
|
|
312
|
-
|
|
313
|
-
### HTTP request headers
|
|
314
|
-
|
|
315
|
-
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json
|
|
316
|
-
- **Accept**: application/json
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
## app_service_setting_groups
|
|
320
|
-
|
|
321
|
-
> <ServiceGroupListApiResponse> app_service_setting_groups(app_key, opts)
|
|
322
|
-
|
|
323
|
-
获取服务分组列表
|
|
324
|
-
|
|
325
|
-
根据服务商ID和显示标志获取服务分组列表
|
|
326
|
-
|
|
327
|
-
### Examples
|
|
328
|
-
|
|
329
|
-
```ruby
|
|
330
|
-
require 'time'
|
|
331
|
-
require 'zsgf_client'
|
|
332
|
-
# setup authorization
|
|
333
|
-
ZSGFClient.configure do |config|
|
|
334
|
-
# Configure Bearer authorization: Bearer
|
|
335
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
336
|
-
end
|
|
337
|
-
|
|
338
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
339
|
-
app_key = 'app_key_example' # String |
|
|
340
|
-
opts = {
|
|
341
|
-
provider_id: 789, # Integer | 服务商ID
|
|
342
|
-
show_flag: true # Boolean | 是否显示
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
begin
|
|
346
|
-
# 获取服务分组列表
|
|
347
|
-
result = api_instance.app_service_setting_groups(app_key, opts)
|
|
348
|
-
p result
|
|
349
|
-
rescue ZSGFClient::ApiError => e
|
|
350
|
-
puts "Error when calling AppSettingApi->app_service_setting_groups: #{e}"
|
|
351
|
-
end
|
|
352
|
-
```
|
|
353
|
-
|
|
354
|
-
#### Using the app_service_setting_groups_with_http_info variant
|
|
355
|
-
|
|
356
|
-
This returns an Array which contains the response data, status code and headers.
|
|
357
|
-
|
|
358
|
-
> <Array(<ServiceGroupListApiResponse>, Integer, Hash)> app_service_setting_groups_with_http_info(app_key, opts)
|
|
359
|
-
|
|
360
|
-
```ruby
|
|
361
|
-
begin
|
|
362
|
-
# 获取服务分组列表
|
|
363
|
-
data, status_code, headers = api_instance.app_service_setting_groups_with_http_info(app_key, opts)
|
|
364
|
-
p status_code # => 2xx
|
|
365
|
-
p headers # => { ... }
|
|
366
|
-
p data # => <ServiceGroupListApiResponse>
|
|
367
|
-
rescue ZSGFClient::ApiError => e
|
|
368
|
-
puts "Error when calling AppSettingApi->app_service_setting_groups_with_http_info: #{e}"
|
|
369
|
-
end
|
|
370
|
-
```
|
|
371
|
-
|
|
372
|
-
### Parameters
|
|
373
|
-
|
|
374
|
-
| Name | Type | Description | Notes |
|
|
375
|
-
| ---- | ---- | ----------- | ----- |
|
|
376
|
-
| **app_key** | **String** | | |
|
|
377
|
-
| **provider_id** | **Integer** | 服务商ID | [optional] |
|
|
378
|
-
| **show_flag** | **Boolean** | 是否显示 | [optional][default to false] |
|
|
379
|
-
|
|
380
|
-
### Return type
|
|
381
|
-
|
|
382
|
-
[**ServiceGroupListApiResponse**](ServiceGroupListApiResponse.md)
|
|
383
|
-
|
|
384
|
-
### Authorization
|
|
385
|
-
|
|
386
|
-
[Bearer](../README.md#Bearer)
|
|
387
|
-
|
|
388
|
-
### HTTP request headers
|
|
389
|
-
|
|
390
|
-
- **Content-Type**: Not defined
|
|
391
|
-
- **Accept**: application/json
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
## app_service_setting_item
|
|
395
|
-
|
|
396
|
-
> <ServiceItemApiResponse> app_service_setting_item(id, app_key)
|
|
397
|
-
|
|
398
|
-
服务配置项详情
|
|
399
|
-
|
|
400
|
-
根据服务配置项ID获取服务配置项详情
|
|
401
|
-
|
|
402
|
-
### Examples
|
|
403
|
-
|
|
404
|
-
```ruby
|
|
405
|
-
require 'time'
|
|
406
|
-
require 'zsgf_client'
|
|
407
|
-
# setup authorization
|
|
408
|
-
ZSGFClient.configure do |config|
|
|
409
|
-
# Configure Bearer authorization: Bearer
|
|
410
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
411
|
-
end
|
|
412
|
-
|
|
413
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
414
|
-
id = 789 # Integer | 服务配置项ID
|
|
415
|
-
app_key = 'app_key_example' # String |
|
|
416
|
-
|
|
417
|
-
begin
|
|
418
|
-
# 服务配置项详情
|
|
419
|
-
result = api_instance.app_service_setting_item(id, app_key)
|
|
420
|
-
p result
|
|
421
|
-
rescue ZSGFClient::ApiError => e
|
|
422
|
-
puts "Error when calling AppSettingApi->app_service_setting_item: #{e}"
|
|
423
|
-
end
|
|
424
|
-
```
|
|
425
|
-
|
|
426
|
-
#### Using the app_service_setting_item_with_http_info variant
|
|
427
|
-
|
|
428
|
-
This returns an Array which contains the response data, status code and headers.
|
|
429
|
-
|
|
430
|
-
> <Array(<ServiceItemApiResponse>, Integer, Hash)> app_service_setting_item_with_http_info(id, app_key)
|
|
431
|
-
|
|
432
|
-
```ruby
|
|
433
|
-
begin
|
|
434
|
-
# 服务配置项详情
|
|
435
|
-
data, status_code, headers = api_instance.app_service_setting_item_with_http_info(id, app_key)
|
|
436
|
-
p status_code # => 2xx
|
|
437
|
-
p headers # => { ... }
|
|
438
|
-
p data # => <ServiceItemApiResponse>
|
|
439
|
-
rescue ZSGFClient::ApiError => e
|
|
440
|
-
puts "Error when calling AppSettingApi->app_service_setting_item_with_http_info: #{e}"
|
|
441
|
-
end
|
|
442
|
-
```
|
|
443
|
-
|
|
444
|
-
### Parameters
|
|
445
|
-
|
|
446
|
-
| Name | Type | Description | Notes |
|
|
447
|
-
| ---- | ---- | ----------- | ----- |
|
|
448
|
-
| **id** | **Integer** | 服务配置项ID | |
|
|
449
|
-
| **app_key** | **String** | | |
|
|
450
|
-
|
|
451
|
-
### Return type
|
|
452
|
-
|
|
453
|
-
[**ServiceItemApiResponse**](ServiceItemApiResponse.md)
|
|
454
|
-
|
|
455
|
-
### Authorization
|
|
456
|
-
|
|
457
|
-
[Bearer](../README.md#Bearer)
|
|
458
|
-
|
|
459
|
-
### HTTP request headers
|
|
460
|
-
|
|
461
|
-
- **Content-Type**: Not defined
|
|
462
|
-
- **Accept**: application/json
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
## app_service_setting_item_delete
|
|
466
|
-
|
|
467
|
-
> <BooleanApiResponse> app_service_setting_item_delete(id, app_key)
|
|
468
|
-
|
|
469
|
-
删除服务配置项
|
|
470
|
-
|
|
471
|
-
根据服务配置项ID删除服务配置项
|
|
472
|
-
|
|
473
|
-
### Examples
|
|
474
|
-
|
|
475
|
-
```ruby
|
|
476
|
-
require 'time'
|
|
477
|
-
require 'zsgf_client'
|
|
478
|
-
# setup authorization
|
|
479
|
-
ZSGFClient.configure do |config|
|
|
480
|
-
# Configure Bearer authorization: Bearer
|
|
481
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
482
|
-
end
|
|
483
|
-
|
|
484
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
485
|
-
id = 789 # Integer | 服务配置项ID
|
|
486
|
-
app_key = 'app_key_example' # String |
|
|
487
|
-
|
|
488
|
-
begin
|
|
489
|
-
# 删除服务配置项
|
|
490
|
-
result = api_instance.app_service_setting_item_delete(id, app_key)
|
|
491
|
-
p result
|
|
492
|
-
rescue ZSGFClient::ApiError => e
|
|
493
|
-
puts "Error when calling AppSettingApi->app_service_setting_item_delete: #{e}"
|
|
494
|
-
end
|
|
495
|
-
```
|
|
496
|
-
|
|
497
|
-
#### Using the app_service_setting_item_delete_with_http_info variant
|
|
498
|
-
|
|
499
|
-
This returns an Array which contains the response data, status code and headers.
|
|
500
|
-
|
|
501
|
-
> <Array(<BooleanApiResponse>, Integer, Hash)> app_service_setting_item_delete_with_http_info(id, app_key)
|
|
502
|
-
|
|
503
|
-
```ruby
|
|
504
|
-
begin
|
|
505
|
-
# 删除服务配置项
|
|
506
|
-
data, status_code, headers = api_instance.app_service_setting_item_delete_with_http_info(id, app_key)
|
|
507
|
-
p status_code # => 2xx
|
|
508
|
-
p headers # => { ... }
|
|
509
|
-
p data # => <BooleanApiResponse>
|
|
510
|
-
rescue ZSGFClient::ApiError => e
|
|
511
|
-
puts "Error when calling AppSettingApi->app_service_setting_item_delete_with_http_info: #{e}"
|
|
512
|
-
end
|
|
513
|
-
```
|
|
514
|
-
|
|
515
|
-
### Parameters
|
|
516
|
-
|
|
517
|
-
| Name | Type | Description | Notes |
|
|
518
|
-
| ---- | ---- | ----------- | ----- |
|
|
519
|
-
| **id** | **Integer** | 服务配置项ID | |
|
|
520
|
-
| **app_key** | **String** | | |
|
|
521
|
-
|
|
522
|
-
### Return type
|
|
523
|
-
|
|
524
|
-
[**BooleanApiResponse**](BooleanApiResponse.md)
|
|
525
|
-
|
|
526
|
-
### Authorization
|
|
527
|
-
|
|
528
|
-
[Bearer](../README.md#Bearer)
|
|
529
|
-
|
|
530
|
-
### HTTP request headers
|
|
531
|
-
|
|
532
|
-
- **Content-Type**: Not defined
|
|
533
|
-
- **Accept**: application/json
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
## app_service_setting_item_post
|
|
537
|
-
|
|
538
|
-
> <AppSettingItemPostResultApiResponse> app_service_setting_item_post(app_key, opts)
|
|
539
|
-
|
|
540
|
-
添加服务配置项
|
|
541
|
-
|
|
542
|
-
添加新的服务配置项信息
|
|
543
|
-
|
|
544
|
-
### Examples
|
|
545
|
-
|
|
546
|
-
```ruby
|
|
547
|
-
require 'time'
|
|
548
|
-
require 'zsgf_client'
|
|
549
|
-
# setup authorization
|
|
550
|
-
ZSGFClient.configure do |config|
|
|
551
|
-
# Configure Bearer authorization: Bearer
|
|
552
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
553
|
-
end
|
|
554
|
-
|
|
555
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
556
|
-
app_key = 'app_key_example' # String |
|
|
557
|
-
opts = {
|
|
558
|
-
service_item: ZSGFClient::ServiceItem.new # ServiceItem | 服务配置项信息
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
begin
|
|
562
|
-
# 添加服务配置项
|
|
563
|
-
result = api_instance.app_service_setting_item_post(app_key, opts)
|
|
564
|
-
p result
|
|
565
|
-
rescue ZSGFClient::ApiError => e
|
|
566
|
-
puts "Error when calling AppSettingApi->app_service_setting_item_post: #{e}"
|
|
567
|
-
end
|
|
568
|
-
```
|
|
569
|
-
|
|
570
|
-
#### Using the app_service_setting_item_post_with_http_info variant
|
|
571
|
-
|
|
572
|
-
This returns an Array which contains the response data, status code and headers.
|
|
573
|
-
|
|
574
|
-
> <Array(<AppSettingItemPostResultApiResponse>, Integer, Hash)> app_service_setting_item_post_with_http_info(app_key, opts)
|
|
575
|
-
|
|
576
|
-
```ruby
|
|
577
|
-
begin
|
|
578
|
-
# 添加服务配置项
|
|
579
|
-
data, status_code, headers = api_instance.app_service_setting_item_post_with_http_info(app_key, opts)
|
|
580
|
-
p status_code # => 2xx
|
|
581
|
-
p headers # => { ... }
|
|
582
|
-
p data # => <AppSettingItemPostResultApiResponse>
|
|
583
|
-
rescue ZSGFClient::ApiError => e
|
|
584
|
-
puts "Error when calling AppSettingApi->app_service_setting_item_post_with_http_info: #{e}"
|
|
585
|
-
end
|
|
586
|
-
```
|
|
587
|
-
|
|
588
|
-
### Parameters
|
|
589
|
-
|
|
590
|
-
| Name | Type | Description | Notes |
|
|
591
|
-
| ---- | ---- | ----------- | ----- |
|
|
592
|
-
| **app_key** | **String** | | |
|
|
593
|
-
| **service_item** | [**ServiceItem**](ServiceItem.md) | 服务配置项信息 | [optional] |
|
|
594
|
-
|
|
595
|
-
### Return type
|
|
596
|
-
|
|
597
|
-
[**AppSettingItemPostResultApiResponse**](AppSettingItemPostResultApiResponse.md)
|
|
598
|
-
|
|
599
|
-
### Authorization
|
|
600
|
-
|
|
601
|
-
[Bearer](../README.md#Bearer)
|
|
602
|
-
|
|
603
|
-
### HTTP request headers
|
|
604
|
-
|
|
605
|
-
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json
|
|
606
|
-
- **Accept**: application/json
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
## app_service_setting_item_put
|
|
610
|
-
|
|
611
|
-
> <BooleanApiResponse> app_service_setting_item_put(id, app_key, opts)
|
|
612
|
-
|
|
613
|
-
更新服务配置项
|
|
614
|
-
|
|
615
|
-
根据服务配置项ID更新服务配置项信息
|
|
616
|
-
|
|
617
|
-
### Examples
|
|
618
|
-
|
|
619
|
-
```ruby
|
|
620
|
-
require 'time'
|
|
621
|
-
require 'zsgf_client'
|
|
622
|
-
# setup authorization
|
|
623
|
-
ZSGFClient.configure do |config|
|
|
624
|
-
# Configure Bearer authorization: Bearer
|
|
625
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
626
|
-
end
|
|
627
|
-
|
|
628
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
629
|
-
id = 789 # Integer | 服务配置项ID
|
|
630
|
-
app_key = 'app_key_example' # String |
|
|
631
|
-
opts = {
|
|
632
|
-
service_item: ZSGFClient::ServiceItem.new # ServiceItem | 服务配置项信息
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
begin
|
|
636
|
-
# 更新服务配置项
|
|
637
|
-
result = api_instance.app_service_setting_item_put(id, app_key, opts)
|
|
638
|
-
p result
|
|
639
|
-
rescue ZSGFClient::ApiError => e
|
|
640
|
-
puts "Error when calling AppSettingApi->app_service_setting_item_put: #{e}"
|
|
641
|
-
end
|
|
642
|
-
```
|
|
643
|
-
|
|
644
|
-
#### Using the app_service_setting_item_put_with_http_info variant
|
|
645
|
-
|
|
646
|
-
This returns an Array which contains the response data, status code and headers.
|
|
647
|
-
|
|
648
|
-
> <Array(<BooleanApiResponse>, Integer, Hash)> app_service_setting_item_put_with_http_info(id, app_key, opts)
|
|
649
|
-
|
|
650
|
-
```ruby
|
|
651
|
-
begin
|
|
652
|
-
# 更新服务配置项
|
|
653
|
-
data, status_code, headers = api_instance.app_service_setting_item_put_with_http_info(id, app_key, opts)
|
|
654
|
-
p status_code # => 2xx
|
|
655
|
-
p headers # => { ... }
|
|
656
|
-
p data # => <BooleanApiResponse>
|
|
657
|
-
rescue ZSGFClient::ApiError => e
|
|
658
|
-
puts "Error when calling AppSettingApi->app_service_setting_item_put_with_http_info: #{e}"
|
|
659
|
-
end
|
|
660
|
-
```
|
|
661
|
-
|
|
662
|
-
### Parameters
|
|
663
|
-
|
|
664
|
-
| Name | Type | Description | Notes |
|
|
665
|
-
| ---- | ---- | ----------- | ----- |
|
|
666
|
-
| **id** | **Integer** | 服务配置项ID | |
|
|
667
|
-
| **app_key** | **String** | | |
|
|
668
|
-
| **service_item** | [**ServiceItem**](ServiceItem.md) | 服务配置项信息 | [optional] |
|
|
669
|
-
|
|
670
|
-
### Return type
|
|
671
|
-
|
|
672
|
-
[**BooleanApiResponse**](BooleanApiResponse.md)
|
|
673
|
-
|
|
674
|
-
### Authorization
|
|
675
|
-
|
|
676
|
-
[Bearer](../README.md#Bearer)
|
|
677
|
-
|
|
678
|
-
### HTTP request headers
|
|
679
|
-
|
|
680
|
-
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json
|
|
681
|
-
- **Accept**: application/json
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
## app_service_setting_items
|
|
685
|
-
|
|
686
|
-
> <ServiceItemListApiResponse> app_service_setting_items(app_key, opts)
|
|
687
|
-
|
|
688
|
-
服务配置项列表
|
|
689
|
-
|
|
690
|
-
根据业务代码、服务商代码、分组代码和显示标志获取服务配置项列表
|
|
691
|
-
|
|
692
|
-
### Examples
|
|
693
|
-
|
|
694
|
-
```ruby
|
|
695
|
-
require 'time'
|
|
696
|
-
require 'zsgf_client'
|
|
697
|
-
# setup authorization
|
|
698
|
-
ZSGFClient.configure do |config|
|
|
699
|
-
# Configure Bearer authorization: Bearer
|
|
700
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
701
|
-
end
|
|
702
|
-
|
|
703
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
704
|
-
app_key = 'app_key_example' # String |
|
|
705
|
-
opts = {
|
|
706
|
-
biz_code: 'biz_code_example', # String | 业务代码
|
|
707
|
-
provider_code: 'provider_code_example', # String | 服务商代码
|
|
708
|
-
group_code: 'group_code_example', # String | 分组代码
|
|
709
|
-
show_flag: true # Boolean | 是否显示
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
begin
|
|
713
|
-
# 服务配置项列表
|
|
714
|
-
result = api_instance.app_service_setting_items(app_key, opts)
|
|
715
|
-
p result
|
|
716
|
-
rescue ZSGFClient::ApiError => e
|
|
717
|
-
puts "Error when calling AppSettingApi->app_service_setting_items: #{e}"
|
|
718
|
-
end
|
|
719
|
-
```
|
|
720
|
-
|
|
721
|
-
#### Using the app_service_setting_items_with_http_info variant
|
|
722
|
-
|
|
723
|
-
This returns an Array which contains the response data, status code and headers.
|
|
724
|
-
|
|
725
|
-
> <Array(<ServiceItemListApiResponse>, Integer, Hash)> app_service_setting_items_with_http_info(app_key, opts)
|
|
726
|
-
|
|
727
|
-
```ruby
|
|
728
|
-
begin
|
|
729
|
-
# 服务配置项列表
|
|
730
|
-
data, status_code, headers = api_instance.app_service_setting_items_with_http_info(app_key, opts)
|
|
731
|
-
p status_code # => 2xx
|
|
732
|
-
p headers # => { ... }
|
|
733
|
-
p data # => <ServiceItemListApiResponse>
|
|
734
|
-
rescue ZSGFClient::ApiError => e
|
|
735
|
-
puts "Error when calling AppSettingApi->app_service_setting_items_with_http_info: #{e}"
|
|
736
|
-
end
|
|
737
|
-
```
|
|
738
|
-
|
|
739
|
-
### Parameters
|
|
740
|
-
|
|
741
|
-
| Name | Type | Description | Notes |
|
|
742
|
-
| ---- | ---- | ----------- | ----- |
|
|
743
|
-
| **app_key** | **String** | | |
|
|
744
|
-
| **biz_code** | **String** | 业务代码 | [optional] |
|
|
745
|
-
| **provider_code** | **String** | 服务商代码 | [optional] |
|
|
746
|
-
| **group_code** | **String** | 分组代码 | [optional] |
|
|
747
|
-
| **show_flag** | **Boolean** | 是否显示 | [optional][default to false] |
|
|
748
|
-
|
|
749
|
-
### Return type
|
|
750
|
-
|
|
751
|
-
[**ServiceItemListApiResponse**](ServiceItemListApiResponse.md)
|
|
752
|
-
|
|
753
|
-
### Authorization
|
|
754
|
-
|
|
755
|
-
[Bearer](../README.md#Bearer)
|
|
756
|
-
|
|
757
|
-
### HTTP request headers
|
|
758
|
-
|
|
759
|
-
- **Content-Type**: Not defined
|
|
760
|
-
- **Accept**: application/json
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
## app_service_setting_provider
|
|
764
|
-
|
|
765
|
-
> <ServiceProviderApiResponse> app_service_setting_provider(id, app_key)
|
|
766
|
-
|
|
767
|
-
获取服务商详情
|
|
768
|
-
|
|
769
|
-
根据服务商ID获取服务商详情
|
|
770
|
-
|
|
771
|
-
### Examples
|
|
772
|
-
|
|
773
|
-
```ruby
|
|
774
|
-
require 'time'
|
|
775
|
-
require 'zsgf_client'
|
|
776
|
-
# setup authorization
|
|
777
|
-
ZSGFClient.configure do |config|
|
|
778
|
-
# Configure Bearer authorization: Bearer
|
|
779
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
780
|
-
end
|
|
781
|
-
|
|
782
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
783
|
-
id = 789 # Integer | 服务商ID
|
|
784
|
-
app_key = 'app_key_example' # String |
|
|
785
|
-
|
|
786
|
-
begin
|
|
787
|
-
# 获取服务商详情
|
|
788
|
-
result = api_instance.app_service_setting_provider(id, app_key)
|
|
789
|
-
p result
|
|
790
|
-
rescue ZSGFClient::ApiError => e
|
|
791
|
-
puts "Error when calling AppSettingApi->app_service_setting_provider: #{e}"
|
|
792
|
-
end
|
|
793
|
-
```
|
|
794
|
-
|
|
795
|
-
#### Using the app_service_setting_provider_with_http_info variant
|
|
796
|
-
|
|
797
|
-
This returns an Array which contains the response data, status code and headers.
|
|
798
|
-
|
|
799
|
-
> <Array(<ServiceProviderApiResponse>, Integer, Hash)> app_service_setting_provider_with_http_info(id, app_key)
|
|
800
|
-
|
|
801
|
-
```ruby
|
|
802
|
-
begin
|
|
803
|
-
# 获取服务商详情
|
|
804
|
-
data, status_code, headers = api_instance.app_service_setting_provider_with_http_info(id, app_key)
|
|
805
|
-
p status_code # => 2xx
|
|
806
|
-
p headers # => { ... }
|
|
807
|
-
p data # => <ServiceProviderApiResponse>
|
|
808
|
-
rescue ZSGFClient::ApiError => e
|
|
809
|
-
puts "Error when calling AppSettingApi->app_service_setting_provider_with_http_info: #{e}"
|
|
810
|
-
end
|
|
811
|
-
```
|
|
812
|
-
|
|
813
|
-
### Parameters
|
|
814
|
-
|
|
815
|
-
| Name | Type | Description | Notes |
|
|
816
|
-
| ---- | ---- | ----------- | ----- |
|
|
817
|
-
| **id** | **Integer** | 服务商ID | |
|
|
818
|
-
| **app_key** | **String** | | |
|
|
819
|
-
|
|
820
|
-
### Return type
|
|
821
|
-
|
|
822
|
-
[**ServiceProviderApiResponse**](ServiceProviderApiResponse.md)
|
|
823
|
-
|
|
824
|
-
### Authorization
|
|
825
|
-
|
|
826
|
-
[Bearer](../README.md#Bearer)
|
|
827
|
-
|
|
828
|
-
### HTTP request headers
|
|
829
|
-
|
|
830
|
-
- **Content-Type**: Not defined
|
|
831
|
-
- **Accept**: application/json
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
## app_service_setting_provider_delete
|
|
835
|
-
|
|
836
|
-
> <BooleanApiResponse> app_service_setting_provider_delete(id, app_key)
|
|
837
|
-
|
|
838
|
-
删除服务商
|
|
839
|
-
|
|
840
|
-
根据服务商ID删除服务商
|
|
841
|
-
|
|
842
|
-
### Examples
|
|
843
|
-
|
|
844
|
-
```ruby
|
|
845
|
-
require 'time'
|
|
846
|
-
require 'zsgf_client'
|
|
847
|
-
# setup authorization
|
|
848
|
-
ZSGFClient.configure do |config|
|
|
849
|
-
# Configure Bearer authorization: Bearer
|
|
850
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
851
|
-
end
|
|
852
|
-
|
|
853
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
854
|
-
id = 789 # Integer | 服务商ID
|
|
855
|
-
app_key = 'app_key_example' # String |
|
|
856
|
-
|
|
857
|
-
begin
|
|
858
|
-
# 删除服务商
|
|
859
|
-
result = api_instance.app_service_setting_provider_delete(id, app_key)
|
|
860
|
-
p result
|
|
861
|
-
rescue ZSGFClient::ApiError => e
|
|
862
|
-
puts "Error when calling AppSettingApi->app_service_setting_provider_delete: #{e}"
|
|
863
|
-
end
|
|
864
|
-
```
|
|
865
|
-
|
|
866
|
-
#### Using the app_service_setting_provider_delete_with_http_info variant
|
|
867
|
-
|
|
868
|
-
This returns an Array which contains the response data, status code and headers.
|
|
869
|
-
|
|
870
|
-
> <Array(<BooleanApiResponse>, Integer, Hash)> app_service_setting_provider_delete_with_http_info(id, app_key)
|
|
871
|
-
|
|
872
|
-
```ruby
|
|
873
|
-
begin
|
|
874
|
-
# 删除服务商
|
|
875
|
-
data, status_code, headers = api_instance.app_service_setting_provider_delete_with_http_info(id, app_key)
|
|
876
|
-
p status_code # => 2xx
|
|
877
|
-
p headers # => { ... }
|
|
878
|
-
p data # => <BooleanApiResponse>
|
|
879
|
-
rescue ZSGFClient::ApiError => e
|
|
880
|
-
puts "Error when calling AppSettingApi->app_service_setting_provider_delete_with_http_info: #{e}"
|
|
881
|
-
end
|
|
882
|
-
```
|
|
883
|
-
|
|
884
|
-
### Parameters
|
|
885
|
-
|
|
886
|
-
| Name | Type | Description | Notes |
|
|
887
|
-
| ---- | ---- | ----------- | ----- |
|
|
888
|
-
| **id** | **Integer** | 服务商ID | |
|
|
889
|
-
| **app_key** | **String** | | |
|
|
890
|
-
|
|
891
|
-
### Return type
|
|
892
|
-
|
|
893
|
-
[**BooleanApiResponse**](BooleanApiResponse.md)
|
|
894
|
-
|
|
895
|
-
### Authorization
|
|
896
|
-
|
|
897
|
-
[Bearer](../README.md#Bearer)
|
|
898
|
-
|
|
899
|
-
### HTTP request headers
|
|
900
|
-
|
|
901
|
-
- **Content-Type**: Not defined
|
|
902
|
-
- **Accept**: application/json
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
## app_service_setting_provider_post
|
|
906
|
-
|
|
907
|
-
> <AppSettingProviderPostResultApiResponse> app_service_setting_provider_post(app_key, opts)
|
|
908
|
-
|
|
909
|
-
添加服务商
|
|
910
|
-
|
|
911
|
-
添加新的服务商信息
|
|
912
|
-
|
|
913
|
-
### Examples
|
|
914
|
-
|
|
915
|
-
```ruby
|
|
916
|
-
require 'time'
|
|
917
|
-
require 'zsgf_client'
|
|
918
|
-
# setup authorization
|
|
919
|
-
ZSGFClient.configure do |config|
|
|
920
|
-
# Configure Bearer authorization: Bearer
|
|
921
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
922
|
-
end
|
|
923
|
-
|
|
924
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
925
|
-
app_key = 'app_key_example' # String |
|
|
926
|
-
opts = {
|
|
927
|
-
service_provider: ZSGFClient::ServiceProvider.new # ServiceProvider | 服务商信息
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
begin
|
|
931
|
-
# 添加服务商
|
|
932
|
-
result = api_instance.app_service_setting_provider_post(app_key, opts)
|
|
933
|
-
p result
|
|
934
|
-
rescue ZSGFClient::ApiError => e
|
|
935
|
-
puts "Error when calling AppSettingApi->app_service_setting_provider_post: #{e}"
|
|
936
|
-
end
|
|
937
|
-
```
|
|
938
|
-
|
|
939
|
-
#### Using the app_service_setting_provider_post_with_http_info variant
|
|
940
|
-
|
|
941
|
-
This returns an Array which contains the response data, status code and headers.
|
|
942
|
-
|
|
943
|
-
> <Array(<AppSettingProviderPostResultApiResponse>, Integer, Hash)> app_service_setting_provider_post_with_http_info(app_key, opts)
|
|
944
|
-
|
|
945
|
-
```ruby
|
|
946
|
-
begin
|
|
947
|
-
# 添加服务商
|
|
948
|
-
data, status_code, headers = api_instance.app_service_setting_provider_post_with_http_info(app_key, opts)
|
|
949
|
-
p status_code # => 2xx
|
|
950
|
-
p headers # => { ... }
|
|
951
|
-
p data # => <AppSettingProviderPostResultApiResponse>
|
|
952
|
-
rescue ZSGFClient::ApiError => e
|
|
953
|
-
puts "Error when calling AppSettingApi->app_service_setting_provider_post_with_http_info: #{e}"
|
|
954
|
-
end
|
|
955
|
-
```
|
|
956
|
-
|
|
957
|
-
### Parameters
|
|
958
|
-
|
|
959
|
-
| Name | Type | Description | Notes |
|
|
960
|
-
| ---- | ---- | ----------- | ----- |
|
|
961
|
-
| **app_key** | **String** | | |
|
|
962
|
-
| **service_provider** | [**ServiceProvider**](ServiceProvider.md) | 服务商信息 | [optional] |
|
|
963
|
-
|
|
964
|
-
### Return type
|
|
965
|
-
|
|
966
|
-
[**AppSettingProviderPostResultApiResponse**](AppSettingProviderPostResultApiResponse.md)
|
|
967
|
-
|
|
968
|
-
### Authorization
|
|
969
|
-
|
|
970
|
-
[Bearer](../README.md#Bearer)
|
|
971
|
-
|
|
972
|
-
### HTTP request headers
|
|
973
|
-
|
|
974
|
-
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json
|
|
975
|
-
- **Accept**: application/json
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
## app_service_setting_provider_put
|
|
979
|
-
|
|
980
|
-
> <BooleanApiResponse> app_service_setting_provider_put(id, app_key, opts)
|
|
981
|
-
|
|
982
|
-
更新服务商
|
|
983
|
-
|
|
984
|
-
根据服务商ID更新服务商信息
|
|
985
|
-
|
|
986
|
-
### Examples
|
|
987
|
-
|
|
988
|
-
```ruby
|
|
989
|
-
require 'time'
|
|
990
|
-
require 'zsgf_client'
|
|
991
|
-
# setup authorization
|
|
992
|
-
ZSGFClient.configure do |config|
|
|
993
|
-
# Configure Bearer authorization: Bearer
|
|
994
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
995
|
-
end
|
|
996
|
-
|
|
997
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
998
|
-
id = 789 # Integer | 服务商ID
|
|
999
|
-
app_key = 'app_key_example' # String |
|
|
1000
|
-
opts = {
|
|
1001
|
-
service_provider: ZSGFClient::ServiceProvider.new # ServiceProvider | 服务商信息
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
begin
|
|
1005
|
-
# 更新服务商
|
|
1006
|
-
result = api_instance.app_service_setting_provider_put(id, app_key, opts)
|
|
1007
|
-
p result
|
|
1008
|
-
rescue ZSGFClient::ApiError => e
|
|
1009
|
-
puts "Error when calling AppSettingApi->app_service_setting_provider_put: #{e}"
|
|
1010
|
-
end
|
|
1011
|
-
```
|
|
1012
|
-
|
|
1013
|
-
#### Using the app_service_setting_provider_put_with_http_info variant
|
|
1014
|
-
|
|
1015
|
-
This returns an Array which contains the response data, status code and headers.
|
|
1016
|
-
|
|
1017
|
-
> <Array(<BooleanApiResponse>, Integer, Hash)> app_service_setting_provider_put_with_http_info(id, app_key, opts)
|
|
1018
|
-
|
|
1019
|
-
```ruby
|
|
1020
|
-
begin
|
|
1021
|
-
# 更新服务商
|
|
1022
|
-
data, status_code, headers = api_instance.app_service_setting_provider_put_with_http_info(id, app_key, opts)
|
|
1023
|
-
p status_code # => 2xx
|
|
1024
|
-
p headers # => { ... }
|
|
1025
|
-
p data # => <BooleanApiResponse>
|
|
1026
|
-
rescue ZSGFClient::ApiError => e
|
|
1027
|
-
puts "Error when calling AppSettingApi->app_service_setting_provider_put_with_http_info: #{e}"
|
|
1028
|
-
end
|
|
1029
|
-
```
|
|
1030
|
-
|
|
1031
|
-
### Parameters
|
|
1032
|
-
|
|
1033
|
-
| Name | Type | Description | Notes |
|
|
1034
|
-
| ---- | ---- | ----------- | ----- |
|
|
1035
|
-
| **id** | **Integer** | 服务商ID | |
|
|
1036
|
-
| **app_key** | **String** | | |
|
|
1037
|
-
| **service_provider** | [**ServiceProvider**](ServiceProvider.md) | 服务商信息 | [optional] |
|
|
1038
|
-
|
|
1039
|
-
### Return type
|
|
1040
|
-
|
|
1041
|
-
[**BooleanApiResponse**](BooleanApiResponse.md)
|
|
1042
|
-
|
|
1043
|
-
### Authorization
|
|
1044
|
-
|
|
1045
|
-
[Bearer](../README.md#Bearer)
|
|
1046
|
-
|
|
1047
|
-
### HTTP request headers
|
|
1048
|
-
|
|
1049
|
-
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json
|
|
1050
|
-
- **Accept**: application/json
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
## app_service_setting_providers
|
|
1054
|
-
|
|
1055
|
-
> <ServiceProviderListApiResponse> app_service_setting_providers(app_key, opts)
|
|
1056
|
-
|
|
1057
|
-
获取服务商列表
|
|
1058
|
-
|
|
1059
|
-
根据业务代码和显示标志获取服务商列表
|
|
1060
|
-
|
|
1061
|
-
### Examples
|
|
1062
|
-
|
|
1063
|
-
```ruby
|
|
1064
|
-
require 'time'
|
|
1065
|
-
require 'zsgf_client'
|
|
1066
|
-
# setup authorization
|
|
1067
|
-
ZSGFClient.configure do |config|
|
|
1068
|
-
# Configure Bearer authorization: Bearer
|
|
1069
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1070
|
-
end
|
|
1071
|
-
|
|
1072
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
1073
|
-
app_key = 'app_key_example' # String |
|
|
1074
|
-
opts = {
|
|
1075
|
-
biz_code: 'biz_code_example', # String | 业务代码
|
|
1076
|
-
show_flag: true # Boolean | 是否显示
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
begin
|
|
1080
|
-
# 获取服务商列表
|
|
1081
|
-
result = api_instance.app_service_setting_providers(app_key, opts)
|
|
1082
|
-
p result
|
|
1083
|
-
rescue ZSGFClient::ApiError => e
|
|
1084
|
-
puts "Error when calling AppSettingApi->app_service_setting_providers: #{e}"
|
|
1085
|
-
end
|
|
1086
|
-
```
|
|
1087
|
-
|
|
1088
|
-
#### Using the app_service_setting_providers_with_http_info variant
|
|
1089
|
-
|
|
1090
|
-
This returns an Array which contains the response data, status code and headers.
|
|
1091
|
-
|
|
1092
|
-
> <Array(<ServiceProviderListApiResponse>, Integer, Hash)> app_service_setting_providers_with_http_info(app_key, opts)
|
|
1093
|
-
|
|
1094
|
-
```ruby
|
|
1095
|
-
begin
|
|
1096
|
-
# 获取服务商列表
|
|
1097
|
-
data, status_code, headers = api_instance.app_service_setting_providers_with_http_info(app_key, opts)
|
|
1098
|
-
p status_code # => 2xx
|
|
1099
|
-
p headers # => { ... }
|
|
1100
|
-
p data # => <ServiceProviderListApiResponse>
|
|
1101
|
-
rescue ZSGFClient::ApiError => e
|
|
1102
|
-
puts "Error when calling AppSettingApi->app_service_setting_providers_with_http_info: #{e}"
|
|
1103
|
-
end
|
|
1104
|
-
```
|
|
1105
|
-
|
|
1106
|
-
### Parameters
|
|
1107
|
-
|
|
1108
|
-
| Name | Type | Description | Notes |
|
|
1109
|
-
| ---- | ---- | ----------- | ----- |
|
|
1110
|
-
| **app_key** | **String** | | |
|
|
1111
|
-
| **biz_code** | **String** | 业务代码 | [optional] |
|
|
1112
|
-
| **show_flag** | **Boolean** | 是否显示 | [optional][default to false] |
|
|
1113
|
-
|
|
1114
|
-
### Return type
|
|
1115
|
-
|
|
1116
|
-
[**ServiceProviderListApiResponse**](ServiceProviderListApiResponse.md)
|
|
1117
|
-
|
|
1118
|
-
### Authorization
|
|
1119
|
-
|
|
1120
|
-
[Bearer](../README.md#Bearer)
|
|
1121
|
-
|
|
1122
|
-
### HTTP request headers
|
|
1123
|
-
|
|
1124
|
-
- **Content-Type**: Not defined
|
|
1125
|
-
- **Accept**: application/json
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
## app_setting
|
|
1129
|
-
|
|
1130
|
-
> <AppSettingApiResponse> app_setting(id, app_key)
|
|
1131
|
-
|
|
1132
|
-
配置详情
|
|
1133
|
-
|
|
1134
|
-
根据配置ID获取配置详情
|
|
1135
|
-
|
|
1136
|
-
### Examples
|
|
1137
|
-
|
|
1138
|
-
```ruby
|
|
1139
|
-
require 'time'
|
|
1140
|
-
require 'zsgf_client'
|
|
1141
|
-
# setup authorization
|
|
1142
|
-
ZSGFClient.configure do |config|
|
|
1143
|
-
# Configure Bearer authorization: Bearer
|
|
1144
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1145
|
-
end
|
|
1146
|
-
|
|
1147
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
1148
|
-
id = 789 # Integer | 配置ID
|
|
1149
|
-
app_key = 'app_key_example' # String |
|
|
1150
|
-
|
|
1151
|
-
begin
|
|
1152
|
-
# 配置详情
|
|
1153
|
-
result = api_instance.app_setting(id, app_key)
|
|
1154
|
-
p result
|
|
1155
|
-
rescue ZSGFClient::ApiError => e
|
|
1156
|
-
puts "Error when calling AppSettingApi->app_setting: #{e}"
|
|
1157
|
-
end
|
|
1158
|
-
```
|
|
1159
|
-
|
|
1160
|
-
#### Using the app_setting_with_http_info variant
|
|
1161
|
-
|
|
1162
|
-
This returns an Array which contains the response data, status code and headers.
|
|
1163
|
-
|
|
1164
|
-
> <Array(<AppSettingApiResponse>, Integer, Hash)> app_setting_with_http_info(id, app_key)
|
|
1165
|
-
|
|
1166
|
-
```ruby
|
|
1167
|
-
begin
|
|
1168
|
-
# 配置详情
|
|
1169
|
-
data, status_code, headers = api_instance.app_setting_with_http_info(id, app_key)
|
|
1170
|
-
p status_code # => 2xx
|
|
1171
|
-
p headers # => { ... }
|
|
1172
|
-
p data # => <AppSettingApiResponse>
|
|
1173
|
-
rescue ZSGFClient::ApiError => e
|
|
1174
|
-
puts "Error when calling AppSettingApi->app_setting_with_http_info: #{e}"
|
|
1175
|
-
end
|
|
1176
|
-
```
|
|
1177
|
-
|
|
1178
|
-
### Parameters
|
|
1179
|
-
|
|
1180
|
-
| Name | Type | Description | Notes |
|
|
1181
|
-
| ---- | ---- | ----------- | ----- |
|
|
1182
|
-
| **id** | **Integer** | 配置ID | |
|
|
1183
|
-
| **app_key** | **String** | | |
|
|
1184
|
-
|
|
1185
|
-
### Return type
|
|
1186
|
-
|
|
1187
|
-
[**AppSettingApiResponse**](AppSettingApiResponse.md)
|
|
1188
|
-
|
|
1189
|
-
### Authorization
|
|
1190
|
-
|
|
1191
|
-
[Bearer](../README.md#Bearer)
|
|
1192
|
-
|
|
1193
|
-
### HTTP request headers
|
|
1194
|
-
|
|
1195
|
-
- **Content-Type**: Not defined
|
|
1196
|
-
- **Accept**: application/json
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
## app_setting_delete
|
|
1200
|
-
|
|
1201
|
-
> <BooleanApiResponse> app_setting_delete(id, app_key)
|
|
1202
|
-
|
|
1203
|
-
删除配置
|
|
1204
|
-
|
|
1205
|
-
根据配置ID删除配置
|
|
1206
|
-
|
|
1207
|
-
### Examples
|
|
1208
|
-
|
|
1209
|
-
```ruby
|
|
1210
|
-
require 'time'
|
|
1211
|
-
require 'zsgf_client'
|
|
1212
|
-
# setup authorization
|
|
1213
|
-
ZSGFClient.configure do |config|
|
|
1214
|
-
# Configure Bearer authorization: Bearer
|
|
1215
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1216
|
-
end
|
|
1217
|
-
|
|
1218
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
1219
|
-
id = 789 # Integer | 配置ID
|
|
1220
|
-
app_key = 'app_key_example' # String |
|
|
1221
|
-
|
|
1222
|
-
begin
|
|
1223
|
-
# 删除配置
|
|
1224
|
-
result = api_instance.app_setting_delete(id, app_key)
|
|
1225
|
-
p result
|
|
1226
|
-
rescue ZSGFClient::ApiError => e
|
|
1227
|
-
puts "Error when calling AppSettingApi->app_setting_delete: #{e}"
|
|
1228
|
-
end
|
|
1229
|
-
```
|
|
1230
|
-
|
|
1231
|
-
#### Using the app_setting_delete_with_http_info variant
|
|
1232
|
-
|
|
1233
|
-
This returns an Array which contains the response data, status code and headers.
|
|
1234
|
-
|
|
1235
|
-
> <Array(<BooleanApiResponse>, Integer, Hash)> app_setting_delete_with_http_info(id, app_key)
|
|
1236
|
-
|
|
1237
|
-
```ruby
|
|
1238
|
-
begin
|
|
1239
|
-
# 删除配置
|
|
1240
|
-
data, status_code, headers = api_instance.app_setting_delete_with_http_info(id, app_key)
|
|
1241
|
-
p status_code # => 2xx
|
|
1242
|
-
p headers # => { ... }
|
|
1243
|
-
p data # => <BooleanApiResponse>
|
|
1244
|
-
rescue ZSGFClient::ApiError => e
|
|
1245
|
-
puts "Error when calling AppSettingApi->app_setting_delete_with_http_info: #{e}"
|
|
1246
|
-
end
|
|
1247
|
-
```
|
|
1248
|
-
|
|
1249
|
-
### Parameters
|
|
1250
|
-
|
|
1251
|
-
| Name | Type | Description | Notes |
|
|
1252
|
-
| ---- | ---- | ----------- | ----- |
|
|
1253
|
-
| **id** | **Integer** | 配置ID | |
|
|
1254
|
-
| **app_key** | **String** | | |
|
|
1255
|
-
|
|
1256
|
-
### Return type
|
|
1257
|
-
|
|
1258
|
-
[**BooleanApiResponse**](BooleanApiResponse.md)
|
|
1259
|
-
|
|
1260
|
-
### Authorization
|
|
1261
|
-
|
|
1262
|
-
[Bearer](../README.md#Bearer)
|
|
1263
|
-
|
|
1264
|
-
### HTTP request headers
|
|
1265
|
-
|
|
1266
|
-
- **Content-Type**: Not defined
|
|
1267
|
-
- **Accept**: application/json
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
## app_setting_post
|
|
1271
|
-
|
|
1272
|
-
> <AppSettingSettingPostResultApiResponse> app_setting_post(app_key, opts)
|
|
1273
|
-
|
|
1274
|
-
增加配置
|
|
1275
|
-
|
|
1276
|
-
添加新的配置内容
|
|
1277
|
-
|
|
1278
|
-
### Examples
|
|
1279
|
-
|
|
1280
|
-
```ruby
|
|
1281
|
-
require 'time'
|
|
1282
|
-
require 'zsgf_client'
|
|
1283
|
-
# setup authorization
|
|
1284
|
-
ZSGFClient.configure do |config|
|
|
1285
|
-
# Configure Bearer authorization: Bearer
|
|
1286
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1287
|
-
end
|
|
1288
|
-
|
|
1289
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
1290
|
-
app_key = 'app_key_example' # String |
|
|
1291
|
-
opts = {
|
|
1292
|
-
app_setting: ZSGFClient::AppSetting.new({code: 'code_example', value: 'value_example'}) # AppSetting | 配置内容
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
begin
|
|
1296
|
-
# 增加配置
|
|
1297
|
-
result = api_instance.app_setting_post(app_key, opts)
|
|
1298
|
-
p result
|
|
1299
|
-
rescue ZSGFClient::ApiError => e
|
|
1300
|
-
puts "Error when calling AppSettingApi->app_setting_post: #{e}"
|
|
1301
|
-
end
|
|
1302
|
-
```
|
|
1303
|
-
|
|
1304
|
-
#### Using the app_setting_post_with_http_info variant
|
|
1305
|
-
|
|
1306
|
-
This returns an Array which contains the response data, status code and headers.
|
|
1307
|
-
|
|
1308
|
-
> <Array(<AppSettingSettingPostResultApiResponse>, Integer, Hash)> app_setting_post_with_http_info(app_key, opts)
|
|
1309
|
-
|
|
1310
|
-
```ruby
|
|
1311
|
-
begin
|
|
1312
|
-
# 增加配置
|
|
1313
|
-
data, status_code, headers = api_instance.app_setting_post_with_http_info(app_key, opts)
|
|
1314
|
-
p status_code # => 2xx
|
|
1315
|
-
p headers # => { ... }
|
|
1316
|
-
p data # => <AppSettingSettingPostResultApiResponse>
|
|
1317
|
-
rescue ZSGFClient::ApiError => e
|
|
1318
|
-
puts "Error when calling AppSettingApi->app_setting_post_with_http_info: #{e}"
|
|
1319
|
-
end
|
|
1320
|
-
```
|
|
1321
|
-
|
|
1322
|
-
### Parameters
|
|
1323
|
-
|
|
1324
|
-
| Name | Type | Description | Notes |
|
|
1325
|
-
| ---- | ---- | ----------- | ----- |
|
|
1326
|
-
| **app_key** | **String** | | |
|
|
1327
|
-
| **app_setting** | [**AppSetting**](AppSetting.md) | 配置内容 | [optional] |
|
|
1328
|
-
|
|
1329
|
-
### Return type
|
|
1330
|
-
|
|
1331
|
-
[**AppSettingSettingPostResultApiResponse**](AppSettingSettingPostResultApiResponse.md)
|
|
1332
|
-
|
|
1333
|
-
### Authorization
|
|
1334
|
-
|
|
1335
|
-
[Bearer](../README.md#Bearer)
|
|
1336
|
-
|
|
1337
|
-
### HTTP request headers
|
|
1338
|
-
|
|
1339
|
-
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json
|
|
1340
|
-
- **Accept**: application/json
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
## app_setting_put
|
|
1344
|
-
|
|
1345
|
-
> <BooleanApiResponse> app_setting_put(id, app_key, opts)
|
|
1346
|
-
|
|
1347
|
-
更新配置
|
|
1348
|
-
|
|
1349
|
-
根据配置ID更新配置内容
|
|
1350
|
-
|
|
1351
|
-
### Examples
|
|
1352
|
-
|
|
1353
|
-
```ruby
|
|
1354
|
-
require 'time'
|
|
1355
|
-
require 'zsgf_client'
|
|
1356
|
-
# setup authorization
|
|
1357
|
-
ZSGFClient.configure do |config|
|
|
1358
|
-
# Configure Bearer authorization: Bearer
|
|
1359
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1360
|
-
end
|
|
1361
|
-
|
|
1362
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
1363
|
-
id = 789 # Integer | 配置ID
|
|
1364
|
-
app_key = 'app_key_example' # String |
|
|
1365
|
-
opts = {
|
|
1366
|
-
app_setting: ZSGFClient::AppSetting.new({code: 'code_example', value: 'value_example'}) # AppSetting | 配置内容
|
|
1367
|
-
}
|
|
1368
|
-
|
|
1369
|
-
begin
|
|
1370
|
-
# 更新配置
|
|
1371
|
-
result = api_instance.app_setting_put(id, app_key, opts)
|
|
1372
|
-
p result
|
|
1373
|
-
rescue ZSGFClient::ApiError => e
|
|
1374
|
-
puts "Error when calling AppSettingApi->app_setting_put: #{e}"
|
|
1375
|
-
end
|
|
1376
|
-
```
|
|
1377
|
-
|
|
1378
|
-
#### Using the app_setting_put_with_http_info variant
|
|
1379
|
-
|
|
1380
|
-
This returns an Array which contains the response data, status code and headers.
|
|
1381
|
-
|
|
1382
|
-
> <Array(<BooleanApiResponse>, Integer, Hash)> app_setting_put_with_http_info(id, app_key, opts)
|
|
1383
|
-
|
|
1384
|
-
```ruby
|
|
1385
|
-
begin
|
|
1386
|
-
# 更新配置
|
|
1387
|
-
data, status_code, headers = api_instance.app_setting_put_with_http_info(id, app_key, opts)
|
|
1388
|
-
p status_code # => 2xx
|
|
1389
|
-
p headers # => { ... }
|
|
1390
|
-
p data # => <BooleanApiResponse>
|
|
1391
|
-
rescue ZSGFClient::ApiError => e
|
|
1392
|
-
puts "Error when calling AppSettingApi->app_setting_put_with_http_info: #{e}"
|
|
1393
|
-
end
|
|
1394
|
-
```
|
|
1395
|
-
|
|
1396
|
-
### Parameters
|
|
1397
|
-
|
|
1398
|
-
| Name | Type | Description | Notes |
|
|
1399
|
-
| ---- | ---- | ----------- | ----- |
|
|
1400
|
-
| **id** | **Integer** | 配置ID | |
|
|
1401
|
-
| **app_key** | **String** | | |
|
|
1402
|
-
| **app_setting** | [**AppSetting**](AppSetting.md) | 配置内容 | [optional] |
|
|
1403
|
-
|
|
1404
|
-
### Return type
|
|
1405
|
-
|
|
1406
|
-
[**BooleanApiResponse**](BooleanApiResponse.md)
|
|
1407
|
-
|
|
1408
|
-
### Authorization
|
|
1409
|
-
|
|
1410
|
-
[Bearer](../README.md#Bearer)
|
|
1411
|
-
|
|
1412
|
-
### HTTP request headers
|
|
1413
|
-
|
|
1414
|
-
- **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json
|
|
1415
|
-
- **Accept**: application/json
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
## app_settings
|
|
1419
|
-
|
|
1420
|
-
> <AppSettingListApiResponse> app_settings(app_key, opts)
|
|
1421
|
-
|
|
1422
|
-
配置列表
|
|
1423
|
-
|
|
1424
|
-
根据服务商代码、分组代码、标签和配置项代码获取配置列表
|
|
1425
|
-
|
|
1426
|
-
### Examples
|
|
1427
|
-
|
|
1428
|
-
```ruby
|
|
1429
|
-
require 'time'
|
|
1430
|
-
require 'zsgf_client'
|
|
1431
|
-
# setup authorization
|
|
1432
|
-
ZSGFClient.configure do |config|
|
|
1433
|
-
# Configure Bearer authorization: Bearer
|
|
1434
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1435
|
-
end
|
|
1436
|
-
|
|
1437
|
-
api_instance = ZSGFClient::AppSettingApi.new
|
|
1438
|
-
app_key = 'app_key_example' # String |
|
|
1439
|
-
opts = {
|
|
1440
|
-
provider_code: 'provider_code_example', # String | 服务商代码
|
|
1441
|
-
group_code: 'group_code_example', # String | 分组代码
|
|
1442
|
-
tag: 'tag_example', # String | 标签
|
|
1443
|
-
code: 'code_example' # String | 配置项代码
|
|
1444
|
-
}
|
|
1445
|
-
|
|
1446
|
-
begin
|
|
1447
|
-
# 配置列表
|
|
1448
|
-
result = api_instance.app_settings(app_key, opts)
|
|
1449
|
-
p result
|
|
1450
|
-
rescue ZSGFClient::ApiError => e
|
|
1451
|
-
puts "Error when calling AppSettingApi->app_settings: #{e}"
|
|
1452
|
-
end
|
|
1453
|
-
```
|
|
1454
|
-
|
|
1455
|
-
#### Using the app_settings_with_http_info variant
|
|
1456
|
-
|
|
1457
|
-
This returns an Array which contains the response data, status code and headers.
|
|
1458
|
-
|
|
1459
|
-
> <Array(<AppSettingListApiResponse>, Integer, Hash)> app_settings_with_http_info(app_key, opts)
|
|
1460
|
-
|
|
1461
|
-
```ruby
|
|
1462
|
-
begin
|
|
1463
|
-
# 配置列表
|
|
1464
|
-
data, status_code, headers = api_instance.app_settings_with_http_info(app_key, opts)
|
|
1465
|
-
p status_code # => 2xx
|
|
1466
|
-
p headers # => { ... }
|
|
1467
|
-
p data # => <AppSettingListApiResponse>
|
|
1468
|
-
rescue ZSGFClient::ApiError => e
|
|
1469
|
-
puts "Error when calling AppSettingApi->app_settings_with_http_info: #{e}"
|
|
1470
|
-
end
|
|
1471
|
-
```
|
|
1472
|
-
|
|
1473
|
-
### Parameters
|
|
1474
|
-
|
|
1475
|
-
| Name | Type | Description | Notes |
|
|
1476
|
-
| ---- | ---- | ----------- | ----- |
|
|
1477
|
-
| **app_key** | **String** | | |
|
|
1478
|
-
| **provider_code** | **String** | 服务商代码 | [optional] |
|
|
1479
|
-
| **group_code** | **String** | 分组代码 | [optional] |
|
|
1480
|
-
| **tag** | **String** | 标签 | [optional] |
|
|
1481
|
-
| **code** | **String** | 配置项代码 | [optional] |
|
|
1482
|
-
|
|
1483
|
-
### Return type
|
|
1484
|
-
|
|
1485
|
-
[**AppSettingListApiResponse**](AppSettingListApiResponse.md)
|
|
1486
|
-
|
|
1487
|
-
### Authorization
|
|
1488
|
-
|
|
1489
|
-
[Bearer](../README.md#Bearer)
|
|
1490
|
-
|
|
1491
|
-
### HTTP request headers
|
|
1492
|
-
|
|
1493
|
-
- **Content-Type**: Not defined
|
|
1494
|
-
- **Accept**: application/json
|
|
1495
|
-
|