From d0feb2ec4c5378c82d4ea89e17a8753ce23b73a9 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 24 Sep 2024 03:54:35 +0000 Subject: [PATCH] Generated 2021-09-31 for BPStudio. --- aliyun-python-sdk-bpstudio/ChangeLog.txt | 3 ++ .../aliyunsdkbpstudio/__init__.py | 2 +- .../GetResource4ModifyRecordRequest.py | 43 ++++++++++++++++ ...Result4QueryInstancePrice4ModifyRequest.py | 38 ++++++++++++++ .../v20210931/ModifyApplicationSpecRequest.py | 39 +++++++++++++++ .../QueryInstancePrice4ModifyRequest.py | 44 +++++++++++++++++ .../QueryInstanceSpec4ModifyRequest.py | 49 +++++++++++++++++++ 7 files changed, 217 insertions(+), 1 deletion(-) create mode 100644 aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/GetResource4ModifyRecordRequest.py create mode 100644 aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/GetResult4QueryInstancePrice4ModifyRequest.py create mode 100644 aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/ModifyApplicationSpecRequest.py create mode 100644 aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/QueryInstancePrice4ModifyRequest.py create mode 100644 aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/QueryInstanceSpec4ModifyRequest.py diff --git a/aliyun-python-sdk-bpstudio/ChangeLog.txt b/aliyun-python-sdk-bpstudio/ChangeLog.txt index f56a193645..3ebeae4bef 100644 --- a/aliyun-python-sdk-bpstudio/ChangeLog.txt +++ b/aliyun-python-sdk-bpstudio/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-09-24 Version: 1.0.9 +- Generated 2021-09-31 for `BPStudio`. + 2024-09-03 Version: 1.0.8 - Generated 2021-09-31 for `BPStudio`. diff --git a/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/__init__.py b/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/__init__.py index 5e2a317df7..c1a7902c3c 100644 --- a/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/__init__.py +++ b/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/__init__.py @@ -1 +1 @@ -__version__ = '1.0.8' \ No newline at end of file +__version__ = '1.0.9' \ No newline at end of file diff --git a/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/GetResource4ModifyRecordRequest.py b/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/GetResource4ModifyRecordRequest.py new file mode 100644 index 0000000000..c33728d5ce --- /dev/null +++ b/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/GetResource4ModifyRecordRequest.py @@ -0,0 +1,43 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + +from aliyunsdkcore.request import RpcRequest + +class GetResource4ModifyRecordRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'BPStudio', '2021-09-31', 'GetResource4ModifyRecord','bpstudio') + self.set_protocol_type('https') + self.set_method('POST') + + def get_NextToken(self): # Long + return self.get_body_params().get('NextToken') + + def set_NextToken(self, NextToken): # Long + self.add_body_params('NextToken', NextToken) + def get_MaxResults(self): # Long + return self.get_body_params().get('MaxResults') + + def set_MaxResults(self, MaxResults): # Long + self.add_body_params('MaxResults', MaxResults) + def get_ApplicationId(self): # String + return self.get_body_params().get('ApplicationId') + + def set_ApplicationId(self, ApplicationId): # String + self.add_body_params('ApplicationId', ApplicationId) diff --git a/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/GetResult4QueryInstancePrice4ModifyRequest.py b/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/GetResult4QueryInstancePrice4ModifyRequest.py new file mode 100644 index 0000000000..5b237778a5 --- /dev/null +++ b/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/GetResult4QueryInstancePrice4ModifyRequest.py @@ -0,0 +1,38 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + +from aliyunsdkcore.request import RpcRequest + +class GetResult4QueryInstancePrice4ModifyRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'BPStudio', '2021-09-31', 'GetResult4QueryInstancePrice4Modify','bpstudio') + self.set_protocol_type('https') + self.set_method('POST') + + def get_ApplicationId(self): # String + return self.get_body_params().get('ApplicationId') + + def set_ApplicationId(self, ApplicationId): # String + self.add_body_params('ApplicationId', ApplicationId) + def get_TaskId(self): # String + return self.get_body_params().get('TaskId') + + def set_TaskId(self, TaskId): # String + self.add_body_params('TaskId', TaskId) diff --git a/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/ModifyApplicationSpecRequest.py b/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/ModifyApplicationSpecRequest.py new file mode 100644 index 0000000000..99d4617f94 --- /dev/null +++ b/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/ModifyApplicationSpecRequest.py @@ -0,0 +1,39 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + +from aliyunsdkcore.request import RpcRequest +import json + +class ModifyApplicationSpecRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'BPStudio', '2021-09-31', 'ModifyApplicationSpec','bpstudio') + self.set_protocol_type('https') + self.set_method('POST') + + def get_InstanceSpec(self): # Array + return self.get_body_params().get('InstanceSpec') + + def set_InstanceSpec(self, InstanceSpec): # Array + self.add_body_params("InstanceSpec", json.dumps(InstanceSpec)) + def get_ApplicationId(self): # String + return self.get_body_params().get('ApplicationId') + + def set_ApplicationId(self, ApplicationId): # String + self.add_body_params('ApplicationId', ApplicationId) diff --git a/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/QueryInstancePrice4ModifyRequest.py b/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/QueryInstancePrice4ModifyRequest.py new file mode 100644 index 0000000000..2a05297c43 --- /dev/null +++ b/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/QueryInstancePrice4ModifyRequest.py @@ -0,0 +1,44 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + +from aliyunsdkcore.request import RpcRequest +import json + +class QueryInstancePrice4ModifyRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'BPStudio', '2021-09-31', 'QueryInstancePrice4Modify','bpstudio') + self.set_protocol_type('https') + self.set_method('POST') + + def get_Configuration(self): # Map + return self.get_body_params().get('Configuration') + + def set_Configuration(self, Configuration): # Map + self.add_body_params("Configuration", json.dumps(Configuration)) + def get_InstanceId(self): # String + return self.get_body_params().get('InstanceId') + + def set_InstanceId(self, InstanceId): # String + self.add_body_params('InstanceId', InstanceId) + def get_ApplicationId(self): # String + return self.get_body_params().get('ApplicationId') + + def set_ApplicationId(self, ApplicationId): # String + self.add_body_params('ApplicationId', ApplicationId) diff --git a/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/QueryInstanceSpec4ModifyRequest.py b/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/QueryInstanceSpec4ModifyRequest.py new file mode 100644 index 0000000000..580ddf0a2f --- /dev/null +++ b/aliyun-python-sdk-bpstudio/aliyunsdkbpstudio/request/v20210931/QueryInstanceSpec4ModifyRequest.py @@ -0,0 +1,49 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + +from aliyunsdkcore.request import RpcRequest +import json + +class QueryInstanceSpec4ModifyRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'BPStudio', '2021-09-31', 'QueryInstanceSpec4Modify','bpstudio') + self.set_protocol_type('https') + self.set_method('POST') + + def get_InstanceId(self): # String + return self.get_body_params().get('InstanceId') + + def set_InstanceId(self, InstanceId): # String + self.add_body_params('InstanceId', InstanceId) + def get_ApplicationId(self): # String + return self.get_body_params().get('ApplicationId') + + def set_ApplicationId(self, ApplicationId): # String + self.add_body_params('ApplicationId', ApplicationId) + def get_Parameters(self): # Map + return self.get_body_params().get('Parameters') + + def set_Parameters(self, Parameters): # Map + self.add_body_params("Parameters", json.dumps(Parameters)) + def get_MethodName(self): # String + return self.get_body_params().get('MethodName') + + def set_MethodName(self, MethodName): # String + self.add_body_params('MethodName', MethodName)