Class: TencentCloud::Cwp::V20180228::MachineTag

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(rid = nil, name = nil, tagid = nil) ⇒ MachineTag

Returns a new instance of MachineTag.



31741
31742
31743
31744
31745
# File 'lib/v20180228/models.rb', line 31741

def initialize(rid=nil, name=nil, tagid=nil)
  @Rid = rid
  @Name = name
  @TagId = tagid
end

Instance Attribute Details

#NameObject

Parameters:

  • Rid:

    关联标签ID

  • Name:

    标签名

  • TagId:

    标签ID



31739
31740
31741
# File 'lib/v20180228/models.rb', line 31739

def Name
  @Name
end

#RidObject

Parameters:

  • Rid:

    关联标签ID

  • Name:

    标签名

  • TagId:

    标签ID



31739
31740
31741
# File 'lib/v20180228/models.rb', line 31739

def Rid
  @Rid
end

#TagIdObject

Parameters:

  • Rid:

    关联标签ID

  • Name:

    标签名

  • TagId:

    标签ID



31739
31740
31741
# File 'lib/v20180228/models.rb', line 31739

def TagId
  @TagId
end

Instance Method Details

#deserialize(params) ⇒ Object



31747
31748
31749
31750
31751
# File 'lib/v20180228/models.rb', line 31747

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