Class: TencentCloud::Tcaplusdb::V20190823::DeleteSnapshotsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::DeleteSnapshotsRequest
- Defined in:
- lib/v20190823/models.rb
Overview
DeleteSnapshots请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, selectedtables = nil) ⇒ DeleteSnapshotsRequest
constructor
A new instance of DeleteSnapshotsRequest.
Constructor Details
#initialize(clusterid = nil, selectedtables = nil) ⇒ DeleteSnapshotsRequest
Returns a new instance of DeleteSnapshotsRequest.
1101 1102 1103 1104 |
# File 'lib/v20190823/models.rb', line 1101 def initialize(clusterid=nil, selectedtables=nil) @ClusterId = clusterid @SelectedTables = selectedtables end |
Instance Attribute Details
#ClusterId ⇒ Object
1099 1100 1101 |
# File 'lib/v20190823/models.rb', line 1099 def ClusterId @ClusterId end |
#SelectedTables ⇒ Object
1099 1100 1101 |
# File 'lib/v20190823/models.rb', line 1099 def SelectedTables @SelectedTables end |
Instance Method Details
#deserialize(params) ⇒ Object
1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 |
# File 'lib/v20190823/models.rb', line 1106 def deserialize(params) @ClusterId = params['ClusterId'] unless params['SelectedTables'].nil? @SelectedTables = [] params['SelectedTables'].each do |i| snapshotinfonew_tmp = SnapshotInfoNew.new snapshotinfonew_tmp.deserialize(i) @SelectedTables << snapshotinfonew_tmp end end end |