Class: TencentCloud::Tcb::V20180608::DescribeWxGatewaysResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180608/models.rb

Overview

DescribeWxGateways返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#GatewaysObject

Parameters:

  • 返回的服务列表

  • 网关总数

  • 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6324
6325
6326
# File 'lib/v20180608/models.rb', line 6324

def Gateways
  @Gateways
end

#RequestIdObject

Parameters:

  • 返回的服务列表

  • 网关总数

  • 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6324
6325
6326
# File 'lib/v20180608/models.rb', line 6324

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • 返回的服务列表

  • 网关总数

  • 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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