Class: OnebusawaySDK::Models::RoutesForLocationListResponse::Data::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(id: , agency_id: , type: , color: nil, description: nil, long_name: nil, null_safe_short_name: nil, short_name: nil, text_color: nil, url: nil) ⇒ Object
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
95
96
97
98
99
100
101
102
103
104
105
|
# File 'lib/onebusaway_sdk/models/routes_for_location_list_response.rb', line 43
class List < OnebusawaySDK::Internal::Type::BaseModel
required :id, String
required :agency_id, String, api_name: :agencyId
required :type, Integer
optional :color, String
optional :description, String
optional :long_name, String, api_name: :longName
optional :null_safe_short_name, String, api_name: :nullSafeShortName
optional :short_name, String, api_name: :shortName
optional :text_color, String, api_name: :textColor
optional :url, String
end
|
Instance Attribute Details
#agency_id ⇒ String
52
|
# File 'lib/onebusaway_sdk/models/routes_for_location_list_response.rb', line 52
required :agency_id, String, api_name: :agencyId
|
#color ⇒ String?
62
|
# File 'lib/onebusaway_sdk/models/routes_for_location_list_response.rb', line 62
optional :color, String
|
#description ⇒ String?
67
|
# File 'lib/onebusaway_sdk/models/routes_for_location_list_response.rb', line 67
optional :description, String
|
#id ⇒ String
47
|
# File 'lib/onebusaway_sdk/models/routes_for_location_list_response.rb', line 47
required :id, String
|
#long_name ⇒ String?
72
|
# File 'lib/onebusaway_sdk/models/routes_for_location_list_response.rb', line 72
optional :long_name, String, api_name: :longName
|
#null_safe_short_name ⇒ String?
77
|
# File 'lib/onebusaway_sdk/models/routes_for_location_list_response.rb', line 77
optional :null_safe_short_name, String, api_name: :nullSafeShortName
|
#short_name ⇒ String?
82
|
# File 'lib/onebusaway_sdk/models/routes_for_location_list_response.rb', line 82
optional :short_name, String, api_name: :shortName
|
#text_color ⇒ String?
87
|
# File 'lib/onebusaway_sdk/models/routes_for_location_list_response.rb', line 87
optional :text_color, String, api_name: :textColor
|
#type ⇒ Integer
57
|
# File 'lib/onebusaway_sdk/models/routes_for_location_list_response.rb', line 57
required :type, Integer
|
#url ⇒ String?
92
|
# File 'lib/onebusaway_sdk/models/routes_for_location_list_response.rb', line 92
optional :url, String
|