Class: TencentCloud::Iotcloud::V20210408::TopicRuleInfo

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

Overview

规则详细信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rulename = nil, description = nil, createdat = nil, ruledisabled = nil, topicpattern = nil) ⇒ TopicRuleInfo

Returns a new instance of TopicRuleInfo.



4225
4226
4227
4228
4229
4230
4231
# File 'lib/v20210408/models.rb', line 4225

def initialize(rulename=nil, description=nil, createdat=nil, ruledisabled=nil, topicpattern=nil)
  @RuleName = rulename
  @Description = description
  @CreatedAt = createdat
  @RuleDisabled = ruledisabled
  @TopicPattern = topicpattern
end

Instance Attribute Details

#CreatedAtObject

Parameters:

  • RuleName:

    规则名称

  • Description:

    规则描述

  • CreatedAt:

    创建时间

  • RuleDisabled:

    不生效

  • TopicPattern:

    规则模式



4223
4224
4225
# File 'lib/v20210408/models.rb', line 4223

def CreatedAt
  @CreatedAt
end

#DescriptionObject

Parameters:

  • RuleName:

    规则名称

  • Description:

    规则描述

  • CreatedAt:

    创建时间

  • RuleDisabled:

    不生效

  • TopicPattern:

    规则模式



4223
4224
4225
# File 'lib/v20210408/models.rb', line 4223

def Description
  @Description
end

#RuleDisabledObject

Parameters:

  • RuleName:

    规则名称

  • Description:

    规则描述

  • CreatedAt:

    创建时间

  • RuleDisabled:

    不生效

  • TopicPattern:

    规则模式



4223
4224
4225
# File 'lib/v20210408/models.rb', line 4223

def RuleDisabled
  @RuleDisabled
end

#RuleNameObject

Parameters:

  • RuleName:

    规则名称

  • Description:

    规则描述

  • CreatedAt:

    创建时间

  • RuleDisabled:

    不生效

  • TopicPattern:

    规则模式



4223
4224
4225
# File 'lib/v20210408/models.rb', line 4223

def RuleName
  @RuleName
end

#TopicPatternObject

Parameters:

  • RuleName:

    规则名称

  • Description:

    规则描述

  • CreatedAt:

    创建时间

  • RuleDisabled:

    不生效

  • TopicPattern:

    规则模式



4223
4224
4225
# File 'lib/v20210408/models.rb', line 4223

def TopicPattern
  @TopicPattern
end

Instance Method Details

#deserialize(params) ⇒ Object



4233
4234
4235
4236
4237
4238
4239
# File 'lib/v20210408/models.rb', line 4233

def deserialize(params)
  @RuleName = params['RuleName']
  @Description = params['Description']
  @CreatedAt = params['CreatedAt']
  @RuleDisabled = params['RuleDisabled']
  @TopicPattern = params['TopicPattern']
end