Class: TencentCloud::Weilingwith::V20230427::AlarmTypeInfo

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

Overview

告警类型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, subtype = nil) ⇒ AlarmTypeInfo

Returns a new instance of AlarmTypeInfo.



483
484
485
486
# File 'lib/v20230427/models.rb', line 483

def initialize(type=nil, subtype=nil)
  @Type = type
  @SubType = subtype
end

Instance Attribute Details

#SubTypeObject

Parameters:

  • Type:

    告警父类型

  • SubType:

    告警子类型(如果传告警子类型,则必传父类型)



481
482
483
# File 'lib/v20230427/models.rb', line 481

def SubType
  @SubType
end

#TypeObject

Parameters:

  • Type:

    告警父类型

  • SubType:

    告警子类型(如果传告警子类型,则必传父类型)



481
482
483
# File 'lib/v20230427/models.rb', line 481

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



488
489
490
491
# File 'lib/v20230427/models.rb', line 488

def deserialize(params)
  @Type = params['Type']
  @SubType = params['SubType']
end