Class: SBOM::CycloneDX::Record::Service

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

Overview

Schema name: Service

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

Returns a new instance of Service.

Parameters:

  • bom_ref: (String, nil)
  • provider: (OrganizationalEntity, nil)
  • group: (String, nil)
  • name: (String)
  • version: (String, nil)
  • description: (String, nil)
  • endpoints: (Array[uri], nil)
  • authenticated: (Boolean, nil)
  • x_trust_boundary: (Boolean, nil)
  • trust_zone: (String, nil)
  • data: (Array[ServiceData], nil)
  • licenses: (Array[LicenseChoice::licenseChoice], nil)
  • external_references: (Array[ExternalReference], nil)
  • services: (Array[Service], nil)
  • release_notes: (ReleaseNotes, nil)
  • properties: (Array[Property], nil)
  • tags: (Array[String], nil)
  • signature: (Signature::signatureChoice, nil)


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

def initialize: (?bom_ref: String?, ?provider: OrganizationalEntity?, ?group: String?, name: String, ?version: String?, ?description: String?, ?endpoints: Array[uri]?, ?authenticated: bool?, ?x_trust_boundary: bool?, ?trust_zone: String?, ?data: Array[ServiceData]?, ?licenses: Array[LicenseChoice::licenseChoice]?, ?external_references: Array[ExternalReference]?, ?services: Array[Service]?, ?release_notes: ReleaseNotes?, ?properties: Array[Property]?, ?tags: Array[String]?, ?signature: Signature::signatureChoice?) -> void

Instance Method Details

#authenticated ⇒ Boolean?

Returns:

  • (Boolean, nil)


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

def authenticated: () -> bool?

#authenticated= ⇒ Boolean?

Parameters:

  • (Boolean, nil)

Returns:

  • (Boolean, nil)


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

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

#authenticated? ⇒ Boolean

Returns:

  • (Boolean)


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

def authenticated?: () -> bool

#authenticated_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def authenticated_valid?: () -> bool

#bom_ref ⇒ String?

Returns:

  • (String, nil)


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

def bom_ref: () -> String?

#bom_ref= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#bom_ref? ⇒ Boolean

Returns:

  • (Boolean)


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

def bom_ref?: () -> bool

#bom_ref_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def bom_ref_valid?: () -> bool

#data ⇒ Array[ServiceData]?

Returns:



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

def data: () -> Array[ServiceData]?

#data= ⇒ Array[ServiceData]?

Parameters:

Returns:



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

def data=: (Array[ServiceData]?) -> Array[ServiceData]?

#data? ⇒ Boolean

Returns:

  • (Boolean)


59
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 59

def data?: () -> bool

#data_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def data_valid?: () -> bool

#description ⇒ String?

Returns:

  • (String, nil)


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

def description: () -> String?

#description= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#description? ⇒ Boolean

Returns:

  • (Boolean)


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

def description?: () -> bool

#description_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def description_valid?: () -> bool

#endpoints ⇒ Array[uri]?

Returns:

  • (Array[uri], nil)


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

def endpoints: () -> Array[uri]?

#endpoints= ⇒ Array[uri]?

Parameters:

  • (Array[uri], nil)

Returns:

  • (Array[uri], nil)


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

def endpoints=: (Array[uri]?) -> Array[uri]?

#endpoints? ⇒ Boolean

Returns:

  • (Boolean)


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

def endpoints?: () -> bool

#endpoints_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def endpoints_valid?: () -> bool

#external_references ⇒ Array[ExternalReference]?

Returns:



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

def external_references: () -> Array[ExternalReference]?

#external_references= ⇒ Array[ExternalReference]?

Parameters:

Returns:



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

def external_references=: (Array[ExternalReference]?) -> Array[ExternalReference]?

#external_references? ⇒ Boolean

Returns:

  • (Boolean)


69
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 69

def external_references?: () -> bool

#external_references_valid? ⇒ Boolean

Returns:

  • (Boolean)


70
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 70

def external_references_valid?: () -> bool

#group ⇒ String?

Returns:

  • (String, nil)


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

def group: () -> String?

#group= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#group? ⇒ Boolean

Returns:

  • (Boolean)


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

def group?: () -> bool

#group_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def group_valid?: () -> bool

#licenses ⇒ Array[LicenseChoice::licenseChoice]?

Returns:

  • (Array[LicenseChoice::licenseChoice], nil)


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

def licenses: () -> Array[LicenseChoice::licenseChoice]?

#licenses= ⇒ Array[LicenseChoice::licenseChoice]?

Parameters:

  • (Array[LicenseChoice::licenseChoice], nil)

Returns:

  • (Array[LicenseChoice::licenseChoice], nil)


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

def licenses=: (Array[LicenseChoice::licenseChoice]?) -> Array[LicenseChoice::licenseChoice]?

