Class: TencentCloud::Yunjing::V20180228::MachineTag

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



5173
5174
5175
5176
5177
# File 'lib/v20180228/models.rb', line 5173

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



5171
5172
5173
# File 'lib/v20180228/models.rb', line 5171

def Name
  @Name
end

#RidObject

Parameters:

  • Rid:

    关联标签ID

  • Name:

    标签名

  • TagId:

    标签ID



5171
5172
5173
# File 'lib/v20180228/models.rb', line 5171

def Rid
  @Rid
end

#TagIdObject

Parameters:

  • Rid:

    关联标签ID

  • Name:

    标签名

  • TagId:

    标签ID



5171
5172
5173
# File 'lib/v20180228/models.rb', line 5171

def TagId
  @TagId
end

Instance Method Details

#deserialize(params) ⇒ Object



5179
5180
5181
5182
5183
# File 'lib/v20180228/models.rb', line 5179

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