Class: TencentCloud::Bsca::V20210811::ComponentVersion
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bsca::V20210811::ComponentVersion
- Defined in:
- lib/v20210811/models.rb
Overview
描述组件的一条版本信息。
Instance Attribute Summary collapse
-
#LicenseExpression ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PURL ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(purl = nil, licenseexpression = nil) ⇒ ComponentVersion
constructor
A new instance of ComponentVersion.
Constructor Details
#initialize(purl = nil, licenseexpression = nil) ⇒ ComponentVersion
Returns a new instance of ComponentVersion.
241 242 243 244 |
# File 'lib/v20210811/models.rb', line 241 def initialize(purl=nil, licenseexpression=nil) @PURL = purl @LicenseExpression = licenseexpression end |
Instance Attribute Details
#LicenseExpression ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
239 240 241 |
# File 'lib/v20210811/models.rb', line 239 def LicenseExpression @LicenseExpression end |
#PURL ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
239 240 241 |
# File 'lib/v20210811/models.rb', line 239 def PURL @PURL end |
Instance Method Details
#deserialize(params) ⇒ Object
246 247 248 249 250 251 252 |
# File 'lib/v20210811/models.rb', line 246 def deserialize(params) unless params['PURL'].nil? @PURL = PURL.new @PURL.deserialize(params['PURL']) end @LicenseExpression = params['LicenseExpression'] end |