# frozen_string_literal: true # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. # # 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. module TencentCloud module Dnspod module V20210323 # 批量添加的记录 class AddRecordBatch < TencentCloud::Common::AbstractModel # @param RecordType: 记录类型, 详见 DescribeRecordType 接口。 # @type RecordType: String # @param Value: 记录值。 # @type Value: String # @param SubDomain: 子域名(主机记录),默认为@。 # @type SubDomain: String # @param RecordLine: 解析记录的线路,详见 DescribeRecordLineList 接口,RecordLine和RecordLineId都未填时,默认为「默认」线路。 # @type RecordLine: String # @param RecordLineId: 解析记录的线路 ID,RecordLine和RecordLineId都有时,系统优先取 RecordLineId。 # @type RecordLineId: String # @param Weight: 记录权重值(暂未支持)。 # @type Weight: Integer # @param MX: 记录的 MX 记录值,非 MX 记录类型,默认为 0,MX记录则必选。 # @type MX: Integer # @param TTL: 记录的 TTL 值,默认600。 # @type TTL: Integer # @param Enabled: 记录状态(暂未支持)。0表示禁用,1表示启用。默认启用。 # @type Enabled: Integer # @param Remark: 记录备注(暂未支持)。 # @type Remark: String attr_accessor :RecordType, :Value, :SubDomain, :RecordLine, :RecordLineId, :Weight, :MX, :TTL, :Enabled, :Remark def initialize(recordtype=nil, value=nil, subdomain=nil, recordline=nil, recordlineid=nil, weight=nil, mx=nil, ttl=nil, enabled=nil, remark=nil) @RecordType = recordtype @Value = value @SubDomain = subdomain @RecordLine = recordline @RecordLineId = recordlineid @Weight = weight @MX = mx @TTL = ttl @Enabled = enabled @Remark = remark end def deserialize(params) @RecordType = params['RecordType'] @Value = params['Value'] @SubDomain = params['SubDomain'] @RecordLine = params['RecordLine'] @RecordLineId = params['RecordLineId'] @Weight = params['Weight'] @MX = params['MX'] @TTL = params['TTL'] @Enabled = params['Enabled'] @Remark = params['Remark'] end end # 批量任务中的记录信息 class BatchRecordInfo < TencentCloud::Common::AbstractModel # @param RecordId: 记录 ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type RecordId: Integer # @param SubDomain: 子域名(主机记录)。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubDomain: String # @param RecordType: 记录类型, 详见 DescribeRecordType 接口 # 注意:此字段可能返回 null,表示取不到有效值。 # @type RecordType: String # @param RecordLine: 解析记录的线路,详见 DescribeRecordLineList 接口 # 注意:此字段可能返回 null,表示取不到有效值。 # @type RecordLine: String # @param Value: 记录值 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Value: String # @param TTL: 记录的 TTL 值 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TTL: Integer # @param Status: 记录添加状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: String # @param Operation: 操作类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Operation: String # @param ErrMsg: 错误信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ErrMsg: String # @param Id: 此条记录在列表中的ID # @type Id: Integer # @param Enabled: 记录生效状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Enabled: Integer # @param MX: 记录的MX权重 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MX: Integer # @param Weight: 记录权重 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Weight: Integer # @param Remark: 备注信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Remark: String attr_accessor :RecordId, :SubDomain, :RecordType, :RecordLine, :Value, :TTL, :Status, :Operation, :ErrMsg, :Id, :Enabled, :MX, :Weight, :Remark def initialize(recordid=nil, subdomain=nil, recordtype=nil, recordline=nil, value=nil, ttl=nil, status=nil, operation=nil, errmsg=nil, id=nil, enabled=nil, mx=nil, weight=nil, remark=nil) @RecordId = recordid @SubDomain = subdomain @RecordType = recordtype @RecordLine = recordline @Value = value @TTL = ttl @Status = status @Operation = operation @ErrMsg = errmsg @Id = id @Enabled = enabled @MX = mx @Weight = weight @Remark = remark end def deserialize(params) @RecordId = params['RecordId'] @SubDomain = params['SubDomain'] @RecordType = params['RecordType'] @RecordLine = params['RecordLine'] @Value = params['Value'] @TTL = params['TTL'] @Status = params['Status'] @Operation = params['Operation'] @ErrMsg = params['ErrMsg'] @Id = params['Id'] @Enabled = params['Enabled'] @MX = params['MX'] @Weight = params['Weight'] @Remark = params['Remark'] end end # CheckRecordSnapshotRollback请求参数结构体 class CheckRecordSnapshotRollbackRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param SnapshotId: 快照 ID # @type SnapshotId: String # @param Record: 解析记录信息 # @type Record: :class:`Tencentcloud::Dnspod.v20210323.models.SnapshotRecord` # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer attr_accessor :Domain, :SnapshotId, :Record, :DomainId def initialize(domain=nil, snapshotid=nil, record=nil, domainid=nil) @Domain = domain @SnapshotId = snapshotid @Record = record @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @SnapshotId = params['SnapshotId'] unless params['Record'].nil? @Record = SnapshotRecord.new @Record.deserialize(params['Record']) end @DomainId = params['DomainId'] end end # CheckRecordSnapshotRollback返回参数结构体 class CheckRecordSnapshotRollbackResponse < TencentCloud::Common::AbstractModel # @param Reason: 错误原因 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Reason: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Reason, :RequestId def initialize(reason=nil, requestid=nil) @Reason = reason @RequestId = requestid end def deserialize(params) @Reason = params['Reason'] @RequestId = params['RequestId'] end end # CheckSnapshotRollback请求参数结构体 class CheckSnapshotRollbackRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param SnapshotId: 快照记录 ID # @type SnapshotId: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer attr_accessor :Domain, :SnapshotId, :DomainId def initialize(domain=nil, snapshotid=nil, domainid=nil) @Domain = domain @SnapshotId = snapshotid @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @SnapshotId = params['SnapshotId'] @DomainId = params['DomainId'] end end # CheckSnapshotRollback返回参数结构体 class CheckSnapshotRollbackResponse < TencentCloud::Common::AbstractModel # @param SnapshotId: 快照记录 ID # @type SnapshotId: String # @param CostMinutes: 回滚时长(分钟) # @type CostMinutes: Integer # @param Domain: 快照所属域名 # @type Domain: String # @param Total: 解析记录总数 # @type Total: Integer # @param Timeout: 值为 1,表示超时 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Timeout: Integer # @param Failed: 检查失败数量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Failed: Integer # @param FailedRecordList: 失败记录信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FailedRecordList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :SnapshotId, :CostMinutes, :Domain, :Total, :Timeout, :Failed, :FailedRecordList, :RequestId def initialize(snapshotid=nil, costminutes=nil, domain=nil, total=nil, timeout=nil, failed=nil, failedrecordlist=nil, requestid=nil) @SnapshotId = snapshotid @CostMinutes = costminutes @Domain = domain @Total = total @Timeout = timeout @Failed = failed @FailedRecordList = failedrecordlist @RequestId = requestid end def deserialize(params) @SnapshotId = params['SnapshotId'] @CostMinutes = params['CostMinutes'] @Domain = params['Domain'] @Total = params['Total'] @Timeout = params['Timeout'] @Failed = params['Failed'] unless params['FailedRecordList'].nil? @FailedRecordList = [] params['FailedRecordList'].each do |i| snapshotrecord_tmp = SnapshotRecord.new snapshotrecord_tmp.deserialize(i) @FailedRecordList << snapshotrecord_tmp end end @RequestId = params['RequestId'] end end # CreateDeal请求参数结构体 class CreateDealRequest < TencentCloud::Common::AbstractModel # @param DealType: 询价类型,1 新购,2 续费,3 套餐升级(增值服务暂时只支持新购) # @type DealType: Integer # @param GoodsType: 商品类型,1 域名套餐 2 增值服务 # @type GoodsType: Integer # @param GoodsChildType: 套餐类型: # DP_PLUS:专业版 # DP_EXPERT:企业版 # DP_ULTRA:尊享版 # 增值服务类型 # LB:负载均衡 # URL:URL转发 # DMONITOR_TASKS:D监控任务数 # DMONITOR_IP:D监控备用 IP 数 # CUSTOMLINE:自定义线路数 # @type GoodsChildType: String # @param GoodsNum: 增值服务购买数量,如果是域名套餐固定为1,如果是增值服务则按以下规则: # 负载均衡、D监控任务数、D监控备用 IP 数、自定义线路数、URL 转发(必须是5的正整数倍,如 5、10、15 等) # @type GoodsNum: Integer # @param AutoRenew: 是否开启自动续费,1 开启,2 不开启(增值服务暂不支持自动续费),默认值为 2 不开启 # @type AutoRenew: Integer # @param Domain: 需要绑定套餐的域名,如 dnspod.cn,如果是续费或升级,domain 参数必须要传,新购可不传。 # @type Domain: String # @param TimeSpan: 套餐时长: # 1. 套餐以月为单位(按月只能是 3、6 还有 12 的倍数),套餐例如购买一年则传12,最大120 。(续费最低一年) # 2. 升级套餐时不需要传。 # 3. 增值服务的时长单位为年,买一年传1(增值服务新购按年只能是 1,增值服务续费最大为 10) # @type TimeSpan: Integer # @param NewPackageType: 套餐类型,需要升级到的套餐类型,只有升级时需要。 # @type NewPackageType: String attr_accessor :DealType, :GoodsType, :GoodsChildType, :GoodsNum, :AutoRenew, :Domain, :TimeSpan, :NewPackageType def initialize(dealtype=nil, goodstype=nil, goodschildtype=nil, goodsnum=nil, autorenew=nil, domain=nil, timespan=nil, newpackagetype=nil) @DealType = dealtype @GoodsType = goodstype @GoodsChildType = goodschildtype @GoodsNum = goodsnum @AutoRenew = autorenew @Domain = domain @TimeSpan = timespan @NewPackageType = newpackagetype end def deserialize(params) @DealType = params['DealType'] @GoodsType = params['GoodsType'] @GoodsChildType = params['GoodsChildType'] @GoodsNum = params['GoodsNum'] @AutoRenew = params['AutoRenew'] @Domain = params['Domain'] @TimeSpan = params['TimeSpan'] @NewPackageType = params['NewPackageType'] end end # CreateDeal返回参数结构体 class CreateDealResponse < TencentCloud::Common::AbstractModel # @param BigDealId: 大订单号,一个大订单号下可以有多个子订单,说明是同一次下单 # @type BigDealId: String # @param DealList: 子订单列表 # @type DealList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :BigDealId, :DealList, :RequestId def initialize(bigdealid=nil, deallist=nil, requestid=nil) @BigDealId = bigdealid @DealList = deallist @RequestId = requestid end def deserialize(params) @BigDealId = params['BigDealId'] unless params['DealList'].nil? @DealList = [] params['DealList'].each do |i| deals_tmp = Deals.new deals_tmp.deserialize(i) @DealList << deals_tmp end end @RequestId = params['RequestId'] end end # CreateDomainAlias请求参数结构体 class CreateDomainAliasRequest < TencentCloud::Common::AbstractModel # @param DomainAlias: 域名别名 # @type DomainAlias: String # @param Domain: 域名 # @type Domain: String # @param DomainId: 域名ID,参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :DomainAlias, :Domain, :DomainId def initialize(domainalias=nil, domain=nil, domainid=nil) @DomainAlias = domainalias @Domain = domain @DomainId = domainid end def deserialize(params) @DomainAlias = params['DomainAlias'] @Domain = params['Domain'] @DomainId = params['DomainId'] end end # CreateDomainAlias返回参数结构体 class CreateDomainAliasResponse < TencentCloud::Common::AbstractModel # @param DomainAliasId: 域名别名ID # @type DomainAliasId: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DomainAliasId, :RequestId def initialize(domainaliasid=nil, requestid=nil) @DomainAliasId = domainaliasid @RequestId = requestid end def deserialize(params) @DomainAliasId = params['DomainAliasId'] @RequestId = params['RequestId'] end end # 批量添加域名返回结构 class CreateDomainBatchDetail < TencentCloud::Common::AbstractModel # @param RecordList: 见RecordInfoBatch # 注意:此字段可能返回 null,表示取不到有效值。 # @type RecordList: Array # @param Id: 任务编号 # @type Id: Integer # @param Domain: 域名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Domain: String # @param DomainGrade: 域名等级 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DomainGrade: String # @param ErrMsg: 错误信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ErrMsg: String # @param Status: 该条任务运行状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: String # @param Operation: 操作类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Operation: String attr_accessor :RecordList, :Id, :Domain, :DomainGrade, :ErrMsg, :Status, :Operation def initialize(recordlist=nil, id=nil, domain=nil, domaingrade=nil, errmsg=nil, status=nil, operation=nil) @RecordList = recordlist @Id = id @Domain = domain @DomainGrade = domaingrade @ErrMsg = errmsg @Status = status @Operation = operation end def deserialize(params) unless params['RecordList'].nil? @RecordList = [] params['RecordList'].each do |i| createdomainbatchrecord_tmp = CreateDomainBatchRecord.new createdomainbatchrecord_tmp.deserialize(i) @RecordList << createdomainbatchrecord_tmp end end @Id = params['Id'] @Domain = params['Domain'] @DomainGrade = params['DomainGrade'] @ErrMsg = params['ErrMsg'] @Status = params['Status'] @Operation = params['Operation'] end end # 批量添加域名任务中的记录信息 class CreateDomainBatchRecord < TencentCloud::Common::AbstractModel # @param SubDomain: 子域名(主机记录)。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubDomain: String # @param RecordType: 记录类型, 详见 DescribeRecordType 接口 # 注意:此字段可能返回 null,表示取不到有效值。 # @type RecordType: String # @param RecordLine: 解析记录的线路,详见 DescribeRecordLineList 接口 # 注意:此字段可能返回 null,表示取不到有效值。 # @type RecordLine: String # @param Value: 记录值 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Value: String # @param TTL: 记录的 TTL 值 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TTL: Integer # @param Status: 记录添加状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: String # @param Operation: 操作类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Operation: String # @param ErrMsg: 错误信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ErrMsg: String # @param Id: 此条记录在列表中的ID # @type Id: Integer attr_accessor :SubDomain, :RecordType, :RecordLine, :Value, :TTL, :Status, :Operation, :ErrMsg, :Id def initialize(subdomain=nil, recordtype=nil, recordline=nil, value=nil, ttl=nil, status=nil, operation=nil, errmsg=nil, id=nil) @SubDomain = subdomain @RecordType = recordtype @RecordLine = recordline @Value = value @TTL = ttl @Status = status @Operation = operation @ErrMsg = errmsg @Id = id end def deserialize(params) @SubDomain = params['SubDomain'] @RecordType = params['RecordType'] @RecordLine = params['RecordLine'] @Value = params['Value'] @TTL = params['TTL'] @Status = params['Status'] @Operation = params['Operation'] @ErrMsg = params['ErrMsg'] @Id = params['Id'] end end # CreateDomainBatch请求参数结构体 class CreateDomainBatchRequest < TencentCloud::Common::AbstractModel # @param DomainList: 域名数组 # @type DomainList: Array # @param RecordValue: 每个域名添加 @ 和 www 的 A 记录值,记录值为IP,如果不传此参数或者传空,将只添加域名,不添加记录。 # @type RecordValue: String attr_accessor :DomainList, :RecordValue def initialize(domainlist=nil, recordvalue=nil) @DomainList = domainlist @RecordValue = recordvalue end def deserialize(params) @DomainList = params['DomainList'] @RecordValue = params['RecordValue'] end end # CreateDomainBatch返回参数结构体 class CreateDomainBatchResponse < TencentCloud::Common::AbstractModel # @param DetailList: 批量添加域名信息 # @type DetailList: Array # @param JobId: 批量任务的ID # @type JobId: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DetailList, :JobId, :RequestId def initialize(detaillist=nil, jobid=nil, requestid=nil) @DetailList = detaillist @JobId = jobid @RequestId = requestid end def deserialize(params) unless params['DetailList'].nil? @DetailList = [] params['DetailList'].each do |i| createdomainbatchdetail_tmp = CreateDomainBatchDetail.new createdomainbatchdetail_tmp.deserialize(i) @DetailList << createdomainbatchdetail_tmp end end @JobId = params['JobId'] @RequestId = params['RequestId'] end end # CreateDomainCustomLine请求参数结构体 class CreateDomainCustomLineRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param Name: 自定义线路名称 # @type Name: String # @param Area: 自定义线路IP段,用-分割 # @type Area: String # @param DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId # @type DomainId: Integer attr_accessor :Domain, :Name, :Area, :DomainId def initialize(domain=nil, name=nil, area=nil, domainid=nil) @Domain = domain @Name = name @Area = area @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @Name = params['Name'] @Area = params['Area'] @DomainId = params['DomainId'] end end # CreateDomainCustomLine返回参数结构体 class CreateDomainCustomLineResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # CreateDomainGroup请求参数结构体 class CreateDomainGroupRequest < TencentCloud::Common::AbstractModel # @param GroupName: 域名分组 # @type GroupName: String attr_accessor :GroupName def initialize(groupname=nil) @GroupName = groupname end def deserialize(params) @GroupName = params['GroupName'] end end # CreateDomainGroup返回参数结构体 class CreateDomainGroupResponse < TencentCloud::Common::AbstractModel # @param GroupId: 域名分组ID # @type GroupId: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :GroupId, :RequestId def initialize(groupid=nil, requestid=nil) @GroupId = groupid @RequestId = requestid end def deserialize(params) @GroupId = params['GroupId'] @RequestId = params['RequestId'] end end # CreateDomain请求参数结构体 class CreateDomainRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param GroupId: 域名分组ID。可以通过接口DescribeDomainGroupList查看当前域名分组信息 # @type GroupId: Integer # @param IsMark: 是否星标域名,”yes”、”no” 分别代表是和否。 # @type IsMark: String # @param TransferSubDomain: 添加子域名时,是否迁移相关父域名的解析记录。不传默认为 true # @type TransferSubDomain: Boolean # @param Tags: 域名绑定的标签 # @type Tags: Array attr_accessor :Domain, :GroupId, :IsMark, :TransferSubDomain, :Tags def initialize(domain=nil, groupid=nil, ismark=nil, transfersubdomain=nil, tags=nil) @Domain = domain @GroupId = groupid @IsMark = ismark @TransferSubDomain = transfersubdomain @Tags = tags end def deserialize(params) @Domain = params['Domain'] @GroupId = params['GroupId'] @IsMark = params['IsMark'] @TransferSubDomain = params['TransferSubDomain'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tagitem_tmp = TagItem.new tagitem_tmp.deserialize(i) @Tags << tagitem_tmp end end end end # CreateDomain返回参数结构体 class CreateDomainResponse < TencentCloud::Common::AbstractModel # @param DomainInfo: 域名信息 # @type DomainInfo: :class:`Tencentcloud::Dnspod.v20210323.models.DomainCreateInfo` # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DomainInfo, :RequestId def initialize(domaininfo=nil, requestid=nil) @DomainInfo = domaininfo @RequestId = requestid end def deserialize(params) unless params['DomainInfo'].nil? @DomainInfo = DomainCreateInfo.new @DomainInfo.deserialize(params['DomainInfo']) end @RequestId = params['RequestId'] end end # 批量添加记录返回结构 class CreateRecordBatchDetail < TencentCloud::Common::AbstractModel # @param RecordList: 见RecordInfoBatch # 注意:此字段可能返回 null,表示取不到有效值。 # @type RecordList: Array # @param Id: 任务编号 # @type Id: Integer # @param Domain: 域名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Domain: String # @param DomainGrade: 域名等级 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DomainGrade: String # @param ErrMsg: 错误信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ErrMsg: String # @param Status: 该条任务运行状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: String # @param Operation: 操作类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Operation: String # @param DomainId: 域名ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type DomainId: Integer attr_accessor :RecordList, :Id, :Domain, :DomainGrade, :ErrMsg, :Status, :Operation, :DomainId def initialize(recordlist=nil, id=nil, domain=nil, domaingrade=nil, errmsg=nil, status=nil, operation=nil, domainid=nil) @RecordList = recordlist @Id = id @Domain = domain @DomainGrade = domaingrade @ErrMsg = errmsg @Status = status @Operation = operation @DomainId = domainid end def deserialize(params) unless params['RecordList'].nil? @RecordList = [] params['RecordList'].each do |i| createrecordbatchrecord_tmp = CreateRecordBatchRecord.new createrecordbatchrecord_tmp.deserialize(i) @RecordList << createrecordbatchrecord_tmp end end @Id = params['Id'] @Domain = params['Domain'] @DomainGrade = params['DomainGrade'] @ErrMsg = params['ErrMsg'] @Status = params['Status'] @Operation = params['Operation'] @DomainId = params['DomainId'] end end # 批量添加记录任务中的记录信息 class CreateRecordBatchRecord < TencentCloud::Common::AbstractModel # @param SubDomain: 子域名(主机记录)。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubDomain: String # @param RecordType: 记录类型, 详见 DescribeRecordType 接口 # 注意:此字段可能返回 null,表示取不到有效值。 # @type RecordType: String # @param RecordLine: 解析记录的线路,详见 DescribeRecordLineList 接口 # 注意:此字段可能返回 null,表示取不到有效值。 # @type RecordLine: String # @param Value: 记录值 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Value: String # @param TTL: 记录的 TTL 值 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TTL: Integer # @param Status: 记录添加状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: String # @param Operation: 操作类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Operation: String # @param ErrMsg: 错误信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ErrMsg: String # @param Id: 此条记录在列表中的ID # @type Id: Integer # @param MX: 记录的MX权重 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MX: Integer # @param Weight: 记录的权重 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Weight: Integer attr_accessor :SubDomain, :RecordType, :RecordLine, :Value, :TTL, :Status, :Operation, :ErrMsg, :Id, :MX, :Weight def initialize(subdomain=nil, recordtype=nil, recordline=nil, value=nil, ttl=nil, status=nil, operation=nil, errmsg=nil, id=nil, mx=nil, weight=nil) @SubDomain = subdomain @RecordType = recordtype @RecordLine = recordline @Value = value @TTL = ttl @Status = status @Operation = operation @ErrMsg = errmsg @Id = id @MX = mx @Weight = weight end def deserialize(params) @SubDomain = params['SubDomain'] @RecordType = params['RecordType'] @RecordLine = params['RecordLine'] @Value = params['Value'] @TTL = params['TTL'] @Status = params['Status'] @Operation = params['Operation'] @ErrMsg = params['ErrMsg'] @Id = params['Id'] @MX = params['MX'] @Weight = params['Weight'] end end # CreateRecordBatch请求参数结构体 class CreateRecordBatchRequest < TencentCloud::Common::AbstractModel # @param DomainIdList: 域名ID,多个 domain_id 用英文逗号进行分割。 # @type DomainIdList: Array # @param RecordList: 记录数组 # @type RecordList: Array attr_accessor :DomainIdList, :RecordList def initialize(domainidlist=nil, recordlist=nil) @DomainIdList = domainidlist @RecordList = recordlist end def deserialize(params) @DomainIdList = params['DomainIdList'] unless params['RecordList'].nil? @RecordList = [] params['RecordList'].each do |i| addrecordbatch_tmp = AddRecordBatch.new addrecordbatch_tmp.deserialize(i) @RecordList << addrecordbatch_tmp end end end end # CreateRecordBatch返回参数结构体 class CreateRecordBatchResponse < TencentCloud::Common::AbstractModel # @param DetailList: 批量添加域名信息 # @type DetailList: Array # @param JobId: 批量任务的ID # @type JobId: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DetailList, :JobId, :RequestId def initialize(detaillist=nil, jobid=nil, requestid=nil) @DetailList = detaillist @JobId = jobid @RequestId = requestid end def deserialize(params) unless params['DetailList'].nil? @DetailList = [] params['DetailList'].each do |i| createrecordbatchdetail_tmp = CreateRecordBatchDetail.new createrecordbatchdetail_tmp.deserialize(i) @DetailList << createrecordbatchdetail_tmp end end @JobId = params['JobId'] @RequestId = params['RequestId'] end end # CreateRecordGroup请求参数结构体 class CreateRecordGroupRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param GroupName: 分组名称 # @type GroupName: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer attr_accessor :Domain, :GroupName, :DomainId def initialize(domain=nil, groupname=nil, domainid=nil) @Domain = domain @GroupName = groupname @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @GroupName = params['GroupName'] @DomainId = params['DomainId'] end end # CreateRecordGroup返回参数结构体 class CreateRecordGroupResponse < TencentCloud::Common::AbstractModel # @param GroupId: 新增的分组 ID # @type GroupId: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :GroupId, :RequestId def initialize(groupid=nil, requestid=nil) @GroupId = groupid @RequestId = requestid end def deserialize(params) @GroupId = params['GroupId'] @RequestId = params['RequestId'] end end # CreateRecord请求参数结构体 class CreateRecordRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param RecordType: 记录类型,通过 API 记录类型获得,大写英文,比如:A 。 # @type RecordType: String # @param RecordLine: 记录线路,通过 API 记录线路获得,中文,比如:默认。 # @type RecordLine: String # @param Value: 记录值,如 IP : 200.200.200.200, CNAME : cname.dnspod.com., MX : mail.dnspod.com.。 # @type Value: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer # @param SubDomain: 主机记录,如 www,如果不传,默认为 @。 # @type SubDomain: String # @param RecordLineId: 线路的 ID,通过 API 记录线路获得,英文字符串,比如:10=1。参数RecordLineId优先级高于RecordLine,如果同时传递二者,优先使用RecordLineId参数。 # @type RecordLineId: String # @param MX: MX 优先级,当记录类型是 MX 时有效,范围1-20,MX 记录时必选。 # @type MX: Integer # @param TTL: TTL,范围1-604800,不同套餐域名最小值不同。 # @type TTL: Integer # @param Weight: 权重信息,0到100的整数。0 表示关闭,不传该参数,表示不设置权重信息。 # @type Weight: Integer # @param Status: 记录初始状态,取值范围为 ENABLE 和 DISABLE 。默认为 ENABLE ,如果传入 DISABLE,解析不会生效,也不会验证负载均衡的限制。 # @type Status: String # @param Remark: 备注 # @type Remark: String # @param DnssecConflictMode: 开启DNSSEC时,强制添加CNAME/URL记录 # @type DnssecConflictMode: String attr_accessor :Domain, :RecordType, :RecordLine, :Value, :DomainId, :SubDomain, :RecordLineId, :MX, :TTL, :Weight, :Status, :Remark, :DnssecConflictMode def initialize(domain=nil, recordtype=nil, recordline=nil, value=nil, domainid=nil, subdomain=nil, recordlineid=nil, mx=nil, ttl=nil, weight=nil, status=nil, remark=nil, dnssecconflictmode=nil) @Domain = domain @RecordType = recordtype @RecordLine = recordline @Value = value @DomainId = domainid @SubDomain = subdomain @RecordLineId = recordlineid @MX = mx @TTL = ttl @Weight = weight @Status = status @Remark = remark @DnssecConflictMode = dnssecconflictmode end def deserialize(params) @Domain = params['Domain'] @RecordType = params['RecordType'] @RecordLine = params['RecordLine'] @Value = params['Value'] @DomainId = params['DomainId'] @SubDomain = params['SubDomain'] @RecordLineId = params['RecordLineId'] @MX = params['MX'] @TTL = params['TTL'] @Weight = params['Weight'] @Status = params['Status'] @Remark = params['Remark'] @DnssecConflictMode = params['DnssecConflictMode'] end end # CreateRecord返回参数结构体 class CreateRecordResponse < TencentCloud::Common::AbstractModel # @param RecordId: 记录ID # @type RecordId: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RecordId, :RequestId def initialize(recordid=nil, requestid=nil) @RecordId = recordid @RequestId = requestid end def deserialize(params) @RecordId = params['RecordId'] @RequestId = params['RequestId'] end end # CreateSnapshot请求参数结构体 class CreateSnapshotRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer attr_accessor :Domain, :DomainId def initialize(domain=nil, domainid=nil) @Domain = domain @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] end end # CreateSnapshot返回参数结构体 class CreateSnapshotResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # 自定义线路详情 class CustomLineInfo < TencentCloud::Common::AbstractModel # @param DomainId: 域名ID # @type DomainId: Integer # @param Name: 自定义线路名称 # @type Name: String # @param Area: 自定义线路IP段 # @type Area: String # @param UseCount: 已使用IP段个数 # @type UseCount: Integer # @param MaxCount: 允许使用IP段最大个数 # @type MaxCount: Integer attr_accessor :DomainId, :Name, :Area, :UseCount, :MaxCount def initialize(domainid=nil, name=nil, area=nil, usecount=nil, maxcount=nil) @DomainId = domainid @Name = name @Area = area @UseCount = usecount @MaxCount = maxcount end def deserialize(params) @DomainId = params['DomainId'] @Name = params['Name'] @Area = params['Area'] @UseCount = params['UseCount'] @MaxCount = params['MaxCount'] end end # 子订单号列表 class Deals < TencentCloud::Common::AbstractModel # @param DealId: 子订单ID # @type DealId: String # @param DealName: 子订单号 # @type DealName: String attr_accessor :DealId, :DealName def initialize(dealid=nil, dealname=nil) @DealId = dealid @DealName = dealname end def deserialize(params) @DealId = params['DealId'] @DealName = params['DealName'] end end # DeleteDomainAlias请求参数结构体 class DeleteDomainAliasRequest < TencentCloud::Common::AbstractModel # @param DomainAliasId: 域名别名ID。可以通过接口DescribeDomainAliasList查到所有的域名别名列表以及对应的ID # @type DomainAliasId: Integer # @param Domain: 域名 # @type Domain: String # @param DomainId: 域名ID,参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :DomainAliasId, :Domain, :DomainId def initialize(domainaliasid=nil, domain=nil, domainid=nil) @DomainAliasId = domainaliasid @Domain = domain @DomainId = domainid end def deserialize(params) @DomainAliasId = params['DomainAliasId'] @Domain = params['Domain'] @DomainId = params['DomainId'] end end # DeleteDomainAlias返回参数结构体 class DeleteDomainAliasResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # 批量删除域名详情 class DeleteDomainBatchDetail < TencentCloud::Common::AbstractModel # @param DomainId: 域名 ID # @type DomainId: Integer # @param Domain: 域名 # @type Domain: String # @param Error: 错误信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Error: String # @param Status: 删除状态 # @type Status: String # @param Operation: 操作 # @type Operation: String attr_accessor :DomainId, :Domain, :Error, :Status, :Operation def initialize(domainid=nil, domain=nil, error=nil, status=nil, operation=nil) @DomainId = domainid @Domain = domain @Error = error @Status = status @Operation = operation end def deserialize(params) @DomainId = params['DomainId'] @Domain = params['Domain'] @Error = params['Error'] @Status = params['Status'] @Operation = params['Operation'] end end # DeleteDomainBatch请求参数结构体 class DeleteDomainBatchRequest < TencentCloud::Common::AbstractModel # @param DomainList: 域名数组 # @type DomainList: Array attr_accessor :DomainList def initialize(domainlist=nil) @DomainList = domainlist end def deserialize(params) @DomainList = params['DomainList'] end end # DeleteDomainBatch返回参数结构体 class DeleteDomainBatchResponse < TencentCloud::Common::AbstractModel # @param JobId: 任务 ID # @type JobId: Integer # @param DetailList: 任务详情数组 # @type DetailList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :JobId, :DetailList, :RequestId def initialize(jobid=nil, detaillist=nil, requestid=nil) @JobId = jobid @DetailList = detaillist @RequestId = requestid end def deserialize(params) @JobId = params['JobId'] unless params['DetailList'].nil? @DetailList = [] params['DetailList'].each do |i| deletedomainbatchdetail_tmp = DeleteDomainBatchDetail.new deletedomainbatchdetail_tmp.deserialize(i) @DetailList << deletedomainbatchdetail_tmp end end @RequestId = params['RequestId'] end end # DeleteDomainCustomLine请求参数结构体 class DeleteDomainCustomLineRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param Name: 自定义线路名称 # @type Name: String # @param DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId # @type DomainId: Integer attr_accessor :Domain, :Name, :DomainId def initialize(domain=nil, name=nil, domainid=nil) @Domain = domain @Name = name @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @Name = params['Name'] @DomainId = params['DomainId'] end end # DeleteDomainCustomLine返回参数结构体 class DeleteDomainCustomLineResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # DeleteDomain请求参数结构体 class DeleteDomainRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :DomainId def initialize(domain=nil, domainid=nil) @Domain = domain @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] end end # DeleteDomain返回参数结构体 class DeleteDomainResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # 批量删除记录详情 class DeleteRecordBatchDetail < TencentCloud::Common::AbstractModel # @param DomainId: 域名 ID # @type DomainId: Integer # @param Domain: 域名 # @type Domain: String # @param Error: 错误信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Error: String # @param Status: 删除状态 # @type Status: String # @param Operation: 操作 # @type Operation: String # @param RecordList: 解析记录列表,json 序列化之后的字符串形式 # @type RecordList: String attr_accessor :DomainId, :Domain, :Error, :Status, :Operation, :RecordList def initialize(domainid=nil, domain=nil, error=nil, status=nil, operation=nil, recordlist=nil) @DomainId = domainid @Domain = domain @Error = error @Status = status @Operation = operation @RecordList = recordlist end def deserialize(params) @DomainId = params['DomainId'] @Domain = params['Domain'] @Error = params['Error'] @Status = params['Status'] @Operation = params['Operation'] @RecordList = params['RecordList'] end end # DeleteRecordBatch请求参数结构体 class DeleteRecordBatchRequest < TencentCloud::Common::AbstractModel # @param RecordIdList: 解析记录 ID 数组 # @type RecordIdList: Array attr_accessor :RecordIdList def initialize(recordidlist=nil) @RecordIdList = recordidlist end def deserialize(params) @RecordIdList = params['RecordIdList'] end end # DeleteRecordBatch返回参数结构体 class DeleteRecordBatchResponse < TencentCloud::Common::AbstractModel # @param JobId: 批量任务 ID # @type JobId: Integer # @param DetailList: 任务详情 # @type DetailList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :JobId, :DetailList, :RequestId def initialize(jobid=nil, detaillist=nil, requestid=nil) @JobId = jobid @DetailList = detaillist @RequestId = requestid end def deserialize(params) @JobId = params['JobId'] unless params['DetailList'].nil? @DetailList = [] params['DetailList'].each do |i| deleterecordbatchdetail_tmp = DeleteRecordBatchDetail.new deleterecordbatchdetail_tmp.deserialize(i) @DetailList << deleterecordbatchdetail_tmp end end @RequestId = params['RequestId'] end end # DeleteRecordGroup请求参数结构体 class DeleteRecordGroupRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param GroupId: 分组 ID # @type GroupId: Integer # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer attr_accessor :Domain, :GroupId, :DomainId def initialize(domain=nil, groupid=nil, domainid=nil) @Domain = domain @GroupId = groupid @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @GroupId = params['GroupId'] @DomainId = params['DomainId'] end end # DeleteRecordGroup返回参数结构体 class DeleteRecordGroupResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # DeleteRecord请求参数结构体 class DeleteRecordRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param RecordId: 记录 ID 。可以通过接口DescribeRecordList查到所有的解析记录列表以及对应的RecordId # @type RecordId: Integer # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :RecordId, :DomainId def initialize(domain=nil, recordid=nil, domainid=nil) @Domain = domain @RecordId = recordid @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @RecordId = params['RecordId'] @DomainId = params['DomainId'] end end # DeleteRecord返回参数结构体 class DeleteRecordResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # DeleteShareDomain请求参数结构体 class DeleteShareDomainRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param Account: 域名共享的账号 # @type Account: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :Account, :DomainId def initialize(domain=nil, account=nil, domainid=nil) @Domain = domain @Account = account @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @Account = params['Account'] @DomainId = params['DomainId'] end end # DeleteShareDomain返回参数结构体 class DeleteShareDomainResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # DeleteSnapshot请求参数结构体 class DeleteSnapshotRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param SnapshotId: 快照记录 ID # @type SnapshotId: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer attr_accessor :Domain, :SnapshotId, :DomainId def initialize(domain=nil, snapshotid=nil, domainid=nil) @Domain = domain @SnapshotId = snapshotid @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @SnapshotId = params['SnapshotId'] @DomainId = params['DomainId'] end end # DeleteSnapshot返回参数结构体 class DeleteSnapshotResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # 查看任务详情返回结构 class DescribeBatchTaskDetail < TencentCloud::Common::AbstractModel # @param RecordList: 见BatchRecordInfo # 注意:此字段可能返回 null,表示取不到有效值。 # @type RecordList: Array # @param Id: 任务编号 # @type Id: Integer # @param Domain: 域名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Domain: String # @param DomainGrade: 域名等级 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DomainGrade: String # @param ErrMsg: 错误信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ErrMsg: String # @param Status: 该条任务运行状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: String # @param Operation: 操作类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Operation: String # @param DomainId: 域名ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type DomainId: Integer attr_accessor :RecordList, :Id, :Domain, :DomainGrade, :ErrMsg, :Status, :Operation, :DomainId def initialize(recordlist=nil, id=nil, domain=nil, domaingrade=nil, errmsg=nil, status=nil, operation=nil, domainid=nil) @RecordList = recordlist @Id = id @Domain = domain @DomainGrade = domaingrade @ErrMsg = errmsg @Status = status @Operation = operation @DomainId = domainid end def deserialize(params) unless params['RecordList'].nil? @RecordList = [] params['RecordList'].each do |i| batchrecordinfo_tmp = BatchRecordInfo.new batchrecordinfo_tmp.deserialize(i) @RecordList << batchrecordinfo_tmp end end @Id = params['Id'] @Domain = params['Domain'] @DomainGrade = params['DomainGrade'] @ErrMsg = params['ErrMsg'] @Status = params['Status'] @Operation = params['Operation'] @DomainId = params['DomainId'] end end # DescribeBatchTask请求参数结构体 class DescribeBatchTaskRequest < TencentCloud::Common::AbstractModel # @param JobId: 任务ID。操作批量接口时会返回JobId # @type JobId: Integer attr_accessor :JobId def initialize(jobid=nil) @JobId = jobid end def deserialize(params) @JobId = params['JobId'] end end # DescribeBatchTask返回参数结构体 class DescribeBatchTaskResponse < TencentCloud::Common::AbstractModel # @param DetailList: 批量任务详情 # @type DetailList: Array # @param TotalCount: 总任务条数 # @type TotalCount: Integer # @param SuccessCount: 成功条数 # @type SuccessCount: Integer # @param FailCount: 失败条数 # @type FailCount: Integer # @param JobType: 批量任务类型 # @type JobType: String # @param CreatedAt: 任务创建时间 # @type CreatedAt: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DetailList, :TotalCount, :SuccessCount, :FailCount, :JobType, :CreatedAt, :RequestId def initialize(detaillist=nil, totalcount=nil, successcount=nil, failcount=nil, jobtype=nil, createdat=nil, requestid=nil) @DetailList = detaillist @TotalCount = totalcount @SuccessCount = successcount @FailCount = failcount @JobType = jobtype @CreatedAt = createdat @RequestId = requestid end def deserialize(params) unless params['DetailList'].nil? @DetailList = [] params['DetailList'].each do |i| describebatchtaskdetail_tmp = DescribeBatchTaskDetail.new describebatchtaskdetail_tmp.deserialize(i) @DetailList << describebatchtaskdetail_tmp end end @TotalCount = params['TotalCount'] @SuccessCount = params['SuccessCount'] @FailCount = params['FailCount'] @JobType = params['JobType'] @CreatedAt = params['CreatedAt'] @RequestId = params['RequestId'] end end # DescribeDomainAliasList请求参数结构体 class DescribeDomainAliasListRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param DomainId: 域名ID,域名ID,参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :DomainId def initialize(domain=nil, domainid=nil) @Domain = domain @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] end end # DescribeDomainAliasList返回参数结构体 class DescribeDomainAliasListResponse < TencentCloud::Common::AbstractModel # @param DomainAliasList: 域名别名列表 # @type DomainAliasList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DomainAliasList, :RequestId def initialize(domainaliaslist=nil, requestid=nil) @DomainAliasList = domainaliaslist @RequestId = requestid end def deserialize(params) unless params['DomainAliasList'].nil? @DomainAliasList = [] params['DomainAliasList'].each do |i| domainaliasinfo_tmp = DomainAliasInfo.new domainaliasinfo_tmp.deserialize(i) @DomainAliasList << domainaliasinfo_tmp end end @RequestId = params['RequestId'] end end # DescribeDomainAnalytics请求参数结构体 class DescribeDomainAnalyticsRequest < TencentCloud::Common::AbstractModel # @param Domain: 要查询解析量的域名 # @type Domain: String # @param StartDate: 查询的开始时间,格式:YYYY-MM-DD # @type StartDate: String # @param EndDate: 查询的结束时间,格式:YYYY-MM-DD # @type EndDate: String # @param DnsFormat: DATE:按天维度统计 HOUR:按小时维度统计 # @type DnsFormat: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :StartDate, :EndDate, :DnsFormat, :DomainId def initialize(domain=nil, startdate=nil, enddate=nil, dnsformat=nil, domainid=nil) @Domain = domain @StartDate = startdate @EndDate = enddate @DnsFormat = dnsformat @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @StartDate = params['StartDate'] @EndDate = params['EndDate'] @DnsFormat = params['DnsFormat'] @DomainId = params['DomainId'] end end # DescribeDomainAnalytics返回参数结构体 class DescribeDomainAnalyticsResponse < TencentCloud::Common::AbstractModel # @param Data: 当前统计维度解析量小计 # @type Data: Array # @param Info: 域名解析量统计查询信息 # @type Info: :class:`Tencentcloud::Dnspod.v20210323.models.DomainAnalyticsInfo` # @param AliasData: 域名别名解析量统计信息 # @type AliasData: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Data, :Info, :AliasData, :RequestId def initialize(data=nil, info=nil, aliasdata=nil, requestid=nil) @Data = data @Info = info @AliasData = aliasdata @RequestId = requestid end def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| domainanalyticsdetail_tmp = DomainAnalyticsDetail.new domainanalyticsdetail_tmp.deserialize(i) @Data << domainanalyticsdetail_tmp end end unless params['Info'].nil? @Info = DomainAnalyticsInfo.new @Info.deserialize(params['Info']) end unless params['AliasData'].nil? @AliasData = [] params['AliasData'].each do |i| domainaliasanalyticsitem_tmp = DomainAliasAnalyticsItem.new domainaliasanalyticsitem_tmp.deserialize(i) @AliasData << domainaliasanalyticsitem_tmp end end @RequestId = params['RequestId'] end end # DescribeDomainCustomLineList请求参数结构体 class DescribeDomainCustomLineListRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId # @type DomainId: Integer attr_accessor :Domain, :DomainId def initialize(domain=nil, domainid=nil) @Domain = domain @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] end end # DescribeDomainCustomLineList返回参数结构体 class DescribeDomainCustomLineListResponse < TencentCloud::Common::AbstractModel # @param LineList: 自定义线路列表 # @type LineList: Array # @param AvailableCount: 可添加的自定义线路条数 # @type AvailableCount: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :LineList, :AvailableCount, :RequestId def initialize(linelist=nil, availablecount=nil, requestid=nil) @LineList = linelist @AvailableCount = availablecount @RequestId = requestid end def deserialize(params) unless params['LineList'].nil? @LineList = [] params['LineList'].each do |i| customlineinfo_tmp = CustomLineInfo.new customlineinfo_tmp.deserialize(i) @LineList << customlineinfo_tmp end end @AvailableCount = params['AvailableCount'] @RequestId = params['RequestId'] end end # DescribeDomainFilterList请求参数结构体 class DescribeDomainFilterListRequest < TencentCloud::Common::AbstractModel # @param Type: 根据域名分组类型获取域名。可取值为 ALL,MINE,SHARE,RECENT。 # ALL:全部 # MINE:我的域名 # SHARE:共享给我的域名 # RECENT:最近操作过的域名 # @type Type: String # @param Offset: 记录开始的偏移, 第一条记录为 0, 依次类推。默认值为 0。 # @type Offset: Integer # @param Limit: 要获取的域名数量, 比如获取 20 个, 则为 20。默认值为 5000。如果账户中的域名数量超过了 5000, 将会强制分页并且只返回前 5000 条, 这时需要通过 Offset 和 Limit 参数去获取其它域名。 # @type Limit: Integer # @param GroupId: 根据域名分组 id 获取域名,可通过 DescribeDomain 或 DescribeDomainList 接口 GroupId 字段获取。 # @type GroupId: Array # @param Keyword: 根据关键字获取域名。 # @type Keyword: String # @param SortField: 排序字段。可取值为 NAME,STATUS,RECORDS,GRADE,UPDATED_ON。 # NAME:域名名称 # STATUS:域名状态 # RECORDS:记录数量 # GRADE:套餐等级 # UPDATED_ON:更新时间 # @type SortField: String # @param SortType: 排序类型,升序:ASC,降序:DESC。 # @type SortType: String # @param Status: 根据域名状态获取域名。可取值为 ENABLE,LOCK,PAUSE,SPAM。 # ENABLE:正常 # LOCK:锁定 # PAUSE:暂停 # SPAM:封禁 # @type Status: Array # @param Package: 根据套餐获取域名,可通过 DescribeDomain 或 DescribeDomainList 接口 Grade 字段获取。 # @type Package: Array # @param Remark: 根据备注信息获取域名。 # @type Remark: String # @param UpdatedAtBegin: 要获取域名的更新时间起始时间点,如 '2021-05-01 03:00:00'。 # @type UpdatedAtBegin: String # @param UpdatedAtEnd: 要获取域名的更新时间终止时间点,如 '2021-05-10 20:00:00'。 # @type UpdatedAtEnd: String # @param RecordCountBegin: 要获取域名的记录数查询区间起点。 # @type RecordCountBegin: Integer # @param RecordCountEnd: 要获取域名的记录数查询区间终点。 # @type RecordCountEnd: Integer # @param ProjectId: 项目ID # @type ProjectId: Integer # @param Tags: 标签过滤 # @type Tags: Array attr_accessor :Type, :Offset, :Limit, :GroupId, :Keyword, :SortField, :SortType, :Status, :Package, :Remark, :UpdatedAtBegin, :UpdatedAtEnd, :RecordCountBegin, :RecordCountEnd, :ProjectId, :Tags def initialize(type=nil, offset=nil, limit=nil, groupid=nil, keyword=nil, sortfield=nil, sorttype=nil, status=nil, package=nil, remark=nil, updatedatbegin=nil, updatedatend=nil, recordcountbegin=nil, recordcountend=nil, projectid=nil, tags=nil) @Type = type @Offset = offset @Limit = limit @GroupId = groupid @Keyword = keyword @SortField = sortfield @SortType = sorttype @Status = status @Package = package @Remark = remark @UpdatedAtBegin = updatedatbegin @UpdatedAtEnd = updatedatend @RecordCountBegin = recordcountbegin @RecordCountEnd = recordcountend @ProjectId = projectid @Tags = tags end def deserialize(params) @Type = params['Type'] @Offset = params['Offset'] @Limit = params['Limit'] @GroupId = params['GroupId'] @Keyword = params['Keyword'] @SortField = params['SortField'] @SortType = params['SortType'] @Status = params['Status'] @Package = params['Package'] @Remark = params['Remark'] @UpdatedAtBegin = params['UpdatedAtBegin'] @UpdatedAtEnd = params['UpdatedAtEnd'] @RecordCountBegin = params['RecordCountBegin'] @RecordCountEnd = params['RecordCountEnd'] @ProjectId = params['ProjectId'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tagitemfilter_tmp = TagItemFilter.new tagitemfilter_tmp.deserialize(i) @Tags << tagitemfilter_tmp end end end end # DescribeDomainFilterList返回参数结构体 class DescribeDomainFilterListResponse < TencentCloud::Common::AbstractModel # @param DomainCountInfo: 列表页统计信息 # @type DomainCountInfo: :class:`Tencentcloud::Dnspod.v20210323.models.DomainCountInfo` # @param DomainList: 域名列表 # @type DomainList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DomainCountInfo, :DomainList, :RequestId def initialize(domaincountinfo=nil, domainlist=nil, requestid=nil) @DomainCountInfo = domaincountinfo @DomainList = domainlist @RequestId = requestid end def deserialize(params) unless params['DomainCountInfo'].nil? @DomainCountInfo = DomainCountInfo.new @DomainCountInfo.deserialize(params['DomainCountInfo']) end unless params['DomainList'].nil? @DomainList = [] params['DomainList'].each do |i| domainlistitem_tmp = DomainListItem.new domainlistitem_tmp.deserialize(i) @DomainList << domainlistitem_tmp end end @RequestId = params['RequestId'] end end # DescribeDomainGroupList请求参数结构体 class DescribeDomainGroupListRequest < TencentCloud::Common::AbstractModel def initialize() end def deserialize(params) end end # DescribeDomainGroupList返回参数结构体 class DescribeDomainGroupListResponse < TencentCloud::Common::AbstractModel # @param GroupList: 分组列表 # @type GroupList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :GroupList, :RequestId def initialize(grouplist=nil, requestid=nil) @GroupList = grouplist @RequestId = requestid end def deserialize(params) unless params['GroupList'].nil? @GroupList = [] params['GroupList'].each do |i| groupinfo_tmp = GroupInfo.new groupinfo_tmp.deserialize(i) @GroupList << groupinfo_tmp end end @RequestId = params['RequestId'] end end # DescribeDomainList请求参数结构体 class DescribeDomainListRequest < TencentCloud::Common::AbstractModel # @param Type: 域名分组类型,默认为ALL。可取值为ALL,MINE,SHARE,ISMARK,PAUSE,VIP,RECENT,SHARE_OUT,FREE。 # @type Type: String # @param Offset: 记录开始的偏移, 第一条记录为 0, 依次类推。默认值为0。 # @type Offset: Integer # @param Limit: 要获取的域名数量, 比如获取20个, 则为20。默认值为3000。 # @type Limit: Integer # @param GroupId: 分组ID, 获取指定分组的域名 # @type GroupId: Integer # @param Keyword: 根据关键字搜索域名 # @type Keyword: String # @param Tags: 标签过滤 # @type Tags: Array attr_accessor :Type, :Offset, :Limit, :GroupId, :Keyword, :Tags def initialize(type=nil, offset=nil, limit=nil, groupid=nil, keyword=nil, tags=nil) @Type = type @Offset = offset @Limit = limit @GroupId = groupid @Keyword = keyword @Tags = tags end def deserialize(params) @Type = params['Type'] @Offset = params['Offset'] @Limit = params['Limit'] @GroupId = params['GroupId'] @Keyword = params['Keyword'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tagitemfilter_tmp = TagItemFilter.new tagitemfilter_tmp.deserialize(i) @Tags << tagitemfilter_tmp end end end end # DescribeDomainList返回参数结构体 class DescribeDomainListResponse < TencentCloud::Common::AbstractModel # @param DomainCountInfo: 列表页统计信息 # @type DomainCountInfo: :class:`Tencentcloud::Dnspod.v20210323.models.DomainCountInfo` # @param DomainList: 域名列表 # @type DomainList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DomainCountInfo, :DomainList, :RequestId def initialize(domaincountinfo=nil, domainlist=nil, requestid=nil) @DomainCountInfo = domaincountinfo @DomainList = domainlist @RequestId = requestid end def deserialize(params) unless params['DomainCountInfo'].nil? @DomainCountInfo = DomainCountInfo.new @DomainCountInfo.deserialize(params['DomainCountInfo']) end unless params['DomainList'].nil? @DomainList = [] params['DomainList'].each do |i| domainlistitem_tmp = DomainListItem.new domainlistitem_tmp.deserialize(i) @DomainList << domainlistitem_tmp end end @RequestId = params['RequestId'] end end # DescribeDomainLogList请求参数结构体 class DescribeDomainLogListRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer # @param Offset: 记录开始的偏移,第一条记录为 0,依次类推,默认为0 # @type Offset: Integer # @param Limit: 共要获取的日志条数,比如获取20条,则为20,默认为500条,单次最多获取500条。 # @type Limit: Integer attr_accessor :Domain, :DomainId, :Offset, :Limit def initialize(domain=nil, domainid=nil, offset=nil, limit=nil) @Domain = domain @DomainId = domainid @Offset = offset @Limit = limit end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] @Offset = params['Offset'] @Limit = params['Limit'] end end # DescribeDomainLogList返回参数结构体 class DescribeDomainLogListResponse < TencentCloud::Common::AbstractModel # @param LogList: 域名信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type LogList: Array # @param PageSize: 分页大小 # @type PageSize: Integer # @param TotalCount: 日志总条数 # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :LogList, :PageSize, :TotalCount, :RequestId def initialize(loglist=nil, pagesize=nil, totalcount=nil, requestid=nil) @LogList = loglist @PageSize = pagesize @TotalCount = totalcount @RequestId = requestid end def deserialize(params) @LogList = params['LogList'] @PageSize = params['PageSize'] @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end end # DescribeDomainPreview请求参数结构体 class DescribeDomainPreviewRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :DomainId def initialize(domain=nil, domainid=nil) @Domain = domain @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] end end # DescribeDomainPreview返回参数结构体 class DescribeDomainPreviewResponse < TencentCloud::Common::AbstractModel # @param Domain: 域名概览信息 # @type Domain: :class:`Tencentcloud::Dnspod.v20210323.models.PreviewDetail` # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Domain, :RequestId def initialize(domain=nil, requestid=nil) @Domain = domain @RequestId = requestid end def deserialize(params) unless params['Domain'].nil? @Domain = PreviewDetail.new @Domain.deserialize(params['Domain']) end @RequestId = params['RequestId'] end end # DescribeDomainPurview请求参数结构体 class DescribeDomainPurviewRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :DomainId def initialize(domain=nil, domainid=nil) @Domain = domain @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] end end # DescribeDomainPurview返回参数结构体 class DescribeDomainPurviewResponse < TencentCloud::Common::AbstractModel # @param PurviewList: 域名权限列表 # @type PurviewList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :PurviewList, :RequestId def initialize(purviewlist=nil, requestid=nil) @PurviewList = purviewlist @RequestId = requestid end def deserialize(params) unless params['PurviewList'].nil? @PurviewList = [] params['PurviewList'].each do |i| purviewinfo_tmp = PurviewInfo.new purviewinfo_tmp.deserialize(i) @PurviewList << purviewinfo_tmp end end @RequestId = params['RequestId'] end end # DescribeDomain请求参数结构体 class DescribeDomainRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :DomainId def initialize(domain=nil, domainid=nil) @Domain = domain @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] end end # DescribeDomain返回参数结构体 class DescribeDomainResponse < TencentCloud::Common::AbstractModel # @param DomainInfo: 域名信息 # @type DomainInfo: :class:`Tencentcloud::Dnspod.v20210323.models.DomainInfo` # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DomainInfo, :RequestId def initialize(domaininfo=nil, requestid=nil) @DomainInfo = domaininfo @RequestId = requestid end def deserialize(params) unless params['DomainInfo'].nil? @DomainInfo = DomainInfo.new @DomainInfo.deserialize(params['DomainInfo']) end @RequestId = params['RequestId'] end end # DescribeDomainShareInfo请求参数结构体 class DescribeDomainShareInfoRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :DomainId def initialize(domain=nil, domainid=nil) @Domain = domain @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] end end # DescribeDomainShareInfo返回参数结构体 class DescribeDomainShareInfoResponse < TencentCloud::Common::AbstractModel # @param ShareList: 域名共享信息 # @type ShareList: Array # @param Owner: 域名拥有者账号 # @type Owner: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ShareList, :Owner, :RequestId def initialize(sharelist=nil, owner=nil, requestid=nil) @ShareList = sharelist @Owner = owner @RequestId = requestid end def deserialize(params) unless params['ShareList'].nil? @ShareList = [] params['ShareList'].each do |i| domainshareinfo_tmp = DomainShareInfo.new domainshareinfo_tmp.deserialize(i) @ShareList << domainshareinfo_tmp end end @Owner = params['Owner'] @RequestId = params['RequestId'] end end # DescribeDomainWhois请求参数结构体 class DescribeDomainWhoisRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String attr_accessor :Domain def initialize(domain=nil) @Domain = domain end def deserialize(params) @Domain = params['Domain'] end end # DescribeDomainWhois返回参数结构体 class DescribeDomainWhoisResponse < TencentCloud::Common::AbstractModel # @param Info: 域名Whois信息 # @type Info: :class:`Tencentcloud::Dnspod.v20210323.models.WhoisInfo` # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Info, :RequestId def initialize(info=nil, requestid=nil) @Info = info @RequestId = requestid end def deserialize(params) unless params['Info'].nil? @Info = WhoisInfo.new @Info.deserialize(params['Info']) end @RequestId = params['RequestId'] end end # DescribePackageDetail请求参数结构体 class DescribePackageDetailRequest < TencentCloud::Common::AbstractModel def initialize() end def deserialize(params) end end # DescribePackageDetail返回参数结构体 class DescribePackageDetailResponse < TencentCloud::Common::AbstractModel # @param Info: 套餐配置详情 # @type Info: Array # @param LevelMap: 套餐代码列表 # @type LevelMap: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Info, :LevelMap, :RequestId def initialize(info=nil, levelmap=nil, requestid=nil) @Info = info @LevelMap = levelmap @RequestId = requestid end def deserialize(params) unless params['Info'].nil? @Info = [] params['Info'].each do |i| packagedetailitem_tmp = PackageDetailItem.new packagedetailitem_tmp.deserialize(i) @Info << packagedetailitem_tmp end end @LevelMap = params['LevelMap'] @RequestId = params['RequestId'] end end # DescribeRecordExistExceptDefaultNS请求参数结构体 class DescribeRecordExistExceptDefaultNSRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :DomainId def initialize(domain=nil, domainid=nil) @Domain = domain @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] end end # DescribeRecordExistExceptDefaultNS返回参数结构体 class DescribeRecordExistExceptDefaultNSResponse < TencentCloud::Common::AbstractModel # @param Exist: true 是 false 否 # @type Exist: Boolean # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Exist, :RequestId def initialize(exist=nil, requestid=nil) @Exist = exist @RequestId = requestid end def deserialize(params) @Exist = params['Exist'] @RequestId = params['RequestId'] end end # DescribeRecordFilterList请求参数结构体 class DescribeRecordFilterListRequest < TencentCloud::Common::AbstractModel # @param Domain: 要获取的解析记录所属的域名。 # @type Domain: String # @param DomainId: 要获取的解析记录所属的域名 Id,如果传了 DomainId,系统将会忽略 Domain 参数。 可以通过接口 DescribeDomainList 查到所有的 Domain 以及 DomainId。 # @type DomainId: Integer # @param SubDomain: 根据解析记录的主机头获取解析记录。默认模糊匹配。可以通过设置 IsExactSubdomain 参数为 true 进行精确查找。 # @type SubDomain: String # @param RecordType: 获取某些类型的解析记录,如 A,CNAME,NS,AAAA,显性URL,隐性URL,CAA,SPF等。 # @type RecordType: Array # @param RecordLine: 获取某些线路ID的解析记录。可以通过接口 DescribeRecordLineList 查看当前域名允许的线路信息。 # @type RecordLine: Array # @param GroupId: 获取某些分组下的解析记录时,传这个分组 Id。可以通过接口 DescribeRecordGroupList 接口 GroupId 字段获取。 # @type GroupId: Array # @param Keyword: 通过关键字搜索解析记录,当前支持搜索主机头和记录值 # @type Keyword: String # @param SortField: 排序字段,支持 NAME,LINE,TYPE,VALUE,WEIGHT,MX,TTL,UPDATED_ON 几个字段。 # NAME:解析记录的主机头 # LINE:解析记录线路 # TYPE:解析记录类型 # VALUE:解析记录值 # WEIGHT:权重 # MX:MX 优先级 # TTL:解析记录缓存时间 # UPDATED_ON:解析记录更新时间 # @type SortField: String # @param SortType: 排序方式,升序:ASC,降序:DESC。默认值为ASC。 # @type SortType: String # @param Offset: 偏移量,默认值为0。 # @type Offset: Integer # @param Limit: 限制数量,当前Limit最大支持3000。默认值为100。 # @type Limit: Integer # @param RecordValue: 根据解析记录的值获取解析记录 # @type RecordValue: String # @param RecordStatus: 根据解析记录的状态获取解析记录。可取值为 ENABLE,DISABLE。 # ENABLE:正常 # DISABLE:暂停 # @type RecordStatus: Array # @param WeightBegin: 要获取解析记录权重查询区间起点。 # @type WeightBegin: Integer # @param WeightEnd: 要获取解析记录权重查询区间终点。 # @type WeightEnd: Integer # @param MXBegin: 要获取解析记录 MX 优先级查询区间起点。 # @type MXBegin: Integer # @param MXEnd: 要获取解析记录 MX 优先级查询区间终点。 # @type MXEnd: Integer # @param TTLBegin: 要获取解析记录 TTL 查询区间起点。 # @type TTLBegin: Integer # @param TTLEnd: 要获取解析记录 TTL 查询区间终点。 # @type TTLEnd: Integer # @param UpdatedAtBegin: 要获取解析记录更新时间查询区间起点。 # @type UpdatedAtBegin: String # @param UpdatedAtEnd: 要获取解析记录更新时间查询区间终点。 # @type UpdatedAtEnd: String # @param Remark: 根据解析记录的备注获取解析记录。 # @type Remark: String # @param IsExactSubDomain: 是否根据 Subdomain 参数进行精确查找。 # @type IsExactSubDomain: Boolean # @param ProjectId: 项目ID # @type ProjectId: Integer attr_accessor :Domain, :DomainId, :SubDomain, :RecordType, :RecordLine, :GroupId, :Keyword, :SortField, :SortType, :Offset, :Limit, :RecordValue, :RecordStatus, :WeightBegin, :WeightEnd, :MXBegin, :MXEnd, :TTLBegin, :TTLEnd, :UpdatedAtBegin, :UpdatedAtEnd, :Remark, :IsExactSubDomain, :ProjectId def initialize(domain=nil, domainid=nil, subdomain=nil, recordtype=nil, recordline=nil, groupid=nil, keyword=nil, sortfield=nil, sorttype=nil, offset=nil, limit=nil, recordvalue=nil, recordstatus=nil, weightbegin=nil, weightend=nil, mxbegin=nil, mxend=nil, ttlbegin=nil, ttlend=nil, updatedatbegin=nil, updatedatend=nil, remark=nil, isexactsubdomain=nil, projectid=nil) @Domain = domain @DomainId = domainid @SubDomain = subdomain @RecordType = recordtype @RecordLine = recordline @GroupId = groupid @Keyword = keyword @SortField = sortfield @SortType = sorttype @Offset = offset @Limit = limit @RecordValue = recordvalue @RecordStatus = recordstatus @WeightBegin = weightbegin @WeightEnd = weightend @MXBegin = mxbegin @MXEnd = mxend @TTLBegin = ttlbegin @TTLEnd = ttlend @UpdatedAtBegin = updatedatbegin @UpdatedAtEnd = updatedatend @Remark = remark @IsExactSubDomain = isexactsubdomain @ProjectId = projectid end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] @SubDomain = params['SubDomain'] @RecordType = params['RecordType'] @RecordLine = params['RecordLine'] @GroupId = params['GroupId'] @Keyword = params['Keyword'] @SortField = params['SortField'] @SortType = params['SortType'] @Offset = params['Offset'] @Limit = params['Limit'] @RecordValue = params['RecordValue'] @RecordStatus = params['RecordStatus'] @WeightBegin = params['WeightBegin'] @WeightEnd = params['WeightEnd'] @MXBegin = params['MXBegin'] @MXEnd = params['MXEnd'] @TTLBegin = params['TTLBegin'] @TTLEnd = params['TTLEnd'] @UpdatedAtBegin = params['UpdatedAtBegin'] @UpdatedAtEnd = params['UpdatedAtEnd'] @Remark = params['Remark'] @IsExactSubDomain = params['IsExactSubDomain'] @ProjectId = params['ProjectId'] end end # DescribeRecordFilterList返回参数结构体 class DescribeRecordFilterListResponse < TencentCloud::Common::AbstractModel # @param RecordCountInfo: 记录的数量统计信息 # @type RecordCountInfo: :class:`Tencentcloud::Dnspod.v20210323.models.RecordCountInfo` # @param RecordList: 获取的记录列表 # @type RecordList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RecordCountInfo, :RecordList, :RequestId def initialize(recordcountinfo=nil, recordlist=nil, requestid=nil) @RecordCountInfo = recordcountinfo @RecordList = recordlist @RequestId = requestid end def deserialize(params) unless params['RecordCountInfo'].nil? @RecordCountInfo = RecordCountInfo.new @RecordCountInfo.deserialize(params['RecordCountInfo']) end unless params['RecordList'].nil? @RecordList = [] params['RecordList'].each do |i| recordlistitem_tmp = RecordListItem.new recordlistitem_tmp.deserialize(i) @RecordList << recordlistitem_tmp end end @RequestId = params['RequestId'] end end # DescribeRecordGroupList请求参数结构体 class DescribeRecordGroupListRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer # @param Offset: 分页开始位置 # @type Offset: Integer # @param Limit: 分页每页数 # @type Limit: Integer attr_accessor :Domain, :DomainId, :Offset, :Limit def initialize(domain=nil, domainid=nil, offset=nil, limit=nil) @Domain = domain @DomainId = domainid @Offset = offset @Limit = limit end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] @Offset = params['Offset'] @Limit = params['Limit'] end end # DescribeRecordGroupList返回参数结构体 class DescribeRecordGroupListResponse < TencentCloud::Common::AbstractModel # @param GroupList: 分组列表 # @type GroupList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :GroupList, :RequestId def initialize(grouplist=nil, requestid=nil) @GroupList = grouplist @RequestId = requestid end def deserialize(params) unless params['GroupList'].nil? @GroupList = [] params['GroupList'].each do |i| recordgroupinfo_tmp = RecordGroupInfo.new recordgroupinfo_tmp.deserialize(i) @GroupList << recordgroupinfo_tmp end end @RequestId = params['RequestId'] end end # DescribeRecordLineCategoryList请求参数结构体 class DescribeRecordLineCategoryListRequest < TencentCloud::Common::AbstractModel # @param Domain: 要查询线路列表的域名。 # @type Domain: String # @param DomainId: 要查询线路列表的域名 ID。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain。可以通过接口 DescribeDomainList 查到所有的 Domain 以及 DomainId。 # @type DomainId: Integer attr_accessor :Domain, :DomainId def initialize(domain=nil, domainid=nil) @Domain = domain @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] end end # DescribeRecordLineCategoryList返回参数结构体 class DescribeRecordLineCategoryListResponse < TencentCloud::Common::AbstractModel # @param LineList: 按分类返回的线路列表。 # @type LineList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :LineList, :RequestId def initialize(linelist=nil, requestid=nil) @LineList = linelist @RequestId = requestid end def deserialize(params) unless params['LineList'].nil? @LineList = [] params['LineList'].each do |i| lineitem_tmp = LineItem.new lineitem_tmp.deserialize(i) @LineList << lineitem_tmp end end @RequestId = params['RequestId'] end end # DescribeRecordLineList请求参数结构体 class DescribeRecordLineListRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名。 # @type Domain: String # @param DomainGrade: 域名等级。 # + 旧套餐:D_FREE、D_PLUS、D_EXTRA、D_EXPERT、D_ULTRA 分别对应免费套餐、个人豪华、企业1、企业2、企业3。 # + 新套餐:DP_FREE、DP_PLUS、DP_EXTRA、DP_EXPERT、DP_ULTRA 分别对应新免费、个人专业版、企业创业版、企业标准版、企业旗舰版。 # @type DomainGrade: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :DomainGrade, :DomainId def initialize(domain=nil, domaingrade=nil, domainid=nil) @Domain = domain @DomainGrade = domaingrade @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @DomainGrade = params['DomainGrade'] @DomainId = params['DomainId'] end end # DescribeRecordLineList返回参数结构体 class DescribeRecordLineListResponse < TencentCloud::Common::AbstractModel # @param LineList: 线路列表。 # @type LineList: Array # @param LineGroupList: 线路分组列表。 # @type LineGroupList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :LineList, :LineGroupList, :RequestId def initialize(linelist=nil, linegrouplist=nil, requestid=nil) @LineList = linelist @LineGroupList = linegrouplist @RequestId = requestid end def deserialize(params) unless params['LineList'].nil? @LineList = [] params['LineList'].each do |i| lineinfo_tmp = LineInfo.new lineinfo_tmp.deserialize(i) @LineList << lineinfo_tmp end end unless params['LineGroupList'].nil? @LineGroupList = [] params['LineGroupList'].each do |i| linegroupinfo_tmp = LineGroupInfo.new linegroupinfo_tmp.deserialize(i) @LineGroupList << linegroupinfo_tmp end end @RequestId = params['RequestId'] end end # DescribeRecordList请求参数结构体 class DescribeRecordListRequest < TencentCloud::Common::AbstractModel # @param Domain: 要获取的解析记录所属的域名 # @type Domain: String # @param DomainId: 要获取的解析记录所属的域名Id,如果传了DomainId,系统将会忽略Domain参数。 可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer # @param Subdomain: 解析记录的主机头,如果传了此参数,则只会返回此主机头对应的解析记录 # @type Subdomain: String # @param RecordType: 获取某种类型的解析记录,如 A,CNAME,NS,AAAA,显性URL,隐性URL,CAA,SPF等 # @type RecordType: String # @param RecordLine: 获取某条线路名称的解析记录。可以通过接口DescribeRecordLineList查看当前域名允许的线路信息 # @type RecordLine: String # @param RecordLineId: 获取某个线路Id对应的解析记录,如果传RecordLineId,系统会忽略RecordLine参数。可以通过接口DescribeRecordLineList查看当前域名允许的线路信息 # @type RecordLineId: String # @param GroupId: 获取某个分组下的解析记录时,传这个分组Id。 # @type GroupId: Integer # @param Keyword: 通过关键字搜索解析记录,当前支持搜索主机头和记录值 # @type Keyword: String # @param SortField: 排序字段,支持 name,line,type,value,weight,mx,ttl,updated_on 几个字段。 # @type SortField: String # @param SortType: 排序方式,正序:ASC,逆序:DESC。默认值为ASC。 # @type SortType: String # @param Offset: 偏移量,默认值为0。 # @type Offset: Integer # @param Limit: 限制数量,当前Limit最大支持3000。默认值为100。 # @type Limit: Integer attr_accessor :Domain, :DomainId, :Subdomain, :RecordType, :RecordLine, :RecordLineId, :GroupId, :Keyword, :SortField, :SortType, :Offset, :Limit def initialize(domain=nil, domainid=nil, subdomain=nil, recordtype=nil, recordline=nil, recordlineid=nil, groupid=nil, keyword=nil, sortfield=nil, sorttype=nil, offset=nil, limit=nil) @Domain = domain @DomainId = domainid @Subdomain = subdomain @RecordType = recordtype @RecordLine = recordline @RecordLineId = recordlineid @GroupId = groupid @Keyword = keyword @SortField = sortfield @SortType = sorttype @Offset = offset @Limit = limit end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] @Subdomain = params['Subdomain'] @RecordType = params['RecordType'] @RecordLine = params['RecordLine'] @RecordLineId = params['RecordLineId'] @GroupId = params['GroupId'] @Keyword = params['Keyword'] @SortField = params['SortField'] @SortType = params['SortType'] @Offset = params['Offset'] @Limit = params['Limit'] end end # DescribeRecordList返回参数结构体 class DescribeRecordListResponse < TencentCloud::Common::AbstractModel # @param RecordCountInfo: 记录的数量统计信息 # @type RecordCountInfo: :class:`Tencentcloud::Dnspod.v20210323.models.RecordCountInfo` # @param RecordList: 获取的记录列表 # @type RecordList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RecordCountInfo, :RecordList, :RequestId def initialize(recordcountinfo=nil, recordlist=nil, requestid=nil) @RecordCountInfo = recordcountinfo @RecordList = recordlist @RequestId = requestid end def deserialize(params) unless params['RecordCountInfo'].nil? @RecordCountInfo = RecordCountInfo.new @RecordCountInfo.deserialize(params['RecordCountInfo']) end unless params['RecordList'].nil? @RecordList = [] params['RecordList'].each do |i| recordlistitem_tmp = RecordListItem.new recordlistitem_tmp.deserialize(i) @RecordList << recordlistitem_tmp end end @RequestId = params['RequestId'] end end # DescribeRecord请求参数结构体 class DescribeRecordRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param RecordId: 记录 ID 。可以通过接口DescribeRecordList查到所有的解析记录列表以及对应的RecordId # @type RecordId: Integer # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :RecordId, :DomainId def initialize(domain=nil, recordid=nil, domainid=nil) @Domain = domain @RecordId = recordid @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @RecordId = params['RecordId'] @DomainId = params['DomainId'] end end # DescribeRecord返回参数结构体 class DescribeRecordResponse < TencentCloud::Common::AbstractModel # @param RecordInfo: 记录信息 # @type RecordInfo: :class:`Tencentcloud::Dnspod.v20210323.models.RecordInfo` # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RecordInfo, :RequestId def initialize(recordinfo=nil, requestid=nil) @RecordInfo = recordinfo @RequestId = requestid end def deserialize(params) unless params['RecordInfo'].nil? @RecordInfo = RecordInfo.new @RecordInfo.deserialize(params['RecordInfo']) end @RequestId = params['RequestId'] end end # DescribeRecordSnapshotRollbackResult请求参数结构体 class DescribeRecordSnapshotRollbackResultRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param JobId: 回滚任务 ID # @type JobId: Integer # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer attr_accessor :Domain, :JobId, :DomainId def initialize(domain=nil, jobid=nil, domainid=nil) @Domain = domain @JobId = jobid @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @JobId = params['JobId'] @DomainId = params['DomainId'] end end # DescribeRecordSnapshotRollbackResult返回参数结构体 class DescribeRecordSnapshotRollbackResultResponse < TencentCloud::Common::AbstractModel # @param JobId: 回滚任务 ID # @type JobId: Integer # @param Status: 回滚状态 # @type Status: String # @param FailedRecordList: 失败的记录信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FailedRecordList: Array # @param Domain: 所属域名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Domain: String # @param Progress: 回滚进度 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Progress: Integer # @param LeftMinutes: 回滚剩余时间(单位:分钟) # 注意:此字段可能返回 null,表示取不到有效值。 # @type LeftMinutes: Integer # @param Total: 总记录数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Total: Integer # @param Failed: 失败记录数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Failed: Integer # @param Success: 成功记录数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Success: Integer # @param CosUrl: 快照下载地址 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CosUrl: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :JobId, :Status, :FailedRecordList, :Domain, :Progress, :LeftMinutes, :Total, :Failed, :Success, :CosUrl, :RequestId def initialize(jobid=nil, status=nil, failedrecordlist=nil, domain=nil, progress=nil, leftminutes=nil, total=nil, failed=nil, success=nil, cosurl=nil, requestid=nil) @JobId = jobid @Status = status @FailedRecordList = failedrecordlist @Domain = domain @Progress = progress @LeftMinutes = leftminutes @Total = total @Failed = failed @Success = success @CosUrl = cosurl @RequestId = requestid end def deserialize(params) @JobId = params['JobId'] @Status = params['Status'] unless params['FailedRecordList'].nil? @FailedRecordList = [] params['FailedRecordList'].each do |i| snapshotrecord_tmp = SnapshotRecord.new snapshotrecord_tmp.deserialize(i) @FailedRecordList << snapshotrecord_tmp end end @Domain = params['Domain'] @Progress = params['Progress'] @LeftMinutes = params['LeftMinutes'] @Total = params['Total'] @Failed = params['Failed'] @Success = params['Success'] @CosUrl = params['CosUrl'] @RequestId = params['RequestId'] end end # DescribeRecordType请求参数结构体 class DescribeRecordTypeRequest < TencentCloud::Common::AbstractModel # @param DomainGrade: 域名等级。 # + 旧套餐:D_FREE、D_PLUS、D_EXTRA、D_EXPERT、D_ULTRA 分别对应免费套餐、个人豪华、企业1、企业2、企业3。 # + 新套餐:DP_FREE、DP_PLUS、DP_EXTRA、DP_EXPERT、DP_ULTRA 分别对应新免费、个人专业版、企业创业版、企业标准版、企业旗舰版。 # @type DomainGrade: String attr_accessor :DomainGrade def initialize(domaingrade=nil) @DomainGrade = domaingrade end def deserialize(params) @DomainGrade = params['DomainGrade'] end end # DescribeRecordType返回参数结构体 class DescribeRecordTypeResponse < TencentCloud::Common::AbstractModel # @param TypeList: 记录类型列表 # @type TypeList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TypeList, :RequestId def initialize(typelist=nil, requestid=nil) @TypeList = typelist @RequestId = requestid end def deserialize(params) @TypeList = params['TypeList'] @RequestId = params['RequestId'] end end # DescribeSnapshotConfig请求参数结构体 class DescribeSnapshotConfigRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer attr_accessor :Domain, :DomainId def initialize(domain=nil, domainid=nil) @Domain = domain @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] end end # DescribeSnapshotConfig返回参数结构体 class DescribeSnapshotConfigResponse < TencentCloud::Common::AbstractModel # @param SnapshotConfig: 解析快照配置 # @type SnapshotConfig: :class:`Tencentcloud::Dnspod.v20210323.models.SnapshotConfig` # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :SnapshotConfig, :RequestId def initialize(snapshotconfig=nil, requestid=nil) @SnapshotConfig = snapshotconfig @RequestId = requestid end def deserialize(params) unless params['SnapshotConfig'].nil? @SnapshotConfig = SnapshotConfig.new @SnapshotConfig.deserialize(params['SnapshotConfig']) end @RequestId = params['RequestId'] end end # DescribeSnapshotList请求参数结构体 class DescribeSnapshotListRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer attr_accessor :Domain, :DomainId def initialize(domain=nil, domainid=nil) @Domain = domain @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] end end # DescribeSnapshotList返回参数结构体 class DescribeSnapshotListResponse < TencentCloud::Common::AbstractModel # @param Info: 分页信息 # @type Info: :class:`Tencentcloud::Dnspod.v20210323.models.SnapshotPageInfo` # @param SnapshotList: 快照列表 # @type SnapshotList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Info, :SnapshotList, :RequestId def initialize(info=nil, snapshotlist=nil, requestid=nil) @Info = info @SnapshotList = snapshotlist @RequestId = requestid end def deserialize(params) unless params['Info'].nil? @Info = SnapshotPageInfo.new @Info.deserialize(params['Info']) end unless params['SnapshotList'].nil? @SnapshotList = [] params['SnapshotList'].each do |i| snapshotinfo_tmp = SnapshotInfo.new snapshotinfo_tmp.deserialize(i) @SnapshotList << snapshotinfo_tmp end end @RequestId = params['RequestId'] end end # DescribeSnapshotRollbackResult请求参数结构体 class DescribeSnapshotRollbackResultRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param TaskId: 快照回滚任务 ID # @type TaskId: Integer # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer attr_accessor :Domain, :TaskId, :DomainId def initialize(domain=nil, taskid=nil, domainid=nil) @Domain = domain @TaskId = taskid @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @TaskId = params['TaskId'] @DomainId = params['DomainId'] end end # DescribeSnapshotRollbackResult返回参数结构体 class DescribeSnapshotRollbackResultResponse < TencentCloud::Common::AbstractModel # @param Domain: 快照所属域名 # @type Domain: String # @param LeftMinutes: 回滚剩余时间(分钟) # @type LeftMinutes: Integer # @param Progress: 回滚进度百分比 # @type Progress: Integer # @param SnapshotId: 快照 ID # @type SnapshotId: String # @param Status: 回滚状态 # @type Status: String # @param TaskId: 快照回滚任务 ID # @type TaskId: Integer # @param Success: 成功数量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Success: Integer # @param Failed: 失败数量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Failed: Integer # @param Total: 总数量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Total: Integer # @param FailedRecordList: 失败详细信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FailedRecordList: Array # @param CosUrl: 快照的下载地址 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CosUrl: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Domain, :LeftMinutes, :Progress, :SnapshotId, :Status, :TaskId, :Success, :Failed, :Total, :FailedRecordList, :CosUrl, :RequestId def initialize(domain=nil, leftminutes=nil, progress=nil, snapshotid=nil, status=nil, taskid=nil, success=nil, failed=nil, total=nil, failedrecordlist=nil, cosurl=nil, requestid=nil) @Domain = domain @LeftMinutes = leftminutes @Progress = progress @SnapshotId = snapshotid @Status = status @TaskId = taskid @Success = success @Failed = failed @Total = total @FailedRecordList = failedrecordlist @CosUrl = cosurl @RequestId = requestid end def deserialize(params) @Domain = params['Domain'] @LeftMinutes = params['LeftMinutes'] @Progress = params['Progress'] @SnapshotId = params['SnapshotId'] @Status = params['Status'] @TaskId = params['TaskId'] @Success = params['Success'] @Failed = params['Failed'] @Total = params['Total'] unless params['FailedRecordList'].nil? @FailedRecordList = [] params['FailedRecordList'].each do |i| snapshotrecord_tmp = SnapshotRecord.new snapshotrecord_tmp.deserialize(i) @FailedRecordList << snapshotrecord_tmp end end @CosUrl = params['CosUrl'] @RequestId = params['RequestId'] end end # DescribeSnapshotRollbackTask请求参数结构体 class DescribeSnapshotRollbackTaskRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer attr_accessor :Domain, :DomainId def initialize(domain=nil, domainid=nil) @Domain = domain @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] end end # DescribeSnapshotRollbackTask返回参数结构体 class DescribeSnapshotRollbackTaskResponse < TencentCloud::Common::AbstractModel # @param Domain: 快照所属域名 # @type Domain: String # @param SnapshotId: 快照 ID # @type SnapshotId: String # @param Status: 回滚状态 # @type Status: String # @param TaskId: 快照回滚任务 ID # @type TaskId: Integer # @param RecordCount: 总数量 # @type RecordCount: Integer # @param CreatedOn: 开始回滚时间 # @type CreatedOn: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Domain, :SnapshotId, :Status, :TaskId, :RecordCount, :CreatedOn, :RequestId def initialize(domain=nil, snapshotid=nil, status=nil, taskid=nil, recordcount=nil, createdon=nil, requestid=nil) @Domain = domain @SnapshotId = snapshotid @Status = status @TaskId = taskid @RecordCount = recordcount @CreatedOn = createdon @RequestId = requestid end def deserialize(params) @Domain = params['Domain'] @SnapshotId = params['SnapshotId'] @Status = params['Status'] @TaskId = params['TaskId'] @RecordCount = params['RecordCount'] @CreatedOn = params['CreatedOn'] @RequestId = params['RequestId'] end end # DescribeSubdomainAnalytics请求参数结构体 class DescribeSubdomainAnalyticsRequest < TencentCloud::Common::AbstractModel # @param Domain: 要查询解析量的域名 # @type Domain: String # @param StartDate: 查询的开始时间,格式:YYYY-MM-DD # @type StartDate: String # @param EndDate: 查询的结束时间,格式:YYYY-MM-DD # @type EndDate: String # @param Subdomain: 要查询解析量的子域名 # @type Subdomain: String # @param DnsFormat: DATE:按天维度统计 HOUR:按小时维度统计 # @type DnsFormat: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :StartDate, :EndDate, :Subdomain, :DnsFormat, :DomainId def initialize(domain=nil, startdate=nil, enddate=nil, subdomain=nil, dnsformat=nil, domainid=nil) @Domain = domain @StartDate = startdate @EndDate = enddate @Subdomain = subdomain @DnsFormat = dnsformat @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @StartDate = params['StartDate'] @EndDate = params['EndDate'] @Subdomain = params['Subdomain'] @DnsFormat = params['DnsFormat'] @DomainId = params['DomainId'] end end # DescribeSubdomainAnalytics返回参数结构体 class DescribeSubdomainAnalyticsResponse < TencentCloud::Common::AbstractModel # @param Data: 当前统计维度解析量小计 # @type Data: Array # @param Info: 子域名解析量统计查询信息 # @type Info: :class:`Tencentcloud::Dnspod.v20210323.models.SubdomainAnalyticsInfo` # @param AliasData: 子域名别名解析量统计信息 # @type AliasData: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Data, :Info, :AliasData, :RequestId def initialize(data=nil, info=nil, aliasdata=nil, requestid=nil) @Data = data @Info = info @AliasData = aliasdata @RequestId = requestid end def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| domainanalyticsdetail_tmp = DomainAnalyticsDetail.new domainanalyticsdetail_tmp.deserialize(i) @Data << domainanalyticsdetail_tmp end end unless params['Info'].nil? @Info = SubdomainAnalyticsInfo.new @Info.deserialize(params['Info']) end unless params['AliasData'].nil? @AliasData = [] params['AliasData'].each do |i| subdomainaliasanalyticsitem_tmp = SubdomainAliasAnalyticsItem.new subdomainaliasanalyticsitem_tmp.deserialize(i) @AliasData << subdomainaliasanalyticsitem_tmp end end @RequestId = params['RequestId'] end end # DescribeUserDetail请求参数结构体 class DescribeUserDetailRequest < TencentCloud::Common::AbstractModel def initialize() end def deserialize(params) end end # DescribeUserDetail返回参数结构体 class DescribeUserDetailResponse < TencentCloud::Common::AbstractModel # @param UserInfo: 账户信息 # @type UserInfo: :class:`Tencentcloud::Dnspod.v20210323.models.UserInfo` # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :UserInfo, :RequestId def initialize(userinfo=nil, requestid=nil) @UserInfo = userinfo @RequestId = requestid end def deserialize(params) unless params['UserInfo'].nil? @UserInfo = UserInfo.new @UserInfo.deserialize(params['UserInfo']) end @RequestId = params['RequestId'] end end # DescribeVASStatistic请求参数结构体 class DescribeVASStatisticRequest < TencentCloud::Common::AbstractModel # @param DomainId: 域名ID # @type DomainId: Integer attr_accessor :DomainId def initialize(domainid=nil) @DomainId = domainid end def deserialize(params) @DomainId = params['DomainId'] end end # DescribeVASStatistic返回参数结构体 class DescribeVASStatisticResponse < TencentCloud::Common::AbstractModel # @param VASList: 增值服务用量列表 # @type VASList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :VASList, :RequestId def initialize(vaslist=nil, requestid=nil) @VASList = vaslist @RequestId = requestid end def deserialize(params) unless params['VASList'].nil? @VASList = [] params['VASList'].each do |i| vasstatisticitem_tmp = VASStatisticItem.new vasstatisticitem_tmp.deserialize(i) @VASList << vasstatisticitem_tmp end end @RequestId = params['RequestId'] end end # 域名别名解析量统计信息 class DomainAliasAnalyticsItem < TencentCloud::Common::AbstractModel # @param Info: 域名解析量统计查询信息 # @type Info: :class:`Tencentcloud::Dnspod.v20210323.models.DomainAnalyticsInfo` # @param Data: 当前统计维度解析量小计 # @type Data: Array attr_accessor :Info, :Data def initialize(info=nil, data=nil) @Info = info @Data = data end def deserialize(params) unless params['Info'].nil? @Info = DomainAnalyticsInfo.new @Info.deserialize(params['Info']) end unless params['Data'].nil? @Data = [] params['Data'].each do |i| domainanalyticsdetail_tmp = DomainAnalyticsDetail.new domainanalyticsdetail_tmp.deserialize(i) @Data << domainanalyticsdetail_tmp end end end end # 域名别名信息 class DomainAliasInfo < TencentCloud::Common::AbstractModel # @param Id: 域名别名ID # @type Id: Integer # @param DomainAlias: 域名别名 # @type DomainAlias: String # @param Status: 别名状态:1-DNS不正确;2-正常;3-封禁。 # @type Status: Integer attr_accessor :Id, :DomainAlias, :Status def initialize(id=nil, domainalias=nil, status=nil) @Id = id @DomainAlias = domainalias @Status = status end def deserialize(params) @Id = params['Id'] @DomainAlias = params['DomainAlias'] @Status = params['Status'] end end # 当前统计维度解析量小计 class DomainAnalyticsDetail < TencentCloud::Common::AbstractModel # @param Num: 当前统计维度解析量小计 # @type Num: Integer # @param DateKey: 按天统计时,为统计日期 # @type DateKey: String # @param HourKey: 按小时统计时,为统计的当前时间的小时数(0-23),例:HourKey为23时,统计周期为22点-23点的解析量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type HourKey: Integer attr_accessor :Num, :DateKey, :HourKey def initialize(num=nil, datekey=nil, hourkey=nil) @Num = num @DateKey = datekey @HourKey = hourkey end def deserialize(params) @Num = params['Num'] @DateKey = params['DateKey'] @HourKey = params['HourKey'] end end # 域名解析量统计查询信息 class DomainAnalyticsInfo < TencentCloud::Common::AbstractModel # @param DnsFormat: DATE:按天维度统计 HOUR:按小时维度统计 # @type DnsFormat: String # @param DnsTotal: 当前统计周期解析量总计 # @type DnsTotal: Integer # @param Domain: 当前查询的域名 # @type Domain: String # @param StartDate: 当前统计周期开始时间 # @type StartDate: String # @param EndDate: 当前统计周期结束时间 # @type EndDate: String attr_accessor :DnsFormat, :DnsTotal, :Domain, :StartDate, :EndDate def initialize(dnsformat=nil, dnstotal=nil, domain=nil, startdate=nil, enddate=nil) @DnsFormat = dnsformat @DnsTotal = dnstotal @Domain = domain @StartDate = startdate @EndDate = enddate end def deserialize(params) @DnsFormat = params['DnsFormat'] @DnsTotal = params['DnsTotal'] @Domain = params['Domain'] @StartDate = params['StartDate'] @EndDate = params['EndDate'] end end # 列表页分页统计信息 class DomainCountInfo < TencentCloud::Common::AbstractModel # @param DomainTotal: 符合条件的域名数量 # @type DomainTotal: Integer # @param AllTotal: 用户可以查看的所有域名数量 # @type AllTotal: Integer # @param MineTotal: 用户账号添加的域名数量 # @type MineTotal: Integer # @param ShareTotal: 共享给用户的域名数量 # @type ShareTotal: Integer # @param VipTotal: 付费域名数量 # @type VipTotal: Integer # @param PauseTotal: 暂停的域名数量 # @type PauseTotal: Integer # @param ErrorTotal: dns设置错误的域名数量 # @type ErrorTotal: Integer # @param LockTotal: 锁定的域名数量 # @type LockTotal: Integer # @param SpamTotal: 封禁的域名数量 # @type SpamTotal: Integer # @param VipExpire: 30天内即将到期的域名数量 # @type VipExpire: Integer # @param ShareOutTotal: 分享给其它人的域名数量 # @type ShareOutTotal: Integer # @param GroupTotal: 指定分组内的域名数量 # @type GroupTotal: Integer attr_accessor :DomainTotal, :AllTotal, :MineTotal, :ShareTotal, :VipTotal, :PauseTotal, :ErrorTotal, :LockTotal, :SpamTotal, :VipExpire, :ShareOutTotal, :GroupTotal def initialize(domaintotal=nil, alltotal=nil, minetotal=nil, sharetotal=nil, viptotal=nil, pausetotal=nil, errortotal=nil, locktotal=nil, spamtotal=nil, vipexpire=nil, shareouttotal=nil, grouptotal=nil) @DomainTotal = domaintotal @AllTotal = alltotal @MineTotal = minetotal @ShareTotal = sharetotal @VipTotal = viptotal @PauseTotal = pausetotal @ErrorTotal = errortotal @LockTotal = locktotal @SpamTotal = spamtotal @VipExpire = vipexpire @ShareOutTotal = shareouttotal @GroupTotal = grouptotal end def deserialize(params) @DomainTotal = params['DomainTotal'] @AllTotal = params['AllTotal'] @MineTotal = params['MineTotal'] @ShareTotal = params['ShareTotal'] @VipTotal = params['VipTotal'] @PauseTotal = params['PauseTotal'] @ErrorTotal = params['ErrorTotal'] @LockTotal = params['LockTotal'] @SpamTotal = params['SpamTotal'] @VipExpire = params['VipExpire'] @ShareOutTotal = params['ShareOutTotal'] @GroupTotal = params['GroupTotal'] end end # 域名信息(创建域名时返回) class DomainCreateInfo < TencentCloud::Common::AbstractModel # @param Id: 域名ID # @type Id: Integer # @param Domain: 域名 # @type Domain: String # @param Punycode: 域名的punycode # @type Punycode: String # @param GradeNsList: 域名的NS列表 # @type GradeNsList: Array attr_accessor :Id, :Domain, :Punycode, :GradeNsList def initialize(id=nil, domain=nil, punycode=nil, gradenslist=nil) @Id = id @Domain = domain @Punycode = punycode @GradeNsList = gradenslist end def deserialize(params) @Id = params['Id'] @Domain = params['Domain'] @Punycode = params['Punycode'] @GradeNsList = params['GradeNsList'] end end # 域名详情 class DomainInfo < TencentCloud::Common::AbstractModel # @param DomainId: 域名ID # @type DomainId: Integer # @param Status: 域名状态 # @type Status: String # @param Grade: 域名套餐等级 # @type Grade: String # @param GroupId: 域名分组ID # @type GroupId: Integer # @param IsMark: 是否星标域名 # @type IsMark: String # @param TTL: TTL(DNS记录缓存时间) # @type TTL: Integer # @param CnameSpeedup: cname加速启用状态 # @type CnameSpeedup: String # @param Remark: 域名备注 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Remark: String # @param Punycode: 域名Punycode # @type Punycode: String # @param DnsStatus: 域名DNS状态 # @type DnsStatus: String # @param DnspodNsList: 域名的NS列表 # @type DnspodNsList: Array # @param Domain: 域名 # @type Domain: String # @param GradeLevel: 域名等级代号 # @type GradeLevel: Integer # @param UserId: 域名所属的用户ID # @type UserId: Integer # @param IsVip: 是否为付费域名 # @type IsVip: String # @param Owner: 域名所有者的账号 # @type Owner: String # @param GradeTitle: 域名等级的描述 # @type GradeTitle: String # @param CreatedOn: 域名创建时间 # @type CreatedOn: String # @param UpdatedOn: 最后操作时间 # @type UpdatedOn: String # @param Uin: 腾讯云账户Uin # @type Uin: String # @param ActualNsList: 域名实际使用的NS列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ActualNsList: Array # @param RecordCount: 域名的记录数量 # @type RecordCount: Integer # @param OwnerNick: 域名所有者的账户昵称 # 注意:此字段可能返回 null,表示取不到有效值。 # @type OwnerNick: String # @param IsGracePeriod: 是否在付费套餐宽限期 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IsGracePeriod: String # @param VipBuffered: 是否在付费套餐缓冲期 # 注意:此字段可能返回 null,表示取不到有效值。 # @type VipBuffered: String # @param VipStartAt: VIP套餐有效期开始时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type VipStartAt: String # @param VipEndAt: VIP套餐有效期结束时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type VipEndAt: String # @param VipAutoRenew: VIP套餐自动续费标识。可能的值为:default-默认;no-不自动续费;yes-自动续费 # 注意:此字段可能返回 null,表示取不到有效值。 # @type VipAutoRenew: String # @param VipResourceId: VIP套餐资源ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type VipResourceId: String # @param IsSubDomain: 是否是子域名。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IsSubDomain: Boolean # @param TagList: 域名关联的标签列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TagList: Array # @param SearchEnginePush: 是否启用搜索引擎推送 # @type SearchEnginePush: String # @param SlaveDNS: 是否开启辅助 DNS # @type SlaveDNS: String attr_accessor :DomainId, :Status, :Grade, :GroupId, :IsMark, :TTL, :CnameSpeedup, :Remark, :Punycode, :DnsStatus, :DnspodNsList, :Domain, :GradeLevel, :UserId, :IsVip, :Owner, :GradeTitle, :CreatedOn, :UpdatedOn, :Uin, :ActualNsList, :RecordCount, :OwnerNick, :IsGracePeriod, :VipBuffered, :VipStartAt, :VipEndAt, :VipAutoRenew, :VipResourceId, :IsSubDomain, :TagList, :SearchEnginePush, :SlaveDNS def initialize(domainid=nil, status=nil, grade=nil, groupid=nil, ismark=nil, ttl=nil, cnamespeedup=nil, remark=nil, punycode=nil, dnsstatus=nil, dnspodnslist=nil, domain=nil, gradelevel=nil, userid=nil, isvip=nil, owner=nil, gradetitle=nil, createdon=nil, updatedon=nil, uin=nil, actualnslist=nil, recordcount=nil, ownernick=nil, isgraceperiod=nil, vipbuffered=nil, vipstartat=nil, vipendat=nil, vipautorenew=nil, vipresourceid=nil, issubdomain=nil, taglist=nil, searchenginepush=nil, slavedns=nil) @DomainId = domainid @Status = status @Grade = grade @GroupId = groupid @IsMark = ismark @TTL = ttl @CnameSpeedup = cnamespeedup @Remark = remark @Punycode = punycode @DnsStatus = dnsstatus @DnspodNsList = dnspodnslist @Domain = domain @GradeLevel = gradelevel @UserId = userid @IsVip = isvip @Owner = owner @GradeTitle = gradetitle @CreatedOn = createdon @UpdatedOn = updatedon @Uin = uin @ActualNsList = actualnslist @RecordCount = recordcount @OwnerNick = ownernick @IsGracePeriod = isgraceperiod @VipBuffered = vipbuffered @VipStartAt = vipstartat @VipEndAt = vipendat @VipAutoRenew = vipautorenew @VipResourceId = vipresourceid @IsSubDomain = issubdomain @TagList = taglist @SearchEnginePush = searchenginepush @SlaveDNS = slavedns end def deserialize(params) @DomainId = params['DomainId'] @Status = params['Status'] @Grade = params['Grade'] @GroupId = params['GroupId'] @IsMark = params['IsMark'] @TTL = params['TTL'] @CnameSpeedup = params['CnameSpeedup'] @Remark = params['Remark'] @Punycode = params['Punycode'] @DnsStatus = params['DnsStatus'] @DnspodNsList = params['DnspodNsList'] @Domain = params['Domain'] @GradeLevel = params['GradeLevel'] @UserId = params['UserId'] @IsVip = params['IsVip'] @Owner = params['Owner'] @GradeTitle = params['GradeTitle'] @CreatedOn = params['CreatedOn'] @UpdatedOn = params['UpdatedOn'] @Uin = params['Uin'] @ActualNsList = params['ActualNsList'] @RecordCount = params['RecordCount'] @OwnerNick = params['OwnerNick'] @IsGracePeriod = params['IsGracePeriod'] @VipBuffered = params['VipBuffered'] @VipStartAt = params['VipStartAt'] @VipEndAt = params['VipEndAt'] @VipAutoRenew = params['VipAutoRenew'] @VipResourceId = params['VipResourceId'] @IsSubDomain = params['IsSubDomain'] unless params['TagList'].nil? @TagList = [] params['TagList'].each do |i| tagitem_tmp = TagItem.new tagitem_tmp.deserialize(i) @TagList << tagitem_tmp end end @SearchEnginePush = params['SearchEnginePush'] @SlaveDNS = params['SlaveDNS'] end end # 域名列表元素 class DomainListItem < TencentCloud::Common::AbstractModel # @param DomainId: 系统分配给域名的唯一标识 # @type DomainId: Integer # @param Name: 域名的原始格式 # @type Name: String # @param Status: 域名的状态,正常:ENABLE,暂停:PAUSE,封禁:SPAM # @type Status: String # @param TTL: 域名默认的解析记录默认TTL值 # @type TTL: Integer # @param CNAMESpeedup: 是否开启CNAME加速,开启:ENABLE,未开启:DISABLE # @type CNAMESpeedup: String # @param DNSStatus: DNS 设置状态,错误:DNSERROR,正常:空字符串 # @type DNSStatus: String # @param Grade: 域名的套餐等级代码 # @type Grade: String # @param GroupId: 域名所属的分组Id # @type GroupId: Integer # @param SearchEnginePush: 是否开启搜索引擎推送优化,是:YES,否:NO # @type SearchEnginePush: String # @param Remark: 域名备注说明 # @type Remark: String # @param Punycode: 经过punycode编码后的域名格式 # @type Punycode: String # @param EffectiveDNS: 系统为域名分配的有效DNS # @type EffectiveDNS: Array # @param GradeLevel: 域名套餐等级对应的序号 # @type GradeLevel: Integer # @param GradeTitle: 套餐名称 # @type GradeTitle: String # @param IsVip: 是否是付费套餐 # @type IsVip: String # @param VipStartAt: 付费套餐开通时间 # @type VipStartAt: String # @param VipEndAt: 付费套餐到期时间 # @type VipEndAt: String # @param VipAutoRenew: 域名是否开通VIP自动续费,是:YES,否:NO,默认:DEFAULT # @type VipAutoRenew: String # @param RecordCount: 域名下的记录数量 # @type RecordCount: Integer # @param CreatedOn: 域名添加时间 # @type CreatedOn: String # @param UpdatedOn: 域名更新时间 # @type UpdatedOn: String # @param Owner: 域名所属账号 # @type Owner: String # @param TagList: 域名关联的标签列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TagList: Array attr_accessor :DomainId, :Name, :Status, :TTL, :CNAMESpeedup, :DNSStatus, :Grade, :GroupId, :SearchEnginePush, :Remark, :Punycode, :EffectiveDNS, :GradeLevel, :GradeTitle, :IsVip, :VipStartAt, :VipEndAt, :VipAutoRenew, :RecordCount, :CreatedOn, :UpdatedOn, :Owner, :TagList def initialize(domainid=nil, name=nil, status=nil, ttl=nil, cnamespeedup=nil, dnsstatus=nil, grade=nil, groupid=nil, searchenginepush=nil, remark=nil, punycode=nil, effectivedns=nil, gradelevel=nil, gradetitle=nil, isvip=nil, vipstartat=nil, vipendat=nil, vipautorenew=nil, recordcount=nil, createdon=nil, updatedon=nil, owner=nil, taglist=nil) @DomainId = domainid @Name = name @Status = status @TTL = ttl @CNAMESpeedup = cnamespeedup @DNSStatus = dnsstatus @Grade = grade @GroupId = groupid @SearchEnginePush = searchenginepush @Remark = remark @Punycode = punycode @EffectiveDNS = effectivedns @GradeLevel = gradelevel @GradeTitle = gradetitle @IsVip = isvip @VipStartAt = vipstartat @VipEndAt = vipendat @VipAutoRenew = vipautorenew @RecordCount = recordcount @CreatedOn = createdon @UpdatedOn = updatedon @Owner = owner @TagList = taglist end def deserialize(params) @DomainId = params['DomainId'] @Name = params['Name'] @Status = params['Status'] @TTL = params['TTL'] @CNAMESpeedup = params['CNAMESpeedup'] @DNSStatus = params['DNSStatus'] @Grade = params['Grade'] @GroupId = params['GroupId'] @SearchEnginePush = params['SearchEnginePush'] @Remark = params['Remark'] @Punycode = params['Punycode'] @EffectiveDNS = params['EffectiveDNS'] @GradeLevel = params['GradeLevel'] @GradeTitle = params['GradeTitle'] @IsVip = params['IsVip'] @VipStartAt = params['VipStartAt'] @VipEndAt = params['VipEndAt'] @VipAutoRenew = params['VipAutoRenew'] @RecordCount = params['RecordCount'] @CreatedOn = params['CreatedOn'] @UpdatedOn = params['UpdatedOn'] @Owner = params['Owner'] unless params['TagList'].nil? @TagList = [] params['TagList'].each do |i| tagitem_tmp = TagItem.new tagitem_tmp.deserialize(i) @TagList << tagitem_tmp end end end end # 域名共享信息 class DomainShareInfo < TencentCloud::Common::AbstractModel # @param ShareTo: 域名共享对象的账号 # @type ShareTo: String # @param Mode: 共享模式,“rw”:可读写。 “r”::只读 # @type Mode: String # @param Status: 共享状态“enabled”:共享成功。“pending”:共享到的账号不存在, 等待注册 # @type Status: String attr_accessor :ShareTo, :Mode, :Status def initialize(shareto=nil, mode=nil, status=nil) @ShareTo = shareto @Mode = mode @Status = status end def deserialize(params) @ShareTo = params['ShareTo'] @Mode = params['Mode'] @Status = params['Status'] end end # DownloadSnapshot请求参数结构体 class DownloadSnapshotRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param SnapshotId: 快照记录 ID # @type SnapshotId: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer attr_accessor :Domain, :SnapshotId, :DomainId def initialize(domain=nil, snapshotid=nil, domainid=nil) @Domain = domain @SnapshotId = snapshotid @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @SnapshotId = params['SnapshotId'] @DomainId = params['DomainId'] end end # DownloadSnapshot返回参数结构体 class DownloadSnapshotResponse < TencentCloud::Common::AbstractModel # @param CosUrl: 快照下载链接 # @type CosUrl: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :CosUrl, :RequestId def initialize(cosurl=nil, requestid=nil) @CosUrl = cosurl @RequestId = requestid end def deserialize(params) @CosUrl = params['CosUrl'] @RequestId = params['RequestId'] end end # 域名分组列表 class GroupInfo < TencentCloud::Common::AbstractModel # @param GroupId: 分组ID # @type GroupId: Integer # @param GroupName: 分组名称 # @type GroupName: String # @param GroupType: 分组类型 # @type GroupType: String # @param Size: 该分组中域名个数 # @type Size: Integer attr_accessor :GroupId, :GroupName, :GroupType, :Size def initialize(groupid=nil, groupname=nil, grouptype=nil, size=nil) @GroupId = groupid @GroupName = groupname @GroupType = grouptype @Size = size end def deserialize(params) @GroupId = params['GroupId'] @GroupName = params['GroupName'] @GroupType = params['GroupType'] @Size = params['Size'] end end # 键值对 class KeyValue < TencentCloud::Common::AbstractModel # @param Key: 键 # @type Key: String # @param Value: 值 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Value: String attr_accessor :Key, :Value def initialize(key=nil, value=nil) @Key = key @Value = value end def deserialize(params) @Key = params['Key'] @Value = params['Value'] end end # 线路分组信息 class LineGroupInfo < TencentCloud::Common::AbstractModel # @param LineId: 线路分组ID # @type LineId: String # @param Name: 线路分组名称 # @type Name: String # @param Type: 分组类型 # @type Type: String # @param LineList: 线路分组包含的线路列表 # @type LineList: Array attr_accessor :LineId, :Name, :Type, :LineList def initialize(lineid=nil, name=nil, type=nil, linelist=nil) @LineId = lineid @Name = name @Type = type @LineList = linelist end def deserialize(params) @LineId = params['LineId'] @Name = params['Name'] @Type = params['Type'] @LineList = params['LineList'] end end # 解析线路信息 class LineInfo < TencentCloud::Common::AbstractModel # @param Name: 线路名称 # @type Name: String # @param LineId: 线路ID # @type LineId: String attr_accessor :Name, :LineId def initialize(name=nil, lineid=nil) @Name = name @LineId = lineid end def deserialize(params) @Name = params['Name'] @LineId = params['LineId'] end end # 域名解析记录线路信息 class LineItem < TencentCloud::Common::AbstractModel # @param LineName: 解析线路名称。 # @type LineName: String # @param LineId: 解析线路 ID。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type LineId: String # @param Useful: 当前线路在当前域名下是否可用。 # @type Useful: Boolean # @param Grade: 当前线路最低套餐等级要求。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Grade: String # @param SubGroup: 当前线路分类下的子线路列表。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubGroup: Array # @param Lines: 自定义线路分组内包含的线路。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Lines: Array attr_accessor :LineName, :LineId, :Useful, :Grade, :SubGroup, :Lines def initialize(linename=nil, lineid=nil, useful=nil, grade=nil, subgroup=nil, lines=nil) @LineName = linename @LineId = lineid @Useful = useful @Grade = grade @SubGroup = subgroup @Lines = lines end def deserialize(params) @LineName = params['LineName'] @LineId = params['LineId'] @Useful = params['Useful'] @Grade = params['Grade'] unless params['SubGroup'].nil? @SubGroup = [] params['SubGroup'].each do |i| lineitem_tmp = LineItem.new lineitem_tmp.deserialize(i) @SubGroup << lineitem_tmp end end @Lines = params['Lines'] end end # 域名锁定信息 class LockInfo < TencentCloud::Common::AbstractModel # @param DomainId: 域名 ID # @type DomainId: Integer # @param LockCode: 域名解锁码 # @type LockCode: String # @param LockEnd: 域名自动解锁日期 # @type LockEnd: String attr_accessor :DomainId, :LockCode, :LockEnd def initialize(domainid=nil, lockcode=nil, lockend=nil) @DomainId = domainid @LockCode = lockcode @LockEnd = lockend end def deserialize(params) @DomainId = params['DomainId'] @LockCode = params['LockCode'] @LockEnd = params['LockEnd'] end end # ModifyDomainCustomLine请求参数结构体 class ModifyDomainCustomLineRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param Name: 修改后的自定义线路名称,如果不修改名称,需要和PreName保持一致 # @type Name: String # @param Area: 自定义线路IP段,用-分割 # @type Area: String # @param PreName: 修改前的自定义线路名称 # @type PreName: String # @param DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId # @type DomainId: Integer attr_accessor :Domain, :Name, :Area, :PreName, :DomainId def initialize(domain=nil, name=nil, area=nil, prename=nil, domainid=nil) @Domain = domain @Name = name @Area = area @PreName = prename @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @Name = params['Name'] @Area = params['Area'] @PreName = params['PreName'] @DomainId = params['DomainId'] end end # ModifyDomainCustomLine返回参数结构体 class ModifyDomainCustomLineResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # ModifyDomainLock请求参数结构体 class ModifyDomainLockRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param LockDays: 域名要锁定的天数,最多可锁定的天数可以通过获取域名权限接口获取。 # @type LockDays: Integer # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :LockDays, :DomainId def initialize(domain=nil, lockdays=nil, domainid=nil) @Domain = domain @LockDays = lockdays @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @LockDays = params['LockDays'] @DomainId = params['DomainId'] end end # ModifyDomainLock返回参数结构体 class ModifyDomainLockResponse < TencentCloud::Common::AbstractModel # @param LockInfo: 域名锁定信息 # @type LockInfo: :class:`Tencentcloud::Dnspod.v20210323.models.LockInfo` # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :LockInfo, :RequestId def initialize(lockinfo=nil, requestid=nil) @LockInfo = lockinfo @RequestId = requestid end def deserialize(params) unless params['LockInfo'].nil? @LockInfo = LockInfo.new @LockInfo.deserialize(params['LockInfo']) end @RequestId = params['RequestId'] end end # ModifyDomainOwner请求参数结构体 class ModifyDomainOwnerRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param Account: 域名需要转入的账号,支持Uin或者邮箱格式 # @type Account: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :Account, :DomainId def initialize(domain=nil, account=nil, domainid=nil) @Domain = domain @Account = account @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @Account = params['Account'] @DomainId = params['DomainId'] end end # ModifyDomainOwner返回参数结构体 class ModifyDomainOwnerResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # ModifyDomainRemark请求参数结构体 class ModifyDomainRemarkRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer # @param Remark: 域名备注,删除备注请提交空内容。 # @type Remark: String attr_accessor :Domain, :DomainId, :Remark def initialize(domain=nil, domainid=nil, remark=nil) @Domain = domain @DomainId = domainid @Remark = remark end def deserialize(params) @Domain = params['Domain'] @DomainId = params['DomainId'] @Remark = params['Remark'] end end # ModifyDomainRemark返回参数结构体 class ModifyDomainRemarkResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # ModifyDomainStatus请求参数结构体 class ModifyDomainStatusRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param Status: 域名状态,”enable” 、”disable” 分别代表启用和暂停 # @type Status: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :Status, :DomainId def initialize(domain=nil, status=nil, domainid=nil) @Domain = domain @Status = status @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @Status = params['Status'] @DomainId = params['DomainId'] end end # ModifyDomainStatus返回参数结构体 class ModifyDomainStatusResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # ModifyDomainToGroup请求参数结构体 class ModifyDomainToGroupRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param GroupId: 域名分组ID # @type GroupId: Integer # @param DomainId: 域名ID,域名ID,参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain # @type DomainId: Integer attr_accessor :Domain, :GroupId, :DomainId def initialize(domain=nil, groupid=nil, domainid=nil) @Domain = domain @GroupId = groupid @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @GroupId = params['GroupId'] @DomainId = params['DomainId'] end end # ModifyDomainToGroup返回参数结构体 class ModifyDomainToGroupResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # ModifyDomainUnlock请求参数结构体 class ModifyDomainUnlockRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param LockCode: 域名解锁码,锁定的时候会返回。 # @type LockCode: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :LockCode, :DomainId def initialize(domain=nil, lockcode=nil, domainid=nil) @Domain = domain @LockCode = lockcode @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @LockCode = params['LockCode'] @DomainId = params['DomainId'] end end # ModifyDomainUnlock返回参数结构体 class ModifyDomainUnlockResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # ModifyDynamicDNS请求参数结构体 class ModifyDynamicDNSRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param RecordId: 记录ID。 可以通过接口DescribeRecordList查到所有的解析记录列表以及对应的RecordId # @type RecordId: Integer # @param RecordLine: 记录线路,通过 API 记录线路获得,中文,比如:默认。 # @type RecordLine: String # @param Value: 记录值,如 IP : 200.200.200.200, CNAME : cname.dnspod.com., MX : mail.dnspod.com.。 # @type Value: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer # @param SubDomain: 主机记录,如 www,如果不传,默认为 @。 # @type SubDomain: String # @param RecordLineId: 线路的 ID,通过 API 记录线路获得,英文字符串,比如:10=1。参数RecordLineId优先级高于RecordLine,如果同时传递二者,优先使用RecordLineId参数。 # @type RecordLineId: String # @param Ttl: TTL值,如果不传,默认为域名的TTL值。 # @type Ttl: Integer attr_accessor :Domain, :RecordId, :RecordLine, :Value, :DomainId, :SubDomain, :RecordLineId, :Ttl def initialize(domain=nil, recordid=nil, recordline=nil, value=nil, domainid=nil, subdomain=nil, recordlineid=nil, ttl=nil) @Domain = domain @RecordId = recordid @RecordLine = recordline @Value = value @DomainId = domainid @SubDomain = subdomain @RecordLineId = recordlineid @Ttl = ttl end def deserialize(params) @Domain = params['Domain'] @RecordId = params['RecordId'] @RecordLine = params['RecordLine'] @Value = params['Value'] @DomainId = params['DomainId'] @SubDomain = params['SubDomain'] @RecordLineId = params['RecordLineId'] @Ttl = params['Ttl'] end end # ModifyDynamicDNS返回参数结构体 class ModifyDynamicDNSResponse < TencentCloud::Common::AbstractModel # @param RecordId: 记录ID # @type RecordId: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RecordId, :RequestId def initialize(recordid=nil, requestid=nil) @RecordId = recordid @RequestId = requestid end def deserialize(params) @RecordId = params['RecordId'] @RequestId = params['RequestId'] end end # ModifyPackageAutoRenew请求参数结构体 class ModifyPackageAutoRenewRequest < TencentCloud::Common::AbstractModel # @param ResourceId: 资源ID。可以在控制台查看所有的资源 # @type ResourceId: String # @param Status: enable 开启自动续费;disable 关闭自动续费 # @type Status: String attr_accessor :ResourceId, :Status def initialize(resourceid=nil, status=nil) @ResourceId = resourceid @Status = status end def deserialize(params) @ResourceId = params['ResourceId'] @Status = params['Status'] end end # ModifyPackageAutoRenew返回参数结构体 class ModifyPackageAutoRenewResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # 批量添加记录返回结构 class ModifyRecordBatchDetail < TencentCloud::Common::AbstractModel # @param RecordList: 见RecordInfoBatchModify # 注意:此字段可能返回 null,表示取不到有效值。 # @type RecordList: Array # @param Id: 任务编号 # @type Id: Integer # @param Domain: 域名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Domain: String # @param DomainGrade: 域名等级 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DomainGrade: String # @param ErrMsg: 错误信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ErrMsg: String # @param Status: 该条任务运行状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: String # @param Operation: 操作类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Operation: String # @param DomainId: 域名ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type DomainId: Integer attr_accessor :RecordList, :Id, :Domain, :DomainGrade, :ErrMsg, :Status, :Operation, :DomainId def initialize(recordlist=nil, id=nil, domain=nil, domaingrade=nil, errmsg=nil, status=nil, operation=nil, domainid=nil) @RecordList = recordlist @Id = id @Domain = domain @DomainGrade = domaingrade @ErrMsg = errmsg @Status = status @Operation = operation @DomainId = domainid end def deserialize(params) unless params['RecordList'].nil? @RecordList = [] params['RecordList'].each do |i| batchrecordinfo_tmp = BatchRecordInfo.new batchrecordinfo_tmp.deserialize(i) @RecordList << batchrecordinfo_tmp end end @Id = params['Id'] @Domain = params['Domain'] @DomainGrade = params['DomainGrade'] @ErrMsg = params['ErrMsg'] @Status = params['Status'] @Operation = params['Operation'] @DomainId = params['DomainId'] end end # ModifyRecordBatch请求参数结构体 class ModifyRecordBatchRequest < TencentCloud::Common::AbstractModel # @param RecordIdList: 记录ID数组。可以通过接口DescribeRecordList查到所有的解析记录列表以及对应的RecordId # @type RecordIdList: Array # @param Change: 要修改的字段,可选值为 [“sub_domain”、”record_type”、”area”、”value”、”mx”、”ttl”、”status”] 中的某一个。 # @type Change: String # @param ChangeTo: 修改为,具体依赖 change 字段,必填参数。 # @type ChangeTo: String # @param Value: 要修改到的记录值,仅当 change 字段为 “record_type” 时为必填参数。 # @type Value: String # @param MX: MX记录优先级,仅当修改为 MX 记录时为必填参数。 # @type MX: String attr_accessor :RecordIdList, :Change, :ChangeTo, :Value, :MX def initialize(recordidlist=nil, change=nil, changeto=nil, value=nil, mx=nil) @RecordIdList = recordidlist @Change = change @ChangeTo = changeto @Value = value @MX = mx end def deserialize(params) @RecordIdList = params['RecordIdList'] @Change = params['Change'] @ChangeTo = params['ChangeTo'] @Value = params['Value'] @MX = params['MX'] end end # ModifyRecordBatch返回参数结构体 class ModifyRecordBatchResponse < TencentCloud::Common::AbstractModel # @param JobId: 批量任务ID # @type JobId: Integer # @param DetailList: 见modifyRecordBatchDetail # @type DetailList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :JobId, :DetailList, :RequestId def initialize(jobid=nil, detaillist=nil, requestid=nil) @JobId = jobid @DetailList = detaillist @RequestId = requestid end def deserialize(params) @JobId = params['JobId'] unless params['DetailList'].nil? @DetailList = [] params['DetailList'].each do |i| modifyrecordbatchdetail_tmp = ModifyRecordBatchDetail.new modifyrecordbatchdetail_tmp.deserialize(i) @DetailList << modifyrecordbatchdetail_tmp end end @RequestId = params['RequestId'] end end # ModifyRecordFields请求参数结构体 class ModifyRecordFieldsRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param RecordId: 记录 ID 。 # @type RecordId: Integer # @param FieldList: 要修改的记录属性和值,支持:sub_domain,record_line,record_line_id,record_type,value,ttl,status,mx,weight # @type FieldList: Array # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer attr_accessor :Domain, :RecordId, :FieldList, :DomainId def initialize(domain=nil, recordid=nil, fieldlist=nil, domainid=nil) @Domain = domain @RecordId = recordid @FieldList = fieldlist @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @RecordId = params['RecordId'] unless params['FieldList'].nil? @FieldList = [] params['FieldList'].each do |i| keyvalue_tmp = KeyValue.new keyvalue_tmp.deserialize(i) @FieldList << keyvalue_tmp end end @DomainId = params['DomainId'] end end # ModifyRecordFields返回参数结构体 class ModifyRecordFieldsResponse < TencentCloud::Common::AbstractModel # @param RecordId: 记录ID # @type RecordId: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RecordId, :RequestId def initialize(recordid=nil, requestid=nil) @RecordId = recordid @RequestId = requestid end def deserialize(params) @RecordId = params['RecordId'] @RequestId = params['RequestId'] end end # ModifyRecordGroup请求参数结构体 class ModifyRecordGroupRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param GroupName: 分组名称 # @type GroupName: String # @param GroupId: 要修改的分组 ID # @type GroupId: Integer # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer attr_accessor :Domain, :GroupName, :GroupId, :DomainId def initialize(domain=nil, groupname=nil, groupid=nil, domainid=nil) @Domain = domain @GroupName = groupname @GroupId = groupid @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @GroupName = params['GroupName'] @GroupId = params['GroupId'] @DomainId = params['DomainId'] end end # ModifyRecordGroup返回参数结构体 class ModifyRecordGroupResponse < TencentCloud::Common::AbstractModel # @param GroupId: 修改的分组 ID # @type GroupId: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :GroupId, :RequestId def initialize(groupid=nil, requestid=nil) @GroupId = groupid @RequestId = requestid end def deserialize(params) @GroupId = params['GroupId'] @RequestId = params['RequestId'] end end # ModifyRecordRemark请求参数结构体 class ModifyRecordRemarkRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param RecordId: 记录 ID 。可以通过接口DescribeRecordList查到所有的解析记录列表以及对应的RecordId # @type RecordId: Integer # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer # @param Remark: 解析记录备注,删除备注请提交空内容。 # @type Remark: String attr_accessor :Domain, :RecordId, :DomainId, :Remark def initialize(domain=nil, recordid=nil, domainid=nil, remark=nil) @Domain = domain @RecordId = recordid @DomainId = domainid @Remark = remark end def deserialize(params) @Domain = params['Domain'] @RecordId = params['RecordId'] @DomainId = params['DomainId'] @Remark = params['Remark'] end end # ModifyRecordRemark返回参数结构体 class ModifyRecordRemarkResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # ModifyRecord请求参数结构体 class ModifyRecordRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param RecordType: 记录类型,通过 API 记录类型获得,大写英文,比如:A 。 # @type RecordType: String # @param RecordLine: 记录线路,通过 API 记录线路获得,中文,比如:默认。 # @type RecordLine: String # @param Value: 记录值,如 IP : 200.200.200.200, CNAME : cname.dnspod.com., MX : mail.dnspod.com.。 # @type Value: String # @param RecordId: 记录 ID 。可以通过接口DescribeRecordList查到所有的解析记录列表以及对应的RecordId # @type RecordId: Integer # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer # @param SubDomain: 主机记录,如 www,如果不传,默认为 @。 # @type SubDomain: String # @param RecordLineId: 线路的 ID,通过 API 记录线路获得,英文字符串,比如:10=1。参数RecordLineId优先级高于RecordLine,如果同时传递二者,优先使用RecordLineId参数。 # @type RecordLineId: String # @param MX: MX 优先级,当记录类型是 MX 时有效,范围1-20,MX 记录时必选。 # @type MX: Integer # @param TTL: TTL,范围1-604800,不同等级域名最小值不同。 # @type TTL: Integer # @param Weight: 权重信息,0到100的整数。0 表示关闭,不传该参数,表示不设置权重信息。 # @type Weight: Integer # @param Status: 记录初始状态,取值范围为 ENABLE 和 DISABLE 。默认为 ENABLE ,如果传入 DISABLE,解析不会生效,也不会验证负载均衡的限制。 # @type Status: String # @param Remark: 记录的备注信息。传空删除备注。 # @type Remark: String # @param DnssecConflictMode: 开启DNSSEC时,强制将其它记录修改为CNAME/URL记录 # @type DnssecConflictMode: String attr_accessor :Domain, :RecordType, :RecordLine, :Value, :RecordId, :DomainId, :SubDomain, :RecordLineId, :MX, :TTL, :Weight, :Status, :Remark, :DnssecConflictMode def initialize(domain=nil, recordtype=nil, recordline=nil, value=nil, recordid=nil, domainid=nil, subdomain=nil, recordlineid=nil, mx=nil, ttl=nil, weight=nil, status=nil, remark=nil, dnssecconflictmode=nil) @Domain = domain @RecordType = recordtype @RecordLine = recordline @Value = value @RecordId = recordid @DomainId = domainid @SubDomain = subdomain @RecordLineId = recordlineid @MX = mx @TTL = ttl @Weight = weight @Status = status @Remark = remark @DnssecConflictMode = dnssecconflictmode end def deserialize(params) @Domain = params['Domain'] @RecordType = params['RecordType'] @RecordLine = params['RecordLine'] @Value = params['Value'] @RecordId = params['RecordId'] @DomainId = params['DomainId'] @SubDomain = params['SubDomain'] @RecordLineId = params['RecordLineId'] @MX = params['MX'] @TTL = params['TTL'] @Weight = params['Weight'] @Status = params['Status'] @Remark = params['Remark'] @DnssecConflictMode = params['DnssecConflictMode'] end end # ModifyRecord返回参数结构体 class ModifyRecordResponse < TencentCloud::Common::AbstractModel # @param RecordId: 记录ID # @type RecordId: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RecordId, :RequestId def initialize(recordid=nil, requestid=nil) @RecordId = recordid @RequestId = requestid end def deserialize(params) @RecordId = params['RecordId'] @RequestId = params['RequestId'] end end # ModifyRecordStatus请求参数结构体 class ModifyRecordStatusRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param RecordId: 记录 ID 。可以通过接口DescribeRecordList查到所有的解析记录列表以及对应的RecordId # @type RecordId: Integer # @param Status: 记录的状态。取值范围为 ENABLE 和 DISABLE。如果传入 DISABLE,解析不会生效,也不会验证负载均衡的限制。 # @type Status: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer attr_accessor :Domain, :RecordId, :Status, :DomainId def initialize(domain=nil, recordid=nil, status=nil, domainid=nil) @Domain = domain @RecordId = recordid @Status = status @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @RecordId = params['RecordId'] @Status = params['Status'] @DomainId = params['DomainId'] end end # ModifyRecordStatus返回参数结构体 class ModifyRecordStatusResponse < TencentCloud::Common::AbstractModel # @param RecordId: 记录ID。 # @type RecordId: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RecordId, :RequestId def initialize(recordid=nil, requestid=nil) @RecordId = recordid @RequestId = requestid end def deserialize(params) @RecordId = params['RecordId'] @RequestId = params['RequestId'] end end # ModifyRecordToGroup请求参数结构体 class ModifyRecordToGroupRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param GroupId: 分组 ID # @type GroupId: Integer # @param RecordId: 记录 ID,多个 ID 用竖线“|”分割 # @type RecordId: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer attr_accessor :Domain, :GroupId, :RecordId, :DomainId def initialize(domain=nil, groupid=nil, recordid=nil, domainid=nil) @Domain = domain @GroupId = groupid @RecordId = recordid @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @GroupId = params['GroupId'] @RecordId = params['RecordId'] @DomainId = params['DomainId'] end end # ModifyRecordToGroup返回参数结构体 class ModifyRecordToGroupResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # ModifySnapshotConfig请求参数结构体 class ModifySnapshotConfigRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param Period: 备件间隔:空字符串-不备份,half_hour-每半小时,hourly-每小时,daily-每天,monthly-每月 # @type Period: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer attr_accessor :Domain, :Period, :DomainId def initialize(domain=nil, period=nil, domainid=nil) @Domain = domain @Period = period @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @Period = params['Period'] @DomainId = params['DomainId'] end end # ModifySnapshotConfig返回参数结构体 class ModifySnapshotConfigResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # ModifySubdomainStatus请求参数结构体 class ModifySubdomainStatusRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param RecordType: 记录类型。允许的值为A、CNAME、MX、TXT、NS、AAAA、SPF、SRV、CAA、URL、URL1。若要传多个,用英文逗号分隔,例如A,TXT,CNAME。 # @type RecordType: String # @param Status: 记录状态。允许的值为disable。 # @type Status: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId # @type DomainId: Integer # @param SubDomain: 主机记录,如 www,如果不传,默认为 @。 # @type SubDomain: String attr_accessor :Domain, :RecordType, :Status, :DomainId, :SubDomain def initialize(domain=nil, recordtype=nil, status=nil, domainid=nil, subdomain=nil) @Domain = domain @RecordType = recordtype @Status = status @DomainId = domainid @SubDomain = subdomain end def deserialize(params) @Domain = params['Domain'] @RecordType = params['RecordType'] @Status = params['Status'] @DomainId = params['DomainId'] @SubDomain = params['SubDomain'] end end # ModifySubdomainStatus返回参数结构体 class ModifySubdomainStatusResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # ModifyVasAutoRenewStatus请求参数结构体 class ModifyVasAutoRenewStatusRequest < TencentCloud::Common::AbstractModel # @param ResourceId: 资源ID。可以从控制台查看所有的资源 # @type ResourceId: String # @param Status: enable 开启自动续费;disable 关闭自动续费 # @type Status: String attr_accessor :ResourceId, :Status def initialize(resourceid=nil, status=nil) @ResourceId = resourceid @Status = status end def deserialize(params) @ResourceId = params['ResourceId'] @Status = params['Status'] end end # ModifyVasAutoRenewStatus返回参数结构体 class ModifyVasAutoRenewStatusResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # 套餐配置明细 class PackageDetailItem < TencentCloud::Common::AbstractModel # @param RealPrice: 套餐原价 # @type RealPrice: Integer # @param ChangedTimes: 可更换域名次数 # @type ChangedTimes: Integer # @param MinTtl: 允许设置的最小 TTL 值 # @type MinTtl: Integer # @param RecordRoll: 负载均衡数量 # @type RecordRoll: Integer # @param SubDomainLevel: 子域名级数 # @type SubDomainLevel: Integer # @param MaxWildcard: 泛解析级数 # @type MaxWildcard: Integer # @param DnsServerRegion: DNS 服务集群个数 # @type DnsServerRegion: String # @param DomainGradeCn: 套餐名称 # @type DomainGradeCn: String # @param GradeLevel: 套餐代号 # @type GradeLevel: Integer # @param Ns: 套餐对应的 NS # @type Ns: Array # @param DomainGrade: 套餐代码 # @type DomainGrade: String attr_accessor :RealPrice, :ChangedTimes, :MinTtl, :RecordRoll, :SubDomainLevel, :MaxWildcard, :DnsServerRegion, :DomainGradeCn, :GradeLevel, :Ns, :DomainGrade def initialize(realprice=nil, changedtimes=nil, minttl=nil, recordroll=nil, subdomainlevel=nil, maxwildcard=nil, dnsserverregion=nil, domaingradecn=nil, gradelevel=nil, ns=nil, domaingrade=nil) @RealPrice = realprice @ChangedTimes = changedtimes @MinTtl = minttl @RecordRoll = recordroll @SubDomainLevel = subdomainlevel @MaxWildcard = maxwildcard @DnsServerRegion = dnsserverregion @DomainGradeCn = domaingradecn @GradeLevel = gradelevel @Ns = ns @DomainGrade = domaingrade end def deserialize(params) @RealPrice = params['RealPrice'] @ChangedTimes = params['ChangedTimes'] @MinTtl = params['MinTtl'] @RecordRoll = params['RecordRoll'] @SubDomainLevel = params['SubDomainLevel'] @MaxWildcard = params['MaxWildcard'] @DnsServerRegion = params['DnsServerRegion'] @DomainGradeCn = params['DomainGradeCn'] @GradeLevel = params['GradeLevel'] @Ns = params['Ns'] @DomainGrade = params['DomainGrade'] end end # PayOrderWithBalance请求参数结构体 class PayOrderWithBalanceRequest < TencentCloud::Common::AbstractModel # @param BigDealIdList: 需要支付的大订单号数组 # @type BigDealIdList: Array # @param VoucherIdList: 代金券ID数组。可以从控制台查到拥有的代金券 # @type VoucherIdList: Array attr_accessor :BigDealIdList, :VoucherIdList def initialize(bigdealidlist=nil, voucheridlist=nil) @BigDealIdList = bigdealidlist @VoucherIdList = voucheridlist end def deserialize(params) @BigDealIdList = params['BigDealIdList'] @VoucherIdList = params['VoucherIdList'] end end # PayOrderWithBalance返回参数结构体 class PayOrderWithBalanceResponse < TencentCloud::Common::AbstractModel # @param DealIdList: 此次操作支付成功的订单id数组 # @type DealIdList: Array # @param BigDealIdList: 此次操作支付成功的大订单号数组 # @type BigDealIdList: Array # @param DealNameList: 此次操作支付成功的订单号数组 # @type DealNameList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DealIdList, :BigDealIdList, :DealNameList, :RequestId def initialize(dealidlist=nil, bigdealidlist=nil, dealnamelist=nil, requestid=nil) @DealIdList = dealidlist @BigDealIdList = bigdealidlist @DealNameList = dealnamelist @RequestId = requestid end def deserialize(params) @DealIdList = params['DealIdList'] @BigDealIdList = params['BigDealIdList'] @DealNameList = params['DealNameList'] @RequestId = params['RequestId'] end end # 域名概览明细 class PreviewDetail < TencentCloud::Common::AbstractModel # @param Name: 域名 # @type Name: String # @param Grade: 域名套餐代码 # @type Grade: String # @param GradeTitle: 域名套餐名称 # @type GradeTitle: String # @param Records: 域名记录数 # @type Records: Integer # @param DomainParkingStatus: 域名停靠状态。0 未开启 1 已开启 2 已暂停 # @type DomainParkingStatus: Integer # @param LineCount: 自定义线路数量 # @type LineCount: Integer # @param LineGroupCount: 自定义线路分组数量 # @type LineGroupCount: Integer # @param AliasCount: 域名别名数量 # @type AliasCount: Integer # @param MaxAliasCount: 允许添加的最大域名别名数量 # @type MaxAliasCount: Integer # @param ResolveCount: 昨天的解析量 # @type ResolveCount: Integer # @param VASCount: 增值服务数量 # @type VASCount: Integer attr_accessor :Name, :Grade, :GradeTitle, :Records, :DomainParkingStatus, :LineCount, :LineGroupCount, :AliasCount, :MaxAliasCount, :ResolveCount, :VASCount def initialize(name=nil, grade=nil, gradetitle=nil, records=nil, domainparkingstatus=nil, linecount=nil, linegroupcount=nil, aliascount=nil, maxaliascount=nil, resolvecount=nil, vascount=nil) @Name = name @Grade = grade @GradeTitle = gradetitle @Records = records @DomainParkingStatus = domainparkingstatus @LineCount = linecount @LineGroupCount = linegroupcount @AliasCount = aliascount @MaxAliasCount = maxaliascount @ResolveCount = resolvecount @VASCount = vascount end def deserialize(params) @Name = params['Name'] @Grade = params['Grade'] @GradeTitle = params['GradeTitle'] @Records = params['Records'] @DomainParkingStatus = params['DomainParkingStatus'] @LineCount = params['LineCount'] @LineGroupCount = params['LineGroupCount'] @AliasCount = params['AliasCount'] @MaxAliasCount = params['MaxAliasCount'] @ResolveCount = params['ResolveCount'] @VASCount = params['VASCount'] end end # 域名权限项 class PurviewInfo < TencentCloud::Common::AbstractModel # @param Name: 权限名称 # @type Name: String # @param Value: 权限值 # @type Value: String attr_accessor :Name, :Value def initialize(name=nil, value=nil) @Name = name @Value = value end def deserialize(params) @Name = params['Name'] @Value = params['Value'] end end # 查询记录列表的数量统计信息 class RecordCountInfo < TencentCloud::Common::AbstractModel # @param SubdomainCount: 子域名数量 # @type SubdomainCount: Integer # @param ListCount: 列表返回的记录数 # @type ListCount: Integer # @param TotalCount: 总的记录数 # @type TotalCount: Integer attr_accessor :SubdomainCount, :ListCount, :TotalCount def initialize(subdomaincount=nil, listcount=nil, totalcount=nil) @SubdomainCount = subdomaincount @ListCount = listcount @TotalCount = totalcount end def deserialize(params) @SubdomainCount = params['SubdomainCount'] @ListCount = params['ListCount'] @TotalCount = params['TotalCount'] end end # 解析记录分组信息 class RecordGroupInfo < TencentCloud::Common::AbstractModel # @param GroupId: 分组 ID # @type GroupId: Integer # @param GroupName: 分组名称 # @type GroupName: String # @param GroupType: 分组类型:system-系统;user-用户 # @type GroupType: String attr_accessor :GroupId, :GroupName, :GroupType def initialize(groupid=nil, groupname=nil, grouptype=nil) @GroupId = groupid @GroupName = groupname @GroupType = grouptype end def deserialize(params) @GroupId = params['GroupId'] @GroupName = params['GroupName'] @GroupType = params['GroupType'] end end # 记录信息 class RecordInfo < TencentCloud::Common::AbstractModel # @param Id: 记录 ID 。 # @type Id: Integer # @param SubDomain: 子域名(主机记录)。 # @type SubDomain: String # @param RecordType: 记录类型, 详见 DescribeRecordType 接口。 # @type RecordType: String # @param RecordLine: 解析记录的线路,详见 DescribeRecordLineList 接口。 # @type RecordLine: String # @param RecordLineId: 解析记录的线路 ID ,详见 DescribeRecordLineList 接口。 # @type RecordLineId: String # @param Value: 记录值。 # @type Value: String # @param Weight: 记录权重值。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Weight: Integer # @param MX: 记录的 MX 记录值,非 MX 记录类型,默认为 0。 # @type MX: Integer # @param TTL: 记录的 TTL 值。 # @type TTL: Integer # @param Enabled: 记录状态。0表示禁用,1表示启用。 # @type Enabled: Integer # @param MonitorStatus: 该记录的 D 监控状态。 # "Ok" : 服务器正常。 # "Warn" : 该记录有报警, 服务器返回 4XX。 # "Down" : 服务器宕机。 # "" : 该记录未开启 D 监控。 # @type MonitorStatus: String # @param Remark: 记录的备注。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Remark: String # @param UpdatedOn: 记录最后更新时间。 # @type UpdatedOn: String # @param DomainId: 域名 ID 。 # @type DomainId: Integer attr_accessor :Id, :SubDomain, :RecordType, :RecordLine, :RecordLineId, :Value, :Weight, :MX, :TTL, :Enabled, :MonitorStatus, :Remark, :UpdatedOn, :DomainId def initialize(id=nil, subdomain=nil, recordtype=nil, recordline=nil, recordlineid=nil, value=nil, weight=nil, mx=nil, ttl=nil, enabled=nil, monitorstatus=nil, remark=nil, updatedon=nil, domainid=nil) @Id = id @SubDomain = subdomain @RecordType = recordtype @RecordLine = recordline @RecordLineId = recordlineid @Value = value @Weight = weight @MX = mx @TTL = ttl @Enabled = enabled @MonitorStatus = monitorstatus @Remark = remark @UpdatedOn = updatedon @DomainId = domainid end def deserialize(params) @Id = params['Id'] @SubDomain = params['SubDomain'] @RecordType = params['RecordType'] @RecordLine = params['RecordLine'] @RecordLineId = params['RecordLineId'] @Value = params['Value'] @Weight = params['Weight'] @MX = params['MX'] @TTL = params['TTL'] @Enabled = params['Enabled'] @MonitorStatus = params['MonitorStatus'] @Remark = params['Remark'] @UpdatedOn = params['UpdatedOn'] @DomainId = params['DomainId'] end end # 记录列表元素 class RecordListItem < TencentCloud::Common::AbstractModel # @param RecordId: 记录Id # @type RecordId: Integer # @param Value: 记录值 # @type Value: String # @param Status: 记录状态,启用:ENABLE,暂停:DISABLE # @type Status: String # @param UpdatedOn: 更新时间 # @type UpdatedOn: String # @param Name: 主机名 # @type Name: String # @param Line: 记录线路 # @type Line: String # @param LineId: 线路Id # @type LineId: String # @param Type: 记录类型 # @type Type: String # @param Weight: 记录权重,用于负载均衡记录 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Weight: Integer # @param MonitorStatus: 记录监控状态,正常:OK,告警:WARN,宕机:DOWN,未设置监控或监控暂停则为空 # @type MonitorStatus: String # @param Remark: 记录备注说明 # @type Remark: String # @param TTL: 记录缓存时间 # @type TTL: Integer # @param MX: MX值,只有MX记录有 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MX: Integer # @param DefaultNS: 是否是默认的ns记录 # @type DefaultNS: Boolean attr_accessor :RecordId, :Value, :Status, :UpdatedOn, :Name, :Line, :LineId, :Type, :Weight, :MonitorStatus, :Remark, :TTL, :MX, :DefaultNS def initialize(recordid=nil, value=nil, status=nil, updatedon=nil, name=nil, line=nil, lineid=nil, type=nil, weight=nil, monitorstatus=nil, remark=nil, ttl=nil, mx=nil, defaultns=nil) @RecordId = recordid @Value = value @Status = status @UpdatedOn = updatedon @Name = name @Line = line @LineId = lineid @Type = type @Weight = weight @MonitorStatus = monitorstatus @Remark = remark @TTL = ttl @MX = mx @DefaultNS = defaultns end def deserialize(params) @RecordId = params['RecordId'] @Value = params['Value'] @Status = params['Status'] @UpdatedOn = params['UpdatedOn'] @Name = params['Name'] @Line = params['Line'] @LineId = params['LineId'] @Type = params['Type'] @Weight = params['Weight'] @MonitorStatus = params['MonitorStatus'] @Remark = params['Remark'] @TTL = params['TTL'] @MX = params['MX'] @DefaultNS = params['DefaultNS'] end end # RollbackRecordSnapshot请求参数结构体 class RollbackRecordSnapshotRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param SnapshotId: 快照 ID # @type SnapshotId: String # @param RecordList: 解析记录信息 # @type RecordList: Array # @param TaskId: 之前的快照回滚任务 ID # @type TaskId: Integer # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer attr_accessor :Domain, :SnapshotId, :RecordList, :TaskId, :DomainId def initialize(domain=nil, snapshotid=nil, recordlist=nil, taskid=nil, domainid=nil) @Domain = domain @SnapshotId = snapshotid @RecordList = recordlist @TaskId = taskid @DomainId = domainid end def deserialize(params) @Domain = params['Domain'] @SnapshotId = params['SnapshotId'] unless params['RecordList'].nil? @RecordList = [] params['RecordList'].each do |i| snapshotrecord_tmp = SnapshotRecord.new snapshotrecord_tmp.deserialize(i) @RecordList << snapshotrecord_tmp end end @TaskId = params['TaskId'] @DomainId = params['DomainId'] end end # RollbackRecordSnapshot返回参数结构体 class RollbackRecordSnapshotResponse < TencentCloud::Common::AbstractModel # @param JobId: 回滚任务 ID # @type JobId: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :JobId, :RequestId def initialize(jobid=nil, requestid=nil) @JobId = jobid @RequestId = requestid end def deserialize(params) @JobId = params['JobId'] @RequestId = params['RequestId'] end end # RollbackSnapshot请求参数结构体 class RollbackSnapshotRequest < TencentCloud::Common::AbstractModel # @param Domain: 域名 # @type Domain: String # @param SnapshotId: 快照记录 ID # @type SnapshotId: String # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。 # @type DomainId: Integer # @param RecordList: 指定需要回滚的记录 # @type RecordList: Array attr_accessor :Domain, :SnapshotId, :DomainId, :RecordList def initialize(domain=nil, snapshotid=nil, domainid=nil, recordlist=nil) @Domain = domain @SnapshotId = snapshotid @DomainId = domainid @RecordList = recordlist end def deserialize(params) @Domain = params['Domain'] @SnapshotId = params['SnapshotId'] @DomainId = params['DomainId'] unless params['RecordList'].nil? @RecordList = [] params['RecordList'].each do |i| snapshotrecord_tmp = SnapshotRecord.new snapshotrecord_tmp.deserialize(i) @RecordList << snapshotrecord_tmp end end end end # RollbackSnapshot返回参数结构体 class RollbackSnapshotResponse < TencentCloud::Common::AbstractModel # @param TaskId: 回滚任务 ID,用来查询回滚状态 # @type TaskId: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TaskId, :RequestId def initialize(taskid=nil, requestid=nil) @TaskId = taskid @RequestId = requestid end def deserialize(params) @TaskId = params['TaskId'] @RequestId = params['RequestId'] end end # 域名解析快照配置 class SnapshotConfig < TencentCloud::Common::AbstractModel # @param Config: 配置类型:空字符串-不备份,half_hour-每半小时,hourly-每小时,daily-每天,monthly-每月 # @type Config: String # @param CreatedOn: 添加时间 # @type CreatedOn: String # @param DomainId: 所属域名 ID # @type DomainId: String # @param Id: 配置 ID # @type Id: String # @param SnapshotCount: 快照数量 # @type SnapshotCount: Integer # @param Status: 状态:enable-启用,disable-禁用 # @type Status: String # @param UpdatedOn: 更新时间 # @type UpdatedOn: String attr_accessor :Config, :CreatedOn, :DomainId, :Id, :SnapshotCount, :Status, :UpdatedOn def initialize(config=nil, createdon=nil, domainid=nil, id=nil, snapshotcount=nil, status=nil, updatedon=nil) @Config = config @CreatedOn = createdon @DomainId = domainid @Id = id @SnapshotCount = snapshotcount @Status = status @UpdatedOn = updatedon end def deserialize(params) @Config = params['Config'] @CreatedOn = params['CreatedOn'] @DomainId = params['DomainId'] @Id = params['Id'] @SnapshotCount = params['SnapshotCount'] @Status = params['Status'] @UpdatedOn = params['UpdatedOn'] end end # 快照信息 class SnapshotInfo < TencentCloud::Common::AbstractModel # @param CosUrl: 快照的对象存储地址 # @type CosUrl: String # @param CreatedOn: 添加时间 # @type CreatedOn: String # @param Domain: 所属域名 # @type Domain: String # @param Id: 快照记录 ID # @type Id: String # @param RecordCount: 域名解析记录数 # @type RecordCount: String # @param Status: 状态:normal-正常,create-备份中 # @type Status: String attr_accessor :CosUrl, :CreatedOn, :Domain, :Id, :RecordCount, :Status def initialize(cosurl=nil, createdon=nil, domain=nil, id=nil, recordcount=nil, status=nil) @CosUrl = cosurl @CreatedOn = createdon @Domain = domain @Id = id @RecordCount = recordcount @Status = status end def deserialize(params) @CosUrl = params['CosUrl'] @CreatedOn = params['CreatedOn'] @Domain = params['Domain'] @Id = params['Id'] @RecordCount = params['RecordCount'] @Status = params['Status'] end end # 快照列表分页信息 class SnapshotPageInfo < TencentCloud::Common::AbstractModel # @param Total: 快照总数 # @type Total: Integer attr_accessor :Total def initialize(total=nil) @Total = total end def deserialize(params) @Total = params['Total'] end end # 快照解析记录 class SnapshotRecord < TencentCloud::Common::AbstractModel # @param SubDomain: 子域名 # @type SubDomain: String # @param RecordType: 记录类型 # @type RecordType: String # @param RecordLine: 解析线路 # @type RecordLine: String # @param Value: 解析值 # @type Value: String # @param TTL: TTL(秒) # @type TTL: String # @param RecordId: 解析记录 ID # @type RecordId: String # @param MX: MX优先级 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MX: String # @param Weight: 权重 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Weight: String # @param Reason: 失败原因 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Reason: String attr_accessor :SubDomain, :RecordType, :RecordLine, :Value, :TTL, :RecordId, :MX, :Weight, :Reason def initialize(subdomain=nil, recordtype=nil, recordline=nil, value=nil, ttl=nil, recordid=nil, mx=nil, weight=nil, reason=nil) @SubDomain = subdomain @RecordType = recordtype @RecordLine = recordline @Value = value @TTL = ttl @RecordId = recordid @MX = mx @Weight = weight @Reason = reason end def deserialize(params) @SubDomain = params['SubDomain'] @RecordType = params['RecordType'] @RecordLine = params['RecordLine'] @Value = params['Value'] @TTL = params['TTL'] @RecordId = params['RecordId'] @MX = params['MX'] @Weight = params['Weight'] @Reason = params['Reason'] end end # 子域名别名解析量统计信息 class SubdomainAliasAnalyticsItem < TencentCloud::Common::AbstractModel # @param Info: 子域名解析量统计查询信息 # @type Info: :class:`Tencentcloud::Dnspod.v20210323.models.SubdomainAnalyticsInfo` # @param Data: 当前统计维度解析量小计 # @type Data: Array attr_accessor :Info, :Data def initialize(info=nil, data=nil) @Info = info @Data = data end def deserialize(params) unless params['Info'].nil? @Info = SubdomainAnalyticsInfo.new @Info.deserialize(params['Info']) end unless params['Data'].nil? @Data = [] params['Data'].each do |i| domainanalyticsdetail_tmp = DomainAnalyticsDetail.new domainanalyticsdetail_tmp.deserialize(i) @Data << domainanalyticsdetail_tmp end end end end # 子域名解析量统计查询信息 class SubdomainAnalyticsInfo < TencentCloud::Common::AbstractModel # @param DnsFormat: DATE:按天维度统计 HOUR:按小时维度统计 # @type DnsFormat: String # @param DnsTotal: 当前统计周期解析量总计 # @type DnsTotal: Integer # @param Domain: 当前查询的域名 # @type Domain: String # @param StartDate: 当前统计周期开始时间 # @type StartDate: String # @param EndDate: 当前统计周期结束时间 # @type EndDate: String # @param Subdomain: 当前统计的子域名 # @type Subdomain: String attr_accessor :DnsFormat, :DnsTotal, :Domain, :StartDate, :EndDate, :Subdomain def initialize(dnsformat=nil, dnstotal=nil, domain=nil, startdate=nil, enddate=nil, subdomain=nil) @DnsFormat = dnsformat @DnsTotal = dnstotal @Domain = domain @StartDate = startdate @EndDate = enddate @Subdomain = subdomain end def deserialize(params) @DnsFormat = params['DnsFormat'] @DnsTotal = params['DnsTotal'] @Domain = params['Domain'] @StartDate = params['StartDate'] @EndDate = params['EndDate'] @Subdomain = params['Subdomain'] end end # 标签项 class TagItem < TencentCloud::Common::AbstractModel # @param TagKey: 标签键 # @type TagKey: String # @param TagValue: 标签值 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TagValue: String attr_accessor :TagKey, :TagValue def initialize(tagkey=nil, tagvalue=nil) @TagKey = tagkey @TagValue = tagvalue end def deserialize(params) @TagKey = params['TagKey'] @TagValue = params['TagValue'] end end # 标签过滤条件 class TagItemFilter < TencentCloud::Common::AbstractModel # @param TagKey: 标签键 # @type TagKey: String # @param TagValue: 标签键 # @type TagValue: Array attr_accessor :TagKey, :TagValue def initialize(tagkey=nil, tagvalue=nil) @TagKey = tagkey @TagValue = tagvalue end def deserialize(params) @TagKey = params['TagKey'] @TagValue = params['TagValue'] end end # 用户信息 class UserInfo < TencentCloud::Common::AbstractModel # @param Nick: 用户昵称 # @type Nick: String # @param Id: 用户ID # @type Id: Integer # @param Email: 用户账号, 邮箱格式 # @type Email: String # @param Status: 账号状态:”enabled”: 正常;”disabled”: 被封禁 # @type Status: String # @param Telephone: 电话号码 # @type Telephone: String # @param EmailVerified: 邮箱是否通过验证:”yes”: 通过;”no”: 未通过 # @type EmailVerified: String # @param TelephoneVerified: 手机是否通过验证:”yes”: 通过;”no”: 未通过 # @type TelephoneVerified: String # @param UserGrade: 账号等级, 按照用户账号下域名等级排序, 选取一个最高等级为账号等级, 具体对应情况参见域名等级。 # @type UserGrade: String # @param RealName: 用户名称, 企业用户对应为公司名称 # @type RealName: String # @param WechatBinded: 是否绑定微信:”yes”: 通过;”no”: 未通过 # @type WechatBinded: String # @param Uin: 用户UIN # @type Uin: Integer # @param FreeNs: 所属 DNS 服务器 # @type FreeNs: Array attr_accessor :Nick, :Id, :Email, :Status, :Telephone, :EmailVerified, :TelephoneVerified, :UserGrade, :RealName, :WechatBinded, :Uin, :FreeNs def initialize(nick=nil, id=nil, email=nil, status=nil, telephone=nil, emailverified=nil, telephoneverified=nil, usergrade=nil, realname=nil, wechatbinded=nil, uin=nil, freens=nil) @Nick = nick @Id = id @Email = email @Status = status @Telephone = telephone @EmailVerified = emailverified @TelephoneVerified = telephoneverified @UserGrade = usergrade @RealName = realname @WechatBinded = wechatbinded @Uin = uin @FreeNs = freens end def deserialize(params) @Nick = params['Nick'] @Id = params['Id'] @Email = params['Email'] @Status = params['Status'] @Telephone = params['Telephone'] @EmailVerified = params['EmailVerified'] @TelephoneVerified = params['TelephoneVerified'] @UserGrade = params['UserGrade'] @RealName = params['RealName'] @WechatBinded = params['WechatBinded'] @Uin = params['Uin'] @FreeNs = params['FreeNs'] end end # 域名增值服务用量 class VASStatisticItem < TencentCloud::Common::AbstractModel # @param Name: 增值服务名称 # @type Name: String # @param Key: 增值服务标识 # @type Key: String # @param LimitCount: 增值服务最大用量 # @type LimitCount: Integer # @param UseCount: 增值服务已使用的用量 # @type UseCount: Integer attr_accessor :Name, :Key, :LimitCount, :UseCount def initialize(name=nil, key=nil, limitcount=nil, usecount=nil) @Name = name @Key = key @LimitCount = limitcount @UseCount = usecount end def deserialize(params) @Name = params['Name'] @Key = params['Key'] @LimitCount = params['LimitCount'] @UseCount = params['UseCount'] end end # Whois联系信息 class WhoisContact < TencentCloud::Common::AbstractModel # @param Admin: 无 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Admin: :class:`Tencentcloud::Dnspod.v20210323.models.WhoisContactAddress` # @param Billing: 无 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Billing: :class:`Tencentcloud::Dnspod.v20210323.models.WhoisContactAddress` # @param Registrant: 无 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Registrant: :class:`Tencentcloud::Dnspod.v20210323.models.WhoisContactAddress` # @param Tech: 无 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Tech: :class:`Tencentcloud::Dnspod.v20210323.models.WhoisContactAddress` attr_accessor :Admin, :Billing, :Registrant, :Tech def initialize(admin=nil, billing=nil, registrant=nil, tech=nil) @Admin = admin @Billing = billing @Registrant = registrant @Tech = tech end def deserialize(params) unless params['Admin'].nil? @Admin = WhoisContactAddress.new @Admin.deserialize(params['Admin']) end unless params['Billing'].nil? @Billing = WhoisContactAddress.new @Billing.deserialize(params['Billing']) end unless params['Registrant'].nil? @Registrant = WhoisContactAddress.new @Registrant.deserialize(params['Registrant']) end unless params['Tech'].nil? @Tech = WhoisContactAddress.new @Tech.deserialize(params['Tech']) end end end # Whois联系信息地址 class WhoisContactAddress < TencentCloud::Common::AbstractModel # @param City: 无 # 注意:此字段可能返回 null,表示取不到有效值。 # @type City: String # @param Country: 无 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Country: String # @param Email: 无 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Email: String # @param Fax: 无 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Fax: String # @param FaxExt: 无 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FaxExt: String # @param Handle: 无 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Handle: String # @param Name: 无 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Name: String # @param Organization: 无 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Organization: String # @param Phone: 无 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Phone: String # @param PostalCode: 无 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PostalCode: String # @param State: 无 # 注意:此字段可能返回 null,表示取不到有效值。 # @type State: String # @param Street: 无 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Street: String attr_accessor :City, :Country, :Email, :Fax, :FaxExt, :Handle, :Name, :Organization, :Phone, :PostalCode, :State, :Street def initialize(city=nil, country=nil, email=nil, fax=nil, faxext=nil, handle=nil, name=nil, organization=nil, phone=nil, postalcode=nil, state=nil, street=nil) @City = city @Country = country @Email = email @Fax = fax @FaxExt = faxext @Handle = handle @Name = name @Organization = organization @Phone = phone @PostalCode = postalcode @State = state @Street = street end def deserialize(params) @City = params['City'] @Country = params['Country'] @Email = params['Email'] @Fax = params['Fax'] @FaxExt = params['FaxExt'] @Handle = params['Handle'] @Name = params['Name'] @Organization = params['Organization'] @Phone = params['Phone'] @PostalCode = params['PostalCode'] @State = params['State'] @Street = params['Street'] end end # Whois信息 class WhoisInfo < TencentCloud::Common::AbstractModel # @param Contacts: 联系信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Contacts: :class:`Tencentcloud::Dnspod.v20210323.models.WhoisContact` # @param CreationDate: 域名注册时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CreationDate: String # @param ExpirationDate: 域名到期时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ExpirationDate: String # @param IsQcloud: 是否是在腾讯云注册的域名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IsQcloud: Boolean # @param IsQcloudOwner: 是否当前操作账号注册的域名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IsQcloudOwner: Boolean # @param NameServers: 域名配置的NS # 注意:此字段可能返回 null,表示取不到有效值。 # @type NameServers: Array # @param Raw: Whois原始信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Raw: Array # @param Registrar: 域名注册商 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Registrar: Array # @param Status: 状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: Array # @param UpdatedDate: 更新日期 # 注意:此字段可能返回 null,表示取不到有效值。 # @type UpdatedDate: String # @param Dnssec: dnssec # 注意:此字段可能返回 null,表示取不到有效值。 # @type Dnssec: String attr_accessor :Contacts, :CreationDate, :ExpirationDate, :IsQcloud, :IsQcloudOwner, :NameServers, :Raw, :Registrar, :Status, :UpdatedDate, :Dnssec def initialize(contacts=nil, creationdate=nil, expirationdate=nil, isqcloud=nil, isqcloudowner=nil, nameservers=nil, raw=nil, registrar=nil, status=nil, updateddate=nil, dnssec=nil) @Contacts = contacts @CreationDate = creationdate @ExpirationDate = expirationdate @IsQcloud = isqcloud @IsQcloudOwner = isqcloudowner @NameServers = nameservers @Raw = raw @Registrar = registrar @Status = status @UpdatedDate = updateddate @Dnssec = dnssec end def deserialize(params) unless params['Contacts'].nil? @Contacts = WhoisContact.new @Contacts.deserialize(params['Contacts']) end @CreationDate = params['CreationDate'] @ExpirationDate = params['ExpirationDate'] @IsQcloud = params['IsQcloud'] @IsQcloudOwner = params['IsQcloudOwner'] @NameServers = params['NameServers'] @Raw = params['Raw'] @Registrar = params['Registrar'] @Status = params['Status'] @UpdatedDate = params['UpdatedDate'] @Dnssec = params['Dnssec'] end end end end end