Class: TencentCloud::Tcb::V20180608::DescribeWxGatewaysResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::DescribeWxGatewaysResponse
- Defined in:
- lib/v20180608/models.rb
Overview
DescribeWxGateways返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(gateways = nil, totalcount = nil, requestid = nil) ⇒ DescribeWxGatewaysResponse
constructor
A new instance of DescribeWxGatewaysResponse.
Constructor Details
#initialize(gateways = nil, totalcount = nil, requestid = nil) ⇒ DescribeWxGatewaysResponse
Returns a new instance of DescribeWxGatewaysResponse.
6326 6327 6328 6329 6330 |
# File 'lib/v20180608/models.rb', line 6326 def initialize(gateways=nil, totalcount=nil, requestid=nil) @Gateways = gateways @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Gateways ⇒ Object
6324 6325 6326 |
# File 'lib/v20180608/models.rb', line 6324 def Gateways @Gateways end |
#RequestId ⇒ Object
6324 6325 6326 |
# File 'lib/v20180608/models.rb', line 6324 def RequestId @RequestId end |
#TotalCount ⇒ Object
6324 6325 6326 |
# File 'lib/v20180608/models.rb', line 6324 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 |
# File 'lib/v20180608/models.rb', line 6332 def deserialize(params) unless params['Gateways'].nil? @Gateways = [] params['Gateways'].each do |i| gatewayitem_tmp = GatewayItem.new gatewayitem_tmp.deserialize(i) @Gateways << gatewayitem_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |