Class: TencentCloud::Organization::V20210331::DescribeShareAreasResponse

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

Overview

DescribeShareAreas返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(items = nil, requestid = nil) ⇒ DescribeShareAreasResponse



3167
3168
3169
3170
# File 'lib/v20210331/models.rb', line 3167

def initialize(items=nil, requestid=nil)
  @Items = items
  @RequestId = requestid
end

Instance Attribute Details

#ItemsObject



3165
3166
3167
# File 'lib/v20210331/models.rb', line 3165

def Items
  @Items
end

#RequestIdObject



3165
3166
3167
# File 'lib/v20210331/models.rb', line 3165

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
# File 'lib/v20210331/models.rb', line 3172

def deserialize(params)
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      sharearea_tmp = ShareArea.new
      sharearea_tmp.deserialize(i)
      @Items << sharearea_tmp
    end
  end
  @RequestId = params['RequestId']
end