lib/v20170312/models.rb in tencentcloud-sdk-vpc-1.0.358 vs lib/v20170312/models.rb in tencentcloud-sdk-vpc-1.0.359

- old
+ new

@@ -15318,21 +15318,27 @@ # @type SubnetSet: Array # @param IngressEntries: 网络ACl入站规则。 # @type IngressEntries: Array # @param EgressEntries: 网络ACL出站规则。 # @type EgressEntries: Array + # @param NetworkAclType: 网络ACL类型。三元组:'TRIPLE' 五元组:'QUINTUPLE' + # @type NetworkAclType: String + # @param TagSet: 标签键值对 + # @type TagSet: Array - attr_accessor :VpcId, :NetworkAclId, :NetworkAclName, :CreatedTime, :SubnetSet, :IngressEntries, :EgressEntries + attr_accessor :VpcId, :NetworkAclId, :NetworkAclName, :CreatedTime, :SubnetSet, :IngressEntries, :EgressEntries, :NetworkAclType, :TagSet - def initialize(vpcid=nil, networkaclid=nil, networkaclname=nil, createdtime=nil, subnetset=nil, ingressentries=nil, egressentries=nil) + def initialize(vpcid=nil, networkaclid=nil, networkaclname=nil, createdtime=nil, subnetset=nil, ingressentries=nil, egressentries=nil, networkacltype=nil, tagset=nil) @VpcId = vpcid @NetworkAclId = networkaclid @NetworkAclName = networkaclname @CreatedTime = createdtime @SubnetSet = subnetset @IngressEntries = ingressentries @EgressEntries = egressentries + @NetworkAclType = networkacltype + @TagSet = tagset end def deserialize(params) @VpcId = params['VpcId'] @NetworkAclId = params['NetworkAclId'] @@ -15358,9 +15364,18 @@ @EgressEntries = [] params['EgressEntries'].each do |i| networkaclentry_tmp = NetworkAclEntry.new networkaclentry_tmp.deserialize(i) @EgressEntries << networkaclentry_tmp + end + end + @NetworkAclType = params['NetworkAclType'] + unless params['TagSet'].nil? + @TagSet = [] + params['TagSet'].each do |i| + tag_tmp = Tag.new + tag_tmp.deserialize(i) + @TagSet << tag_tmp end end end end