Class: TencentCloud::Tione::V20211111::ModifyNotebookTagsRequest

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

Overview

ModifyNotebookTags请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, tags = nil) ⇒ ModifyNotebookTagsRequest

Returns a new instance of ModifyNotebookTagsRequest.



6280
6281
6282
6283
# File 'lib/v20211111/models.rb', line 6280

def initialize(id=nil, tags=nil)
  @Id = id
  @Tags = tags
end

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    Notebook Id

  • Tags:

    Notebook修改标签集合



6278
6279
6280
# File 'lib/v20211111/models.rb', line 6278

def Id
  @Id
end

#TagsObject

Parameters:

  • Id:

    Notebook Id

  • Tags:

    Notebook修改标签集合



6278
6279
6280
# File 'lib/v20211111/models.rb', line 6278

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
# File 'lib/v20211111/models.rb', line 6285

def deserialize(params)
  @Id = params['Id']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
end