Class: SBOM::CycloneDX::Record::HashData

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

Overview

Schema name: HashData

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

Returns a new instance of HashData.

Parameters:

  • alg: (String)
  • content: (String)


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

def initialize: (alg: String, content: String) -> void

Instance Method Details

#alg ⇒ String

Returns:

  • (String)


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

def alg: () -> String

#alg= ⇒ String

Parameters:

  • (String)

Returns:

  • (String)


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

def alg=: (String) -> String

#alg? ⇒ Boolean

Returns:

  • (Boolean)


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

def alg?: () -> bool

#alg_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def alg_valid?: () -> bool

#content ⇒ String

Returns:

  • (String)


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

def content: () -> String

#content= ⇒ String

Parameters:

  • (String)

Returns:

  • (String)


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

def content=: (String) -> String

#content? ⇒ Boolean

Returns:

  • (Boolean)


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

def content?: () -> bool

#content_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def content_valid?: () -> bool