package co.phoenixlab.discord.api.entities;

import java.util.HashSet;
import java.util.Set;

public class Server {

    /**
     * Display name of the server
     */
    private final String name;

    /**
     * Server identifier
     */
    private final String id;

    /**
     * The text channels that belong to this server
     */
    private final Set<Channel> channels;

    /**
     * The members that belong to this server
     */
    private final Set<Member> members;

    public Server(String id, String name, Set<Channel> channels, Set<Member> members) {
        this.name = name;
        this.id = id;
        this.channels = channels;
        this.members = members;

    }

    public Server(String id, String name) {
        this(id, name, new HashSet<>(), new HashSet<>());
    }

    /**
     * @return {@link #name}
     */
    public String getName() {
        return name;
    }

    /**
     * @return {@link #id}
     */
    public String getId() {
        return id;
    }

    /**
     * @return {@link #channels}
     */
    public Set<Channel> getChannel() {
        return channels;
    }

    /**
     * @return {@link #members}
     */
    public Set<Member> getMembers() {
        return members;
    }
}

@@ -49,26 +49,52 @@
 ort 
-java.util.HashSet;
+com.google.gson.annotations.SerializedName;%0A
 %0Aimp
@@ -194,30 +194,24 @@
     private 
-final 
 String name;
@@ -359,30 +359,24 @@
     private 
-final 
 Set%3CChannel%3E
@@ -461,22 +461,16 @@
 private 
-final 
 Set%3CMemb
@@ -492,205 +492,217 @@
    p
-ublic Server(String id, String name, Set%3CChannel%3E channels, Set%3CMember%3E members) %7B%0A        this.name = name;%0A        this.id = id;%0A        this.channels = channels;%0A        this.members = members;%0A
+rivate Set%3CRole%3E roles;%0A%0A    private String region;%0A%0A    @SerializedName(%22owner_id%22)%0A    private String ownerId;%0A%0A    private boolean large;%0A%0A    private String icon;%0A%0A    public Server() %7B%0A        this(null);
 %0A   
@@ -736,21 +736,8 @@
 g id
-, String name
 ) %7B%0A
@@ -752,52 +752,16 @@
 this
-(id, name, new HashSet%3C%3E(), new HashSet%3C%3E())
+.id = id
 ;%0A  
@@ -1048,16 +1048,17 @@
 tChannel
+s
 () %7B%0A   
@@ -1201,11 +1201,318 @@
 s;%0A    %7D
+%0A%0A    public Set%3CRole%3E getRoles() %7B%0A        return roles;%0A    %7D%0A%0A    public String getRegion() %7B%0A        return region;%0A    %7D%0A%0A    public String getOwnerId() %7B%0A        return ownerId;%0A    %7D%0A%0A    public boolean isLarge() %7B%0A        return large;%0A    %7D%0A%0A    public String getIcon() %7B%0A        return icon;%0A    %7D
 %0A%7D%0A

Remove field finality and added fields to Server