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/*w ww . j av a 2 s.c o m*/ * * This file was automatically generated by APIMATIC BETA v2.0 on 08/22/2014 */ package io.apimatic.uberapilib.models; import java.util.List; import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonSetter; public class UserActivityModel extends java.util.Observable { private int offset; private int limit; private int count; private List<HistoryModel> history; /** GETTER * Position in pagination. */ @JsonGetter("offset") public int getOffset ( ) { return this.offset; } /** SETTER * Position in pagination. */ @JsonSetter("offset") public void setOffset (int value) { this.offset = value; notifyObservers(this.offset); } /** GETTER * Number of items to retrieve (100 max). */ @JsonGetter("limit") public int getLimit ( ) { return this.limit; } /** SETTER * Number of items to retrieve (100 max). */ @JsonSetter("limit") public void setLimit (int value) { this.limit = value; notifyObservers(this.limit); } /** GETTER * Total number of items available. */ @JsonGetter("count") public int getCount ( ) { return this.count; } /** SETTER * Total number of items available. */ @JsonSetter("count") public void setCount (int value) { this.count = value; notifyObservers(this.count); } /** GETTER * Information including the pickup location, dropoff location, request start time, request end time, and distance of requests (in miles), as well as the product type that was requested. */ @JsonGetter("history") public List<HistoryModel> getHistory ( ) { return this.history; } /** SETTER * Information including the pickup location, dropoff location, request start time, request end time, and distance of requests (in miles), as well as the product type that was requested. */ @JsonSetter("history") public void setHistory (List<HistoryModel> value) { this.history = value; notifyObservers(this.history); } }