Android Open Source - uber-android User Profile Model






From Project

Back to project page uber-android.

License

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.

Java Source Code

/*
 * UberAPILib/*w w  w  . ja  va  2 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 UserProfileModel 
        extends java.util.Observable {

    private String firstName;
    private String lastName;
    private String email;
    private String picture;
    private String promoCode;
    /** GETTER
     * First name of the Uber user.
     */
    @JsonGetter("first_name")
    public String getFirstName ( ) { 
        return this.firstName;
    }
    
    /** SETTER
     * First name of the Uber user.
     */
    @JsonSetter("first_name")
    public void setFirstName (String value) { 
        this.firstName = value;
        notifyObservers(this.firstName);
    }
 
    /** GETTER
     * Last name of the Uber user.
     */
    @JsonGetter("last_name")
    public String getLastName ( ) { 
        return this.lastName;
    }
    
    /** SETTER
     * Last name of the Uber user.
     */
    @JsonSetter("last_name")
    public void setLastName (String value) { 
        this.lastName = value;
        notifyObservers(this.lastName);
    }
 
    /** GETTER
     * Email address of the Uber user
     */
    @JsonGetter("email")
    public String getEmail ( ) { 
        return this.email;
    }
    
    /** SETTER
     * Email address of the Uber user
     */
    @JsonSetter("email")
    public void setEmail (String value) { 
        this.email = value;
        notifyObservers(this.email);
    }
 
    /** GETTER
     * Image URL of the Uber user.
     */
    @JsonGetter("picture")
    public String getPicture ( ) { 
        return this.picture;
    }
    
    /** SETTER
     * Image URL of the Uber user.
     */
    @JsonSetter("picture")
    public void setPicture (String value) { 
        this.picture = value;
        notifyObservers(this.picture);
    }
 
    /** GETTER
     * Promo code of the Uber user.
     */
    @JsonGetter("promo_code")
    public String getPromoCode ( ) { 
        return this.promoCode;
    }
    
    /** SETTER
     * Promo code of the Uber user.
     */
    @JsonSetter("promo_code")
    public void setPromoCode (String value) { 
        this.promoCode = value;
        notifyObservers(this.promoCode);
    }
 
}




Java Source Code List

io.apimatic.uberapilib.APIException.java
io.apimatic.uberapilib.APIHelper.java
io.apimatic.uberapilib.Configuration.java
io.apimatic.uberapilib.controllers.APIController.java
io.apimatic.uberapilib.models.HistoryModel.java
io.apimatic.uberapilib.models.LocationModel.java
io.apimatic.uberapilib.models.PriceEsitmateModel.java
io.apimatic.uberapilib.models.PriceEstimateCollectionModel.java
io.apimatic.uberapilib.models.ProductCollectionModel.java
io.apimatic.uberapilib.models.ProductModel.java
io.apimatic.uberapilib.models.TimeEstimateCollectionModel.java
io.apimatic.uberapilib.models.TimeEstimateModel.java
io.apimatic.uberapilib.models.UserActivityModel.java
io.apimatic.uberapilib.models.UserProfileModel.java