Android Open Source - uber-java-client User Profile






From Project

Back to project page uber-java-client.

License

The source code is released under:

MIT License

If you think the Android project uber-java-client listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.victorsima.uber.model;
//from w ww .j  a v a 2 s .c o m
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

/**
 * Uber User Profile model obj
 */
public class UserProfile {

    @Expose
    @SerializedName("first_name")
    private String firstName;

    @Expose
    @SerializedName("last_name")
    private String lastName;

    @Expose
    @SerializedName("email")
    private String email;
    @Expose
    @SerializedName("picture")
    private String picture;

    @Expose
    @SerializedName("promo_code")
    private String promoCode;

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getPromoCode() {
        return promoCode;
    }

    public void setPromoCode(String promoCode) {
        this.promoCode = promoCode;
    }
}




Java Source Code List

com.victorsima.uber.UberAuthService.java
com.victorsima.uber.UberClient.java
com.victorsima.uber.UberService.java
com.victorsima.uber.exception.ForbiddenException.java
com.victorsima.uber.exception.UnauthorizedException.java
com.victorsima.uber.model.AccessToken.java
com.victorsima.uber.model.Price.java
com.victorsima.uber.model.Prices.java
com.victorsima.uber.model.Product.java
com.victorsima.uber.model.Products.java
com.victorsima.uber.model.Time.java
com.victorsima.uber.model.Times.java
com.victorsima.uber.model.UserActivity.java
com.victorsima.uber.model.UserProfile.java