Class: TencentCloud::Essbasic::V20210526::DescribeChannelOrganizationsResponse

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

Overview

DescribeChannelOrganizations返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channelorganizationinfos = nil, offset = nil, limit = nil, total = nil, requestid = nil) ⇒ DescribeChannelOrganizationsResponse

Returns a new instance of DescribeChannelOrganizationsResponse.



7958
7959
7960
7961
7962
7963
7964
# File 'lib/v20210526/models.rb', line 7958

def initialize(channelorganizationinfos=nil, offset=nil, limit=nil, total=nil, requestid=nil)
  @ChannelOrganizationInfos = channelorganizationinfos
  @Offset = offset
  @Limit = limit
  @Total = total
  @RequestId = requestid
end

Instance Attribute Details

#ChannelOrganizationInfosObject

Parameters:

  • ChannelOrganizationInfos:

    满足查询条件的企业信息列表。

  • Offset:

    指定分页返回第几页的数据。页码从 0 开始,即首页为 0,最大20000。

  • Limit:

    指定分页每页返回的数据条数,单页最大支持 200。

  • Total:

    满足查询条件的企业总数量。

  • RequestId:

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



7956
7957
7958
# File 'lib/v20210526/models.rb', line 7956

def ChannelOrganizationInfos
  @ChannelOrganizationInfos
end

#LimitObject

Parameters:

  • ChannelOrganizationInfos:

    满足查询条件的企业信息列表。

  • Offset:

    指定分页返回第几页的数据。页码从 0 开始,即首页为 0,最大20000。

  • Limit:

    指定分页每页返回的数据条数,单页最大支持 200。

  • Total:

    满足查询条件的企业总数量。

  • RequestId:

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



7956
7957
7958
# File 'lib/v20210526/models.rb', line 7956

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • ChannelOrganizationInfos:

    满足查询条件的企业信息列表。

  • Offset:

    指定分页返回第几页的数据。页码从 0 开始,即首页为 0,最大20000。

  • Limit:

    指定分页每页返回的数据条数,单页最大支持 200。

  • Total:

    满足查询条件的企业总数量。

  • RequestId:

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



7956
7957
7958
# File 'lib/v20210526/models.rb', line 7956

def Offset
  @Offset
end

#RequestIdObject

Parameters:

  • ChannelOrganizationInfos:

    满足查询条件的企业信息列表。

  • Offset:

    指定分页返回第几页的数据。页码从 0 开始,即首页为 0,最大20000。

  • Limit:

    指定分页每页返回的数据条数,单页最大支持 200。

  • Total:

    满足查询条件的企业总数量。

  • RequestId:

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



7956
7957
7958
# File 'lib/v20210526/models.rb', line 7956

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • ChannelOrganizationInfos:

    满足查询条件的企业信息列表。

  • Offset:

    指定分页返回第几页的数据。页码从 0 开始,即首页为 0,最大20000。

  • Limit:

    指定分页每页返回的数据条数,单页最大支持 200。

  • Total:

    满足查询条件的企业总数量。

  • RequestId:

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



7956
7957
7958
# File 'lib/v20210526/models.rb', line 7956

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
# File 'lib/v20210526/models.rb', line 7966

def deserialize(params)
  unless params['ChannelOrganizationInfos'].nil?
    @ChannelOrganizationInfos = []
    params['ChannelOrganizationInfos'].each do |i|
      channelorganizationinfo_tmp = ChannelOrganizationInfo.new
      channelorganizationinfo_tmp.deserialize(i)
      @ChannelOrganizationInfos << channelorganizationinfo_tmp
    end
  end
  @Offset = params['Offset']
  @Limit = params['Limit']
  @Total = params['Total']
  @RequestId = params['RequestId']
end