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.



39613
39614
39615
39616
39617
# File 'lib/v20180228/models.rb', line 39613

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

Instance Attribute Details

#CountObject

Parameters:

  • Id:

    标签ID

  • Name:

    标签名

  • Count:

    服务器数



39611
39612
39613
# File 'lib/v20180228/models.rb', line 39611

def Count
  @Count
end

#IdObject

Parameters:

  • Id:

    标签ID

  • Name:

    标签名

  • Count:

    服务器数



39611
39612
39613
# File 'lib/v20180228/models.rb', line 39611

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    标签ID

  • Name:

    标签名

  • Count:

    服务器数



39611
39612
39613
# File 'lib/v20180228/models.rb', line 39611

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



39619
39620
39621
39622
39623
# File 'lib/v20180228/models.rb', line 39619

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