Class: TencentCloud::Cls::V20201016::DescribeCosRechargesRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201016/models.rb

Overview

DescribeCosRecharges请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topicid = nil, status = nil, enable = nil) ⇒ DescribeCosRechargesRequest

Returns a new instance of DescribeCosRechargesRequest.



7762
7763
7764
7765
7766
# File 'lib/v20201016/models.rb', line 7762

def initialize(topicid=nil, status=nil, enable=nil)
  @TopicId = topicid
  @Status = status
  @Enable = enable
end

Instance Attribute Details

#Enable ⇒ Object

Parameters:

  • TopicId: —

    日志主题Id。

  • Status: —

    状态 status 0: 已创建, 1: 运行中, 2: 已停止, 3: 已完成, 4: 运行失败。

  • Enable: —

    是否启用: 0: 未启用 , 1:启用



7760
7761
7762
# File 'lib/v20201016/models.rb', line 7760

def Enable
  @Enable
end

#Status ⇒ Object

Parameters:

  • TopicId: —

    日志主题Id。

  • Status: —

    状态 status 0: 已创建, 1: 运行中, 2: 已停止, 3: 已完成, 4: 运行失败。

  • Enable: —

    是否启用: 0: 未启用 , 1:启用



7760
7761
7762
# File 'lib/v20201016/models.rb', line 7760

def Status
  @Status
end

#TopicId ⇒ Object

Parameters:

  • TopicId: —

    日志主题Id。

  • Status: —

    状态 status 0: 已创建, 1: 运行中, 2: 已停止, 3: 已完成, 4: 运行失败。

  • Enable: —

    是否启用: 0: 未启用 , 1:启用



7760
7761
7762
# File 'lib/v20201016/models.rb', line 7760

def TopicId
  @TopicId
end

Instance Method Details

#deserialize(params) ⇒ Object



7768
7769
7770
7771
7772
# File 'lib/v20201016/models.rb', line 7768

def deserialize(params)
  @TopicId = params['TopicId']
  @Status = params['Status']
  @Enable = params['Enable']
end