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.
904 905 906 907 908 909 |
# File 'lib/v20190823/models.rb', line 904 def initialize(clusterid=nil, idlfiles=nil, selectedtables=nil, =nil) @ClusterId = clusterid @IdlFiles = idlfiles @SelectedTables = selectedtables @ResourceTags = end |
Instance Attribute Details
#ClusterId ⇒ Object
902 903 904 |
# File 'lib/v20190823/models.rb', line 902 def ClusterId @ClusterId end |
#IdlFiles ⇒ Object
902 903 904 |
# File 'lib/v20190823/models.rb', line 902 def IdlFiles @IdlFiles end |
#ResourceTags ⇒ Object
902 903 904 |
# File 'lib/v20190823/models.rb', line 902 def ResourceTags @ResourceTags end |
#SelectedTables ⇒ Object
902 903 904 |
# File 'lib/v20190823/models.rb', line 902 def SelectedTables @SelectedTables end |
Instance Method Details
#deserialize(params) ⇒ Object
911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 |
# File 'lib/v20190823/models.rb', line 911 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 |