Class: SBOM::CycloneDX::Record::Version
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::Version
show all
- Defined in:
- lib/sbom/cyclone_dx/record/version.rb,
sig/sbom/cyclone_dx/record/version.rbs
Overview
Constant Summary
Constants inherited
from Base
Base::Record
Instance Attribute Summary
Attributes inherited from Base
#errors
Instance Method Summary
collapse
Methods inherited from Base
#<=>, const, custom_validators, fields, #formatted_errors, json_create, json_name, prop, #valid!, #valid?, validate
Methods included from _Klass
#const, #const_names, #create, #create!, #custom_validators, #fields, #json_name, #prop, #prop_names, #validate
Methods included from _Instance
#as_json, #errors, #formatted_errors, #to_json, #valid?
Constructor Details
Returns a new instance of Version.
5
|
# File 'sig/sbom/cyclone_dx/record/version.rbs', line 5
def initialize: (?version: String?, ?range: String?, ?status: String?) -> void
|
Instance Method Details
#range ⇒ String?
12
|
# File 'sig/sbom/cyclone_dx/record/version.rbs', line 12
def range: () -> String?
|
#range= ⇒ String?
13
|
# File 'sig/sbom/cyclone_dx/record/version.rbs', line 13
def range=: (String?) -> String?
|
#range? ⇒ Boolean
14
|
# File 'sig/sbom/cyclone_dx/record/version.rbs', line 14
def range?: () -> bool
|
#range_valid? ⇒ Boolean
15
|
# File 'sig/sbom/cyclone_dx/record/version.rbs', line 15
def range_valid?: () -> bool
|
#status ⇒ String?
17
|
# File 'sig/sbom/cyclone_dx/record/version.rbs', line 17
def status: () -> String?
|
#status= ⇒ String?
18
|
# File 'sig/sbom/cyclone_dx/record/version.rbs', line 18
def status=: (String?) -> String?
|
#status? ⇒ Boolean
19
|
# File 'sig/sbom/cyclone_dx/record/version.rbs', line 19
def status?: () -> bool
|
#status_valid? ⇒ Boolean
20
|
# File 'sig/sbom/cyclone_dx/record/version.rbs', line 20
def status_valid?: () -> bool
|
#version ⇒ String?
7
|
# File 'sig/sbom/cyclone_dx/record/version.rbs', line 7
def version: () -> String?
|
#version= ⇒ String?
8
|
# File 'sig/sbom/cyclone_dx/record/version.rbs', line 8
def version=: (String?) -> String?
|
#version? ⇒ Boolean
9
|
# File 'sig/sbom/cyclone_dx/record/version.rbs', line 9
def version?: () -> bool
|
#version_valid? ⇒ Boolean
10
|
# File 'sig/sbom/cyclone_dx/record/version.rbs', line 10
def version_valid?: () -> bool
|