Class: TencentCloud::Organization::V20210331::ListOrganizationServiceResponse

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

Overview

ListOrganizationService返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, items = nil, requestid = nil) ⇒ ListOrganizationServiceResponse

Returns a new instance of ListOrganizationServiceResponse.



4852
4853
4854
4855
4856
# File 'lib/v20210331/models.rb', line 4852

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

Instance Attribute Details

#ItemsObject

Parameters:

  • Total:

    总数。

  • Items:

    集团服务列表。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4850
4851
4852
# File 'lib/v20210331/models.rb', line 4850

def Items
  @Items
end

#RequestIdObject

Parameters:

  • Total:

    总数。

  • Items:

    集团服务列表。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4850
4851
4852
# File 'lib/v20210331/models.rb', line 4850

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • Total:

    总数。

  • Items:

    集团服务列表。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4850
4851
4852
# File 'lib/v20210331/models.rb', line 4850

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
# File 'lib/v20210331/models.rb', line 4858

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