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.
918 919 920 921 |
# File 'lib/v20210811/models.rb', line 918 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
916 917 918 |
# File 'lib/v20210811/models.rb', line 916 def Key @Key end |
#Value ⇒ Object
916 917 918 |
# File 'lib/v20210811/models.rb', line 916 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
923 924 925 926 |
# File 'lib/v20210811/models.rb', line 923 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |