Class: SBOM::CycloneDX::Record::Volume

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

Overview

Schema name: Volume

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

Returns a new instance of Volume.

Parameters:

  • uid: (String, nil)
  • name: (String, nil)
  • mode: (String, nil)
  • path: (String, nil)
  • size_allocated: (String, nil)
  • persistent: (Boolean, nil)
  • remote: (Boolean, nil)
  • properties: (Array[Property], nil)


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

def initialize: (?uid: String?, ?name: String?, ?mode: String?, ?path: String?, ?size_allocated: String?, ?persistent: bool?, ?remote: bool?, ?properties: Array[Property]?) -> void

Instance Method Details

#mode ⇒ String?

Returns:

  • (String, nil)


17
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 17

def mode: () -> String?

#mode= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


18
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 18

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

#mode? ⇒ Boolean

Returns:

  • (Boolean)


19
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 19

def mode?: () -> bool

#mode_valid? ⇒ Boolean

Returns:

  • (Boolean)


20
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 20

def mode_valid?: () -> bool

#name ⇒ String?

Returns:

  • (String, nil)


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

def name: () -> String?

#name= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#name? ⇒ Boolean

Returns:

  • (Boolean)


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

def name?: () -> bool

#name_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def name_valid?: () -> bool

#path ⇒ String?

Returns:

  • (String, nil)


22
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 22

def path: () -> String?

#path= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


23
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 23

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

#path? ⇒ Boolean

Returns:

  • (Boolean)


24
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 24

def path?: () -> bool

#path_valid? ⇒ Boolean

Returns:

  • (Boolean)


25
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 25

def path_valid?: () -> bool

#persistent ⇒ Boolean?

Returns:

  • (Boolean, nil)


32
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 32

def persistent: () -> bool?

#persistent= ⇒ Boolean?

Parameters:

  • (Boolean, nil)

Returns:

  • (Boolean, nil)


33
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 33

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

#persistent? ⇒ Boolean

Returns:

  • (Boolean)


34
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 34

def persistent?: () -> bool

#persistent_valid? ⇒ Boolean

Returns:

  • (Boolean)


35
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 35

def persistent_valid?: () -> bool

#properties ⇒ Array[Property]?

Returns:



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

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

#properties= ⇒ Array[Property]?

Parameters:

Returns:



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

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

#properties? ⇒ Boolean

Returns:

  • (Boolean)


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

def properties?: () -> bool

#properties_valid? ⇒ Boolean

Returns:

  • (Boolean)


45
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 45

def properties_valid?: () -> bool

#remote ⇒ Boolean?

Returns:

  • (Boolean, nil)


37
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 37

def remote: () -> bool?

#remote= ⇒ Boolean?

Parameters:

  • (Boolean, nil)

Returns:

  • (Boolean, nil)


38
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 38

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

#remote? ⇒ Boolean

Returns:

  • (Boolean)


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

def remote?: () -> bool

#remote_valid? ⇒ Boolean

Returns:

  • (Boolean)


40
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 40

def remote_valid?: () -> bool

#size_allocated ⇒ String?

Returns:

  • (String, nil)


27
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 27

def size_allocated: () -> String?

#size_allocated= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


28
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 28

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

#size_allocated? ⇒ Boolean

Returns:

  • (Boolean)


29
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 29

def size_allocated?: () -> bool

#size_allocated_valid? ⇒ Boolean

Returns:

  • (Boolean)


30
# File 'sig/sbom/cyclone_dx/record/volume.rbs', line 30

def size_allocated_valid?: () -> bool

#uid ⇒ String?

Returns:

  • (String, nil)


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

def uid: () -> String?

#uid= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#uid? ⇒ Boolean

Returns:

  • (Boolean)


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

def uid?: () -> bool

#uid_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def uid_valid?: () -> bool