Back to project page uber-android.
The source code is released under:
MIT License
If you think the Android project uber-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * UberAPILib// ww w . ja va2 s . co m * * This file was automatically generated by APIMATIC BETA v2.0 on 08/22/2014 */ package io.apimatic.uberapilib.models; import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonSetter; public class TimeEstimateModel extends java.util.Observable { private String productId; private double displayName; private int estimate; /** GETTER * Unique identifier representing a specific product for a given latitude & longitude. For example, uberX in San Francisco will have a different product_id than uberX in Los Angeles. */ @JsonGetter("product_id") public String getProductId ( ) { return this.productId; } /** SETTER * Unique identifier representing a specific product for a given latitude & longitude. For example, uberX in San Francisco will have a different product_id than uberX in Los Angeles. */ @JsonSetter("product_id") public void setProductId (String value) { this.productId = value; notifyObservers(this.productId); } /** GETTER * Display name of product. */ @JsonGetter("display_name") public double getDisplayName ( ) { return this.displayName; } /** SETTER * Display name of product. */ @JsonSetter("display_name") public void setDisplayName (double value) { this.displayName = value; notifyObservers(this.displayName); } /** GETTER * ETA for the product (in seconds). Always show estimate in minutes. */ @JsonGetter("estimate") public int getEstimate ( ) { return this.estimate; } /** SETTER * ETA for the product (in seconds). Always show estimate in minutes. */ @JsonSetter("estimate") public void setEstimate (int value) { this.estimate = value; notifyObservers(this.estimate); } }