Class: TencentCloud::Tcaplusdb::V20190823::CreateTablesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::CreateTablesRequest
- Defined in:
- lib/v20190823/models.rb
Overview
CreateTables请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, idlfiles = nil, selectedtables = nil, resourcetags = nil) ⇒ CreateTablesRequest
constructor
A new instance of CreateTablesRequest.
Constructor Details
#initialize(clusterid = nil, idlfiles = nil, selectedtables = nil, resourcetags = nil) ⇒ CreateTablesRequest
Returns a new instance of CreateTablesRequest.
884 885 886 887 888 889 |
# File 'lib/v20190823/models.rb', line 884 def initialize(clusterid=nil, idlfiles=nil, selectedtables=nil, =nil) @ClusterId = clusterid @IdlFiles = idlfiles @SelectedTables = selectedtables @ResourceTags = end |
Instance Attribute Details
#ClusterId ⇒ Object
882 883 884 |
# File 'lib/v20190823/models.rb', line 882 def ClusterId @ClusterId end |
#IdlFiles ⇒ Object
882 883 884 |
# File 'lib/v20190823/models.rb', line 882 def IdlFiles @IdlFiles end |
#ResourceTags ⇒ Object
882 883 884 |
# File 'lib/v20190823/models.rb', line 882 def ResourceTags @ResourceTags end |
#SelectedTables ⇒ Object
882 883 884 |
# File 'lib/v20190823/models.rb', line 882 def SelectedTables @SelectedTables end |
Instance Method Details
#deserialize(params) ⇒ Object
891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 |
# File 'lib/v20190823/models.rb', line 891 def deserialize(params) @ClusterId = params['ClusterId'] unless params['IdlFiles'].nil? @IdlFiles = [] params['IdlFiles'].each do |i| idlfileinfo_tmp = IdlFileInfo.new idlfileinfo_tmp.deserialize(i) @IdlFiles << idlfileinfo_tmp end end unless params['SelectedTables'].nil? @SelectedTables = [] params['SelectedTables'].each do |i| selectedtableinfonew_tmp = SelectedTableInfoNew.new selectedtableinfonew_tmp.deserialize(i) @SelectedTables << selectedtableinfonew_tmp end end unless params['ResourceTags'].nil? @ResourceTags = [] params['ResourceTags'].each do |i| taginfounit_tmp = TagInfoUnit.new taginfounit_tmp.deserialize(i) @ResourceTags << taginfounit_tmp end end end |