Back to project page simple-json-android-exercise.
The source code is released under:
Apache License
If you think the Android project simple-json-android-exercise listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.example.simplejsonapp.entity; /*w ww . j a v a 2 s. c om*/ public class User { private String id, name; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } @Override public String toString() { return "User [id=" + id + ", name=" + name + "]"; } }