Class: SBOM::CycloneDX::Record::PostalAddress
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::PostalAddress
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
Returns a new instance of PostalAddress.
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?
7
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 7
def bom_ref: () -> String?
|
#bom_ref= ⇒ String?
8
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 8
def bom_ref=: (String?) -> String?
|
#bom_ref? ⇒ Boolean
9
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 9
def bom_ref?: () -> bool
|
#bom_ref_valid? ⇒ Boolean
10
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 10
def bom_ref_valid?: () -> bool
|
#country ⇒ String?
12
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 12
def country: () -> String?
|
#country= ⇒ String?
13
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 13
def country=: (String?) -> String?
|
#country? ⇒ Boolean
14
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 14
def country?: () -> bool
|
#country_valid? ⇒ Boolean
15
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 15
def country_valid?: () -> bool
|
#locality ⇒ String?
22
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 22
def locality: () -> String?
|
#locality= ⇒ String?
23
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 23
def locality=: (String?) -> String?
|
#locality? ⇒ Boolean
24
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 24
def locality?: () -> bool
|
#locality_valid? ⇒ Boolean
25
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 25
def locality_valid?: () -> bool
|
#post_office_box_number ⇒ String?
27
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 27
def post_office_box_number: () -> String?
|
#post_office_box_number= ⇒ String?
28
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 28
def post_office_box_number=: (String?) -> String?
|
#post_office_box_number? ⇒ 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
30
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 30
def post_office_box_number_valid?: () -> bool
|
#postal_code ⇒ String?
32
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 32
def postal_code: () -> String?
|
#postal_code= ⇒ String?
33
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 33
def postal_code=: (String?) -> String?
|
#postal_code? ⇒ Boolean
34
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 34
def postal_code?: () -> bool
|
#postal_code_valid? ⇒ Boolean
35
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 35
def postal_code_valid?: () -> bool
|
#region ⇒ String?
17
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 17
def region: () -> String?
|
#region= ⇒ String?
18
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 18
def region=: (String?) -> String?
|
#region? ⇒ Boolean
19
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 19
def region?: () -> bool
|
#region_valid? ⇒ Boolean
20
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 20
def region_valid?: () -> bool
|
#street_address ⇒ String?
37
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 37
def street_address: () -> String?
|
#street_address= ⇒ String?
38
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 38
def street_address=: (String?) -> String?
|
#street_address? ⇒ Boolean
39
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 39
def street_address?: () -> bool
|
#street_address_valid? ⇒ Boolean
40
|
# File 'sig/sbom/cyclone_dx/record/postal_address.rbs', line 40
def street_address_valid?: () -> bool
|