Class: TencentCloud::Cfg::V20210820::DescribeTaskResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfg::V20210820::DescribeTaskResponse
- Defined in:
- lib/v20210820/models.rb
Overview
DescribeTask返回参数结构体
Instance Attribute Summary collapse
-
#ReportInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Task ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(task = nil, reportinfo = nil, requestid = nil) ⇒ DescribeTaskResponse
constructor
A new instance of DescribeTaskResponse.
Constructor Details
#initialize(task = nil, reportinfo = nil, requestid = nil) ⇒ DescribeTaskResponse
Returns a new instance of DescribeTaskResponse.
961 962 963 964 965 |
# File 'lib/v20210820/models.rb', line 961 def initialize(task=nil, reportinfo=nil, requestid=nil) @Task = task @ReportInfo = reportinfo @RequestId = requestid end |
Instance Attribute Details
#ReportInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
959 960 961 |
# File 'lib/v20210820/models.rb', line 959 def ReportInfo @ReportInfo end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
959 960 961 |
# File 'lib/v20210820/models.rb', line 959 def RequestId @RequestId end |
#Task ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
959 960 961 |
# File 'lib/v20210820/models.rb', line 959 def Task @Task end |
Instance Method Details
#deserialize(params) ⇒ Object
967 968 969 970 971 972 973 974 975 976 977 |
# File 'lib/v20210820/models.rb', line 967 def deserialize(params) unless params['Task'].nil? @Task = Task.new @Task.deserialize(params['Task']) end unless params['ReportInfo'].nil? @ReportInfo = TaskReportInfo.new @ReportInfo.deserialize(params['ReportInfo']) end @RequestId = params['RequestId'] end |