Skip to content

Commit

Permalink
Generated 2024-09-10 for ESA.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Sep 25, 2024
1 parent 71e5941 commit 17633e7
Show file tree
Hide file tree
Showing 149 changed files with 6,708 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aliyun-python-sdk-esa/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
2024-09-25 Version: 1.0.0
- Generated 2024-09-10 for `ESA`.

13 changes: 13 additions & 0 deletions aliyun-python-sdk-esa/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright 1999-present Alibaba Group Holding Ltd.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
1 change: 1 addition & 0 deletions aliyun-python-sdk-esa/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include LICENSE README.rst ChangeLog.txt
15 changes: 15 additions & 0 deletions aliyun-python-sdk-esa/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
=============================================================
aliyun-python-sdk-esa
=============================================================

.. This is the esa module of Aliyun Python SDK.
Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services.

This module works on Python versions:

2.6.5 and greater

**Documentation:**

Please visit `http://develop.aliyun.com/sdk/python <http://develop.aliyun.com/sdk/python>`_
1 change: 1 addition & 0 deletions aliyun-python-sdk-esa/aliyunsdkesa/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '1.0.0'
Empty file.
Original file line number Diff line number Diff line change
@@ -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 ActivateClientCertificateRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'ESA', '2024-09-10', 'ActivateClientCertificate')
self.set_protocol_type('https')
self.set_method('GET')

def get_SiteId(self): # Long
return self.get_query_params().get('SiteId')

def set_SiteId(self, SiteId): # Long
self.add_query_param('SiteId', SiteId)
def get_Id(self): # String
return self.get_query_params().get('Id')

def set_Id(self, Id): # String
self.add_query_param('Id', Id)
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# 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 AddUserBusinessFormRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'ESA', '2024-09-10', 'AddUserBusinessForm')
self.set_protocol_type('https')
self.set_method('POST')

def get_Website(self): # String
return self.get_query_params().get('Website')

def set_Website(self, Website): # String
self.add_query_param('Website', Website)
def get_PhoneNumber(self): # String
return self.get_query_params().get('PhoneNumber')

def set_PhoneNumber(self, PhoneNumber): # String
self.add_query_param('PhoneNumber', PhoneNumber)
def get_Company(self): # String
return self.get_query_params().get('Company')

def set_Company(self, Company): # String
self.add_query_param('Company', Company)
def get_Remark(self): # String
return self.get_query_params().get('Remark')

def set_Remark(self, Remark): # String
self.add_query_param('Remark', Remark)
def get_Position(self): # String
return self.get_query_params().get('Position')

def set_Position(self, Position): # String
self.add_query_param('Position', Position)
def get_Email(self): # String
return self.get_query_params().get('Email')

def set_Email(self, Email): # String
self.add_query_param('Email', Email)
def get_UserName(self): # String
return self.get_query_params().get('UserName')

def set_UserName(self, UserName): # String
self.add_query_param('UserName', UserName)
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# 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 AdvancePurgeObjectCacheRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'ESA', '2024-09-10', 'AdvancePurgeObjectCache')
self.set_protocol_type('https')
self.set_method('POST')

def get_Area(self): # String
return self.get_query_params().get('Area')

def set_Area(self, Area): # String
self.add_query_param('Area', Area)
def get_TimeRangeBegin(self): # Integer
return self.get_query_params().get('TimeRangeBegin')

def set_TimeRangeBegin(self, TimeRangeBegin): # Integer
self.add_query_param('TimeRangeBegin', TimeRangeBegin)
def get_TimeRangeEnd(self): # Integer
return self.get_query_params().get('TimeRangeEnd')

def set_TimeRangeEnd(self, TimeRangeEnd): # Integer
self.add_query_param('TimeRangeEnd', TimeRangeEnd)
def get_SiteId(self): # Long
return self.get_query_params().get('SiteId')

def set_SiteId(self, SiteId): # Long
self.add_query_param('SiteId', SiteId)
def get_Force(self): # Boolean
return self.get_query_params().get('Force')

def set_Force(self, Force): # Boolean
self.add_query_param('Force', Force)
def get_Stations(self): # String
return self.get_query_params().get('Stations')

def set_Stations(self, Stations): # String
self.add_query_param('Stations', Stations)
def get_Type(self): # String
return self.get_query_params().get('Type')

def set_Type(self, Type): # String
self.add_query_param('Type', Type)
def get_Content(self): # String
return self.get_query_params().get('Content')

def set_Content(self, Content): # String
self.add_query_param('Content', Content)
Original file line number Diff line number Diff line change
@@ -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 BatchCreateRecordsRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'ESA', '2024-09-10', 'BatchCreateRecords')
self.set_protocol_type('https')
self.set_method('POST')

def get_RecordList(self): # Array
return self.get_query_params().get('RecordList')

def set_RecordList(self, RecordList): # Array
self.add_query_param("RecordList", json.dumps(RecordList))
def get_SiteId(self): # Long
return self.get_query_params().get('SiteId')

def set_SiteId(self, SiteId): # Long
self.add_query_param('SiteId', SiteId)
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# 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 BatchCreateWafRulesRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'ESA', '2024-09-10', 'BatchCreateWafRules')
self.set_protocol_type('https')
self.set_method('POST')

def get_Phase(self): # String
return self.get_body_params().get('Phase')

def set_Phase(self, Phase): # String
self.add_body_params('Phase', Phase)
def get_Configs(self): # Array
return self.get_body_params().get('Configs')

def set_Configs(self, Configs): # Array
self.add_body_params("Configs", json.dumps(Configs))
def get_Shared(self): # Struct
return self.get_body_params().get('Shared')

def set_Shared(self, Shared): # Struct
self.add_body_params("Shared", json.dumps(Shared))
def get_SiteVersion(self): # Integer
return self.get_query_params().get('SiteVersion')

def set_SiteVersion(self, SiteVersion): # Integer
self.add_query_param('SiteVersion', SiteVersion)
def get_SiteId(self): # Long
return self.get_query_params().get('SiteId')

def set_SiteId(self, SiteId): # Long
self.add_query_param('SiteId', SiteId)
Original file line number Diff line number Diff line change
@@ -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 BatchDeleteKvRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'ESA', '2024-09-10', 'BatchDeleteKv')
self.set_protocol_type('https')
self.set_method('POST')

def get_Keys(self): # Array
return self.get_body_params().get('Keys')

def set_Keys(self, Keys): # Array
self.add_body_params("Keys", json.dumps(Keys))
def get_Namespace(self): # String
return self.get_query_params().get('Namespace')

def set_Namespace(self, Namespace): # String
self.add_query_param('Namespace', Namespace)
Original file line number Diff line number Diff line change
@@ -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 BatchDeleteKvWithHighCapacityRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'ESA', '2024-09-10', 'BatchDeleteKvWithHighCapacity')
self.set_protocol_type('https')
self.set_method('POST')

def get_Namespace(self): # String
return self.get_query_params().get('Namespace')

def set_Namespace(self, Namespace): # String
self.add_query_param('Namespace', Namespace)
def get_Url(self): # String
return self.get_query_params().get('Url')

def set_Url(self, Url): # String
self.add_query_param('Url', Url)
Loading

0 comments on commit 17633e7

Please sign in to comment.