Class: OnebusawaySDK::Models::AgenciesWithCoverageListResponse::Data
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/onebusaway_sdk/models/agencies_with_coverage_list_response.rb,
sig/onebusaway_sdk/models/agencies_with_coverage_list_response.rbs
Defined Under Namespace
Classes: List
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(data:) ⇒ Object
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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
|
# File 'lib/onebusaway_sdk/models/agencies_with_coverage_list_response.rb', line 15
class Data < OnebusawaySDK::Internal::Type::BaseModel
required :list,
-> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::Models::AgenciesWithCoverageListResponse::Data::List] }
required :references, -> { OnebusawaySDK::References }
optional :limit_exceeded, OnebusawaySDK::Internal::Type::Boolean, api_name: :limitExceeded
class List < OnebusawaySDK::Internal::Type::BaseModel
required :agency_id, String, api_name: :agencyId
required :lat, Float
required :lat_span, Float, api_name: :latSpan
required :lon, Float
required :lon_span, Float, api_name: :lonSpan
end
end
|
Instance Attribute Details
#limit_exceeded ⇒ Boolean?
30
|
# File 'lib/onebusaway_sdk/models/agencies_with_coverage_list_response.rb', line 30
optional :limit_exceeded, OnebusawaySDK::Internal::Type::Boolean, api_name: :limitExceeded
|
19
20
|
# File 'lib/onebusaway_sdk/models/agencies_with_coverage_list_response.rb', line 19
required :list,
-> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::Models::AgenciesWithCoverageListResponse::Data::List] }
|
25
|
# File 'lib/onebusaway_sdk/models/agencies_with_coverage_list_response.rb', line 25
required :references, -> { OnebusawaySDK::References }
|
Instance Method Details
#to_hash ⇒ {
43
|
# File 'sig/onebusaway_sdk/models/agencies_with_coverage_list_response.rbs', line 43
def to_hash: -> {
|