Class: TencentCloud::Tcb::V20180608::UpdateTableRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::UpdateTableRequest
- Defined in:
- lib/v20180608/models.rb
Overview
UpdateTable请求参数结构体
Instance Attribute Summary collapse
- #CreateIndexes ⇒ Object
- #DropIndexes ⇒ Object
- #EnvId ⇒ Object
- #MongoConnector ⇒ Object
- #TableName ⇒ Object
- #Tag ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tablename = nil, tag = nil, dropindexes = nil, createindexes = nil, envid = nil, mongoconnector = nil) ⇒ UpdateTableRequest
constructor
A new instance of UpdateTableRequest.
Constructor Details
#initialize(tablename = nil, tag = nil, dropindexes = nil, createindexes = nil, envid = nil, mongoconnector = nil) ⇒ UpdateTableRequest
Returns a new instance of UpdateTableRequest.
8868 8869 8870 8871 8872 8873 8874 8875 |
# File 'lib/v20180608/models.rb', line 8868 def initialize(tablename=nil, tag=nil, dropindexes=nil, createindexes=nil, envid=nil, mongoconnector=nil) @TableName = tablename @Tag = tag @DropIndexes = dropindexes @CreateIndexes = createindexes @EnvId = envid @MongoConnector = mongoconnector end |
Instance Attribute Details
#CreateIndexes ⇒ Object
8866 8867 8868 |
# File 'lib/v20180608/models.rb', line 8866 def CreateIndexes @CreateIndexes end |
#DropIndexes ⇒ Object
8866 8867 8868 |
# File 'lib/v20180608/models.rb', line 8866 def DropIndexes @DropIndexes end |
#EnvId ⇒ Object
8866 8867 8868 |
# File 'lib/v20180608/models.rb', line 8866 def EnvId @EnvId end |
#MongoConnector ⇒ Object
8866 8867 8868 |
# File 'lib/v20180608/models.rb', line 8866 def MongoConnector @MongoConnector end |
#TableName ⇒ Object
8866 8867 8868 |
# File 'lib/v20180608/models.rb', line 8866 def TableName @TableName end |
#Tag ⇒ Object
8866 8867 8868 |
# File 'lib/v20180608/models.rb', line 8866 def Tag @Tag end |
Instance Method Details
#deserialize(params) ⇒ Object
8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 |
# File 'lib/v20180608/models.rb', line 8877 def deserialize(params) @TableName = params['TableName'] @Tag = params['Tag'] unless params['DropIndexes'].nil? @DropIndexes = [] params['DropIndexes'].each do |i| dropindex_tmp = DropIndex.new dropindex_tmp.deserialize(i) @DropIndexes << dropindex_tmp end end unless params['CreateIndexes'].nil? @CreateIndexes = [] params['CreateIndexes'].each do |i| createindex_tmp = CreateIndex.new createindex_tmp.deserialize(i) @CreateIndexes << createindex_tmp end end @EnvId = params['EnvId'] unless params['MongoConnector'].nil? @MongoConnector = MongoConnector.new @MongoConnector.deserialize(params['MongoConnector']) end end |