#licenses? ⇒ Boolean

Returns:

  • (Boolean)


64
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 64

def licenses?: () -> bool

#licenses_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def licenses_valid?: () -> bool

#name ⇒ String

Returns:

  • (String)


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

def name: () -> String

#name= ⇒ String

Parameters:

  • (String)

Returns:

  • (String)


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

def name=: (String) -> String

#name? ⇒ Boolean

Returns:

  • (Boolean)


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

def name?: () -> bool

#name_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def name_valid?: () -> bool

#properties ⇒ Array[Property]?

Returns:



82
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 82

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

#properties= ⇒ Array[Property]?

Parameters:

Returns:



83
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 83

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

#properties? ⇒ Boolean

Returns:

  • (Boolean)


84
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 84

def properties?: () -> bool

#properties_valid? ⇒ Boolean

Returns:

  • (Boolean)


85
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 85

def properties_valid?: () -> bool

#provider ⇒ OrganizationalEntity?

Returns:



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

def provider: () -> OrganizationalEntity?

#provider= ⇒ OrganizationalEntity?

Parameters:

Returns:



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

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

#provider? ⇒ Boolean

Returns:

  • (Boolean)


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

def provider?: () -> bool

#provider_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def provider_valid?: () -> bool

#release_notes ⇒ ReleaseNotes?

Returns:



77
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 77

def release_notes: () -> ReleaseNotes?

#release_notes= ⇒ ReleaseNotes?

Parameters:

Returns:



78
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 78

def release_notes=: (ReleaseNotes?) -> ReleaseNotes?

#release_notes? ⇒ Boolean

Returns:

  • (Boolean)


79
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 79

def release_notes?: () -> bool

#release_notes_valid? ⇒ Boolean

Returns:

  • (Boolean)


80
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 80

def release_notes_valid?: () -> bool

#services ⇒ Array[Service]?

Returns:



72
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 72

def services: () -> Array[Service]?

#services= ⇒ Array[Service]?

Parameters:

Returns:



73
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 73

def services=: (Array[Service]?) -> Array[Service]?

#services? ⇒ Boolean

Returns:

  • (Boolean)


74
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 74

def services?: () -> bool

#services_valid? ⇒ Boolean

Returns:

  • (Boolean)


75
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 75

def services_valid?: () -> bool

#signature ⇒ Signature::signatureChoice?

Returns:

  • (Signature::signatureChoice, nil)


92
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 92

def signature: () -> Signature::signatureChoice?

#signature= ⇒ Signature::signatureChoice?

Parameters:

  • (Signature::signatureChoice, nil)

Returns:

  • (Signature::signatureChoice, nil)


93
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 93

def signature=: (Signature::signatureChoice?) -> Signature::signatureChoice?

#signature? ⇒ Boolean

Returns:

  • (Boolean)


94
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 94

def signature?: () -> bool

#signature_valid? ⇒ Boolean

Returns:

  • (Boolean)


95
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 95

def signature_valid?: () -> bool

#tags ⇒ Array[String]?

Returns:

  • (Array[String], nil)


87
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 87

def tags: () -> Array[String]?

#tags= ⇒ Array[String]?

Parameters:

  • (Array[String], nil)

Returns:

  • (Array[String], nil)


88
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 88

def tags=: (Array[String]?) -> Array[String]?

#tags? ⇒ Boolean

Returns:

  • (Boolean)


89
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 89

def tags?: () -> bool

#tags_valid? ⇒ Boolean

Returns:

  • (Boolean)


90
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 90

def tags_valid?: () -> bool

#trust_zone ⇒ String?

Returns:

  • (String, nil)


52
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 52

def trust_zone: () -> String?

#trust_zone= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#trust_zone? ⇒ Boolean

Returns:

  • (Boolean)


54
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 54

def trust_zone?: () -> bool

#trust_zone_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def trust_zone_valid?: () -> bool

#version ⇒ String?

Returns:

  • (String, nil)


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

def version: () -> String?

#version= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#version? ⇒ Boolean

Returns:

  • (Boolean)


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

def version?: () -> bool

#version_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def version_valid?: () -> bool

#x_trust_boundary ⇒ Boolean?

Returns:

  • (Boolean, nil)


47
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 47

def x_trust_boundary: () -> bool?

#x_trust_boundary= ⇒ Boolean?

Parameters:

  • (Boolean, nil)

Returns:

  • (Boolean, nil)


48
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 48

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

#x_trust_boundary? ⇒ Boolean

Returns:

  • (Boolean)


49
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 49

def x_trust_boundary?: () -> bool

#x_trust_boundary_valid? ⇒ Boolean

Returns:

  • (Boolean)


50
# File 'sig/sbom/cyclone_dx/record/service.rbs', line 50

def x_trust_boundary_valid?: () -> bool