Class: TencentCloud::Cls::V20201016::DescribeShipperTasksResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::DescribeShipperTasksResponse
- Defined in:
- lib/v20201016/models.rb
Overview
DescribeShipperTasks返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Tasks ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tasks = nil, requestid = nil) ⇒ DescribeShipperTasksResponse
constructor
A new instance of DescribeShipperTasksResponse.
Constructor Details
#initialize(tasks = nil, requestid = nil) ⇒ DescribeShipperTasksResponse
Returns a new instance of DescribeShipperTasksResponse.
9819 9820 9821 9822 |
# File 'lib/v20201016/models.rb', line 9819 def initialize(tasks=nil, requestid=nil) @Tasks = tasks @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9817 9818 9819 |
# File 'lib/v20201016/models.rb', line 9817 def RequestId @RequestId end |
#Tasks ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9817 9818 9819 |
# File 'lib/v20201016/models.rb', line 9817 def Tasks @Tasks end |
Instance Method Details
#deserialize(params) ⇒ Object
9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 |
# File 'lib/v20201016/models.rb', line 9824 def deserialize(params) unless params['Tasks'].nil? @Tasks = [] params['Tasks'].each do |i| shippertaskinfo_tmp = ShipperTaskInfo.new shippertaskinfo_tmp.deserialize(i) @Tasks << shippertaskinfo_tmp end end @RequestId = params['RequestId'] end |