Class: TencentCloud::Cls::V20201016::ModifySplunkDeliverRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::ModifySplunkDeliverRequest
- Defined in:
- lib/v20201016/models.rb
Overview
ModifySplunkDeliver请求参数结构体
Instance Attribute Summary collapse
- #Channel ⇒ Object
- #DSLFilter ⇒ Object
- #Enable ⇒ Object
- #HasServiceLog ⇒ Object
- #Index ⇒ Object
- #IndexAck ⇒ Object
- #MetadataInfo ⇒ Object
- #Name ⇒ Object
- #NetInfo ⇒ Object
- #Source ⇒ Object
- #SourceType ⇒ Object
- #TaskId ⇒ Object
- #TopicId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(taskid = nil, topicid = nil, name = nil, enable = nil, netinfo = nil, metadatainfo = nil, hasservicelog = nil, indexack = nil, source = nil, sourcetype = nil, index = nil, channel = nil, dslfilter = nil) ⇒ ModifySplunkDeliverRequest
constructor
A new instance of ModifySplunkDeliverRequest.
Constructor Details
#initialize(taskid = nil, topicid = nil, name = nil, enable = nil, netinfo = nil, metadatainfo = nil, hasservicelog = nil, indexack = nil, source = nil, sourcetype = nil, index = nil, channel = nil, dslfilter = nil) ⇒ ModifySplunkDeliverRequest
Returns a new instance of ModifySplunkDeliverRequest.
15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 |
# File 'lib/v20201016/models.rb', line 15255 def initialize(taskid=nil, topicid=nil, name=nil, enable=nil, netinfo=nil, =nil, hasservicelog=nil, indexack=nil, source=nil, sourcetype=nil, index=nil, channel=nil, dslfilter=nil) @TaskId = taskid @TopicId = topicid @Name = name @Enable = enable @NetInfo = netinfo @MetadataInfo = @HasServiceLog = hasservicelog @IndexAck = indexack @Source = source @SourceType = sourcetype @Index = index @Channel = channel @DSLFilter = dslfilter end |
Instance Attribute Details
#Channel ⇒ Object
15253 15254 15255 |
# File 'lib/v20201016/models.rb', line 15253 def Channel @Channel end |
#DSLFilter ⇒ Object
15253 15254 15255 |
# File 'lib/v20201016/models.rb', line 15253 def DSLFilter @DSLFilter end |
#Enable ⇒ Object
15253 15254 15255 |
# File 'lib/v20201016/models.rb', line 15253 def Enable @Enable end |
#HasServiceLog ⇒ Object
15253 15254 15255 |
# File 'lib/v20201016/models.rb', line 15253 def HasServiceLog @HasServiceLog end |
#Index ⇒ Object
15253 15254 15255 |
# File 'lib/v20201016/models.rb', line 15253 def Index @Index end |
#IndexAck ⇒ Object
15253 15254 15255 |
# File 'lib/v20201016/models.rb', line 15253 def IndexAck @IndexAck end |
#MetadataInfo ⇒ Object
15253 15254 15255 |
# File 'lib/v20201016/models.rb', line 15253 def MetadataInfo @MetadataInfo end |
#Name ⇒ Object
15253 15254 15255 |
# File 'lib/v20201016/models.rb', line 15253 def Name @Name end |
#NetInfo ⇒ Object
15253 15254 15255 |
# File 'lib/v20201016/models.rb', line 15253 def NetInfo @NetInfo end |
#Source ⇒ Object
15253 15254 15255 |
# File 'lib/v20201016/models.rb', line 15253 def Source @Source end |
#SourceType ⇒ Object
15253 15254 15255 |
# File 'lib/v20201016/models.rb', line 15253 def SourceType @SourceType end |
#TaskId ⇒ Object
15253 15254 15255 |
# File 'lib/v20201016/models.rb', line 15253 def TaskId @TaskId end |
#TopicId ⇒ Object
15253 15254 15255 |
# File 'lib/v20201016/models.rb', line 15253 def TopicId @TopicId end |
Instance Method Details
#deserialize(params) ⇒ Object
15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 |
# File 'lib/v20201016/models.rb', line 15271 def deserialize(params) @TaskId = params['TaskId'] @TopicId = params['TopicId'] @Name = params['Name'] @Enable = params['Enable'] unless params['NetInfo'].nil? @NetInfo = NetInfo.new @NetInfo.deserialize(params['NetInfo']) end unless params['MetadataInfo'].nil? @MetadataInfo = MetadataInfo.new @MetadataInfo.deserialize(params['MetadataInfo']) end @HasServiceLog = params['HasServiceLog'] @IndexAck = params['IndexAck'] @Source = params['Source'] @SourceType = params['SourceType'] @Index = params['Index'] @Channel = params['Channel'] @DSLFilter = params['DSLFilter'] end |