Class: TencentCloud::Monitor::V20180724::InstanceGroups

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

Overview

告警对象所属实例组

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, name = nil) ⇒ InstanceGroups

Returns a new instance of InstanceGroups.



10792
10793
10794
10795
# File 'lib/v20180724/models.rb', line 10792

def initialize(id=nil, name=nil)
  @Id = id
  @Name = name
end

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    实例组 Id

  • Name:

    实例组名称



10790
10791
10792
# File 'lib/v20180724/models.rb', line 10790

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    实例组 Id

  • Name:

    实例组名称



10790
10791
10792
# File 'lib/v20180724/models.rb', line 10790

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



10797
10798
10799
10800
# File 'lib/v20180724/models.rb', line 10797

def deserialize(params)
  @Id = params['Id']
  @Name = params['Name']
end