Class: TencentCloud::Omics::V20221128::Table
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Omics::V20221128::Table
- Defined in:
- lib/v20221128/models.rb
Overview
表格。
Instance Attribute Summary collapse
- #Columns ⇒ Object
- #CreateTime ⇒ Object
- #Creator ⇒ Object
- #CreatorId ⇒ Object
- #Description ⇒ Object
- #Name ⇒ Object
- #ProjectId ⇒ Object
- #TableId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tableid = nil, projectid = nil, name = nil, description = nil, columns = nil, createtime = nil, creator = nil, creatorid = nil) ⇒ Table
constructor
A new instance of Table.
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
#Columns ⇒ Object
2406 2407 2408 |
# File 'lib/v20221128/models.rb', line 2406 def Columns @Columns end |
#CreateTime ⇒ Object
2406 2407 2408 |
# File 'lib/v20221128/models.rb', line 2406 def CreateTime @CreateTime end |
#Creator ⇒ Object
2406 2407 2408 |
# File 'lib/v20221128/models.rb', line 2406 def Creator @Creator end |
#CreatorId ⇒ Object
2406 2407 2408 |
# File 'lib/v20221128/models.rb', line 2406 def CreatorId @CreatorId end |
#Description ⇒ Object
2406 2407 2408 |
# File 'lib/v20221128/models.rb', line 2406 def Description @Description end |
#Name ⇒ Object
2406 2407 2408 |
# File 'lib/v20221128/models.rb', line 2406 def Name @Name end |
#ProjectId ⇒ Object
2406 2407 2408 |
# File 'lib/v20221128/models.rb', line 2406 def ProjectId @ProjectId end |
#TableId ⇒ Object
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 |