package pro.beam.api.resource.channel;

import java.util.Date;

import com.google.gson.annotations.SerializedName;

public class BeamChannel {
    public CostreamPreference allowCostream;
    public AudienceRating audience;
    public String description;
    public Date createdAt;
    public boolean featured;
    public boolean hidden;
    public int id;
    public String name;
    public boolean online;
    public boolean partnered;
    public int numSubscribers;
    public int numFollowers;
    public boolean suspended;
    public String token;
    public boolean transcodingEnabled;
    public Type type;
    public Date updatedAt;
    public int userId;
    public int viewersCurrent;
    public int viewersTotal;

    public static class Type {
        public int id;
        public String name;
        public String parent;
        public String description;
        public String source;
        public int viewersCurrent;
        public int online;
    }

    public static enum CostreamPreference {
        @SerializedName("all") ALL,
        @SerializedName("following") FOLOWING,
        @SerializedName("none") NONE
    }

    public static enum AudienceRating {
        G, PG, PG13, R
    }
}

@@ -55,16 +55,39 @@
 il.Date;
+%0Aimport java.util.List;
 %0A%0Aimport
@@ -680,16 +680,42 @@
 userId;%0A
+    public Status status;%0A
     publ
@@ -1005,32 +1005,139 @@
  online;%0A    %7D%0A%0A
+    public static class Status %7B%0A        public List%3CString%3E roles;%0A        public boolean follows;%0A    %7D%0A%0A
     public stati

Add status field to BeamChannels