Class: TencentCloud::Cls::V20201016::DescribeShippersResponse

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

Overview

DescribeShippers返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(shippers = nil, totalcount = nil, requestid = nil) ⇒ DescribeShippersResponse

Returns a new instance of DescribeShippersResponse.



9896
9897
9898
9899
9900
# File 'lib/v20201016/models.rb', line 9896

def initialize(shippers=nil, totalcount=nil, requestid=nil)
  @Shippers = shippers
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#RequestId ⇒ Object

Parameters:

  • Shippers: —

    投递规则列表

  • TotalCount: —

    本次查询获取到的总数

  • RequestId: —

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



9894
9895
9896
# File 'lib/v20201016/models.rb', line 9894

def RequestId
  @RequestId
end

#Shippers ⇒ Object

Parameters:

  • Shippers: —

    投递规则列表

  • TotalCount: —

    本次查询获取到的总数

  • RequestId: —

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



9894
9895
9896
# File 'lib/v20201016/models.rb', line 9894

def Shippers
  @Shippers
end

#TotalCount ⇒ Object

Parameters:

  • Shippers: —

    投递规则列表

  • TotalCount: —

    本次查询获取到的总数

  • RequestId: —

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



9894
9895
9896
# File 'lib/v20201016/models.rb', line 9894

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
# File 'lib/v20201016/models.rb', line 9902

def deserialize(params)
  unless params['Shippers'].nil?
    @Shippers = []
    params['Shippers'].each do |i|
      shipperinfo_tmp = ShipperInfo.new
      shipperinfo_tmp.deserialize(i)
      @Shippers << shipperinfo_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end