Class: EInvoiceAPI::Models::UblDocumentValidation::Issue
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(message: , schematron: , type: , flag: nil, location: nil, rule_id: nil, test_: nil) ⇒ Object
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
# File 'lib/e_invoice_api/models/ubl_document_validation.rb', line 39
class Issue < EInvoiceAPI::Internal::Type::BaseModel
required :message, String
required :schematron, String
required :type, enum: -> { EInvoiceAPI::UblDocumentValidation::Issue::Type }
optional :flag, String, nil?: true
optional :location, String, nil?: true
optional :rule_id, String, nil?: true
optional :test_, String, api_name: :test, nil?: true
module Type
extend EInvoiceAPI::Internal::Type::Enum
ERROR = :error
WARNING = :warning
end
end
|
Instance Attribute Details
#flag ⇒ String?
58
|
# File 'lib/e_invoice_api/models/ubl_document_validation.rb', line 58
optional :flag, String, nil?: true
|
#location ⇒ String?
63
|
# File 'lib/e_invoice_api/models/ubl_document_validation.rb', line 63
optional :location, String, nil?: true
|
#message ⇒ String
43
|
# File 'lib/e_invoice_api/models/ubl_document_validation.rb', line 43
required :message, String
|
#rule_id ⇒ String?
68
|
# File 'lib/e_invoice_api/models/ubl_document_validation.rb', line 68
optional :rule_id, String, nil?: true
|
#schematron ⇒ String
48
|
# File 'lib/e_invoice_api/models/ubl_document_validation.rb', line 48
required :schematron, String
|
#test_ ⇒ String?
73
|
# File 'lib/e_invoice_api/models/ubl_document_validation.rb', line 73
optional :test_, String, api_name: :test, nil?: true
|