Skip to content

Commit

Permalink
release 3.0.11-beta source code for python
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaweicloud-SDK committed Sep 9, 2020
1 parent a506a2e commit 9e97daa
Show file tree
Hide file tree
Showing 344 changed files with 56,441 additions and 138 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
# 3.0.11-beta 2020-09-09
## HuaweiCloud SDK DMS
- ### Features
- Support Distributed Message Services, provide Kafka premium instances and RabbitMQ premium instances with dedicated resources.
- ### Bug Fix
- None
- ### Change
- None

## HuaweiCloud SDK Meeting
- ### Features
- Support more APIs: Meeting Control / Meeting Management.
- ### Bug Fix
- None
- ### Change
- None

## HuaweiCloud SDK VPC
- ### Features
- None
- ### Bug Fix
- Fix the problem that security group related interfaces have wrong data type.
- ### Change
- None


# 3.0.10-beta 2020-09-04
## HuaweiCloud SDK Core
- ### Features
Expand Down
26 changes: 26 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
# 3.0.11-beta 2020-09-09
## HuaweiCloud SDK DMS
- ### 新增特性
- 支持分布式消息服务,提供Kafka专享版和RabbitMQ专享版
- ### 解决问题
-
- ### 特性变更
-

## HuaweiCloud SDK Meeting
- ### 新增特性
- 新增支持接口:会议控制/会议管理
- ### 解决问题
-
- ### 特性变更
-

## HuaweiCloud SDK VPC
- ### 新增特性
-
- ### 解决问题
- 修复安全组相关接口类型错误的问题
- ### 特性变更
-


# 3.0.10-beta 2020-09-04
## HuaweiCloud SDK Core
- ### 新增特性
Expand Down
2 changes: 1 addition & 1 deletion examples/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from setuptools import setup, find_packages

NAME = "huaweicloudsdkexample"
VERSION = "3.0.10-beta"
VERSION = "3.0.11-beta"
AUTHOR = "HuaweiCloud SDK"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
Expand Down
2 changes: 1 addition & 1 deletion huaweicloud-sdk-apig/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from setuptools import setup, find_packages

NAME = "huaweicloudsdkapig"
VERSION = "3.0.10-beta"
VERSION = "3.0.11-beta"
AUTHOR = "HuaweiCloud SDK"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
Expand Down
2 changes: 1 addition & 1 deletion huaweicloud-sdk-as/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from setuptools import setup, find_packages

NAME = "huaweicloudsdkas"
VERSION = "3.0.10-beta"
VERSION = "3.0.11-beta"
AUTHOR = "HuaweiCloud SDK"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
Expand Down
2 changes: 1 addition & 1 deletion huaweicloud-sdk-bss/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from setuptools import setup, find_packages

NAME = "huaweicloudsdkbss"
VERSION = "3.0.10-beta"
VERSION = "3.0.11-beta"
AUTHOR = "HuaweiCloud SDK"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
Expand Down
2 changes: 1 addition & 1 deletion huaweicloud-sdk-bssintl/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from setuptools import setup, find_packages

NAME = "huaweicloudsdkbssintl"
VERSION = "3.0.10-beta"
VERSION = "3.0.11-beta"
AUTHOR = "HuaweiCloud SDK"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3"
Expand Down
1 change: 1 addition & 0 deletions huaweicloud-sdk-cbr/huaweicloudsdkcbr/v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
from huaweicloudsdkcbr.v1.model.billing_update import BillingUpdate
from huaweicloudsdkcbr.v1.model.checkpoint_create import CheckpointCreate
from huaweicloudsdkcbr.v1.model.checkpoint_create_skipped_resource import CheckpointCreateSkippedResource
from huaweicloudsdkcbr.v1.model.checkpoint_extra_info_resp import CheckpointExtraInfoResp
from huaweicloudsdkcbr.v1.model.checkpoint_param import CheckpointParam
from huaweicloudsdkcbr.v1.model.checkpoint_plan_create import CheckpointPlanCreate
from huaweicloudsdkcbr.v1.model.checkpoint_replicate_param import CheckpointReplicateParam
Expand Down
1 change: 1 addition & 0 deletions huaweicloud-sdk-cbr/huaweicloudsdkcbr/v1/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
from huaweicloudsdkcbr.v1.model.billing_update import BillingUpdate
from huaweicloudsdkcbr.v1.model.checkpoint_create import CheckpointCreate
from huaweicloudsdkcbr.v1.model.checkpoint_create_skipped_resource import CheckpointCreateSkippedResource
from huaweicloudsdkcbr.v1.model.checkpoint_extra_info_resp import CheckpointExtraInfoResp
from huaweicloudsdkcbr.v1.model.checkpoint_param import CheckpointParam
from huaweicloudsdkcbr.v1.model.checkpoint_plan_create import CheckpointPlanCreate
from huaweicloudsdkcbr.v1.model.checkpoint_replicate_param import CheckpointReplicateParam
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class CheckpointCreate:
'project_id': 'str',
'status': 'str',
'vault': 'CheckpointPlanCreate',
'extra_info': 'BackupExtendInfo'
'extra_info': 'CheckpointExtraInfoResp'
}

attribute_map = {
Expand Down Expand Up @@ -176,7 +176,7 @@ def extra_info(self):
:return: The extra_info of this CheckpointCreate.
:rtype: BackupExtendInfo
:rtype: CheckpointExtraInfoResp
"""
return self._extra_info

Expand All @@ -186,7 +186,7 @@ def extra_info(self, extra_info):
:param extra_info: The extra_info of this CheckpointCreate.
:type: BackupExtendInfo
:type: CheckpointExtraInfoResp
"""
self._extra_info = extra_info

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
# coding: utf-8

import pprint
import re

import six





class CheckpointExtraInfoResp:


"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
"""

sensitive_list = []

openapi_types = {
'name': 'str',
'description': 'str',
'retention_duration': 'int'
}

attribute_map = {
'name': 'name',
'description': 'description',
'retention_duration': 'retention_duration'
}

def __init__(self, name=None, description=None, retention_duration=None):
"""CheckpointExtraInfoResp - a model defined in huaweicloud sdk"""



self._name = None
self._description = None
self._retention_duration = None
self.discriminator = None

if name is not None:
self.name = name
if description is not None:
self.description = description
if retention_duration is not None:
self.retention_duration = retention_duration

@property
def name(self):
"""Gets the name of this CheckpointExtraInfoResp.
备份名称
:return: The name of this CheckpointExtraInfoResp.
:rtype: str
"""
return self._name

@name.setter
def name(self, name):
"""Sets the name of this CheckpointExtraInfoResp.
备份名称
:param name: The name of this CheckpointExtraInfoResp.
:type: str
"""
self._name = name

@property
def description(self):
"""Gets the description of this CheckpointExtraInfoResp.
备份描述
:return: The description of this CheckpointExtraInfoResp.
:rtype: str
"""
return self._description

@description.setter
def description(self, description):
"""Sets the description of this CheckpointExtraInfoResp.
备份描述
:param description: The description of this CheckpointExtraInfoResp.
:type: str
"""
self._description = description

@property
def retention_duration(self):
"""Gets the retention_duration of this CheckpointExtraInfoResp.
备份保留天数
:return: The retention_duration of this CheckpointExtraInfoResp.
:rtype: int
"""
return self._retention_duration

@retention_duration.setter
def retention_duration(self, retention_duration):
"""Sets the retention_duration of this CheckpointExtraInfoResp.
备份保留天数
:param retention_duration: The retention_duration of this CheckpointExtraInfoResp.
:type: int
"""
self._retention_duration = retention_duration

def to_dict(self):
"""Returns the model properties as a dict"""
result = {}

for attr, _ in six.iteritems(self.openapi_types):
value = getattr(self, attr)
if isinstance(value, list):
result[attr] = list(map(
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
value
))
elif hasattr(value, "to_dict"):
result[attr] = value.to_dict()
elif isinstance(value, dict):
result[attr] = dict(map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict") else item,
value.items()
))
else:
if attr in self.sensitive_list:
result[attr] = "****"
else:
result[attr] = value

return result

def to_str(self):
"""Returns the string representation of the model"""
return pprint.pformat(self.to_dict())

def __repr__(self):
"""For `print` and `pprint`"""
return self.to_str()

def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, CheckpointExtraInfoResp):
return False

return self.__dict__ == other.__dict__

def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CheckpointPlanCreate:
openapi_types = {
'id': 'str',
'name': 'str',
'resources': 'list[Resource]',
'resources': 'list[ResourceResp]',
'skipped_resources': 'list[CheckpointCreateSkippedResource]'
}

Expand Down Expand Up @@ -105,7 +105,7 @@ def resources(self):
备份对象
:return: The resources of this CheckpointPlanCreate.
:rtype: list[Resource]
:rtype: list[ResourceResp]
"""
return self._resources

Expand All @@ -116,7 +116,7 @@ def resources(self, resources):
备份对象
:param resources: The resources of this CheckpointPlanCreate.
:type: list[Resource]
:type: list[ResourceResp]
"""
self._resources = resources

Expand Down
Loading

0 comments on commit 9e97daa

Please sign in to comment.