Class: TencentCloud::Tcaplusdb::V20190823::DescribeSnapshotsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::DescribeSnapshotsRequest
- Defined in:
- lib/v20190823/models.rb
Overview
DescribeSnapshots请求参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #SelectedTables ⇒ Object
- #SnapshotName ⇒ Object
- #TableGroupId ⇒ Object
- #TableName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, tablegroupid = nil, tablename = nil, snapshotname = nil, selectedtables = nil) ⇒ DescribeSnapshotsRequest
constructor
A new instance of DescribeSnapshotsRequest.
Constructor Details
#initialize(clusterid = nil, tablegroupid = nil, tablename = nil, snapshotname = nil, selectedtables = nil) ⇒ DescribeSnapshotsRequest
Returns a new instance of DescribeSnapshotsRequest.
1782 1783 1784 1785 1786 1787 1788 |
# File 'lib/v20190823/models.rb', line 1782 def initialize(clusterid=nil, tablegroupid=nil, tablename=nil, snapshotname=nil, selectedtables=nil) @ClusterId = clusterid @TableGroupId = tablegroupid @TableName = tablename @SnapshotName = snapshotname @SelectedTables = selectedtables end |
Instance Attribute Details
#ClusterId ⇒ Object
1780 1781 1782 |
# File 'lib/v20190823/models.rb', line 1780 def ClusterId @ClusterId end |
#SelectedTables ⇒ Object
1780 1781 1782 |
# File 'lib/v20190823/models.rb', line 1780 def SelectedTables @SelectedTables end |
#SnapshotName ⇒ Object
1780 1781 1782 |
# File 'lib/v20190823/models.rb', line 1780 def SnapshotName @SnapshotName end |
#TableGroupId ⇒ Object
1780 1781 1782 |
# File 'lib/v20190823/models.rb', line 1780 def TableGroupId @TableGroupId end |
#TableName ⇒ Object
1780 1781 1782 |
# File 'lib/v20190823/models.rb', line 1780 def TableName @TableName end |
Instance Method Details
#deserialize(params) ⇒ Object
1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 |
# File 'lib/v20190823/models.rb', line 1790 def deserialize(params) @ClusterId = params['ClusterId'] @TableGroupId = params['TableGroupId'] @TableName = params['TableName'] @SnapshotName = params['SnapshotName'] unless params['SelectedTables'].nil? @SelectedTables = [] params['SelectedTables'].each do |i| selectedtableinfonew_tmp = SelectedTableInfoNew.new selectedtableinfonew_tmp.deserialize(i) @SelectedTables << selectedtableinfonew_tmp end end end |