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.
829 830 831 832 833 834 |
# File 'lib/v20190823/models.rb', line 829 def initialize(clusterid=nil, tablegroupname=nil, tablegroupid=nil, =nil) @ClusterId = clusterid @TableGroupName = tablegroupname @TableGroupId = tablegroupid @ResourceTags = end |
Instance Attribute Details
#ClusterId ⇒ Object
827 828 829 |
# File 'lib/v20190823/models.rb', line 827 def ClusterId @ClusterId end |
#ResourceTags ⇒ Object
827 828 829 |
# File 'lib/v20190823/models.rb', line 827 def ResourceTags @ResourceTags end |
#TableGroupId ⇒ Object
827 828 829 |
# File 'lib/v20190823/models.rb', line 827 def TableGroupId @TableGroupId end |
#TableGroupName ⇒ Object
827 828 829 |
# File 'lib/v20190823/models.rb', line 827 def TableGroupName @TableGroupName end |
Instance Method Details
#deserialize(params) ⇒ Object
836 837 838 839 840 841 842 843 844 845 846 847 848 |
# File 'lib/v20190823/models.rb', line 836 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 |