Class: TencentCloud::Emr::V20190103::ModifyResourcesTagsRequest

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

Overview

ModifyResourcesTags请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(modifytype = nil, modifyresourcetagsinfolist = nil) ⇒ ModifyResourcesTagsRequest

Returns a new instance of ModifyResourcesTagsRequest.



9159
9160
9161
9162
# File 'lib/v20190103/models.rb', line 9159

def initialize(modifytype=nil, modifyresourcetagsinfolist=nil)
  @ModifyType = modifytype
  @ModifyResourceTagsInfoList = modifyresourcetagsinfolist
end

Instance Attribute Details

#ModifyResourceTagsInfoListObject

Parameters:

  • ModifyType:

    标签类型,取值Cluster或者Node

  • ModifyResourceTagsInfoList:

    标签信息



9157
9158
9159
# File 'lib/v20190103/models.rb', line 9157

def ModifyResourceTagsInfoList
  @ModifyResourceTagsInfoList
end

#ModifyTypeObject

Parameters:

  • ModifyType:

    标签类型,取值Cluster或者Node

  • ModifyResourceTagsInfoList:

    标签信息



9157
9158
9159
# File 'lib/v20190103/models.rb', line 9157

def ModifyType
  @ModifyType
end

Instance Method Details

#deserialize(params) ⇒ Object



9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
# File 'lib/v20190103/models.rb', line 9164

def deserialize(params)
  @ModifyType = params['ModifyType']
  unless params['ModifyResourceTagsInfoList'].nil?
    @ModifyResourceTagsInfoList = []
    params['ModifyResourceTagsInfoList'].each do |i|
      modifyresourcetags_tmp = ModifyResourceTags.new
      modifyresourcetags_tmp.deserialize(i)
      @ModifyResourceTagsInfoList << modifyresourcetags_tmp
    end
  end
end