1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
package com.ufund.api.ufundapi.model; import com.fasterxml.jackson.annotation.JsonProperty; public class User { @JsonProperty("name") private String name; /** * Create a new user * * @param name The name of the user */ public User(String name) { this.name = name; } }