ch.viascom.hipchat.api.request.models.CreateUser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hipchat-api Show documentation
Show all versions of hipchat-api Show documentation
A HipChat v2 API full implementation for Java
package ch.viascom.hipchat.api.request.models;
import ch.viascom.hipchat.api.models.user.UserRole;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.ArrayList;
/**
* Created by patrickboesch on 19.04.16.
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CreateUser implements Serializable {
private String name;
private ArrayList roles = new ArrayList<>();
private String title;
private String mention_name;
@SerializedName("is_group_admin")
private boolean group_admin = false;
private String timezone = "UTC";
private String password;
private String email;
}