Class: TencentCloud::Cls::V20201016::DescribeShippersResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::DescribeShippersResponse
- Defined in:
- lib/v20201016/models.rb
Overview
DescribeShippers返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(shippers = nil, totalcount = nil, requestid = nil) ⇒ DescribeShippersResponse
constructor
A new instance of DescribeShippersResponse.
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
9894 9895 9896 |
# File 'lib/v20201016/models.rb', line 9894 def RequestId @RequestId end |
#Shippers ⇒ Object
9894 9895 9896 |
# File 'lib/v20201016/models.rb', line 9894 def Shippers @Shippers end |
#TotalCount ⇒ Object
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 |