Class: OnebusawaySDK::Models::RoutesForAgencyListResponse::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
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
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
|
# File 'lib/onebusaway_sdk/models/routes_for_agency_list_response.rb', line 37
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
46
|
# File 'lib/onebusaway_sdk/models/routes_for_agency_list_response.rb', line 46
required :agency_id, String, api_name: :agencyId
|
#color ⇒ String?
56
|
# File 'lib/onebusaway_sdk/models/routes_for_agency_list_response.rb', line 56
optional :color, String
|
#description ⇒ String?
61
|
# File 'lib/onebusaway_sdk/models/routes_for_agency_list_response.rb', line 61
optional :description, String
|
#id ⇒ String
41
|
# File 'lib/onebusaway_sdk/models/routes_for_agency_list_response.rb', line 41
required :id, String
|
#long_name ⇒ String?
66
|
# File 'lib/onebusaway_sdk/models/routes_for_agency_list_response.rb', line 66
optional :long_name, String, api_name: :longName
|
#null_safe_short_name ⇒ String?
71
|
# File 'lib/onebusaway_sdk/models/routes_for_agency_list_response.rb', line 71
optional :null_safe_short_name, String, api_name: :nullSafeShortName
|
#short_name ⇒ String?
76
|
# File 'lib/onebusaway_sdk/models/routes_for_agency_list_response.rb', line 76
optional :short_name, String, api_name: :shortName
|
#text_color ⇒ String?
81
|
# File 'lib/onebusaway_sdk/models/routes_for_agency_list_response.rb', line 81
optional :text_color, String, api_name: :textColor
|
#type ⇒ Integer
51
|
# File 'lib/onebusaway_sdk/models/routes_for_agency_list_response.rb', line 51
required :type, Integer
|
#url ⇒ String?
86
|
# File 'lib/onebusaway_sdk/models/routes_for_agency_list_response.rb', line 86
optional :url, String
|