Class: SBOM::CycloneDX::Record::PostalAddress

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

Overview

Schema name: PostalAddress

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

Returns a new instance of PostalAddress.

Parameters:

  • bom_ref: (String, nil)
  • country: (String, nil)
  • region: (String, nil)
  • locality: (String, nil)
  • post_office_box_number: (String, nil)
  • postal_code: (String, nil)
  • street_address: (String, nil)


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

def initialize: (?bom_ref: String?, ?country: String?, ?region: String?, ?locality: String?, ?post_office_box_number: String?, ?postal_code: String?, ?street_address: String?) -> void

Instance Method Details

#bom_ref ⇒ String?

Returns:

  • (String, nil)


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

def bom_ref: () -> String?

#bom_ref= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#bom_ref? ⇒ Boolean

Returns:

  • (Boolean)


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

def bom_ref?: () -> bool

#bom_ref_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def bom_ref_valid?: () -> bool

#country ⇒ String?

Returns:

  • (String, nil)


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

def country: () -> String?

#country= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#country? ⇒ Boolean

Returns:

  • (Boolean)


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

def country?: () -> bool

#country_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def country_valid?: () -> bool

#locality ⇒ String?

Returns:

  • (String, nil)


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

def locality: () -> String?

#locality= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#locality? ⇒ Boolean

Returns:

  • (Boolean)


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

def locality?: () -> bool

#locality_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def locality_valid?: () -> bool

#post_office_box_number ⇒ String?

Returns:

  • (String, nil)


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

def post_office_box_number: () -> String?

#post_office_box_number= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#post_office_box_number? ⇒ Boolean

Returns:

  • (Boolean)


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

def post_office_box_number?: () -> bool

#post_office_box_number_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def post_office_box_number_valid?: () -> bool

#postal_code ⇒ String?

Returns:

  • (String, nil)


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

def postal_code: () -> String?

#postal_code= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#postal_code? ⇒ Boolean

Returns:

  • (Boolean)


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

def postal_code?: () -> bool

#postal_code_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def postal_code_valid?: () -> bool

#region ⇒ String?

Returns:

  • (String, nil)


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

def region: () -> String?

#region= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#region? ⇒ Boolean

Returns:

  • (Boolean)


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

def region?: () -> bool

#region_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def region_valid?: () -> bool

#street_address ⇒ String?

Returns:

  • (String, nil)


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

def street_address: () -> String?

#street_address= ⇒ String?

Parameters:

  • (String, nil)

Returns:

  • (String, nil)


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

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

#street_address? ⇒ Boolean

Returns:

  • (Boolean)


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

def street_address?: () -> bool

#street_address_valid? ⇒ Boolean

Returns:

  • (Boolean)


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

def street_address_valid?: () -> bool