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.



31290
31291
31292
31293
31294
# File 'lib/v20180228/models.rb', line 31290

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



31288
31289
31290
# File 'lib/v20180228/models.rb', line 31288

def Name
  @Name
end

#RidObject

Parameters:

  • Rid:

    关联标签ID

  • Name:

    标签名

  • TagId:

    标签ID



31288
31289
31290
# File 'lib/v20180228/models.rb', line 31288

def Rid
  @Rid
end

#TagIdObject

Parameters:

  • Rid:

    关联标签ID

  • Name:

    标签名

  • TagId:

    标签ID



31288
31289
31290
# File 'lib/v20180228/models.rb', line 31288

def TagId
  @TagId
end

Instance Method Details

#deserialize(params) ⇒ Object



31296
31297
31298
31299
31300
# File 'lib/v20180228/models.rb', line 31296

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