Class: TencentCloud::Hasim::V20210716::ModifyTagRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210716/models.rb

Overview

ModifyTag请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, tagid = nil, comment = nil) ⇒ ModifyTagRequest

Returns a new instance of ModifyTagRequest.



1409
1410
1411
1412
1413
# File 'lib/v20210716/models.rb', line 1409

def initialize(name=nil, tagid=nil, comment=nil)
  @Name = name
  @TagID = tagid
  @Comment = comment
end

Instance Attribute Details

#CommentObject

Parameters:

  • Name:

    名称

  • TagID:

    标签ID

  • Comment:

    备注



1407
1408
1409
# File 'lib/v20210716/models.rb', line 1407

def Comment
  @Comment
end

#NameObject

Parameters:

  • Name:

    名称

  • TagID:

    标签ID

  • Comment:

    备注



1407
1408
1409
# File 'lib/v20210716/models.rb', line 1407

def Name
  @Name
end

#TagIDObject

Parameters:

  • Name:

    名称

  • TagID:

    标签ID

  • Comment:

    备注



1407
1408
1409
# File 'lib/v20210716/models.rb', line 1407

def TagID
  @TagID
end

Instance Method Details

#deserialize(params) ⇒ Object



1415
1416
1417
1418
1419
# File 'lib/v20210716/models.rb', line 1415

def deserialize(params)
  @Name = params['Name']
  @TagID = params['TagID']
  @Comment = params['Comment']
end