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.



459
460
461
462
# File 'lib/v20230427/models.rb', line 459

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

Instance Attribute Details

#SubTypeObject

Parameters:

  • Type:

    告警父类型

  • SubType:

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



457
458
459
# File 'lib/v20230427/models.rb', line 457

def SubType
  @SubType
end

#TypeObject

Parameters:

  • Type:

    告警父类型

  • SubType:

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



457
458
459
# File 'lib/v20230427/models.rb', line 457

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



464
465
466
467
# File 'lib/v20230427/models.rb', line 464

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