Class: SBOM::CycloneDX::Record::Graphic
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::Graphic
show all
- Defined in:
- lib/sbom/cyclone_dx/record/graphic.rb,
sig/sbom/cyclone_dx/record/graphic.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 Graphic.
5
|
# File 'sig/sbom/cyclone_dx/record/graphic.rbs', line 5
def initialize: (?name: String?, ?image: Attachment?) -> void
|
Instance Method Details
12
|
# File 'sig/sbom/cyclone_dx/record/graphic.rbs', line 12
def image: () -> Attachment?
|
13
|
# File 'sig/sbom/cyclone_dx/record/graphic.rbs', line 13
def image=: (Attachment?) -> Attachment?
|
#image? ⇒ Boolean
14
|
# File 'sig/sbom/cyclone_dx/record/graphic.rbs', line 14
def image?: () -> bool
|
#image_valid? ⇒ Boolean
15
|
# File 'sig/sbom/cyclone_dx/record/graphic.rbs', line 15
def image_valid?: () -> bool
|
#name ⇒ String?
7
|
# File 'sig/sbom/cyclone_dx/record/graphic.rbs', line 7
def name: () -> String?
|
#name= ⇒ String?
8
|
# File 'sig/sbom/cyclone_dx/record/graphic.rbs', line 8
def name=: (String?) -> String?
|
#name? ⇒ Boolean
9
|
# File 'sig/sbom/cyclone_dx/record/graphic.rbs', line 9
def name?: () -> bool
|
#name_valid? ⇒ Boolean
10
|
# File 'sig/sbom/cyclone_dx/record/graphic.rbs', line 10
def name_valid?: () -> bool
|