diff --git a/ucloud/services/udb/schemas/models.py b/ucloud/services/udb/schemas/models.py index ed170721..e388096d 100644 --- a/ucloud/services/udb/schemas/models.py +++ b/ucloud/services/udb/schemas/models.py @@ -3,6 +3,15 @@ from ucloud.core.typesystem import schema, fields +class UFileDataSetSchema(schema.ResponseSchema): + """UFileDataSet - 增加ufile的描述""" + + fields = { + "Bucket": fields.Str(required=False, load_from="Bucket"), + "TokenID": fields.Str(required=False, load_from="TokenID"), + } + + class UDBSlaveInstanceSetSchema(schema.ResponseSchema): """UDBSlaveInstanceSet - DescribeUDBSlaveInstance""" @@ -69,15 +78,6 @@ class UDBSlaveInstanceSetSchema(schema.ResponseSchema): } -class UFileDataSetSchema(schema.ResponseSchema): - """UFileDataSet - 增加ufile的描述""" - - fields = { - "Bucket": fields.Str(required=False, load_from="Bucket"), - "TokenID": fields.Str(required=False, load_from="TokenID"), - } - - class MongoDBShardedClusterSetSchema(schema.ResponseSchema): """MongoDBShardedClusterSet -""" diff --git a/ucloud/services/uhost/client.py b/ucloud/services/uhost/client.py index 6439b31e..4323d3e5 100644 --- a/ucloud/services/uhost/client.py +++ b/ucloud/services/uhost/client.py @@ -1348,8 +1348,11 @@ def reset_uhost_instance_password( - **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。 请参考 `GetProjectList接口 `_ - **Region** (str) - (Config) 地域。 参见 `地域和可用区列表 `_ - - **Password** (str) - (Required) UHost新密码(密码格式使用BASE64编码) - **UHostId** (str) - (Required) UHost实例ID + - **AutoStart** (bool) - 修改密码结束后是否立即开机,默认为false, 如果设置为true,则修改密码成功后立即开机; 抢占式和后付费云主机暂不支持当前功能; + - **KeyPairId** (str) - KeypairId 密钥对ID,LoginMode为KeyPair时此项必须。 + - **LoginMode** (str) - 主机登陆模式。密码(默认选项): Password,密钥 KeyPair。 + - **Password** (str) - UHost新密码(密码格式使用BASE64编码) - **Zone** (str) - 可用区。参见 `可用区列表 `_ **Response** @@ -1410,6 +1413,7 @@ def resize_uhost_instance( - **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。 请参考 `GetProjectList接口 `_ - **Region** (str) - (Config) 地域。 参见 `地域和可用区列表 `_ - **UHostId** (str) - (Required) UHost实例ID 参见 `DescribeUHostInstance `_ + - **AutoStart** (bool) - 扩容结束后是否立即开机,默认为false,如果设置为true,则扩容成功后立即开机;抢占式和后付费云主机暂不支持当前功能; - **CPU** (int) - 虚拟CPU核数。可选参数:1-240(可选范围与UHostType相关)。默认值为当前实例的CPU核数 - **GPU** (int) - GPU卡核心数。仅GPU机型支持此字段(可选范围与MachineType+GpuType相关) - **Memory** (int) - 内存大小。单位:MB。范围 :[1024, 1966080],取值为1024的倍数(可选范围与UHostType相关)。默认值为当前实例的内存大小。 diff --git a/ucloud/services/uhost/schemas/apis.py b/ucloud/services/uhost/schemas/apis.py index 0a6cb179..2ce0702d 100644 --- a/ucloud/services/uhost/schemas/apis.py +++ b/ucloud/services/uhost/schemas/apis.py @@ -1219,7 +1219,10 @@ class ResetUHostInstancePasswordRequestSchema(schema.RequestSchema): """ResetUHostInstancePassword - 重置UHost实例的管理员密码。""" fields = { - "Password": fields.Base64(required=True, dump_to="Password"), + "AutoStart": fields.Bool(required=False, dump_to="AutoStart"), + "KeyPairId": fields.Str(required=False, dump_to="KeyPairId"), + "LoginMode": fields.Str(required=False, dump_to="LoginMode"), + "Password": fields.Base64(required=False, dump_to="Password"), "ProjectId": fields.Str(required=False, dump_to="ProjectId"), "Region": fields.Str(required=True, dump_to="Region"), "UHostId": fields.Str(required=True, dump_to="UHostId"), @@ -1279,6 +1282,7 @@ class ResizeUHostInstanceRequestSchema(schema.RequestSchema): """ResizeUHostInstance - 修改指定UHost实例的资源配置,如CPU核心数,内存容量大小,网络增强等。可选配置范围请参考[[api:uhost-api:uhost_type|云主机机型说明]]。""" fields = { + "AutoStart": fields.Bool(required=False, dump_to="AutoStart"), "BootDiskSpace": fields.Int( required=False, dump_to="BootDiskSpace" ), # Deprecated, will be removed at 1.0 diff --git a/ucloud/services/uhost/schemas/models.py b/ucloud/services/uhost/schemas/models.py index 92ceb272..a7c9102e 100644 --- a/ucloud/services/uhost/schemas/models.py +++ b/ucloud/services/uhost/schemas/models.py @@ -20,28 +20,6 @@ class KeyPairSchema(schema.ResponseSchema): } -class DataDiskInfoSchema(schema.ResponseSchema): - """DataDiskInfo - 数据盘信息""" - - fields = { - "Features": fields.List(fields.Str()), - "MaximalSize": fields.Int(required=False, load_from="MaximalSize"), - "MinimalSize": fields.Int(required=False, load_from="MinimalSize"), - "Name": fields.Str(required=False, load_from="Name"), - } - - -class BootDiskInfoSchema(schema.ResponseSchema): - """BootDiskInfo - 系统盘信息""" - - fields = { - "Features": fields.List(fields.Str()), - "InstantResize": fields.Bool(required=False, load_from="InstantResize"), - "MaximalSize": fields.Int(required=False, load_from="MaximalSize"), - "Name": fields.Str(required=False, load_from="Name"), - } - - class CollectionSchema(schema.ResponseSchema): """Collection - CPU和内存可支持的规格""" @@ -62,21 +40,24 @@ class FeatureModesSchema(schema.ResponseSchema): } -class PerformanceSchema(schema.ResponseSchema): - """Performance - GPU的性能指标""" +class DataDiskInfoSchema(schema.ResponseSchema): + """DataDiskInfo - 数据盘信息""" fields = { - "Rate": fields.Int(required=False, load_from="Rate"), - "Value": fields.Float(required=False, load_from="Value"), + "Features": fields.List(fields.Str()), + "MaximalSize": fields.Int(required=False, load_from="MaximalSize"), + "MinimalSize": fields.Int(required=False, load_from="MinimalSize"), + "Name": fields.Str(required=False, load_from="Name"), } -class DisksSchema(schema.ResponseSchema): - """Disks - 磁盘信息""" +class BootDiskInfoSchema(schema.ResponseSchema): + """BootDiskInfo - 系统盘信息""" fields = { - "BootDisk": fields.List(BootDiskInfoSchema()), - "DataDisk": fields.List(DataDiskInfoSchema()), + "Features": fields.List(fields.Str()), + "InstantResize": fields.Bool(required=False, load_from="InstantResize"), + "MaximalSize": fields.Int(required=False, load_from="MaximalSize"), "Name": fields.Str(required=False, load_from="Name"), } @@ -108,6 +89,16 @@ class FeaturesSchema(schema.ResponseSchema): } +class DisksSchema(schema.ResponseSchema): + """Disks - 磁盘信息""" + + fields = { + "BootDisk": fields.List(BootDiskInfoSchema()), + "DataDisk": fields.List(DataDiskInfoSchema()), + "Name": fields.Str(required=False, load_from="Name"), + } + + class CpuPlatformsSchema(schema.ResponseSchema): """CpuPlatforms - CPU平台信息""" @@ -118,6 +109,15 @@ class CpuPlatformsSchema(schema.ResponseSchema): } +class PerformanceSchema(schema.ResponseSchema): + """Performance - GPU的性能指标""" + + fields = { + "Rate": fields.Int(required=False, load_from="Rate"), + "Value": fields.Float(required=False, load_from="Value"), + } + + class AvailableInstanceTypesSchema(schema.ResponseSchema): """AvailableInstanceTypes - https://ushare.ucloudadmin.com/pages/viewpage.action?pageId=104662646""" @@ -205,14 +205,6 @@ class UHostDiskSetSchema(schema.ResponseSchema): } -class SpotAttributeSchema(schema.ResponseSchema): - """SpotAttribute - 竞价实例属性""" - - fields = { - "RecycleTime": fields.Int(required=False, load_from="RecycleTime"), - } - - class UHostKeyPairSchema(schema.ResponseSchema): """UHostKeyPair - 主机密钥信息""" @@ -232,6 +224,14 @@ class UDSetUDHostAttributeSchema(schema.ResponseSchema): } +class SpotAttributeSchema(schema.ResponseSchema): + """SpotAttribute - 竞价实例属性""" + + fields = { + "RecycleTime": fields.Int(required=False, load_from="RecycleTime"), + } + + class UHostIPSetSchema(schema.ResponseSchema): """UHostIPSet - DescribeUHostInstance""" diff --git a/ucloud/services/umem/client.py b/ucloud/services/umem/client.py index 4788d34d..af131894 100644 --- a/ucloud/services/umem/client.py +++ b/ucloud/services/umem/client.py @@ -801,6 +801,7 @@ def describe_umem_upgrade_price( - **IsSplit** (str) - 如果是拆分按钮查询价格就填 true, 否则就填 false,默认为 false - **NewCPU** (int) - 代理升级后CPU核数 - **ProxyId** (str) - 代理id + - **ReplicaSize** (int) - 新增读写分离节点容量大小 - **Zone** (str) - 可用区。参见 `可用区列表 `_ **Response** @@ -1487,6 +1488,44 @@ def modify_uredis_group_password( resp = self.invoke("ModifyURedisGroupPassword", d, **kwargs) return apis.ModifyURedisGroupPasswordResponseSchema().loads(resp) + def register_umem_defrag( + self, req: typing.Optional[dict] = None, **kwargs + ) -> dict: + """RegisterUMemDefrag - 动态开关redis碎片整理选项 + + **Request** + + - **Region** (str) - (Config) 地域。 参见 `地域和可用区列表 `_ + - **ResourceId** (str) - (Required) 资源ID + - **Zone** (str) - (Required) 可用区。参见 `可用区列表 `_ + - **EndHour** (int) - 结束整点数值(分布式实例该参数无效)。 + - **EndMin** (int) - 结束分钟数(分布式实例该参数无效)。 + - **EndTime** (int) - 关闭时间戳 + - **FragSize** (int) - 碎片整理阈值,范围为 100-200(分布式实例该参数无效)。 + - **FragTime** (int) - 任务时间周期,单位为分钟。 + - **IsUnion** (bool) - AND逻辑字段,表示 阈值和时间段都满足(分布式实例该参数无效)。 + - **OperateType** (str) - 操作类型:“Once”: 表示单次执行, “Open”:表示开启策略“Close”: 表示关闭策略(分布式实例只支持Once)。 + - **StartHour** (int) - 开始整点数值(分布式实例该参数无效)。 + - **StartMin** (int) - 开始分钟数(分布式实例该参数无效)。 + - **StartTime** (int) - 开始时间戳 + + **Response** + + + """ + # build request + d = { + "Region": self.config.region, + } + req and d.update(req) + d = apis.RegisterUMemDefragRequestSchema().dumps(d) + + # build options + kwargs["max_retries"] = 0 # ignore retry when api is not idempotent + + resp = self.invoke("RegisterUMemDefrag", d, **kwargs) + return apis.RegisterUMemDefragResponseSchema().loads(resp) + def remove_ud_redis_data( self, req: typing.Optional[dict] = None, **kwargs ) -> dict: diff --git a/ucloud/services/umem/schemas/apis.py b/ucloud/services/umem/schemas/apis.py index 8e7fe860..a74d649a 100644 --- a/ucloud/services/umem/schemas/apis.py +++ b/ucloud/services/umem/schemas/apis.py @@ -628,6 +628,7 @@ class DescribeUMemUpgradePriceRequestSchema(schema.RequestSchema): "ProjectId": fields.Str(required=False, dump_to="ProjectId"), "ProxyId": fields.Str(required=False, dump_to="ProxyId"), "Region": fields.Str(required=True, dump_to="Region"), + "ReplicaSize": fields.Int(required=False, dump_to="ReplicaSize"), "Size": fields.Int(required=True, dump_to="Size"), "SpaceId": fields.Str(required=True, dump_to="SpaceId"), "Type": fields.Str(required=True, dump_to="Type"), @@ -1176,6 +1177,39 @@ class ModifyURedisGroupPasswordResponseSchema(schema.ResponseSchema): fields = {} +""" +API: RegisterUMemDefrag + +动态开关redis碎片整理选项 +""" + + +class RegisterUMemDefragRequestSchema(schema.RequestSchema): + """RegisterUMemDefrag - 动态开关redis碎片整理选项""" + + fields = { + "EndHour": fields.Int(required=False, dump_to="EndHour"), + "EndMin": fields.Int(required=False, dump_to="EndMin"), + "EndTime": fields.Int(required=False, dump_to="EndTime"), + "FragSize": fields.Int(required=False, dump_to="FragSize"), + "FragTime": fields.Int(required=False, dump_to="FragTime"), + "IsUnion": fields.Bool(required=False, dump_to="IsUnion"), + "OperateType": fields.Str(required=False, dump_to="OperateType"), + "Region": fields.Str(required=True, dump_to="Region"), + "ResourceId": fields.Str(required=True, dump_to="ResourceId"), + "StartHour": fields.Int(required=False, dump_to="StartHour"), + "StartMin": fields.Int(required=False, dump_to="StartMin"), + "StartTime": fields.Int(required=False, dump_to="StartTime"), + "Zone": fields.Str(required=True, dump_to="Zone"), + } + + +class RegisterUMemDefragResponseSchema(schema.ResponseSchema): + """RegisterUMemDefrag - 动态开关redis碎片整理选项""" + + fields = {} + + """ API: RemoveUDRedisData diff --git a/ucloud/services/umem/schemas/models.py b/ucloud/services/umem/schemas/models.py index 3a92b71e..2ed82651 100644 --- a/ucloud/services/umem/schemas/models.py +++ b/ucloud/services/umem/schemas/models.py @@ -25,6 +25,15 @@ class UDRedisSlowlogSetSchema(schema.ResponseSchema): } +class UMemSpaceAddressSetSchema(schema.ResponseSchema): + """UMemSpaceAddressSet - DescribeUMemSpace""" + + fields = { + "IP": fields.Str(required=False, load_from="IP"), + "Port": fields.Int(required=False, load_from="Port"), + } + + class UMemSlaveDataSetSchema(schema.ResponseSchema): """UMemSlaveDataSet - DescribeUMem""" @@ -55,15 +64,6 @@ class UMemSlaveDataSetSchema(schema.ResponseSchema): } -class UMemSpaceAddressSetSchema(schema.ResponseSchema): - """UMemSpaceAddressSet - DescribeUMemSpace""" - - fields = { - "IP": fields.Str(required=False, load_from="IP"), - "Port": fields.Int(required=False, load_from="Port"), - } - - class UMemDataSetSchema(schema.ResponseSchema): """UMemDataSet - DescribeUMem""" diff --git a/ucloud/services/usms/schemas/models.py b/ucloud/services/usms/schemas/models.py index cca58668..b09c1369 100644 --- a/ucloud/services/usms/schemas/models.py +++ b/ucloud/services/usms/schemas/models.py @@ -26,31 +26,6 @@ class ReceiptPerSessionSchema(schema.ResponseSchema): } -class StatisticsDataSchema(schema.ResponseSchema): - """StatisticsData - 统计信息""" - - fields = { - "FailCostCount": fields.Int(required=True, load_from="FailCostCount"), - "FailCount": fields.Int(required=True, load_from="FailCount"), - "SendCostCount": fields.Int(required=True, load_from="SendCostCount"), - "SendCount": fields.Int(required=True, load_from="SendCount"), - "SubmitFailCostCount": fields.Int( - required=True, load_from="SubmitFailCostCount" - ), - "SubmitFailCount": fields.Int( - required=True, load_from="SubmitFailCount" - ), - "SuccessCostCount": fields.Int( - required=True, load_from="SuccessCostCount" - ), - "SuccessCount": fields.Int(required=True, load_from="SuccessCount"), - "UnknownCostCount": fields.Int( - required=True, load_from="UnknownCostCount" - ), - "UnknownCount": fields.Int(required=True, load_from="UnknownCount"), - } - - class StatisticsDataInfoSchema(schema.ResponseSchema): """StatisticsDataInfo - 统计信息按天聚合""" @@ -82,6 +57,31 @@ class StatisticsDataInfoSchema(schema.ResponseSchema): } +class StatisticsDataSchema(schema.ResponseSchema): + """StatisticsData - 统计信息""" + + fields = { + "FailCostCount": fields.Int(required=True, load_from="FailCostCount"), + "FailCount": fields.Int(required=True, load_from="FailCount"), + "SendCostCount": fields.Int(required=True, load_from="SendCostCount"), + "SendCount": fields.Int(required=True, load_from="SendCount"), + "SubmitFailCostCount": fields.Int( + required=True, load_from="SubmitFailCostCount" + ), + "SubmitFailCount": fields.Int( + required=True, load_from="SubmitFailCount" + ), + "SuccessCostCount": fields.Int( + required=True, load_from="SuccessCostCount" + ), + "SuccessCount": fields.Int(required=True, load_from="SuccessCount"), + "UnknownCostCount": fields.Int( + required=True, load_from="UnknownCostCount" + ), + "UnknownCount": fields.Int(required=True, load_from="UnknownCount"), + } + + class OutSignatureSchema(schema.ResponseSchema): """OutSignature - 短信签名""" diff --git a/ucloud/services/uvms/client.py b/ucloud/services/uvms/client.py index 2c4d2895..31e02562 100644 --- a/ucloud/services/uvms/client.py +++ b/ucloud/services/uvms/client.py @@ -13,6 +13,74 @@ def __init__( ): super(UVMSClient, self).__init__(config, transport, middleware, logger) + def get_uvms_send_record( + self, req: typing.Optional[dict] = None, **kwargs + ) -> dict: + """GetUVMSSendRecord - 获取语音发送记录 + + **Request** + + - **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。 请参考 `GetProjectList接口 `_ + - **BrevityCode** (str) - 国际码,国内CN + - **CalledCityCode** (str) - 被叫城市编码 + - **CalledOperatorCode** (str) - 被叫运营商 cmcc中国移动,cucc中国联通,ctcc中国电信 + - **CallingCityCode** (str) - 主叫城市编码 + - **EndTime** (int) - 结束时间-拨打时间,默认当前 + - **ExcludeBrevityCode** (str) - 排除国际码 + - **FuzzySearch** (str) - 模糊搜索,支持 主叫号码和被叫号码 + - **NumPerPage** (int) - 每页数量,默认10 + - **OrderBy** (str) - call_start_time(拨打时间)/receive_time(回执时间) + - **OrderType** (str) - asc\desc + - **Page** (int) - 页码,默认0 + - **PhoneNumber** (str) - 被叫号码,精确查询 + - **Purpose** (int) - 目标1验证码2通知3营销 + - **StartTime** (int) - 开始时间-拨打时间,默认最近7天 + - **TaskNo** (str) - 任务编号 + - **TemplateId** (str) - 目标ID + + **Response** + + - **Data** (list) - 见 **SendRecordItem** 模型定义 + - **Total** (int) - 总数 + + **Response Model** + + **SendRecordItem** + - **BillPeriod** (int) - 计费周期(秒) + - **BillSecond** (int) - 计费时长(秒) + - **BrevityCode** (str) - 国际码 + - **CallEndTime** (int) - 呼叫结束时间(毫秒时间戳) + - **CallStartTime** (int) - 呼叫开始时间(毫秒时间戳) + - **CalledCityCode** (str) - 被叫所属城市码 + - **CalledOperatorCode** (str) - 被叫供应商码 cmcc中国移动,cucc中国联通,ctcc中国电信 + - **CallingCityCode** (str) - 主叫所属城市码 + - **ChannelId** (str) - 通道ID + - **CountryCode** (str) - 国家码 + - **Duration** (int) - 呼叫持续时间 + - **GroupType** (int) - 1随机号码组2专属号码组 + - **Phone** (str) - 被叫号码 + - **PreCost** (int) - 预扣量 + - **Purpose** (int) - 目标1验证码2通知3营销 + - **ReceiptDesc** (str) - 回执描述 + - **ReceiptResult** (int) - 回执结果1成功2失败3未知 + - **ReceiveTime** (int) - 回执时间 + - **ShowNumber** (str) - 主叫号码,如果是随机,可能为空 + - **SubmitTime** (int) - 客户提交时间 + - **TaskNo** (str) - 任务编号 + - **TemplateId** (str) - 模板ID + + + """ + # build request + d = { + "ProjectId": self.config.project_id, + } + req and d.update(req) + d = apis.GetUVMSSendRecordRequestSchema().dumps(d) + + resp = self.invoke("GetUVMSSendRecord", d, **kwargs) + return apis.GetUVMSSendRecordResponseSchema().loads(resp) + def send_uvms_message( self, req: typing.Optional[dict] = None, **kwargs ) -> dict: diff --git a/ucloud/services/uvms/schemas/apis.py b/ucloud/services/uvms/schemas/apis.py index c006010a..3a39585b 100644 --- a/ucloud/services/uvms/schemas/apis.py +++ b/ucloud/services/uvms/schemas/apis.py @@ -8,6 +8,54 @@ """ +""" +API: GetUVMSSendRecord + +获取语音发送记录 +""" + + +class GetUVMSSendRecordRequestSchema(schema.RequestSchema): + """GetUVMSSendRecord - 获取语音发送记录""" + + fields = { + "BrevityCode": fields.Str(required=False, dump_to="BrevityCode"), + "CalledCityCode": fields.Str(required=False, dump_to="CalledCityCode"), + "CalledOperatorCode": fields.Str( + required=False, dump_to="CalledOperatorCode" + ), + "CallingCityCode": fields.Str( + required=False, dump_to="CallingCityCode" + ), + "EndTime": fields.Int(required=False, dump_to="EndTime"), + "ExcludeBrevityCode": fields.Str( + required=False, dump_to="ExcludeBrevityCode" + ), + "FuzzySearch": fields.Str(required=False, dump_to="FuzzySearch"), + "NumPerPage": fields.Int(required=False, dump_to="NumPerPage"), + "OrderBy": fields.Str(required=False, dump_to="OrderBy"), + "OrderType": fields.Str(required=False, dump_to="OrderType"), + "Page": fields.Int(required=False, dump_to="Page"), + "PhoneNumber": fields.Str(required=False, dump_to="PhoneNumber"), + "ProjectId": fields.Str(required=False, dump_to="ProjectId"), + "Purpose": fields.Int(required=False, dump_to="Purpose"), + "StartTime": fields.Int(required=False, dump_to="StartTime"), + "TaskNo": fields.Str(required=False, dump_to="TaskNo"), + "TemplateId": fields.Str(required=False, dump_to="TemplateId"), + } + + +class GetUVMSSendRecordResponseSchema(schema.ResponseSchema): + """GetUVMSSendRecord - 获取语音发送记录""" + + fields = { + "Data": fields.List( + models.SendRecordItemSchema(), required=False, load_from="Data" + ), + "Total": fields.Int(required=False, load_from="Total"), + } + + """ API: SendUVMSMessage diff --git a/ucloud/services/uvms/schemas/models.py b/ucloud/services/uvms/schemas/models.py index 2717f526..e21705ad 100644 --- a/ucloud/services/uvms/schemas/models.py +++ b/ucloud/services/uvms/schemas/models.py @@ -1,3 +1,38 @@ """ Code is generated by ucloud-model, DO NOT EDIT IT. """ from ucloud.core.typesystem import schema, fields + + +class SendRecordItemSchema(schema.ResponseSchema): + """SendRecordItem - 发送记录条目""" + + fields = { + "BillPeriod": fields.Int(required=False, load_from="BillPeriod"), + "BillSecond": fields.Int(required=False, load_from="BillSecond"), + "BrevityCode": fields.Str(required=False, load_from="BrevityCode"), + "CallEndTime": fields.Int(required=False, load_from="CallEndTime"), + "CallStartTime": fields.Int(required=False, load_from="CallStartTime"), + "CalledCityCode": fields.Str( + required=False, load_from="CalledCityCode" + ), + "CalledOperatorCode": fields.Str( + required=False, load_from="CalledOperatorCode" + ), + "CallingCityCode": fields.Str( + required=False, load_from="CallingCityCode" + ), + "ChannelId": fields.Str(required=False, load_from="ChannelId"), + "CountryCode": fields.Str(required=False, load_from="CountryCode"), + "Duration": fields.Int(required=False, load_from="Duration"), + "GroupType": fields.Int(required=False, load_from="GroupType"), + "Phone": fields.Str(required=False, load_from="Phone"), + "PreCost": fields.Int(required=False, load_from="PreCost"), + "Purpose": fields.Int(required=False, load_from="Purpose"), + "ReceiptDesc": fields.Str(required=False, load_from="ReceiptDesc"), + "ReceiptResult": fields.Int(required=False, load_from="ReceiptResult"), + "ReceiveTime": fields.Int(required=False, load_from="ReceiveTime"), + "ShowNumber": fields.Str(required=False, load_from="ShowNumber"), + "SubmitTime": fields.Int(required=False, load_from="SubmitTime"), + "TaskNo": fields.Str(required=False, load_from="TaskNo"), + "TemplateId": fields.Str(required=False, load_from="TemplateId"), + } diff --git a/ucloud/version.py b/ucloud/version.py index 557bb6ca..6fe36664 100644 --- a/ucloud/version.py +++ b/ucloud/version.py @@ -1 +1 @@ -version = "0.11.61" +version = "0.11.62"