I created an object to send some data to firebase. As an example, I use firebase user example:
public class User { public String username; public Str
@PropertyName :
Marks a field to be renamed when serialized. link
you have to use @PropertyName with public fields and no need for getters/setters
@PropertyName