Class: TencentCloud::Cms::V20190321::DescribeKeywordsLibsResponse

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

Overview

DescribeKeywordsLibs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, infos = nil, requestid = nil) ⇒ DescribeKeywordsLibsResponse

Returns a new instance of DescribeKeywordsLibsResponse.



405
406
407
408
409
# File 'lib/v20190321/models.rb', line 405

def initialize(totalcount=nil, infos=nil, requestid=nil)
  @TotalCount = totalcount
  @Infos = infos
  @RequestId = requestid
end

Instance Attribute Details

#InfosObject

Parameters:

  • TotalCount:

    词库记录数

  • Infos:

    词库详情

  • RequestId:

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



403
404
405
# File 'lib/v20190321/models.rb', line 403

def Infos
  @Infos
end

#RequestIdObject

Parameters:

  • TotalCount:

    词库记录数

  • Infos:

    词库详情

  • RequestId:

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



403
404
405
# File 'lib/v20190321/models.rb', line 403

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    词库记录数

  • Infos:

    词库详情

  • RequestId:

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



403
404
405
# File 'lib/v20190321/models.rb', line 403

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



411
412
413
414
415
416
417
418
419
420
421
422
# File 'lib/v20190321/models.rb', line 411

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Infos'].nil?
    @Infos = []
    params['Infos'].each do |i|
      keywordslibinfo_tmp = KeywordsLibInfo.new
      keywordslibinfo_tmp.deserialize(i)
      @Infos << keywordslibinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end