Class: TencentCloud::Cwp::V20180228::Tag

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

Overview

标签信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, name = nil, count = nil) ⇒ Tag

Returns a new instance of Tag.



39175
39176
39177
39178
39179
# File 'lib/v20180228/models.rb', line 39175

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

Instance Attribute Details

#CountObject

Parameters:

  • 标签ID

  • 标签名

  • 服务器数



39173
39174
39175
# File 'lib/v20180228/models.rb', line 39173

def Count
  @Count
end

#IdObject

Parameters:

  • 标签ID

  • 标签名

  • 服务器数



39173
39174
39175
# File 'lib/v20180228/models.rb', line 39173

def Id
  @Id
end

#NameObject

Parameters:

  • 标签ID

  • 标签名

  • 服务器数



39173
39174
39175
# File 'lib/v20180228/models.rb', line 39173

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



39181
39182
39183
39184
39185
# File 'lib/v20180228/models.rb', line 39181

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