Class: TencentCloud::Tem::V20210701::Pair
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::Pair
- Defined in:
- lib/v20210701/models.rb
Overview
键值对
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil, type = nil, config = nil, secret = nil) ⇒ Pair
constructor
A new instance of Pair.
Constructor Details
#initialize(key = nil, value = nil, type = nil, config = nil, secret = nil) ⇒ Pair
Returns a new instance of Pair.
4038 4039 4040 4041 4042 4043 4044 |
# File 'lib/v20210701/models.rb', line 4038 def initialize(key=nil, value=nil, type=nil, config=nil, secret=nil) @Key = key @Value = value @Type = type @Config = config @Secret = secret end |
Instance Attribute Details
#Config ⇒ Object
4036 4037 4038 |
# File 'lib/v20210701/models.rb', line 4036 def Config @Config end |
#Key ⇒ Object
4036 4037 4038 |
# File 'lib/v20210701/models.rb', line 4036 def Key @Key end |
#Secret ⇒ Object
4036 4037 4038 |
# File 'lib/v20210701/models.rb', line 4036 def Secret @Secret end |
#Type ⇒ Object
4036 4037 4038 |
# File 'lib/v20210701/models.rb', line 4036 def Type @Type end |
#Value ⇒ Object
4036 4037 4038 |
# File 'lib/v20210701/models.rb', line 4036 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
4046 4047 4048 4049 4050 4051 4052 |
# File 'lib/v20210701/models.rb', line 4046 def deserialize(params) @Key = params['Key'] @Value = params['Value'] @Type = params['Type'] @Config = params['Config'] @Secret = params['Secret'] end |