lib/onebusaway_sdk/models/arrival_and_departure_retrieve_params.rb



# frozen_string_literal: true

module OnebusawaySDK
  module Models
    # @see OnebusawaySDK::Resources::ArrivalAndDeparture#retrieve
    class ArrivalAndDepartureRetrieveParams < OnebusawaySDK::Internal::Type::BaseModel
      extend OnebusawaySDK::Internal::Type::RequestParameters::Converter
      include OnebusawaySDK::Internal::Type::RequestParameters

      # @!attribute service_date
      #
      #   @return [Integer]
      required :service_date, Integer

      # @!attribute trip_id
      #
      #   @return [String]
      required :trip_id, String

      # @!attribute stop_sequence
      #
      #   @return [Integer, nil]
      optional :stop_sequence, Integer

      # @!attribute time
      #
      #   @return [Integer, nil]
      optional :time, Integer

      # @!attribute vehicle_id
      #
      #   @return [String, nil]
      optional :vehicle_id, String

      # @!method initialize(service_date:, trip_id:, stop_sequence: nil, time: nil, vehicle_id: nil, request_options: {})
      #   @param service_date [Integer]
      #   @param trip_id [String]
      #   @param stop_sequence [Integer]
      #   @param time [Integer]
      #   @param vehicle_id [String]
      #   @param request_options [OnebusawaySDK::RequestOptions, Hash{Symbol=>Object}]
    end
  end
end