package ch.viascom.hipchat.api.request.models;

import ch.viascom.hipchat.api.models.user.UserRole;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;

/**
 * Created by Nikola Stankovic on 20.04.2016.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddMember {
    private int userId;
    private String roomId;
    private ArrayList<UserRole> room_roles;
}

@@ -93,16 +93,67 @@
 erRole;%0A
+import com.google.gson.annotations.SerializedName;%0A
 import l
@@ -432,24 +432,58 @@
 ing roomId;%0A
+    @SerializedName(%22room_roles%22)%0A
     private 
@@ -502,22 +502,21 @@
 erRole%3E room
-_r
+R
 oles;%0A%7D%0A

Change Attribute-Name