Class: TencentCloud::Dlc::V20210125::AlterDMSTableRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::AlterDMSTableRequest
- Defined in:
- lib/v20210125/models.rb
Overview
AlterDMSTable请求参数结构体
Instance Attribute Summary collapse
- #Asset ⇒ Object
- #Columns ⇒ Object
- #CurrentDbName ⇒ Object
- #CurrentName ⇒ Object
- #DatasourceConnectionName ⇒ Object
- #DataUpdateTime ⇒ Object
- #DbName ⇒ Object
- #LastAccessTime ⇒ Object
- #LifeTime ⇒ Object
- #Name ⇒ Object
- #PartitionKeys ⇒ Object
- #Partitions ⇒ Object
- #RecordCount ⇒ Object
- #Sds ⇒ Object
- #StorageSize ⇒ Object
- #StructUpdateTime ⇒ Object
- #Type ⇒ Object
- #ViewExpandedText ⇒ Object
- #ViewOriginalText ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(currentname = nil, currentdbname = nil, asset = nil, type = nil, dbname = nil, storagesize = nil, recordcount = nil, lifetime = nil, dataupdatetime = nil, structupdatetime = nil, lastaccesstime = nil, sds = nil, columns = nil, partitionkeys = nil, vieworiginaltext = nil, viewexpandedtext = nil, partitions = nil, name = nil, datasourceconnectionname = nil) ⇒ AlterDMSTableRequest
constructor
A new instance of AlterDMSTableRequest.
Constructor Details
#initialize(currentname = nil, currentdbname = nil, asset = nil, type = nil, dbname = nil, storagesize = nil, recordcount = nil, lifetime = nil, dataupdatetime = nil, structupdatetime = nil, lastaccesstime = nil, sds = nil, columns = nil, partitionkeys = nil, vieworiginaltext = nil, viewexpandedtext = nil, partitions = nil, name = nil, datasourceconnectionname = nil) ⇒ AlterDMSTableRequest
Returns a new instance of AlterDMSTableRequest.
327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 |
# File 'lib/v20210125/models.rb', line 327 def initialize(currentname=nil, currentdbname=nil, asset=nil, type=nil, dbname=nil, storagesize=nil, recordcount=nil, lifetime=nil, dataupdatetime=nil, structupdatetime=nil, lastaccesstime=nil, sds=nil, columns=nil, partitionkeys=nil, vieworiginaltext=nil, =nil, partitions=nil, name=nil, datasourceconnectionname=nil) @CurrentName = currentname @CurrentDbName = currentdbname @Asset = asset @Type = type @DbName = dbname @StorageSize = storagesize @RecordCount = recordcount @LifeTime = lifetime @DataUpdateTime = dataupdatetime @StructUpdateTime = structupdatetime @LastAccessTime = lastaccesstime @Sds = sds @Columns = columns @PartitionKeys = partitionkeys @ViewOriginalText = vieworiginaltext @ViewExpandedText = @Partitions = partitions @Name = name @DatasourceConnectionName = datasourceconnectionname end |
Instance Attribute Details
#Asset ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def Asset @Asset end |
#Columns ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def Columns @Columns end |
#CurrentDbName ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def CurrentDbName @CurrentDbName end |
#CurrentName ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def CurrentName @CurrentName end |
#DatasourceConnectionName ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def DatasourceConnectionName @DatasourceConnectionName end |
#DataUpdateTime ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def DataUpdateTime @DataUpdateTime end |
#DbName ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def DbName @DbName end |
#LastAccessTime ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def LastAccessTime @LastAccessTime end |
#LifeTime ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def LifeTime @LifeTime end |
#Name ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def Name @Name end |
#PartitionKeys ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def PartitionKeys @PartitionKeys end |
#Partitions ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def Partitions @Partitions end |
#RecordCount ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def RecordCount @RecordCount end |
#Sds ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def Sds @Sds end |
#StorageSize ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def StorageSize @StorageSize end |
#StructUpdateTime ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def StructUpdateTime @StructUpdateTime end |
#Type ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def Type @Type end |
#ViewExpandedText ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def ViewExpandedText @ViewExpandedText end |
#ViewOriginalText ⇒ Object
325 326 327 |
# File 'lib/v20210125/models.rb', line 325 def ViewOriginalText @ViewOriginalText end |
Instance Method Details
#deserialize(params) ⇒ Object
349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 |
# File 'lib/v20210125/models.rb', line 349 def deserialize(params) @CurrentName = params['CurrentName'] @CurrentDbName = params['CurrentDbName'] unless params['Asset'].nil? @Asset = Asset.new @Asset.deserialize(params['Asset']) end @Type = params['Type'] @DbName = params['DbName'] @StorageSize = params['StorageSize'] @RecordCount = params['RecordCount'] @LifeTime = params['LifeTime'] @DataUpdateTime = params['DataUpdateTime'] @StructUpdateTime = params['StructUpdateTime'] @LastAccessTime = params['LastAccessTime'] unless params['Sds'].nil? @Sds = DMSSds.new @Sds.deserialize(params['Sds']) end unless params['Columns'].nil? @Columns = [] params['Columns'].each do |i| dmscolumn_tmp = DMSColumn.new dmscolumn_tmp.deserialize(i) @Columns << dmscolumn_tmp end end unless params['PartitionKeys'].nil? @PartitionKeys = [] params['PartitionKeys'].each do |i| dmscolumn_tmp = DMSColumn.new dmscolumn_tmp.deserialize(i) @PartitionKeys << dmscolumn_tmp end end @ViewOriginalText = params['ViewOriginalText'] @ViewExpandedText = params['ViewExpandedText'] unless params['Partitions'].nil? @Partitions = [] params['Partitions'].each do |i| dmspartition_tmp = DMSPartition.new dmspartition_tmp.deserialize(i) @Partitions << dmspartition_tmp end end @Name = params['Name'] @DatasourceConnectionName = params['DatasourceConnectionName'] end |