You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: vehicle.rb
    path of file: ./repos/tesla-api/lib/tesla_api
    
    the code of the file until where you have to start completion: module TeslaApi
  class Vehicle
    include Stream
    include Autopark
    attr_reader :client, :api, :email, :id, :vehicle

    def initialize(client, email, id, vehicle)
      @client = client
      @email = email
      @id = id
      @vehicle = vehicle
    end
    
    def set_scheduled_departure(enable, departure_time, preconditioning_enabled, preconditioning_weekdays_only, off_peak_charging_enabled, off_peak_charging_weekdays_only, end_off_peak_time)
      command("set_scheduled_departure", body: {
        enable: enable,
        departure_time: departure_time,
        preconditioning_enabled: preconditioning_enabled,
        preconditioning_weekdays_only: preconditioning_weekdays_only,
        off_peak_charging_enabled: off_peak_charging_enabled,
        off_peak_charging_weekdays_only: off_peak_charging_weekdays_only,
        end_off_peak_time: end_off_peak_time
      })["response"]
    end