Class: TencentCloud::Monitor::V20180724::Operator

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) ⇒ Operator

Returns a new instance of Operator.



12461
12462
12463
12464
# File 'lib/v20180724/models.rb', line 12461

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

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    运算符标识

  • Name:

    运算符展示名



12459
12460
12461
# File 'lib/v20180724/models.rb', line 12459

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    运算符标识

  • Name:

    运算符展示名



12459
12460
12461
# File 'lib/v20180724/models.rb', line 12459

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



12466
12467
12468
12469
# File 'lib/v20180724/models.rb', line 12466

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