Class: OnebusawaySDK::Models::RouteIDsForAgencyListResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onebusaway_sdk/models/route_ids_for_agency_list_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], 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

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(limit_exceeded: , list: , references: ) ⇒ Object

Parameters:



15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/onebusaway_sdk/models/route_ids_for_agency_list_response.rb', line 15

class Data < OnebusawaySDK::Internal::Type::BaseModel
  # @!attribute limit_exceeded
  #
  #   @return [Boolean]
  required :limit_exceeded, OnebusawaySDK::Internal::Type::Boolean, api_name: :limitExceeded

  # @!attribute list
  #
  #   @return [Array<String>]
  required :list, OnebusawaySDK::Internal::Type::ArrayOf[String]

  # @!attribute references
  #
  #   @return [OnebusawaySDK::Models::References]
  required :references, -> { OnebusawaySDK::References }

  # @!method initialize(limit_exceeded:, list:, references:)
  #   @param limit_exceeded [Boolean]
  #   @param list [Array<String>]
  #   @param references [OnebusawaySDK::Models::References]
end

Instance Attribute Details

#limit_exceededBoolean

Returns:

  • (Boolean)


19
# File 'lib/onebusaway_sdk/models/route_ids_for_agency_list_response.rb', line 19

required :limit_exceeded, OnebusawaySDK::Internal::Type::Boolean, api_name: :limitExceeded

#listArray<String>

Returns:

  • (Array<String>)


24
# File 'lib/onebusaway_sdk/models/route_ids_for_agency_list_response.rb', line 24

required :list, OnebusawaySDK::Internal::Type::ArrayOf[String]

#referencesOnebusawaySDK::Models::References



29
# File 'lib/onebusaway_sdk/models/route_ids_for_agency_list_response.rb', line 29

required :references, -> { OnebusawaySDK::References }