Class: TencentCloud::Wedata::V20210820::Table

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

Overview

Table

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(column = nil, data = nil) ⇒ Table

Returns a new instance of Table.



34801
34802
34803
34804
# File 'lib/v20210820/models.rb', line 34801

def initialize(column=nil, data=nil)
  @Column = column
  @Data = data
end

Instance Attribute Details

#ColumnObject

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

Parameters:

  • Column:

    1

  • Data:

    1



34799
34800
34801
# File 'lib/v20210820/models.rb', line 34799

def Column
  @Column
end

#DataObject

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

Parameters:

  • Column:

    1

  • Data:

    1



34799
34800
34801
# File 'lib/v20210820/models.rb', line 34799

def Data
  @Data
end

Instance Method Details

#deserialize(params) ⇒ Object



34806
34807
34808
34809
34810
34811
34812
34813
34814
34815
34816
34817
34818
34819
34820
34821
34822
34823
# File 'lib/v20210820/models.rb', line 34806

def deserialize(params)
  unless params['Column'].nil?
    @Column = []
    params['Column'].each do |i|
      columnitem_tmp = ColumnItem.new
      columnitem_tmp.deserialize(i)
      @Column << columnitem_tmp
    end
  end
  unless params['Data'].nil?
    @Data = []
    params['Data'].each do |i|
      columndata_tmp = ColumnData.new
      columndata_tmp.deserialize(i)
      @Data << columndata_tmp
    end
  end
end