lib/v20201028/models.rb in tencentcloud-sdk-privatedns-3.0.721 vs lib/v20201028/models.rb in tencentcloud-sdk-privatedns-3.0.722

- old
+ new

@@ -106,17 +106,20 @@ # @type ZoneId: String # @param VpcSet: 本次新增的vpc信息 # @type VpcSet: Array # @param AccountVpcSet: 本次新增关联账户vpc信息 # @type AccountVpcSet: Array + # @param Sync: 是否为同步操作 + # @type Sync: Boolean - attr_accessor :ZoneId, :VpcSet, :AccountVpcSet + attr_accessor :ZoneId, :VpcSet, :AccountVpcSet, :Sync - def initialize(zoneid=nil, vpcset=nil, accountvpcset=nil) + def initialize(zoneid=nil, vpcset=nil, accountvpcset=nil, sync=nil) @ZoneId = zoneid @VpcSet = vpcset @AccountVpcSet = accountvpcset + @Sync = sync end def deserialize(params) @ZoneId = params['ZoneId'] unless params['VpcSet'].nil? @@ -133,10 +136,11 @@ accountvpcinfo_tmp = AccountVpcInfo.new accountvpcinfo_tmp.deserialize(i) @AccountVpcSet << accountvpcinfo_tmp end end + @Sync = params['Sync'] end end # AddSpecifyPrivateZoneVpc返回参数结构体 class AddSpecifyPrivateZoneVpcResponse < TencentCloud::Common::AbstractModel @@ -144,19 +148,23 @@ # @type ZoneId: String # @param VpcSet: 本次新增的vpc # @type VpcSet: Array # @param AccountVpcSet: 本次新增的关联账号vpc # @type AccountVpcSet: Array + # @param UniqId: 唯一id + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type UniqId: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :ZoneId, :VpcSet, :AccountVpcSet, :RequestId + attr_accessor :ZoneId, :VpcSet, :AccountVpcSet, :UniqId, :RequestId - def initialize(zoneid=nil, vpcset=nil, accountvpcset=nil, requestid=nil) + def initialize(zoneid=nil, vpcset=nil, accountvpcset=nil, uniqid=nil, requestid=nil) @ZoneId = zoneid @VpcSet = vpcset @AccountVpcSet = accountvpcset + @UniqId = uniqid @RequestId = requestid end def deserialize(params) @ZoneId = params['ZoneId'] @@ -174,10 +182,11 @@ accountvpcinfo_tmp = AccountVpcInfo.new accountvpcinfo_tmp.deserialize(i) @AccountVpcSet << accountvpcinfo_tmp end end + @UniqId = params['UniqId'] @RequestId = params['RequestId'] end end # 操作日志 @@ -599,17 +608,20 @@ # @type ZoneId: String # @param VpcSet: 本次删除的VPC # @type VpcSet: Array # @param AccountVpcSet: 本次删除的关联账户VPC # @type AccountVpcSet: Array + # @param Sync: 是否为同步操作 + # @type Sync: Boolean - attr_accessor :ZoneId, :VpcSet, :AccountVpcSet + attr_accessor :ZoneId, :VpcSet, :AccountVpcSet, :Sync - def initialize(zoneid=nil, vpcset=nil, accountvpcset=nil) + def initialize(zoneid=nil, vpcset=nil, accountvpcset=nil, sync=nil) @ZoneId = zoneid @VpcSet = vpcset @AccountVpcSet = accountvpcset + @Sync = sync end def deserialize(params) @ZoneId = params['ZoneId'] unless params['VpcSet'].nil? @@ -626,10 +638,11 @@ accountvpcinfo_tmp = AccountVpcInfo.new accountvpcinfo_tmp.deserialize(i) @AccountVpcSet << accountvpcinfo_tmp end end + @Sync = params['Sync'] end end # DeleteSpecifyPrivateZoneVpc返回参数结构体 class DeleteSpecifyPrivateZoneVpcResponse < TencentCloud::Common::AbstractModel @@ -637,19 +650,23 @@ # @type ZoneId: String # @param VpcSet: 本次删除的VPC # @type VpcSet: Array # @param AccountVpcSet: 本次删除的关联账户的VPC # @type AccountVpcSet: Array + # @param UniqId: 唯一id + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type UniqId: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :ZoneId, :VpcSet, :AccountVpcSet, :RequestId + attr_accessor :ZoneId, :VpcSet, :AccountVpcSet, :UniqId, :RequestId - def initialize(zoneid=nil, vpcset=nil, accountvpcset=nil, requestid=nil) + def initialize(zoneid=nil, vpcset=nil, accountvpcset=nil, uniqid=nil, requestid=nil) @ZoneId = zoneid @VpcSet = vpcset @AccountVpcSet = accountvpcset + @UniqId = uniqid @RequestId = requestid end def deserialize(params) @ZoneId = params['ZoneId'] @@ -667,9 +684,10 @@ accountvpcinfo_tmp = AccountVpcInfo.new accountvpcinfo_tmp.deserialize(i) @AccountVpcSet << accountvpcinfo_tmp end end + @UniqId = params['UniqId'] @RequestId = params['RequestId'] end end # DescribeAccountVpcList请求参数结构体