Class: TencentCloud::Omics::V20221128::Table

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

Overview

表格。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tableid = nil, projectid = nil, name = nil, description = nil, columns = nil, createtime = nil, creator = nil, creatorid = nil) ⇒ Table

Returns a new instance of Table.



2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
# File 'lib/v20221128/models.rb', line 2408

def initialize(tableid=nil, projectid=nil, name=nil, description=nil, columns=nil, createtime=nil, creator=nil, creatorid=nil)
  @TableId = tableid
  @ProjectId = projectid
  @Name = name
  @Description = description
  @Columns = columns
  @CreateTime = createtime
  @Creator = creator
  @CreatorId = creatorid
end

Instance Attribute Details

#ColumnsObject

Parameters:

  • TableId:

    表格ID

  • ProjectId:

    关联项目ID

  • Name:

    表格名称

  • Description:

    表格描述

  • Columns:

    表格列

  • CreateTime:

    创建时间

  • Creator:

    创建人

  • CreatorId:

    创建人ID



2406
2407
2408
# File 'lib/v20221128/models.rb', line 2406

def Columns
  @Columns
end

#CreateTimeObject

Parameters:

  • TableId:

    表格ID

  • ProjectId:

    关联项目ID

  • Name:

    表格名称

  • Description:

    表格描述

  • Columns:

    表格列

  • CreateTime:

    创建时间

  • Creator:

    创建人

  • CreatorId:

    创建人ID



2406
2407
2408
# File 'lib/v20221128/models.rb', line 2406

def CreateTime
  @CreateTime
end

#CreatorObject

Parameters:

  • TableId:

    表格ID

  • ProjectId:

    关联项目ID

  • Name:

    表格名称

  • Description:

    表格描述

  • Columns:

    表格列

  • CreateTime:

    创建时间

  • Creator:

    创建人

  • CreatorId:

    创建人ID



2406
2407
2408
# File 'lib/v20221128/models.rb', line 2406

def Creator
  @Creator
end

#CreatorIdObject

Parameters:

  • TableId:

    表格ID

  • ProjectId:

    关联项目ID

  • Name:

    表格名称

  • Description:

    表格描述

  • Columns:

    表格列

  • CreateTime:

    创建时间

  • Creator:

    创建人

  • CreatorId:

    创建人ID



2406
2407
2408
# File 'lib/v20221128/models.rb', line 2406

def CreatorId
  @CreatorId
end

#DescriptionObject

Parameters:

  • TableId:

    表格ID

  • ProjectId:

    关联项目ID

  • Name:

    表格名称

  • Description:

    表格描述

  • Columns:

    表格列

  • CreateTime:

    创建时间

  • Creator:

    创建人

  • CreatorId:

    创建人ID



2406
2407
2408
# File 'lib/v20221128/models.rb', line 2406

def Description
  @Description
end

#NameObject

Parameters:

  • TableId:

    表格ID

  • ProjectId:

    关联项目ID

  • Name:

    表格名称

  • Description:

    表格描述

  • Columns:

    表格列

  • CreateTime:

    创建时间

  • Creator:

    创建人

  • CreatorId:

    创建人ID



2406
2407
2408
# File 'lib/v20221128/models.rb', line 2406

def Name
  @Name
end

#ProjectIdObject

Parameters:

  • TableId:

    表格ID

  • ProjectId:

    关联项目ID

  • Name:

    表格名称

  • Description:

    表格描述

  • Columns:

    表格列

  • CreateTime:

    创建时间

  • Creator:

    创建人

  • CreatorId:

    创建人ID



2406
2407
2408
# File 'lib/v20221128/models.rb', line 2406

def ProjectId
  @ProjectId
end

#TableIdObject

Parameters:

  • TableId:

    表格ID

  • ProjectId:

    关联项目ID

  • Name:

    表格名称

  • Description:

    表格描述

  • Columns:

    表格列

  • CreateTime:

    创建时间

  • Creator:

    创建人

  • CreatorId:

    创建人ID



2406
2407
2408
# File 'lib/v20221128/models.rb', line 2406

def TableId
  @TableId
end

Instance Method Details

#deserialize(params) ⇒ Object



2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
# File 'lib/v20221128/models.rb', line 2419

def deserialize(params)
  @TableId = params['TableId']
  @ProjectId = params['ProjectId']
  @Name = params['Name']
  @Description = params['Description']
  unless params['Columns'].nil?
    @Columns = []
    params['Columns'].each do |i|
      tablecolumn_tmp = TableColumn.new
      tablecolumn_tmp.deserialize(i)
      @Columns << tablecolumn_tmp
    end
  end
  @CreateTime = params['CreateTime']
  @Creator = params['Creator']
  @CreatorId = params['CreatorId']
end