Class: TencentCloud::Dlc::V20210125::AssignMangedTablePropertiesRequest

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

Overview

AssignMangedTableProperties请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tablebaseinfo = nil, columns = nil, partitions = nil, properties = nil, upsertkeys = nil) ⇒ AssignMangedTablePropertiesRequest

Returns a new instance of AssignMangedTablePropertiesRequest.



604
605
606
607
608
609
610
# File 'lib/v20210125/models.rb', line 604

def initialize(tablebaseinfo=nil, columns=nil, partitions=nil, properties=nil, upsertkeys=nil)
  @TableBaseInfo = tablebaseinfo
  @Columns = columns
  @Partitions = partitions
  @Properties = properties
  @UpsertKeys = upsertkeys
end

Instance Attribute Details

#ColumnsObject

Parameters:

  • TableBaseInfo:

    表基本信息

  • Columns:

    表字段信息

  • Partitions:

    表分区信息

  • Properties:

    表属性信息

  • UpsertKeys:

    V2 upsert表 upsert键



602
603
604
# File 'lib/v20210125/models.rb', line 602

def Columns
  @Columns
end

#PartitionsObject

Parameters:

  • TableBaseInfo:

    表基本信息

  • Columns:

    表字段信息

  • Partitions:

    表分区信息

  • Properties:

    表属性信息

  • UpsertKeys:

    V2 upsert表 upsert键



602
603
604
# File 'lib/v20210125/models.rb', line 602

def Partitions
  @Partitions
end

#PropertiesObject

Parameters:

  • TableBaseInfo:

    表基本信息

  • Columns:

    表字段信息

  • Partitions:

    表分区信息

  • Properties:

    表属性信息

  • UpsertKeys:

    V2 upsert表 upsert键



602
603
604
# File 'lib/v20210125/models.rb', line 602

def Properties
  @Properties
end

#TableBaseInfoObject

Parameters:

  • TableBaseInfo:

    表基本信息

  • Columns:

    表字段信息

  • Partitions:

    表分区信息

  • Properties:

    表属性信息

  • UpsertKeys:

    V2 upsert表 upsert键



602
603
604
# File 'lib/v20210125/models.rb', line 602

def TableBaseInfo
  @TableBaseInfo
end

#UpsertKeysObject

Parameters:

  • TableBaseInfo:

    表基本信息

  • Columns:

    表字段信息

  • Partitions:

    表分区信息

  • Properties:

    表属性信息

  • UpsertKeys:

    V2 upsert表 upsert键



602
603
604
# File 'lib/v20210125/models.rb', line 602

def UpsertKeys
  @UpsertKeys
end

Instance Method Details

#deserialize(params) ⇒ Object



612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
# File 'lib/v20210125/models.rb', line 612

def deserialize(params)
  unless params['TableBaseInfo'].nil?
    @TableBaseInfo = TableBaseInfo.new
    @TableBaseInfo.deserialize(params['TableBaseInfo'])
  end
  unless params['Columns'].nil?
    @Columns = []
    params['Columns'].each do |i|
      tcolumn_tmp = TColumn.new
      tcolumn_tmp.deserialize(i)
      @Columns << tcolumn_tmp
    end
  end
  unless params['Partitions'].nil?
    @Partitions = []
    params['Partitions'].each do |i|
      tpartition_tmp = TPartition.new
      tpartition_tmp.deserialize(i)
      @Partitions << tpartition_tmp
    end
  end
  unless params['Properties'].nil?
    @Properties = []
    params['Properties'].each do |i|
      property_tmp = Property.new
      property_tmp.deserialize(i)
      @Properties << property_tmp
    end
  end
  @UpsertKeys = params['UpsertKeys']
end