Class: TencentCloud::Bsca::V20210811::Qualifier
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bsca::V20210811::Qualifier
- Defined in:
- lib/v20210811/models.rb
Overview
PURL下的Qualifier属性类型,用于定义第三方组件的额外属性,见 github.com/package-url/purl-spec。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ Qualifier
constructor
A new instance of Qualifier.
Constructor Details
#initialize(key = nil, value = nil) ⇒ Qualifier
Returns a new instance of Qualifier.
807 808 809 810 |
# File 'lib/v20210811/models.rb', line 807 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
805 806 807 |
# File 'lib/v20210811/models.rb', line 805 def Key @Key end |
#Value ⇒ Object
805 806 807 |
# File 'lib/v20210811/models.rb', line 805 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
812 813 814 815 |
# File 'lib/v20210811/models.rb', line 812 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |