lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.637 vs lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.639
- old
+ new
@@ -11160,21 +11160,24 @@
end
end
# DescribeVpcEndPointServiceWhiteList返回参数结构体
class DescribeVpcEndPointServiceWhiteListResponse < TencentCloud::Common::AbstractModel
- # @param VpcEndpointServiceUserSet: 白名单对象数组。
+ # @param VpcEndpointServiceUserSet: 白名单对象数组。已废弃
# @type VpcEndpointServiceUserSet: Array
+ # @param VpcEndPointServiceUserSet: 白名单对象数组。
+ # @type VpcEndPointServiceUserSet: Array
# @param TotalCount: 符合条件的白名单个数。
# @type TotalCount: Integer
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
- attr_accessor :VpcEndpointServiceUserSet, :TotalCount, :RequestId
+ attr_accessor :VpcEndpointServiceUserSet, :VpcEndPointServiceUserSet, :TotalCount, :RequestId
- def initialize(vpcendpointserviceuserset=nil, totalcount=nil, requestid=nil)
+ def initialize(vpcendpointserviceuserset=nil, vpcendpointserviceuserset=nil, totalcount=nil, requestid=nil)
@VpcEndpointServiceUserSet = vpcendpointserviceuserset
+ @VpcEndPointServiceUserSet = vpcendpointserviceuserset
@TotalCount = totalcount
@RequestId = requestid
end
def deserialize(params)
@@ -11182,9 +11185,17 @@
@VpcEndpointServiceUserSet = []
params['VpcEndpointServiceUserSet'].each do |i|
vpcendpointserviceuser_tmp = VpcEndPointServiceUser.new
vpcendpointserviceuser_tmp.deserialize(i)
@VpcEndpointServiceUserSet << vpcendpointserviceuser_tmp
+ end
+ end
+ unless params['VpcEndPointServiceUserSet'].nil?
+ @VpcEndPointServiceUserSet = []
+ params['VpcEndPointServiceUserSet'].each do |i|
+ vpcendpointserviceuser_tmp = VpcEndPointServiceUser.new
+ vpcendpointserviceuser_tmp.deserialize(i)
+ @VpcEndPointServiceUserSet << vpcendpointserviceuser_tmp
end
end
@TotalCount = params['TotalCount']
@RequestId = params['RequestId']
end