Class: SBOM::CycloneDX::Record::Patch
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::Patch
show all
- Defined in:
- lib/sbom/cyclone_dx/record/patch.rb,
sig/sbom/cyclone_dx/record/patch.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
#initialize ⇒ Patch
Returns a new instance of Patch.
5
|
# File 'sig/sbom/cyclone_dx/record/patch.rbs', line 5
def initialize: (type: String, ?diff: Diff?, ?resolves: Array[Issue]?) -> void
|
Instance Method Details
#diff ⇒ Diff?
12
|
# File 'sig/sbom/cyclone_dx/record/patch.rbs', line 12
def diff: () -> Diff?
|
#diff= ⇒ Diff?
13
|
# File 'sig/sbom/cyclone_dx/record/patch.rbs', line 13
def diff=: (Diff?) -> Diff?
|
#diff? ⇒ Boolean
14
|
# File 'sig/sbom/cyclone_dx/record/patch.rbs', line 14
def diff?: () -> bool
|
#diff_valid? ⇒ Boolean
15
|
# File 'sig/sbom/cyclone_dx/record/patch.rbs', line 15
def diff_valid?: () -> bool
|
#resolves ⇒ Array[Issue]?
17
|
# File 'sig/sbom/cyclone_dx/record/patch.rbs', line 17
def resolves: () -> Array[Issue]?
|
#resolves= ⇒ Array[Issue]?
18
|
# File 'sig/sbom/cyclone_dx/record/patch.rbs', line 18
def resolves=: (Array[Issue]?) -> Array[Issue]?
|
#resolves? ⇒ Boolean
19
|
# File 'sig/sbom/cyclone_dx/record/patch.rbs', line 19
def resolves?: () -> bool
|
#resolves_valid? ⇒ Boolean
20
|
# File 'sig/sbom/cyclone_dx/record/patch.rbs', line 20
def resolves_valid?: () -> bool
|
#type ⇒ String
7
|
# File 'sig/sbom/cyclone_dx/record/patch.rbs', line 7
def type: () -> String
|
#type= ⇒ String
8
|
# File 'sig/sbom/cyclone_dx/record/patch.rbs', line 8
def type=: (String) -> String
|
#type? ⇒ Boolean
9
|
# File 'sig/sbom/cyclone_dx/record/patch.rbs', line 9
def type?: () -> bool
|
#type_valid? ⇒ Boolean
10
|
# File 'sig/sbom/cyclone_dx/record/patch.rbs', line 10
def type_valid?: () -> bool
|