Class: TencentCloud::Live::V20180801::CreateAuditKeywordsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::CreateAuditKeywordsRequest
- Defined in:
- lib/v20180801/models.rb
Overview
CreateAuditKeywords请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(keywords = nil, libid = nil) ⇒ CreateAuditKeywordsRequest
constructor
A new instance of CreateAuditKeywordsRequest.
Constructor Details
#initialize(keywords = nil, libid = nil) ⇒ CreateAuditKeywordsRequest
Returns a new instance of CreateAuditKeywordsRequest.
2099 2100 2101 2102 |
# File 'lib/v20180801/models.rb', line 2099 def initialize(keywords=nil, libid=nil) @Keywords = keywords @LibId = libid end |
Instance Attribute Details
#Keywords ⇒ Object
2097 2098 2099 |
# File 'lib/v20180801/models.rb', line 2097 def Keywords @Keywords end |
#LibId ⇒ Object
2097 2098 2099 |
# File 'lib/v20180801/models.rb', line 2097 def LibId @LibId end |
Instance Method Details
#deserialize(params) ⇒ Object
2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 |
# File 'lib/v20180801/models.rb', line 2104 def deserialize(params) unless params['Keywords'].nil? @Keywords = [] params['Keywords'].each do |i| auditkeyword_tmp = AuditKeyword.new auditkeyword_tmp.deserialize(i) @Keywords << auditkeyword_tmp end end @LibId = params['LibId'] end |