Class: SBOM::CycloneDX::Record::GraphicsCollection

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

Overview

Schema name: GraphicsCollection

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

Returns a new instance of GraphicsCollection.

Parameters:

  • description: (String, nil)
  • collection: (Array[Graphic], nil)


5
# File 'sig/sbom/cyclone_dx/record/graphics_collection.rbs', line 5

def initialize: (?description: String?, ?collection: Array[Graphic]?) -> void

Instance Method Details

#collection ⇒ Array[Graphic]?

Returns:



12
# File 'sig/sbom/cyclone_dx/record/graphics_collection.rbs', line 12

def collection: () -> Array[Graphic]?

#collection= ⇒ Array[Graphic]?

Parameters:

Returns:



13
# File 'sig/sbom/cyclone_dx/record/graphics_collection.rbs', line 13

def collection=: (Array[Graphic]?) -> Array[Graphic]?

#collection? ⇒ Boolean

Returns:

  • (Boolean)


14
# File 'sig/sbom/cyclone_dx/record/graphics_collection.rbs', line 14

def collection?: () -> bool

#collection_valid? ⇒ Boolean

Returns:

  • (Boolean)


15
# File 'sig/sbom/cyclone_dx/record/graphics_collection.rbs', line 15

def collection_valid?: () -> bool

#description ⇒ String?

Returns:

  • (String, nil)


7
# File 'sig/sbom/cyclone_dx/record/graphics_collection.rbs', line 7

def description: () -> String?

#description= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


8
# File 'sig/sbom/cyclone_dx/record/graphics_collection.rbs', line 8

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

#description? ⇒ Boolean

Returns:

  • (Boolean)


9
# File 'sig/sbom/cyclone_dx/record/graphics_collection.rbs', line 9

def description?: () -> bool

#description_valid? ⇒ Boolean

Returns:

  • (Boolean)


10
# File 'sig/sbom/cyclone_dx/record/graphics_collection.rbs', line 10

def description_valid?: () -> bool