Class: TencentCloud::Ams::V20201229::CreateAudioModerationTaskResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ams::V20201229::CreateAudioModerationTaskResponse
- Defined in:
- lib/v20201229/models.rb
Overview
CreateAudioModerationTask返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Results ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(results = nil, requestid = nil) ⇒ CreateAudioModerationTaskResponse
constructor
A new instance of CreateAudioModerationTaskResponse.
Constructor Details
#initialize(results = nil, requestid = nil) ⇒ CreateAudioModerationTaskResponse
Returns a new instance of CreateAudioModerationTaskResponse.
632 633 634 635 |
# File 'lib/v20201229/models.rb', line 632 def initialize(results=nil, requestid=nil) @Results = results @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
630 631 632 |
# File 'lib/v20201229/models.rb', line 630 def RequestId @RequestId end |
#Results ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
630 631 632 |
# File 'lib/v20201229/models.rb', line 630 def Results @Results end |
Instance Method Details
#deserialize(params) ⇒ Object
637 638 639 640 641 642 643 644 645 646 647 |
# File 'lib/v20201229/models.rb', line 637 def deserialize(params) unless params['Results'].nil? @Results = [] params['Results'].each do |i| taskresult_tmp = TaskResult.new taskresult_tmp.deserialize(i) @Results << taskresult_tmp end end @RequestId = params['RequestId'] end |