Class: Vatsense::Models::CountryListProvincesResponse
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/vatsense/models/country_list_provinces_response.rb,
sig/vatsense/models/country_list_provinces_response.rbs
Overview
Defined Under Namespace
Classes: Data
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 ⇒ Object
25
|
# File 'sig/vatsense/models/country_list_provinces_response.rbs', line 25
def initialize: (
|
Instance Attribute Details
#code ⇒ Integer?
10
|
# File 'lib/vatsense/models/country_list_provinces_response.rb', line 10
optional :code, Integer
|
15
16
|
# File 'lib/vatsense/models/country_list_provinces_response.rb', line 15
optional :data,
-> { Vatsense::Internal::Type::ArrayOf[Vatsense::Models::CountryListProvincesResponse::Data] }
|
#success ⇒ Boolean?
21
|
# File 'lib/vatsense/models/country_list_provinces_response.rb', line 21
optional :success, Vatsense::Internal::Type::Boolean
|
Instance Method Details
#to_hash ⇒ {
31
|
# File 'sig/vatsense/models/country_list_provinces_response.rbs', line 31
def to_hash: -> {
|