Class: TencentCloud::Csip::V20221121::NewAlertKey

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

Overview

该结构体用来传入告警的key,以更新告警的status

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(appid = nil, type = nil, subtype = nil, source = nil, name = nil, key = nil, date = nil, status = nil) ⇒ NewAlertKey

Returns a new instance of NewAlertKey.



10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
# File 'lib/v20221121/models.rb', line 10549

def initialize(appid=nil, type=nil, subtype=nil, source=nil, name=nil, key=nil, date=nil, status=nil)
  @AppId = appid
  @Type = type
  @SubType = subtype
  @Source = source
  @Name = name
  @Key = key
  @Date = date
  @Status = status
end

Instance Attribute Details

#AppIdObject

Parameters:

  • AppId:

    需要更改的用户appid

  • Type:

    告警类别

  • SubType:

    告警子类别

  • Source:

    告警来源

  • Name:

    告警名称

  • Key:

    告警key

  • Date:

    时间

  • Status:

    状态



10547
10548
10549
# File 'lib/v20221121/models.rb', line 10547

def AppId
  @AppId
end

#DateObject

Parameters:

  • AppId:

    需要更改的用户appid

  • Type:

    告警类别

  • SubType:

    告警子类别

  • Source:

    告警来源

  • Name:

    告警名称

  • Key:

    告警key

  • Date:

    时间

  • Status:

    状态



10547
10548
10549
# File 'lib/v20221121/models.rb', line 10547

def Date
  @Date
end

#KeyObject

Parameters:

  • AppId:

    需要更改的用户appid

  • Type:

    告警类别

  • SubType:

    告警子类别

  • Source:

    告警来源

  • Name:

    告警名称

  • Key:

    告警key

  • Date:

    时间

  • Status:

    状态



10547
10548
10549
# File 'lib/v20221121/models.rb', line 10547

def Key
  @Key
end

#NameObject

Parameters:

  • AppId:

    需要更改的用户appid

  • Type:

    告警类别

  • SubType:

    告警子类别

  • Source:

    告警来源

  • Name:

    告警名称

  • Key:

    告警key

  • Date:

    时间

  • Status:

    状态



10547
10548
10549
# File 'lib/v20221121/models.rb', line 10547

def Name
  @Name
end

#SourceObject

Parameters:

  • AppId:

    需要更改的用户appid

  • Type:

    告警类别

  • SubType:

    告警子类别

  • Source:

    告警来源

  • Name:

    告警名称

  • Key:

    告警key

  • Date:

    时间

  • Status:

    状态



10547
10548
10549
# File 'lib/v20221121/models.rb', line 10547

def Source
  @Source
end

#StatusObject

Parameters:

  • AppId:

    需要更改的用户appid

  • Type:

    告警类别

  • SubType:

    告警子类别

  • Source:

    告警来源

  • Name:

    告警名称

  • Key:

    告警key

  • Date:

    时间

  • Status:

    状态



10547
10548
10549
# File 'lib/v20221121/models.rb', line 10547

def Status
  @Status
end

#SubTypeObject

Parameters:

  • AppId:

    需要更改的用户appid

  • Type:

    告警类别

  • SubType:

    告警子类别

  • Source:

    告警来源

  • Name:

    告警名称

  • Key:

    告警key

  • Date:

    时间

  • Status:

    状态



10547
10548
10549
# File 'lib/v20221121/models.rb', line 10547

def SubType
  @SubType
end

#TypeObject

Parameters:

  • AppId:

    需要更改的用户appid

  • Type:

    告警类别

  • SubType:

    告警子类别

  • Source:

    告警来源

  • Name:

    告警名称

  • Key:

    告警key

  • Date:

    时间

  • Status:

    状态



10547
10548
10549
# File 'lib/v20221121/models.rb', line 10547

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
# File 'lib/v20221121/models.rb', line 10560

def deserialize(params)
  @AppId = params['AppId']
  @Type = params['Type']
  @SubType = params['SubType']
  @Source = params['Source']
  @Name = params['Name']
  @Key = params['Key']
  @Date = params['Date']
  @Status = params['Status']
end