Class: SBOM::CycloneDX::Record::License
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::License
show all
- Defined in:
- lib/sbom/cyclone_dx/record/license.rb,
sig/sbom/cyclone_dx/record/license.rbs
Overview
Defined Under Namespace
Classes: Licensing
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 License.
90
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 90
def initialize: (?bom_ref: String?, ?id: String?, ?name: String?, ?acknowledgement: String?, ?text: Attachment?, ?url: uri?, ?licensing: Licensing?, ?properties: Array[Property]?) -> void
|
Instance Method Details
#acknowledgement ⇒ String?
107
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 107
def acknowledgement: () -> String?
|
#acknowledgement= ⇒ String?
108
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 108
def acknowledgement=: (String?) -> String?
|
#acknowledgement? ⇒ Boolean
109
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 109
def acknowledgement?: () -> bool
|
#acknowledgement_valid? ⇒ Boolean
110
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 110
def acknowledgement_valid?: () -> bool
|
#bom_ref ⇒ String?
92
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 92
def bom_ref: () -> String?
|
#bom_ref= ⇒ String?
93
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 93
def bom_ref=: (String?) -> String?
|
#bom_ref? ⇒ Boolean
94
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 94
def bom_ref?: () -> bool
|
#bom_ref_valid? ⇒ Boolean
95
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 95
def bom_ref_valid?: () -> bool
|
#id ⇒ String?
97
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 97
def id: () -> String?
|
#id= ⇒ String?
98
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 98
def id=: (String?) -> String?
|
#id? ⇒ Boolean
99
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 99
def id?: () -> bool
|
#id_valid? ⇒ Boolean
100
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 100
def id_valid?: () -> bool
|
122
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 122
def licensing: () -> Licensing?
|
123
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 123
def licensing=: (Licensing?) -> Licensing?
|
#licensing? ⇒ Boolean
124
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 124
def licensing?: () -> bool
|
#licensing_valid? ⇒ Boolean
125
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 125
def licensing_valid?: () -> bool
|
#name ⇒ String?
102
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 102
def name: () -> String?
|
#name= ⇒ String?
103
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 103
def name=: (String?) -> String?
|
#name? ⇒ Boolean
104
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 104
def name?: () -> bool
|
#name_valid? ⇒ Boolean
105
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 105
def name_valid?: () -> bool
|
#properties ⇒ Array[Property]?
127
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 127
def properties: () -> Array[Property]?
|
#properties= ⇒ Array[Property]?
128
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 128
def properties=: (Array[Property]?) -> Array[Property]?
|
#properties? ⇒ Boolean
129
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 129
def properties?: () -> bool
|
#properties_valid? ⇒ Boolean
130
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 130
def properties_valid?: () -> bool
|
112
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 112
def text: () -> Attachment?
|
113
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 113
def text=: (Attachment?) -> Attachment?
|
#text? ⇒ Boolean
114
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 114
def text?: () -> bool
|
#text_valid? ⇒ Boolean
115
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 115
def text_valid?: () -> bool
|
#url ⇒ uri?
117
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 117
def url: () -> uri?
|
#url= ⇒ uri?
118
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 118
def url=: (uri?) -> uri?
|
#url? ⇒ Boolean
119
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 119
def url?: () -> bool
|
#url_valid? ⇒ Boolean
120
|
# File 'sig/sbom/cyclone_dx/record/license.rbs', line 120
def url_valid?: () -> bool
|