Class: TencentCloud::Organization::V20210331::DescribeShareUnitResourcesRequest

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

Overview

DescribeShareUnitResources请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(unitid = nil, area = nil, offset = nil, limit = nil, searchkey = nil, type = nil) ⇒ DescribeShareUnitResourcesRequest

Returns a new instance of DescribeShareUnitResourcesRequest.



3403
3404
3405
3406
3407
3408
3409
3410
# File 'lib/v20210331/models.rb', line 3403

def initialize(unitid=nil, area=nil, offset=nil, limit=nil, searchkey=nil, type=nil)
  @UnitId = unitid
  @Area = area
  @Offset = offset
  @Limit = limit
  @SearchKey = searchkey
  @Type = type
end

Instance Attribute Details

#AreaObject

Parameters:

  • UnitId:

    共享单元ID。

  • Area:

    共享单元地域。

  • Offset:

    偏移量。取值是limit的整数倍,默认值 : 0

  • Limit:

    限制数目。取值范围:1~50。

  • SearchKey:

    搜索关键字。支持产品资源ID搜索。

  • Type:

    共享资源类型。支持共享的资源类型,请参见资源共享概述



3401
3402
3403
# File 'lib/v20210331/models.rb', line 3401

def Area
  @Area
end

#LimitObject

Parameters:

  • UnitId:

    共享单元ID。

  • Area:

    共享单元地域。

  • Offset:

    偏移量。取值是limit的整数倍,默认值 : 0

  • Limit:

    限制数目。取值范围:1~50。

  • SearchKey:

    搜索关键字。支持产品资源ID搜索。

  • Type:

    共享资源类型。支持共享的资源类型,请参见资源共享概述



3401
3402
3403
# File 'lib/v20210331/models.rb', line 3401

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • UnitId:

    共享单元ID。

  • Area:

    共享单元地域。

  • Offset:

    偏移量。取值是limit的整数倍,默认值 : 0

  • Limit:

    限制数目。取值范围:1~50。

  • SearchKey:

    搜索关键字。支持产品资源ID搜索。

  • Type:

    共享资源类型。支持共享的资源类型,请参见资源共享概述



3401
3402
3403
# File 'lib/v20210331/models.rb', line 3401

def Offset
  @Offset
end

#SearchKeyObject

Parameters:

  • UnitId:

    共享单元ID。

  • Area:

    共享单元地域。

  • Offset:

    偏移量。取值是limit的整数倍,默认值 : 0

  • Limit:

    限制数目。取值范围:1~50。

  • SearchKey:

    搜索关键字。支持产品资源ID搜索。

  • Type:

    共享资源类型。支持共享的资源类型,请参见资源共享概述



3401
3402
3403
# File 'lib/v20210331/models.rb', line 3401

def SearchKey
  @SearchKey
end

#TypeObject

Parameters:

  • UnitId:

    共享单元ID。

  • Area:

    共享单元地域。

  • Offset:

    偏移量。取值是limit的整数倍,默认值 : 0

  • Limit:

    限制数目。取值范围:1~50。

  • SearchKey:

    搜索关键字。支持产品资源ID搜索。

  • Type:

    共享资源类型。支持共享的资源类型,请参见资源共享概述



3401
3402
3403
# File 'lib/v20210331/models.rb', line 3401

def Type
  @Type
end

#UnitIdObject

Parameters:

  • UnitId:

    共享单元ID。

  • Area:

    共享单元地域。

  • Offset:

    偏移量。取值是limit的整数倍,默认值 : 0

  • Limit:

    限制数目。取值范围:1~50。

  • SearchKey:

    搜索关键字。支持产品资源ID搜索。

  • Type:

    共享资源类型。支持共享的资源类型,请参见资源共享概述



3401
3402
3403
# File 'lib/v20210331/models.rb', line 3401

def UnitId
  @UnitId
end

Instance Method Details

#deserialize(params) ⇒ Object



3412
3413
3414
3415
3416
3417
3418
3419
# File 'lib/v20210331/models.rb', line 3412

def deserialize(params)
  @UnitId = params['UnitId']
  @Area = params['Area']
  @Offset = params['Offset']
  @Limit = params['Limit']
  @SearchKey = params['SearchKey']
  @Type = params['Type']
end