Class: TencentCloud::Dlc::V20210125::DescribeDLCCatalogAccessResponse

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

Overview

DescribeDLCCatalogAccess返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, rows = nil, requestid = nil) ⇒ DescribeDLCCatalogAccessResponse

Returns a new instance of DescribeDLCCatalogAccessResponse.



6133
6134
6135
6136
6137
# File 'lib/v20210125/models.rb', line 6133

def initialize(totalcount=nil, rows=nil, requestid=nil)
  @TotalCount = totalcount
  @Rows = rows
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalCount:

    总数

  • Rows:

    DLCCatalog授权列表

  • RequestId:

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



6131
6132
6133
# File 'lib/v20210125/models.rb', line 6131

def RequestId
  @RequestId
end

#RowsObject

Parameters:

  • TotalCount:

    总数

  • Rows:

    DLCCatalog授权列表

  • RequestId:

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



6131
6132
6133
# File 'lib/v20210125/models.rb', line 6131

def Rows
  @Rows
end

#TotalCountObject

Parameters:

  • TotalCount:

    总数

  • Rows:

    DLCCatalog授权列表

  • RequestId:

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



6131
6132
6133
# File 'lib/v20210125/models.rb', line 6131

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
# File 'lib/v20210125/models.rb', line 6139

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Rows'].nil?
    @Rows = []
    params['Rows'].each do |i|
      dlccatalogaccess_tmp = DLCCatalogAccess.new
      dlccatalogaccess_tmp.deserialize(i)
      @Rows << dlccatalogaccess_tmp
    end
  end
  @RequestId = params['RequestId']
end