Trendsic Platform Service

<back to all web services

LobbyBranchesRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/lobby/branches
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class LobbyBranchesRequest
    {
        
    }

    public static class LobbyBranchesResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ArrayList<LobbyBranch> Branches = new ArrayList<LobbyBranch>();
        public LobbyPolicy Policy = null;
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public LobbyBranchesResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ArrayList<LobbyBranch> getBranches() { return Branches; }
        public LobbyBranchesResponse setBranches(ArrayList<LobbyBranch> value) { this.Branches = value; return this; }
        public LobbyPolicy getPolicy() { return Policy; }
        public LobbyBranchesResponse setPolicy(LobbyPolicy value) { this.Policy = value; return this; }
    }

    public static class LobbyBranch
    {
        public UUID BranchId = null;
        public String Name = null;
        public Boolean Allowed = null;
        public Integer TvCount = null;
        public String ZoneMode = null;
        public Integer TakeoverEveryMin = null;
        public Integer TakeoverSec = null;
        public String Density = null;
        public String IdleMode = null;
        public Integer IdleContentId = null;
        public Boolean ShowServices = null;
        public String TimeZone = null;
        public String BookingSlug = null;
        
        public UUID getBranchId() { return BranchId; }
        public LobbyBranch setBranchId(UUID value) { this.BranchId = value; return this; }
        public String getName() { return Name; }
        public LobbyBranch setName(String value) { this.Name = value; return this; }
        public Boolean isAllowed() { return Allowed; }
        public LobbyBranch setAllowed(Boolean value) { this.Allowed = value; return this; }
        public Integer getTvCount() { return TvCount; }
        public LobbyBranch setTvCount(Integer value) { this.TvCount = value; return this; }
        public String getZoneMode() { return ZoneMode; }
        public LobbyBranch setZoneMode(String value) { this.ZoneMode = value; return this; }
        public Integer getTakeoverEveryMin() { return TakeoverEveryMin; }
        public LobbyBranch setTakeoverEveryMin(Integer value) { this.TakeoverEveryMin = value; return this; }
        public Integer getTakeoverSec() { return TakeoverSec; }
        public LobbyBranch setTakeoverSec(Integer value) { this.TakeoverSec = value; return this; }
        public String getDensity() { return Density; }
        public LobbyBranch setDensity(String value) { this.Density = value; return this; }
        public String getIdleMode() { return IdleMode; }
        public LobbyBranch setIdleMode(String value) { this.IdleMode = value; return this; }
        public Integer getIdleContentId() { return IdleContentId; }
        public LobbyBranch setIdleContentId(Integer value) { this.IdleContentId = value; return this; }
        public Boolean isShowServices() { return ShowServices; }
        public LobbyBranch setShowServices(Boolean value) { this.ShowServices = value; return this; }
        public String getTimeZone() { return TimeZone; }
        public LobbyBranch setTimeZone(String value) { this.TimeZone = value; return this; }
        public String getBookingSlug() { return BookingSlug; }
        public LobbyBranch setBookingSlug(String value) { this.BookingSlug = value; return this; }
    }

    public static class LobbyPolicy
    {
        public ArrayList<String> ImageExtensions = new ArrayList<String>();
        public Long MaxImageBytes = null;
        public Long MaxVideoBytes = null;
        public Integer MaxVideoSec = null;
        public Integer TitleMax = null;
        public Integer HeadlineMax = null;
        public Integer BodyMax = null;
        public Integer CaptionMax = null;
        public Integer DwellMin = null;
        public Integer DwellMax = null;
        
        public ArrayList<String> getImageExtensions() { return ImageExtensions; }
        public LobbyPolicy setImageExtensions(ArrayList<String> value) { this.ImageExtensions = value; return this; }
        public Long getMaxImageBytes() { return MaxImageBytes; }
        public LobbyPolicy setMaxImageBytes(Long value) { this.MaxImageBytes = value; return this; }
        public Long getMaxVideoBytes() { return MaxVideoBytes; }
        public LobbyPolicy setMaxVideoBytes(Long value) { this.MaxVideoBytes = value; return this; }
        public Integer getMaxVideoSec() { return MaxVideoSec; }
        public LobbyPolicy setMaxVideoSec(Integer value) { this.MaxVideoSec = value; return this; }
        public Integer getTitleMax() { return TitleMax; }
        public LobbyPolicy setTitleMax(Integer value) { this.TitleMax = value; return this; }
        public Integer getHeadlineMax() { return HeadlineMax; }
        public LobbyPolicy setHeadlineMax(Integer value) { this.HeadlineMax = value; return this; }
        public Integer getBodyMax() { return BodyMax; }
        public LobbyPolicy setBodyMax(Integer value) { this.BodyMax = value; return this; }
        public Integer getCaptionMax() { return CaptionMax; }
        public LobbyPolicy setCaptionMax(Integer value) { this.CaptionMax = value; return this; }
        public Integer getDwellMin() { return DwellMin; }
        public LobbyPolicy setDwellMin(Integer value) { this.DwellMin = value; return this; }
        public Integer getDwellMax() { return DwellMax; }
        public LobbyPolicy setDwellMax(Integer value) { this.DwellMax = value; return this; }
    }

}

Java LobbyBranchesRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/lobby/branches HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Branches":[{"BranchId":"00000000000000000000000000000000","Name":"String","Allowed":false,"TvCount":0,"ZoneMode":"String","TakeoverEveryMin":0,"TakeoverSec":0,"Density":"String","IdleMode":"String","IdleContentId":0,"ShowServices":false,"TimeZone":"String","BookingSlug":"String"}],"Policy":{"ImageExtensions":["String"],"MaxImageBytes":0,"MaxVideoBytes":0,"MaxVideoSec":0,"TitleMax":0,"HeadlineMax":0,"BodyMax":0,"CaptionMax":0,"DwellMin":0,"DwellMax":0}}