Class: SBOM::CycloneDX::Record::SWID
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::SWID
show all
- Defined in:
- lib/sbom/cyclone_dx/record/swid.rb,
sig/sbom/cyclone_dx/record/swid.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 ⇒ SWID
Returns a new instance of SWID.
5
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 5
def initialize: (tag_id: String, name: String, ?version: String?, ?tag_version: Integer?, ?patch: bool?, ?text: Attachment?, ?url: uri?) -> void
|
Instance Method Details
#name ⇒ String
12
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 12
def name: () -> String
|
#name= ⇒ String
13
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 13
def name=: (String) -> String
|
#name? ⇒ Boolean
14
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 14
def name?: () -> bool
|
#name_valid? ⇒ Boolean
15
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 15
def name_valid?: () -> bool
|
#patch ⇒ Boolean?
27
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 27
def patch: () -> bool?
|
#patch= ⇒ Boolean?
28
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 28
def patch=: (bool?) -> bool?
|
#patch? ⇒ Boolean
29
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 29
def patch?: () -> bool
|
#patch_valid? ⇒ Boolean
30
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 30
def patch_valid?: () -> bool
|
#tag_id ⇒ String
7
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 7
def tag_id: () -> String
|
#tag_id= ⇒ String
8
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 8
def tag_id=: (String) -> String
|
#tag_id? ⇒ Boolean
9
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 9
def tag_id?: () -> bool
|
#tag_id_valid? ⇒ Boolean
10
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 10
def tag_id_valid?: () -> bool
|
#tag_version ⇒ Integer?
22
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 22
def tag_version: () -> Integer?
|
#tag_version= ⇒ Integer?
23
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 23
def tag_version=: (Integer?) -> Integer?
|
#tag_version? ⇒ Boolean
24
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 24
def tag_version?: () -> bool
|
#tag_version_valid? ⇒ Boolean
25
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 25
def tag_version_valid?: () -> bool
|
32
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 32
def text: () -> Attachment?
|
33
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 33
def text=: (Attachment?) -> Attachment?
|
#text? ⇒ Boolean
34
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 34
def text?: () -> bool
|
#text_valid? ⇒ Boolean
35
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 35
def text_valid?: () -> bool
|
#url ⇒ uri?
37
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 37
def url: () -> uri?
|
#url= ⇒ uri?
38
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 38
def url=: (uri?) -> uri?
|
#url? ⇒ Boolean
39
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 39
def url?: () -> bool
|
#url_valid? ⇒ Boolean
40
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 40
def url_valid?: () -> bool
|
#version ⇒ String?
17
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 17
def version: () -> String?
|
#version= ⇒ String?
18
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 18
def version=: (String?) -> String?
|
#version? ⇒ Boolean
19
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 19
def version?: () -> bool
|
#version_valid? ⇒ Boolean
20
|
# File 'sig/sbom/cyclone_dx/record/swid.rbs', line 20
def version_valid?: () -> bool
|