Class: TencentCloud::Tcb::V20180608::MgoIndexKeys
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::MgoIndexKeys
- Defined in:
- lib/v20180608/models.rb
Overview
本类型用于UpdateTable接口中描述待创建索引信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, direction = nil) ⇒ MgoIndexKeys
constructor
A new instance of MgoIndexKeys.
Constructor Details
#initialize(name = nil, direction = nil) ⇒ MgoIndexKeys
Returns a new instance of MgoIndexKeys.
7582 7583 7584 7585 |
# File 'lib/v20180608/models.rb', line 7582 def initialize(name=nil, direction=nil) @Name = name @Direction = direction end |
Instance Attribute Details
#Direction ⇒ Object
7580 7581 7582 |
# File 'lib/v20180608/models.rb', line 7580 def Direction @Direction end |
#Name ⇒ Object
7580 7581 7582 |
# File 'lib/v20180608/models.rb', line 7580 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
7587 7588 7589 7590 |
# File 'lib/v20180608/models.rb', line 7587 def deserialize(params) @Name = params['Name'] @Direction = params['Direction'] end |