Class: SBOM::CycloneDX::Record::Declarations::Evidence

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

Overview

Schema name: Evidence

Defined Under Namespace

Classes: EvidenceData

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

Returns a new instance of Evidence.

Parameters:

  • bom_ref: (String, nil)
  • property_name: (String, nil)
  • description: (String, nil)
  • data: (Array[EvidenceData], nil)
  • created: (dateTime, nil)
  • expires: (dateTime, nil)
  • author: (OrganizationalContact, nil)
  • reviewer: (OrganizationalContact, nil)
  • signature: (Signature::signatureChoice, nil)


246
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 246

def initialize: (?bom_ref: String?, ?property_name: String?, ?description: String?, ?data: Array[EvidenceData]?, ?created: dateTime?, ?expires: dateTime?, ?author: OrganizationalContact?, ?reviewer: OrganizationalContact?, ?signature: Signature::signatureChoice?) -> void

Instance Method Details

#author ⇒ OrganizationalContact?

Returns:



278
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 278

def author: () -> OrganizationalContact?

#author= ⇒ OrganizationalContact?

Parameters:

Returns:



279
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 279

def author=: (OrganizationalContact?) -> OrganizationalContact?

#author? ⇒ Boolean

Returns:

  • (Boolean)


280
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 280

def author?: () -> bool

#author_valid? ⇒ Boolean

Returns:

  • (Boolean)


281
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 281

def author_valid?: () -> bool

#bom_ref ⇒ String?

Returns:

  • (String, nil)


248
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 248

def bom_ref: () -> String?

#bom_ref= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


249
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 249

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

#bom_ref? ⇒ Boolean

Returns:

  • (Boolean)


250
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 250

def bom_ref?: () -> bool

#bom_ref_valid? ⇒ Boolean

Returns:

  • (Boolean)


251
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 251

def bom_ref_valid?: () -> bool

#created ⇒ dateTime?

Returns:

  • (dateTime, nil)


268
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 268

def created: () -> dateTime?

#created= ⇒ dateTime?

Parameters:

  • (dateTime, nil)

Returns:

  • (dateTime, nil)


269
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 269

def created=: (dateTime?) -> dateTime?

#created? ⇒ Boolean

Returns:

  • (Boolean)


270
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 270

def created?: () -> bool

#created_valid? ⇒ Boolean

Returns:

  • (Boolean)


271
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 271

def created_valid?: () -> bool

#data ⇒ Array[EvidenceData]?

Returns:



263
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 263

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

#data= ⇒ Array[EvidenceData]?

Parameters:

Returns:



264
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 264

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

#data? ⇒ Boolean

Returns:

  • (Boolean)


265
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 265

def data?: () -> bool

#data_valid? ⇒ Boolean

Returns:

  • (Boolean)


266
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 266

def data_valid?: () -> bool

#description ⇒ String?

Returns:

  • (String, nil)


258
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 258

def description: () -> String?

#description= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


259
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 259

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

#description? ⇒ Boolean

Returns:

  • (Boolean)


260
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 260

def description?: () -> bool

#description_valid? ⇒ Boolean

Returns:

  • (Boolean)


261
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 261

def description_valid?: () -> bool

#expires ⇒ dateTime?

Returns:

  • (dateTime, nil)


273
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 273

def expires: () -> dateTime?

#expires= ⇒ dateTime?

Parameters:

  • (dateTime, nil)

Returns:

  • (dateTime, nil)


274
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 274

def expires=: (dateTime?) -> dateTime?

#expires? ⇒ Boolean

Returns:

  • (Boolean)


275
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 275

def expires?: () -> bool

#expires_valid? ⇒ Boolean

Returns:

  • (Boolean)


276
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 276

def expires_valid?: () -> bool

#property_name ⇒ String?

Returns:

  • (String, nil)


253
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 253

def property_name: () -> String?

#property_name= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


254
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 254

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

#property_name? ⇒ Boolean

Returns:

  • (Boolean)


255
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 255

def property_name?: () -> bool

#property_name_valid? ⇒ Boolean

Returns:

  • (Boolean)


256
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 256

def property_name_valid?: () -> bool

#reviewer ⇒ OrganizationalContact?

Returns:



283
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 283

def reviewer: () -> OrganizationalContact?

#reviewer= ⇒ OrganizationalContact?

Parameters:

Returns:



284
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 284

def reviewer=: (OrganizationalContact?) -> OrganizationalContact?

#reviewer? ⇒ Boolean

Returns:

  • (Boolean)


285
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 285

def reviewer?: () -> bool

#reviewer_valid? ⇒ Boolean

Returns:

  • (Boolean)


286
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 286

def reviewer_valid?: () -> bool

#signature ⇒ Signature::signatureChoice?

Returns:

  • (Signature::signatureChoice, nil)


288
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 288

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

#signature= ⇒ Signature::signatureChoice?

Parameters:

  • (Signature::signatureChoice, nil)

Returns:

  • (Signature::signatureChoice, nil)


289
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 289

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

#signature? ⇒ Boolean

Returns:

  • (Boolean)


290
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 290

def signature?: () -> bool

#signature_valid? ⇒ Boolean

Returns:

  • (Boolean)


291
# File 'sig/sbom/cyclone_dx/record/declarations.rbs', line 291

def signature_valid?: () -> bool