Class: TencentCloud::Wedata::V20210820::DescribeBaseBizCatalogsResponse

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

Overview

DescribeBaseBizCatalogs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = nil, requestid = nil) ⇒ DescribeBaseBizCatalogsResponse

Returns a new instance of DescribeBaseBizCatalogsResponse.



8643
8644
8645
8646
# File 'lib/v20210820/models.rb', line 8643

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Data:

    类目列表

  • RequestId:

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



8641
8642
8643
# File 'lib/v20210820/models.rb', line 8641

def Data
  @Data
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Data:

    类目列表

  • RequestId:

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



8641
8642
8643
# File 'lib/v20210820/models.rb', line 8641

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
# File 'lib/v20210820/models.rb', line 8648

def deserialize(params)
  unless params['Data'].nil?
    @Data = []
    params['Data'].each do |i|
      bizcatalogsinfo_tmp = BizCatalogsInfo.new
      bizcatalogsinfo_tmp.deserialize(i)
      @Data << bizcatalogsinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end