Class: TencentCloud::Yunjing::V20180228::Tag

Inherits:
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.



6453
6454
6455
6456
6457
# File 'lib/v20180228/models.rb', line 6453

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

Instance Attribute Details

#CountObject

Parameters:

  • Id:

    标签ID

  • Name:

    标签名

  • Count:

    服务器数



6451
6452
6453
# File 'lib/v20180228/models.rb', line 6451

def Count
  @Count
end

#IdObject

Parameters:

  • Id:

    标签ID

  • Name:

    标签名

  • Count:

    服务器数



6451
6452
6453
# File 'lib/v20180228/models.rb', line 6451

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    标签ID

  • Name:

    标签名

  • Count:

    服务器数



6451
6452
6453
# File 'lib/v20180228/models.rb', line 6451

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



6459
6460
6461
6462
6463
# File 'lib/v20180228/models.rb', line 6459

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