Class: TencentCloud::Dlc::V20210125::CreateDMSTableRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::CreateDMSTableRequest
- Defined in:
- lib/v20210125/models.rb
Overview
CreateDMSTable请求参数结构体
Instance Attribute Summary collapse
- #Asset ⇒ Object
- #Columns ⇒ 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(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) ⇒ CreateDMSTableRequest
constructor
A new instance of CreateDMSTableRequest.
Constructor Details
#initialize(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) ⇒ CreateDMSTableRequest
Returns a new instance of CreateDMSTableRequest.
1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 |
# File 'lib/v20210125/models.rb', line 1745 def initialize(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) @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
1743 1744 1745 |
# File 'lib/v20210125/models.rb', line 1743 def Asset @Asset end |
#Columns ⇒ Object
1743 1744 1745 |
# File 'lib/v20210125/models.rb', line 1743 def Columns @Columns end |
#DatasourceConnectionName ⇒ Object
1743 1744 1745 |
# File 'lib/v20210125/models.rb', line 1743 def DatasourceConnectionName @DatasourceConnectionName end |
#DataUpdateTime ⇒ Object
1743 1744 1745 |
# File 'lib/v20210125/models.rb', line 1743 def DataUpdateTime @DataUpdateTime end |
#DbName ⇒ Object
1743 1744 1745 |
# File 'lib/v20210125/models.rb', line 1743 def DbName @DbName end |
#LastAccessTime ⇒ Object
1743 1744 1745 |
# File 'lib/v20210125/models.rb', line 1743 def LastAccessTime @LastAccessTime end |
#LifeTime ⇒ Object
1743 1744 1745 |
# File 'lib/v20210125/models.rb', line 1743 def LifeTime @LifeTime end |
#Name ⇒ Object
1743 1744 1745 |
# File 'lib/v20210125/models.rb', line 1743 def Name @Name end |
#PartitionKeys ⇒ Object
1743 1744 1745 |
# File 'lib/v20210125/models.rb', line 1743 def PartitionKeys @PartitionKeys end |
#Partitions ⇒ Object
1743 1744 1745 |
# File 'lib/v20210125/models.rb', line 1743 def Partitions @Partitions end |
#RecordCount ⇒ Object
1743 1744 1745 |
# File 'lib/v20210125/models.rb', line 1743 def RecordCount @RecordCount end |
#Sds ⇒ Object
1743 1744 1745 |
# File 'lib/v20210125/models.rb', line 1743 def Sds @Sds end |
#StorageSize ⇒ Object
1743 1744 1745 |
# File 'lib/v20210125/models.rb', line 1743 def StorageSize @StorageSize end |
#StructUpdateTime ⇒ Object
1743 1744 1745 |
# File 'lib/v20210125/models.rb', line 1743 def StructUpdateTime @StructUpdateTime end |
#Type ⇒ Object
1743 1744 1745 |
# File 'lib/v20210125/models.rb', line 1743 def Type @Type end |
#ViewExpandedText ⇒ Object
1743 1744 1745 |
# File 'lib/v20210125/models.rb', line 1743 def ViewExpandedText @ViewExpandedText end |
#ViewOriginalText ⇒ Object
1743 1744 1745 |
# File 'lib/v20210125/models.rb', line 1743 def ViewOriginalText @ViewOriginalText end |
Instance Method Details
#deserialize(params) ⇒ Object
1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 |
# File 'lib/v20210125/models.rb', line 1765 def deserialize(params) 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 |