Created
September 23, 2015 07:46
-
-
Save orhanobut/764f4a366598e17493bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class User { | |
private final String id; | |
private final String name; | |
public User(UserResponse response) { | |
if (response != null) { | |
id = response.id; | |
name = response.name; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment