Class: SBOM::CycloneDX::Record::Declarations::Assessor

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

Overview

Schema name: Assessor

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

Returns a new instance of Assessor.

Parameters:



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

def initialize: (?bom_ref: String?, ?third_party: bool?, ?organization: OrganizationalEntity?) -> void

Instance Method Details

#bom_ref ⇒ String?

Returns:

  • (String, nil)


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

def bom_ref: () -> String?

#bom_ref= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#bom_ref? ⇒ Boolean

Returns:

  • (Boolean)


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

def bom_ref?: () -> bool

#bom_ref_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def bom_ref_valid?: () -> bool

#organization ⇒ OrganizationalEntity?

Returns:



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

def organization: () -> OrganizationalEntity?

#organization= ⇒ OrganizationalEntity?

Parameters:

Returns:



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

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

#organization? ⇒ Boolean

Returns:

  • (Boolean)


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

def organization?: () -> bool

#organization_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def organization_valid?: () -> bool

#third_party ⇒ Boolean?

Returns:

  • (Boolean, nil)


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

def third_party: () -> bool?

#third_party= ⇒ Boolean?

Parameters:

  • (Boolean, nil)

Returns:

  • (Boolean, nil)


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

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

#third_party? ⇒ Boolean

Returns:

  • (Boolean)


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

def third_party?: () -> bool

#third_party_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def third_party_valid?: () -> bool