Class: TencentCloud::Tccatalog::V20241024::DescribeTccCatalogsResponse

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

Overview

DescribeTccCatalogs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tcccatalogset = nil, total = nil, requestid = nil) ⇒ DescribeTccCatalogsResponse

Returns a new instance of DescribeTccCatalogsResponse.



182
183
184
185
186
# File 'lib/v20241024/models.rb', line 182

def initialize(tcccatalogset=nil, total=nil, requestid=nil)
  @TccCatalogSet = tcccatalogset
  @Total = total
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TccCatalogSet:

    数据目录列表

  • Total:

    总数

  • RequestId:

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



180
181
182
# File 'lib/v20241024/models.rb', line 180

def RequestId
  @RequestId
end

#TccCatalogSetObject

Parameters:

  • TccCatalogSet:

    数据目录列表

  • Total:

    总数

  • RequestId:

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



180
181
182
# File 'lib/v20241024/models.rb', line 180

def TccCatalogSet
  @TccCatalogSet
end

#TotalObject

Parameters:

  • TccCatalogSet:

    数据目录列表

  • Total:

    总数

  • RequestId:

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



180
181
182
# File 'lib/v20241024/models.rb', line 180

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



188
189
190
191
192
193
194
195
196
197
198
199
# File 'lib/v20241024/models.rb', line 188

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