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.
5610 5611 5612 5613 5614 |
# File 'lib/v20180608/models.rb', line 5610 def initialize(gateways=nil, totalcount=nil, requestid=nil) @Gateways = gateways @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Gateways ⇒ Object
5608 5609 5610 |
# File 'lib/v20180608/models.rb', line 5608 def Gateways @Gateways end |
#RequestId ⇒ Object
5608 5609 5610 |
# File 'lib/v20180608/models.rb', line 5608 def RequestId @RequestId end |
#TotalCount ⇒ Object
5608 5609 5610 |
# File 'lib/v20180608/models.rb', line 5608 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 |
# File 'lib/v20180608/models.rb', line 5616 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 |