Class: TencentCloud::Dlc::V20210125::DescribeTablePartitionsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::DescribeTablePartitionsRequest
- Defined in:
- lib/v20210125/models.rb
Overview
DescribeTablePartitions请求参数结构体
Instance Attribute Summary collapse
- #Catalog ⇒ Object
- #Cursor ⇒ Object
- #Database ⇒ Object
- #FuzzyPartition ⇒ Object
- #Limit ⇒ Object
- #Offset ⇒ Object
- #Sorts ⇒ Object
- #Table ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(catalog = nil, database = nil, table = nil, offset = nil, limit = nil, fuzzypartition = nil, sorts = nil, cursor = nil) ⇒ DescribeTablePartitionsRequest
constructor
A new instance of DescribeTablePartitionsRequest.
Constructor Details
#initialize(catalog = nil, database = nil, table = nil, offset = nil, limit = nil, fuzzypartition = nil, sorts = nil, cursor = nil) ⇒ DescribeTablePartitionsRequest
Returns a new instance of DescribeTablePartitionsRequest.
8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 |
# File 'lib/v20210125/models.rb', line 8819 def initialize(catalog=nil, database=nil, table=nil, offset=nil, limit=nil, fuzzypartition=nil, sorts=nil, cursor=nil) @Catalog = catalog @Database = database @Table = table @Offset = offset @Limit = limit @FuzzyPartition = fuzzypartition @Sorts = sorts @Cursor = cursor end |
Instance Attribute Details
#Catalog ⇒ Object
8817 8818 8819 |
# File 'lib/v20210125/models.rb', line 8817 def Catalog @Catalog end |
#Cursor ⇒ Object
8817 8818 8819 |
# File 'lib/v20210125/models.rb', line 8817 def Cursor @Cursor end |
#Database ⇒ Object
8817 8818 8819 |
# File 'lib/v20210125/models.rb', line 8817 def Database @Database end |
#FuzzyPartition ⇒ Object
8817 8818 8819 |
# File 'lib/v20210125/models.rb', line 8817 def FuzzyPartition @FuzzyPartition end |
#Limit ⇒ Object
8817 8818 8819 |
# File 'lib/v20210125/models.rb', line 8817 def Limit @Limit end |
#Offset ⇒ Object
8817 8818 8819 |
# File 'lib/v20210125/models.rb', line 8817 def Offset @Offset end |
#Sorts ⇒ Object
8817 8818 8819 |
# File 'lib/v20210125/models.rb', line 8817 def Sorts @Sorts end |
#Table ⇒ Object
8817 8818 8819 |
# File 'lib/v20210125/models.rb', line 8817 def Table @Table end |
Instance Method Details
#deserialize(params) ⇒ Object
8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 |
# File 'lib/v20210125/models.rb', line 8830 def deserialize(params) @Catalog = params['Catalog'] @Database = params['Database'] @Table = params['Table'] @Offset = params['Offset'] @Limit = params['Limit'] @FuzzyPartition = params['FuzzyPartition'] unless params['Sorts'].nil? @Sorts = [] params['Sorts'].each do |i| sort_tmp = Sort.new sort_tmp.deserialize(i) @Sorts << sort_tmp end end @Cursor = params['Cursor'] end |