Class: TencentCloud::Teo::V20220901::SecEntry
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::SecEntry
- Defined in:
- lib/v20220901/models.rb
Overview
安全数据Entry返回值
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ SecEntry
constructor
A new instance of SecEntry.
Constructor Details
#initialize(key = nil, value = nil) ⇒ SecEntry
Returns a new instance of SecEntry.
21244 21245 21246 21247 |
# File 'lib/v20220901/models.rb', line 21244 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
21242 21243 21244 |
# File 'lib/v20220901/models.rb', line 21242 def Key @Key end |
#Value ⇒ Object
21242 21243 21244 |
# File 'lib/v20220901/models.rb', line 21242 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
21249 21250 21251 21252 21253 21254 21255 21256 21257 21258 21259 |
# File 'lib/v20220901/models.rb', line 21249 def deserialize(params) @Key = params['Key'] unless params['Value'].nil? @Value = [] params['Value'].each do |i| secentryvalue_tmp = SecEntryValue.new secentryvalue_tmp.deserialize(i) @Value << secentryvalue_tmp end end end |