Class: TencentCloud::Tcaplusdb::V20190823::SetTableIndexRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::SetTableIndexRequest
- Defined in:
- lib/v20190823/models.rb
Overview
SetTableIndex请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, selectedtables = nil) ⇒ SetTableIndexRequest
constructor
A new instance of SetTableIndexRequest.
Constructor Details
#initialize(clusterid = nil, selectedtables = nil) ⇒ SetTableIndexRequest
Returns a new instance of SetTableIndexRequest.
4016 4017 4018 4019 |
# File 'lib/v20190823/models.rb', line 4016 def initialize(clusterid=nil, selectedtables=nil) @ClusterId = clusterid @SelectedTables = selectedtables end |
Instance Attribute Details
#ClusterId ⇒ Object
4014 4015 4016 |
# File 'lib/v20190823/models.rb', line 4014 def ClusterId @ClusterId end |
#SelectedTables ⇒ Object
4014 4015 4016 |
# File 'lib/v20190823/models.rb', line 4014 def SelectedTables @SelectedTables end |
Instance Method Details
#deserialize(params) ⇒ Object
4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 |
# File 'lib/v20190823/models.rb', line 4021 def deserialize(params) @ClusterId = params['ClusterId'] unless params['SelectedTables'].nil? @SelectedTables = [] params['SelectedTables'].each do |i| selectedtablewithfield_tmp = SelectedTableWithField.new selectedtablewithfield_tmp.deserialize(i) @SelectedTables << selectedtablewithfield_tmp end end end |