Class: TencentCloud::Tcaplusdb::V20190823::CreateTableGroupRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::CreateTableGroupRequest
- Defined in:
- lib/v20190823/models.rb
Overview
CreateTableGroup请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, tablegroupname = nil, tablegroupid = nil, resourcetags = nil) ⇒ CreateTableGroupRequest
constructor
A new instance of CreateTableGroupRequest.
Constructor Details
#initialize(clusterid = nil, tablegroupname = nil, tablegroupid = nil, resourcetags = nil) ⇒ CreateTableGroupRequest
Returns a new instance of CreateTableGroupRequest.
849 850 851 852 853 854 |
# File 'lib/v20190823/models.rb', line 849 def initialize(clusterid=nil, tablegroupname=nil, tablegroupid=nil, =nil) @ClusterId = clusterid @TableGroupName = tablegroupname @TableGroupId = tablegroupid @ResourceTags = end |
Instance Attribute Details
#ClusterId ⇒ Object
847 848 849 |
# File 'lib/v20190823/models.rb', line 847 def ClusterId @ClusterId end |
#ResourceTags ⇒ Object
847 848 849 |
# File 'lib/v20190823/models.rb', line 847 def ResourceTags @ResourceTags end |
#TableGroupId ⇒ Object
847 848 849 |
# File 'lib/v20190823/models.rb', line 847 def TableGroupId @TableGroupId end |
#TableGroupName ⇒ Object
847 848 849 |
# File 'lib/v20190823/models.rb', line 847 def TableGroupName @TableGroupName end |
Instance Method Details
#deserialize(params) ⇒ Object
856 857 858 859 860 861 862 863 864 865 866 867 868 |
# File 'lib/v20190823/models.rb', line 856 def deserialize(params) @ClusterId = params['ClusterId'] @TableGroupName = params['TableGroupName'] @TableGroupId = params['TableGroupId'] unless params['ResourceTags'].nil? @ResourceTags = [] params['ResourceTags'].each do |i| taginfounit_tmp = TagInfoUnit.new taginfounit_tmp.deserialize(i) @ResourceTags << taginfounit_tmp end end end |