Class: TencentCloud::Tcr::V20190924::Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::Tag
- Defined in:
- lib/v20190924/models.rb
Overview
云标签Tag
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ Tag
constructor
A new instance of Tag.
Constructor Details
#initialize(key = nil, value = nil) ⇒ Tag
Returns a new instance of Tag.
6990 6991 6992 6993 |
# File 'lib/v20190924/models.rb', line 6990 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
6988 6989 6990 |
# File 'lib/v20190924/models.rb', line 6988 def Key @Key end |
#Value ⇒ Object
6988 6989 6990 |
# File 'lib/v20190924/models.rb', line 6988 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
6995 6996 6997 6998 |
# File 'lib/v20190924/models.rb', line 6995 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |