Class: SBOM::CycloneDX::Record::Standard
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::Standard
show all
- Defined in:
- lib/sbom/cyclone_dx/record/standard.rb,
sig/sbom/cyclone_dx/record/standard.rbs
Overview
Defined Under Namespace
Classes: Level, Requirement
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 Standard.
83
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 83
def initialize: (?bom_ref: String?, ?name: String?, ?version: String?, ?description: String?, ?owner: String?, ?requirements: Array[Requirement]?, ?levels: Array[Level]?, ?external_references: Array[ExternalReference]?, ?signature: Signature::signatureChoice?) -> void
|
Instance Method Details
#bom_ref ⇒ String?
85
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 85
def bom_ref: () -> String?
|
#bom_ref= ⇒ String?
86
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 86
def bom_ref=: (String?) -> String?
|
#bom_ref? ⇒ Boolean
87
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 87
def bom_ref?: () -> bool
|
#bom_ref_valid? ⇒ Boolean
88
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 88
def bom_ref_valid?: () -> bool
|
#description ⇒ String?
100
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 100
def description: () -> String?
|
#description= ⇒ String?
101
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 101
def description=: (String?) -> String?
|
#description? ⇒ Boolean
102
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 102
def description?: () -> bool
|
#description_valid? ⇒ Boolean
103
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 103
def description_valid?: () -> bool
|
120
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 120
def external_references: () -> Array[ExternalReference]?
|
121
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 121
def external_references=: (Array[ExternalReference]?) -> Array[ExternalReference]?
|
#external_references? ⇒ Boolean
122
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 122
def external_references?: () -> bool
|
#external_references_valid? ⇒ Boolean
123
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 123
def external_references_valid?: () -> bool
|
#levels ⇒ Array[Level]?
115
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 115
def levels: () -> Array[Level]?
|
#levels= ⇒ Array[Level]?
116
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 116
def levels=: (Array[Level]?) -> Array[Level]?
|
#levels? ⇒ Boolean
117
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 117
def levels?: () -> bool
|
#levels_valid? ⇒ Boolean
118
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 118
def levels_valid?: () -> bool
|
#name ⇒ String?
90
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 90
def name: () -> String?
|
#name= ⇒ String?
91
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 91
def name=: (String?) -> String?
|
#name? ⇒ Boolean
92
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 92
def name?: () -> bool
|
#name_valid? ⇒ Boolean
93
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 93
def name_valid?: () -> bool
|
#owner ⇒ String?
105
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 105
def owner: () -> String?
|
#owner= ⇒ String?
106
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 106
def owner=: (String?) -> String?
|
#owner? ⇒ Boolean
107
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 107
def owner?: () -> bool
|
#owner_valid? ⇒ Boolean
108
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 108
def owner_valid?: () -> bool
|
#requirements ⇒ Array[Requirement]?
110
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 110
def requirements: () -> Array[Requirement]?
|
#requirements= ⇒ Array[Requirement]?
111
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 111
def requirements=: (Array[Requirement]?) -> Array[Requirement]?
|
#requirements? ⇒ Boolean
112
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 112
def requirements?: () -> bool
|
#requirements_valid? ⇒ Boolean
113
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 113
def requirements_valid?: () -> bool
|
#signature ⇒ Signature::signatureChoice?
125
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 125
def signature: () -> Signature::signatureChoice?
|
#signature= ⇒ Signature::signatureChoice?
126
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 126
def signature=: (Signature::signatureChoice?) -> Signature::signatureChoice?
|
#signature? ⇒ Boolean
127
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 127
def signature?: () -> bool
|
#signature_valid? ⇒ Boolean
128
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 128
def signature_valid?: () -> bool
|
#version ⇒ String?
95
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 95
def version: () -> String?
|
#version= ⇒ String?
96
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 96
def version=: (String?) -> String?
|
#version? ⇒ Boolean
97
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 97
def version?: () -> bool
|
#version_valid? ⇒ Boolean
98
|
# File 'sig/sbom/cyclone_dx/record/standard.rbs', line 98
def version_valid?: () -> bool
|