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,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PURL ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#VersionInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(purl = nil, licenseexpression = nil, versioninfo = nil) ⇒ ComponentVersion
constructor
A new instance of ComponentVersion.
Constructor Details
#initialize(purl = nil, licenseexpression = nil, versioninfo = nil) ⇒ ComponentVersion
Returns a new instance of ComponentVersion.
282 283 284 285 286 |
# File 'lib/v20210811/models.rb', line 282 def initialize(purl=nil, licenseexpression=nil, versioninfo=nil) @PURL = purl @LicenseExpression = licenseexpression @VersionInfo = versioninfo end |
Instance Attribute Details
#LicenseExpression ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
280 281 282 |
# File 'lib/v20210811/models.rb', line 280 def LicenseExpression @LicenseExpression end |
#PURL ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
280 281 282 |
# File 'lib/v20210811/models.rb', line 280 def PURL @PURL end |
#VersionInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
280 281 282 |
# File 'lib/v20210811/models.rb', line 280 def VersionInfo @VersionInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
288 289 290 291 292 293 294 295 296 297 298 |
# File 'lib/v20210811/models.rb', line 288 def deserialize(params) unless params['PURL'].nil? @PURL = PURL.new @PURL.deserialize(params['PURL']) end @LicenseExpression = params['LicenseExpression'] unless params['VersionInfo'].nil? @VersionInfo = ComponentVersionInfo.new @VersionInfo.deserialize(params['VersionInfo']) end end |