Class: TencentCloud::Cam::V20190116::RoleTags

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190116/models.rb

Overview

角色标签类型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil) ⇒ RoleTags

Returns a new instance of RoleTags.



4475
4476
4477
4478
# File 'lib/v20190116/models.rb', line 4475

def initialize(key=nil, value=nil)
  @Key = key
  @Value = value
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    标签键

  • Value:

    标签值



4473
4474
4475
# File 'lib/v20190116/models.rb', line 4473

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    标签键

  • Value:

    标签值



4473
4474
4475
# File 'lib/v20190116/models.rb', line 4473

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



4480
4481
4482
4483
# File 'lib/v20190116/models.rb', line 4480

def deserialize(params)
  @Key = params['Key']
  @Value = params['Value']
end