Class: TencentCloud::Cam::V20190116::RoleTags
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::RoleTags
- Defined in:
- lib/v20190116/models.rb
Overview
角色标签类型
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ RoleTags
constructor
A new instance of RoleTags.
Constructor Details
#initialize(key = nil, value = nil) ⇒ RoleTags
Returns a new instance of RoleTags.
4517 4518 4519 4520 |
# File 'lib/v20190116/models.rb', line 4517 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
4515 4516 4517 |
# File 'lib/v20190116/models.rb', line 4515 def Key @Key end |
#Value ⇒ Object
4515 4516 4517 |
# File 'lib/v20190116/models.rb', line 4515 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
4522 4523 4524 4525 |
# File 'lib/v20190116/models.rb', line 4522 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |