Class: TencentCloud::Organization::V20210331::DescribeShareAreasResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20210331::DescribeShareAreasResponse
- Defined in:
- lib/v20210331/models.rb
Overview
DescribeShareAreas返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(items = nil, requestid = nil) ⇒ DescribeShareAreasResponse
constructor
A new instance of DescribeShareAreasResponse.
Constructor Details
#initialize(items = nil, requestid = nil) ⇒ DescribeShareAreasResponse
3305 3306 3307 3308 |
# File 'lib/v20210331/models.rb', line 3305 def initialize(items=nil, requestid=nil) @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
3303 3304 3305 |
# File 'lib/v20210331/models.rb', line 3303 def Items @Items end |
#RequestId ⇒ Object
3303 3304 3305 |
# File 'lib/v20210331/models.rb', line 3303 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 |
# File 'lib/v20210331/models.rb', line 3310 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 |