Class: SBOM::CycloneDX::Record::ServiceData

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

Overview

Schema name: ServiceData

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

Returns a new instance of ServiceData.

Parameters:

  • flow: (String)
  • classification: (String)
  • name: (String, nil)
  • description: (String, nil)
  • governance: (DataGovernance, nil)
  • source: (uri, String)
  • destination: (uri, String)


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

def initialize: (flow: String, classification: String, ?name: String?, ?description: String?, ?governance: DataGovernance?, source: uri | String, destination: uri | String) -> void

Instance Method Details

#classification ⇒ String

Returns:

  • (String)


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

def classification: () -> String

#classification= ⇒ String

Parameters:

  • (String)

Returns:

  • (String)


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

def classification=: (String) -> String

#classification? ⇒ Boolean

Returns:

  • (Boolean)


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

def classification?: () -> bool

#classification_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def classification_valid?: () -> bool

#description ⇒ String?

Returns:

  • (String, nil)


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

def description: () -> String?

#description= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#description? ⇒ Boolean

Returns:

  • (Boolean)


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

def description?: () -> bool

#description_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def description_valid?: () -> bool

#destination ⇒ uri, String

Returns:

  • (uri, String)


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

def destination: () -> (uri | String)

#destination= ⇒ uri, String

Parameters:

  • (uri, String)

Returns:

  • (uri, String)


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

def destination=: (uri | String) -> (uri | String)

#destination? ⇒ Boolean

Returns:

  • (Boolean)


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

def destination?: () -> bool

#destination_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def destination_valid?: () -> bool

#flow ⇒ String

Returns:

  • (String)


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

def flow: () -> String

#flow= ⇒ String

Parameters:

  • (String)

Returns:

  • (String)


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

def flow=: (String) -> String

#flow? ⇒ Boolean

Returns:

  • (Boolean)


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

def flow?: () -> bool

#flow_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def flow_valid?: () -> bool

#governance ⇒ DataGovernance?

Returns:



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

def governance: () -> DataGovernance?

#governance= ⇒ DataGovernance?

Parameters:

Returns:



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

def governance=: (DataGovernance?) -> DataGovernance?

#governance? ⇒ Boolean

Returns:

  • (Boolean)


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

def governance?: () -> bool

#governance_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def governance_valid?: () -> bool

#name ⇒ String?

Returns:

  • (String, nil)


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

def name: () -> String?

#name= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#name? ⇒ Boolean

Returns:

  • (Boolean)


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

def name?: () -> bool

#name_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def name_valid?: () -> bool

#source ⇒ uri, String

Returns:

  • (uri, String)


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

def source: () -> (uri | String)

#source= ⇒ uri, String

Parameters:

  • (uri, String)

Returns:

  • (uri, String)


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

def source=: (uri | String) -> (uri | String)

#source? ⇒ Boolean

Returns:

  • (Boolean)


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

def source?: () -> bool

#source_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def source_valid?: () -> bool