package li.vin.net;

import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import retrofit.http.GET;
import retrofit.http.Path;
import retrofit.http.Query;
import rx.Observable;

public interface Vehicles {

  @GET("/devices/{deviceId}/vehicles")
  Observable<Page<Vehicle>> vehicles(
      @NonNull @Path("deviceId") String deviceId,
      @Nullable @Query("limit") Integer limit,
      @Nullable @Query("offset") Integer offset);

  @GET("/devices/{deviceId}/vehicles/{vehicleId}")
  Observable<Wrapped<Vehicle>> vehicle(
      @NonNull @Path("deviceId") String deviceId,
      @NonNull @Path("vehicleId") String vehicleId);

}

@@ -210,14 +210,19 @@
 e;%0A%0A
-public
+/*package*/
  int

fix Vehicles visibility