Class: SBOM::CycloneDX::Record::Component

Inherits:
Base
  • Object
show all
Defined in:
lib/sbom/cyclone_dx/record/component.rb,
sig/sbom/cyclone_dx/record/component.rbs

Overview

Schema name: Component

Defined Under Namespace

Classes: Pedigree

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 ⇒ Component

Returns a new instance of Component.

Parameters:

  • type: (String)
  • mime_type: (String, nil)
  • bom_ref: (String, nil)
  • supplier: (OrganizationalEntity, nil)
  • manufacturer: (OrganizationalEntity, nil)
  • authors: (Array[OrganizationalContact], nil)
  • publisher: (String, nil)
  • group: (String, nil)
  • name: (String)
  • version: (String, nil)
  • description: (String, nil)
  • scope: (String, nil)
  • hashes: (Array[HashData], nil)
  • licenses: (Array[LicenseChoice::licenseChoice], nil)
  • copyright: (String, nil)
  • cpe: (String, nil)
  • purl: (String, nil)
  • omnibor_id: (Array[String], nil)
  • swhid: (Array[String], nil)
  • swid: (SWID, nil)
  • modified: (Boolean, nil)
  • pedigree: (Pedigree, nil)
  • external_references: (Array[ExternalReference], nil)
  • components: (Array[Component], nil)
  • evidence: (ComponentEvidence, nil)
  • release_notes: (ReleaseNotes, nil)
  • model_card: (ModelCard, nil)
  • data: (Array[ComponentData], nil)
  • crypto_properties: (CryptoProperties, nil)
  • properties: (Array[Property], nil)
  • tags: (Array[String], nil)
  • signature: (Signature::signatureChoice, nil)


39
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 39

def initialize: (type: String, ?mime_type: String?, ?bom_ref: String?, ?supplier: OrganizationalEntity?, ?manufacturer: OrganizationalEntity?, ?authors: Array[OrganizationalContact]?, ?publisher: String?, ?group: String?, name: String, ?version: String?, ?description: String?, ?scope: String?, ?hashes: Array[HashData]?, ?licenses: Array[LicenseChoice::licenseChoice]?, ?copyright: String?, ?cpe: String?, ?purl: String?, ?omnibor_id: Array[String]?, ?swhid: Array[String]?, ?swid: SWID?, ?modified: bool?, ?pedigree: Pedigree?, ?external_references: Array[ExternalReference]?, ?components: Array[Component]?, ?evidence: ComponentEvidence?, ?release_notes: ReleaseNotes?, ?model_card: ModelCard?, ?data: Array[ComponentData]?, ?crypto_properties: CryptoProperties?, ?properties: Array[Property]?, ?tags: Array[String]?, ?signature: Signature::signatureChoice?) -> void

Instance Method Details

#authors ⇒ Array[OrganizationalContact]?

Returns:



66
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 66

def authors: () -> Array[OrganizationalContact]?

#authors= ⇒ Array[OrganizationalContact]?

Parameters:

Returns:



67
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 67

def authors=: (Array[OrganizationalContact]?) -> Array[OrganizationalContact]?

#authors? ⇒ Boolean

Returns:

  • (Boolean)


68
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 68

def authors?: () -> bool

#authors_valid? ⇒ Boolean

Returns:

  • (Boolean)


69
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 69

def authors_valid?: () -> bool

#bom_ref ⇒ String?

Returns:

  • (String, nil)


51
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 51

def bom_ref: () -> String?

#bom_ref= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


52
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 52

def bom_ref=: (String?) -> String?

#bom_ref? ⇒ Boolean

Returns:

  • (Boolean)


53
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 53

def bom_ref?: () -> bool

#bom_ref_valid? ⇒ Boolean

Returns:

  • (Boolean)


54
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 54

def bom_ref_valid?: () -> bool

#components ⇒ Array[Component]?

Returns:



156
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 156

def components: () -> Array[Component]?

#components= ⇒ Array[Component]?

Parameters:

Returns:



157
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 157

def components=: (Array[Component]?) -> Array[Component]?

#components? ⇒ Boolean

Returns:

  • (Boolean)


158
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 158

def components?: () -> bool

#components_valid? ⇒ Boolean

Returns:

  • (Boolean)


159
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 159

def components_valid?: () -> bool

Returns:

  • (String, nil)


111
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 111

def copyright: () -> String?

#copyright= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


112
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 112

def copyright=: (String?) -> String?

#copyright? ⇒ Boolean

Returns:

  • (Boolean)


113
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 113

def copyright?: () -> bool

Returns:

  • (Boolean)


114
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 114

def copyright_valid?: () -> bool

#cpe ⇒ String?

Returns:

  • (String, nil)


116
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 116

def cpe: () -> String?

#cpe= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


117
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 117

def cpe=: (String?) -> String?

#cpe? ⇒ Boolean

Returns:

  • (Boolean)


118
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 118

def cpe?: () -> bool

#cpe_valid? ⇒ Boolean

Returns:

  • (Boolean)


119
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 119

def cpe_valid?: () -> bool

#crypto_properties ⇒ CryptoProperties?

Returns:



181
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 181

def crypto_properties: () -> CryptoProperties?

#crypto_properties= ⇒ CryptoProperties?

Parameters:

Returns:



182
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 182

def crypto_properties=: (CryptoProperties?) -> CryptoProperties?

#crypto_properties? ⇒ Boolean

Returns:

  • (Boolean)


183
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 183

def crypto_properties?: () -> bool

#crypto_properties_valid? ⇒ Boolean

Returns:

  • (Boolean)


184
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 184

def crypto_properties_valid?: () -> bool

#data ⇒ Array[ComponentData]?

Returns:



176
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 176

def data: () -> Array[ComponentData]?

#data= ⇒ Array[ComponentData]?

Parameters:

Returns:



177
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 177

def data=: (Array[ComponentData]?) -> Array[ComponentData]?

#data? ⇒ Boolean

Returns:

  • (Boolean)


178
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 178

def data?: () -> bool

#data_valid? ⇒ Boolean

Returns:

  • (Boolean)


179
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 179

def data_valid?: () -> bool

#description ⇒ String?

Returns:

  • (String, nil)


91
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 91

def description: () -> String?

#description= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


92
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 92

def description=: (String?) -> String?

#description? ⇒ Boolean

Returns:

  • (Boolean)


93
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 93

def description?: () -> bool

#description_valid? ⇒ Boolean

Returns:

  • (Boolean)


94
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 94

def description_valid?: () -> bool

#evidence ⇒ ComponentEvidence?

Returns:



161
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 161

def evidence: () -> ComponentEvidence?

#evidence= ⇒ ComponentEvidence?

Parameters:

Returns:



162
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 162

def evidence=: (ComponentEvidence?) -> ComponentEvidence?

#evidence? ⇒ Boolean

Returns:

  • (Boolean)


163
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 163

def evidence?: () -> bool

#evidence_valid? ⇒ Boolean

Returns:

  • (Boolean)


164
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 164

def evidence_valid?: () -> bool

#external_references ⇒ Array[ExternalReference]?

Returns:



151
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 151

def external_references: () -> Array[ExternalReference]?

#external_references= ⇒ Array[ExternalReference]?

Parameters:

Returns:



152
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 152

def external_references=: (Array[ExternalReference]?) -> Array[ExternalReference]?

#external_references? ⇒ Boolean

Returns:

  • (Boolean)


153
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 153

def external_references?: () -> bool

#external_references_valid? ⇒ Boolean

Returns:

  • (Boolean)


154
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 154

def external_references_valid?: () -> bool

#group ⇒ String?

Returns:

  • (String, nil)


76
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 76

def group: () -> String?

#group= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


77
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 77

def group=: (String?) -> String?

#group? ⇒ Boolean

Returns:

  • (Boolean)


78
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 78

def group?: () -> bool

#group_valid? ⇒ Boolean

Returns:

  • (Boolean)


79
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 79

def group_valid?: () -> bool

#hashes ⇒ Array[HashData]?

Returns:



101
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 101

def hashes: () -> Array[HashData]?

#hashes= ⇒ Array[HashData]?

Parameters:

Returns:



102
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 102

def hashes=: (Array[HashData]?) -> Array[HashData]?

#hashes? ⇒ Boolean

Returns:

  • (Boolean)


103
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 103

def hashes?: () -> bool

#hashes_valid? ⇒ Boolean

Returns:

  • (Boolean)


104
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 104

def hashes_valid?: () -> bool

#licenses ⇒ Array[LicenseChoice::licenseChoice]?

Returns:

  • (Array[LicenseChoice::licenseChoice], nil)


106
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 106

def licenses: () -> Array[LicenseChoice::licenseChoice]?

#licenses= ⇒ Array[LicenseChoice::licenseChoice]?

Parameters:

  • (Array[LicenseChoice::licenseChoice], nil)

Returns:

  • (Array[LicenseChoice::licenseChoice], nil)


107
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 107

def licenses=: (Array[LicenseChoice::licenseChoice]?) -> Array[LicenseChoice::licenseChoice]?

#licenses? ⇒ Boolean

Returns:

  • (Boolean)


108
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 108

def licenses?: () -> bool

#licenses_valid? ⇒ Boolean

Returns:

  • (Boolean)


109
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 109

def licenses_valid?: () -> bool

#manufacturer ⇒ OrganizationalEntity?

Returns:



61
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 61

def manufacturer: () -> OrganizationalEntity?

#manufacturer= ⇒ OrganizationalEntity?

Parameters:

Returns:



62
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 62

def manufacturer=: (OrganizationalEntity?) -> OrganizationalEntity?

#manufacturer? ⇒ Boolean

Returns:

  • (Boolean)


63
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 63

def manufacturer?: () -> bool

#manufacturer_valid? ⇒ Boolean

Returns:

  • (Boolean)


64
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 64

def manufacturer_valid?: () -> bool

#mime_type ⇒ String?

Returns:

  • (String, nil)


46
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 46

def mime_type: () -> String?

#mime_type= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


47
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 47

def mime_type=: (String?) -> String?

#mime_type? ⇒ Boolean

Returns:

  • (Boolean)


48
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 48

def mime_type?: () -> bool

#mime_type_valid? ⇒ Boolean

Returns:

  • (Boolean)


49
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 49

def mime_type_valid?: () -> bool

#model_card ⇒ ModelCard?

Returns:



171
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 171

def model_card: () -> ModelCard?

#model_card= ⇒ ModelCard?

Parameters:

Returns:



172
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 172

def model_card=: (ModelCard?) -> ModelCard?

#model_card? ⇒ Boolean

Returns:

  • (Boolean)


173
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 173

def model_card?: () -> bool

#model_card_valid? ⇒ Boolean

Returns:

  • (Boolean)


174
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 174

def model_card_valid?: () -> bool

#modified ⇒ Boolean?

Returns:

  • (Boolean, nil)


141
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 141

def modified: () -> bool?

#modified= ⇒ Boolean?

Parameters:

  • (Boolean, nil)

Returns:

  • (Boolean, nil)


142
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 142

def modified=: (bool?) -> bool?

#modified? ⇒ Boolean

Returns:

  • (Boolean)


143
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 143

def modified?: () -> bool

#modified_valid? ⇒ Boolean

Returns:

  • (Boolean)


144
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 144

def modified_valid?: () -> bool

#name ⇒ String

Returns:

  • (String)


81
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 81

def name: () -> String

#name= ⇒ String

Parameters:

  • (String)

Returns:

  • (String)


82
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 82

def name=: (String) -> String

#name? ⇒ Boolean

Returns:

  • (Boolean)


83
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 83

def name?: () -> bool

#name_valid? ⇒ Boolean

Returns:

  • (Boolean)


84
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 84

def name_valid?: () -> bool

#omnibor_id ⇒ Array[String]?

Returns:

  • (Array[String], nil)


126
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 126

def omnibor_id: () -> Array[String]?

#omnibor_id= ⇒ Array[String]?

Parameters:

  • (Array[String], nil)

Returns:

  • (Array[String], nil)


127
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 127

def omnibor_id=: (Array[String]?) -> Array[String]?

#omnibor_id? ⇒ Boolean

Returns:

  • (Boolean)


128
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 128

def omnibor_id?: () -> bool

#omnibor_id_valid? ⇒ Boolean

Returns:

  • (Boolean)


129
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 129

def omnibor_id_valid?: () -> bool

#pedigree ⇒ Pedigree?

Returns:



146
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 146

def pedigree: () -> Pedigree?

#pedigree= ⇒ Pedigree?

Parameters:

Returns:



147
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 147

def pedigree=: (Pedigree?) -> Pedigree?

#pedigree? ⇒ Boolean

Returns:

  • (Boolean)


148
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 148

def pedigree?: () -> bool

#pedigree_valid? ⇒ Boolean

Returns:

  • (Boolean)


149
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 149

def pedigree_valid?: () -> bool

#properties ⇒ Array[Property]?

Returns:



186
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 186

def properties: () -> Array[Property]?

#properties= ⇒ Array[Property]?

Parameters:

Returns:



187
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 187

def properties=: (Array[Property]?) -> Array[Property]?

#properties? ⇒ Boolean

Returns:

  • (Boolean)


188
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 188

def properties?: () -> bool

#properties_valid? ⇒ Boolean

Returns:

  • (Boolean)


189
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 189

def properties_valid?: () -> bool

#publisher ⇒ String?

Returns:

  • (String, nil)


71
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 71

def publisher: () -> String?

#publisher= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


72
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 72

def publisher=: (String?) -> String?

#publisher? ⇒ Boolean

Returns:

  • (Boolean)


73
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 73

def publisher?: () -> bool

#publisher_valid? ⇒ Boolean

Returns:

  • (Boolean)


74
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 74

def publisher_valid?: () -> bool

#purl ⇒ String?

Returns:

  • (String, nil)


121
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 121

def purl: () -> String?

#purl= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


122
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 122

def purl=: (String?) -> String?

#purl? ⇒ Boolean

Returns:

  • (Boolean)


123
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 123

def purl?: () -> bool

#purl_valid? ⇒ Boolean

Returns:

  • (Boolean)


124
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 124

def purl_valid?: () -> bool

#release_notes ⇒ ReleaseNotes?

Returns:



166
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 166

def release_notes: () -> ReleaseNotes?

#release_notes= ⇒ ReleaseNotes?

Parameters:

Returns:



167
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 167

def release_notes=: (ReleaseNotes?) -> ReleaseNotes?

#release_notes? ⇒ Boolean

Returns:

  • (Boolean)


168
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 168

def release_notes?: () -> bool

#release_notes_valid? ⇒ Boolean

Returns:

  • (Boolean)


169
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 169

def release_notes_valid?: () -> bool

#scope ⇒ String?

Returns:

  • (String, nil)


96
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 96

def scope: () -> String?

#scope= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


97
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 97

def scope=: (String?) -> String?

#scope? ⇒ Boolean

Returns:

  • (Boolean)


98
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 98

def scope?: () -> bool

#scope_valid? ⇒ Boolean

Returns:

  • (Boolean)


99
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 99

def scope_valid?: () -> bool

#signature ⇒ Signature::signatureChoice?

Returns:

  • (Signature::signatureChoice, nil)


196
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 196

def signature: () -> Signature::signatureChoice?

#signature= ⇒ Signature::signatureChoice?

Parameters:

  • (Signature::signatureChoice, nil)

Returns:

  • (Signature::signatureChoice, nil)


197
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 197

def signature=: (Signature::signatureChoice?) -> Signature::signatureChoice?

#signature? ⇒ Boolean

Returns:

  • (Boolean)


198
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 198

def signature?: () -> bool

#signature_valid? ⇒ Boolean

Returns:

  • (Boolean)


199
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 199

def signature_valid?: () -> bool

#supplier ⇒ OrganizationalEntity?

Returns:



56
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 56

def supplier: () -> OrganizationalEntity?

#supplier= ⇒ OrganizationalEntity?

Parameters:

Returns:



57
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 57

def supplier=: (OrganizationalEntity?) -> OrganizationalEntity?

#supplier? ⇒ Boolean

Returns:

  • (Boolean)


58
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 58

def supplier?: () -> bool

#supplier_valid? ⇒ Boolean

Returns:

  • (Boolean)


59
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 59

def supplier_valid?: () -> bool

#swhid ⇒ Array[String]?

Returns:

  • (Array[String], nil)


131
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 131

def swhid: () -> Array[String]?

#swhid= ⇒ Array[String]?

Parameters:

  • (Array[String], nil)

Returns:

  • (Array[String], nil)


132
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 132

def swhid=: (Array[String]?) -> Array[String]?

#swhid? ⇒ Boolean

Returns:

  • (Boolean)


133
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 133

def swhid?: () -> bool

#swhid_valid? ⇒ Boolean

Returns:

  • (Boolean)


134
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 134

def swhid_valid?: () -> bool

#swid ⇒ SWID?

Returns:



136
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 136

def swid: () -> SWID?

#swid= ⇒ SWID?

Parameters:

Returns:



137
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 137

def swid=: (SWID?) -> SWID?

#swid? ⇒ Boolean

Returns:

  • (Boolean)


138
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 138

def swid?: () -> bool

#swid_valid? ⇒ Boolean

Returns:

  • (Boolean)


139
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 139

def swid_valid?: () -> bool

#tags ⇒ Array[String]?

Returns:

  • (Array[String], nil)


191
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 191

def tags: () -> Array[String]?

#tags= ⇒ Array[String]?

Parameters:

  • (Array[String], nil)

Returns:

  • (Array[String], nil)


192
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 192

def tags=: (Array[String]?) -> Array[String]?

#tags? ⇒ Boolean

Returns:

  • (Boolean)


193
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 193

def tags?: () -> bool

#tags_valid? ⇒ Boolean

Returns:

  • (Boolean)


194
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 194

def tags_valid?: () -> bool

#type ⇒ String

Returns:

  • (String)


41
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 41

def type: () -> String

#type= ⇒ String

Parameters:

  • (String)

Returns:

  • (String)


42
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 42

def type=: (String) -> String

#type? ⇒ Boolean

Returns:

  • (Boolean)


43
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 43

def type?: () -> bool

#type_valid? ⇒ Boolean

Returns:

  • (Boolean)


44
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 44

def type_valid?: () -> bool

#version ⇒ String?

Returns:

  • (String, nil)


86
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 86

def version: () -> String?

#version= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


87
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 87

def version=: (String?) -> String?

#version? ⇒ Boolean

Returns:

  • (Boolean)


88
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 88

def version?: () -> bool

#version_valid? ⇒ Boolean

Returns:

  • (Boolean)


89
# File 'sig/sbom/cyclone_dx/record/component.rbs', line 89

def version_valid?: () -> bool