All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.smartcar.sdk.data.VehicleIds Maven / Gradle / Ivy

There is a newer version: 4.6.0
Show newest version
package com.smartcar.sdk.data;

import com.google.gson.annotations.SerializedName;

import java.util.Arrays;

/** POJO for Smartcar /vehicles endpoint. */
public class VehicleIds extends ApiData {
  @SerializedName("vehicles")
  private String[] vehicleIds;
  private ResponsePaging paging;

  /**
   * Initializes a new instance of VehicleIds
   *
   * @param vehicleIds the vehicleIds to be stored
   */
  public VehicleIds(final String[] vehicleIds, final ResponsePaging paging) {
    this.vehicleIds = vehicleIds;
    this.paging = paging;
  }

  /**
   * Returns the vehicle IDs.
   *
   * @return the vehicle IDs
   */
  public String[] getVehicleIds() {
    return vehicleIds;
  }

  public ResponsePaging getPaging() { return this.paging; }

  /** @return a stringified representation of VehicleIds */
  @Override
  public String toString() {
    return this.getClass().getName() + "{" + "vehicleIds=" + Arrays.toString(vehicleIds) + '}';
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy