POST,GET | /api/Branch/GetBranchAppInfo |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class BranchAppInfo
{
public String TitleText = null;
public String AddText = null;
public String RegisterText = null;
public String JoinText = null;
public String ARNiOS = null;
public String ARNAndroid = null;
public String AppIdentifier = null;
public String AppBundleName = null;
public String AppName = null;
public String AppCenterAndroid = null;
public String AppCenterIOS = null;
public Integer BranchId = null;
public String Name = null;
public String BranchKey = null;
public String Terms = null;
public Date CancelDate = null;
public AppFeature AppFeature = null;
public Boolean CanBookOnline = null;
public String PrimaryColor = null;
public String SecondaryColor = null;
public String BackgroundColor = null;
public String HeaderTopColor = null;
public String HeaderBottomColor = null;
public String SideLeftColor = null;
public String SideRightColor = null;
public String SideFontColor = null;
public String SideFontActiveColor = null;
public String ExtWebBackgroundColor = null;
public String ExtWebTextColor = null;
public String ExtWebTintBackColor = null;
public String ExtWebHighlightBackColor = null;
public String ExtWebTabBackColor = null;
public String HeadingColor = null;
public String getTitleText() { return TitleText; }
public BranchAppInfo setTitleText(String value) { this.TitleText = value; return this; }
public String getAddText() { return AddText; }
public BranchAppInfo setAddText(String value) { this.AddText = value; return this; }
public String getRegisterText() { return RegisterText; }
public BranchAppInfo setRegisterText(String value) { this.RegisterText = value; return this; }
public String getJoinText() { return JoinText; }
public BranchAppInfo setJoinText(String value) { this.JoinText = value; return this; }
public String getArNiOS() { return ARNiOS; }
public BranchAppInfo setArNiOS(String value) { this.ARNiOS = value; return this; }
public String getArnAndroid() { return ARNAndroid; }
public BranchAppInfo setArnAndroid(String value) { this.ARNAndroid = value; return this; }
public String getAppIdentifier() { return AppIdentifier; }
public BranchAppInfo setAppIdentifier(String value) { this.AppIdentifier = value; return this; }
public String getAppBundleName() { return AppBundleName; }
public BranchAppInfo setAppBundleName(String value) { this.AppBundleName = value; return this; }
public String getAppName() { return AppName; }
public BranchAppInfo setAppName(String value) { this.AppName = value; return this; }
public String getAppCenterAndroid() { return AppCenterAndroid; }
public BranchAppInfo setAppCenterAndroid(String value) { this.AppCenterAndroid = value; return this; }
public String getAppCenterIOS() { return AppCenterIOS; }
public BranchAppInfo setAppCenterIOS(String value) { this.AppCenterIOS = value; return this; }
public Integer getBranchId() { return BranchId; }
public BranchAppInfo setBranchId(Integer value) { this.BranchId = value; return this; }
public String getName() { return Name; }
public BranchAppInfo setName(String value) { this.Name = value; return this; }
public String getBranchKey() { return BranchKey; }
public BranchAppInfo setBranchKey(String value) { this.BranchKey = value; return this; }
public String getTerms() { return Terms; }
public BranchAppInfo setTerms(String value) { this.Terms = value; return this; }
public Date getCancelDate() { return CancelDate; }
public BranchAppInfo setCancelDate(Date value) { this.CancelDate = value; return this; }
public AppFeature getAppFeature() { return AppFeature; }
public BranchAppInfo setAppFeature(AppFeature value) { this.AppFeature = value; return this; }
public Boolean isCanBookOnline() { return CanBookOnline; }
public BranchAppInfo setCanBookOnline(Boolean value) { this.CanBookOnline = value; return this; }
public String getPrimaryColor() { return PrimaryColor; }
public BranchAppInfo setPrimaryColor(String value) { this.PrimaryColor = value; return this; }
public String getSecondaryColor() { return SecondaryColor; }
public BranchAppInfo setSecondaryColor(String value) { this.SecondaryColor = value; return this; }
public String getBackgroundColor() { return BackgroundColor; }
public BranchAppInfo setBackgroundColor(String value) { this.BackgroundColor = value; return this; }
public String getHeaderTopColor() { return HeaderTopColor; }
public BranchAppInfo setHeaderTopColor(String value) { this.HeaderTopColor = value; return this; }
public String getHeaderBottomColor() { return HeaderBottomColor; }
public BranchAppInfo setHeaderBottomColor(String value) { this.HeaderBottomColor = value; return this; }
public String getSideLeftColor() { return SideLeftColor; }
public BranchAppInfo setSideLeftColor(String value) { this.SideLeftColor = value; return this; }
public String getSideRightColor() { return SideRightColor; }
public BranchAppInfo setSideRightColor(String value) { this.SideRightColor = value; return this; }
public String getSideFontColor() { return SideFontColor; }
public BranchAppInfo setSideFontColor(String value) { this.SideFontColor = value; return this; }
public String getSideFontActiveColor() { return SideFontActiveColor; }
public BranchAppInfo setSideFontActiveColor(String value) { this.SideFontActiveColor = value; return this; }
public String getExtWebBackgroundColor() { return ExtWebBackgroundColor; }
public BranchAppInfo setExtWebBackgroundColor(String value) { this.ExtWebBackgroundColor = value; return this; }
public String getExtWebTextColor() { return ExtWebTextColor; }
public BranchAppInfo setExtWebTextColor(String value) { this.ExtWebTextColor = value; return this; }
public String getExtWebTintBackColor() { return ExtWebTintBackColor; }
public BranchAppInfo setExtWebTintBackColor(String value) { this.ExtWebTintBackColor = value; return this; }
public String getExtWebHighlightBackColor() { return ExtWebHighlightBackColor; }
public BranchAppInfo setExtWebHighlightBackColor(String value) { this.ExtWebHighlightBackColor = value; return this; }
public String getExtWebTabBackColor() { return ExtWebTabBackColor; }
public BranchAppInfo setExtWebTabBackColor(String value) { this.ExtWebTabBackColor = value; return this; }
public String getHeadingColor() { return HeadingColor; }
public BranchAppInfo setHeadingColor(String value) { this.HeadingColor = value; return this; }
}
@Flags()
public static enum AppFeature
{
@SerializedName("0") None(0),
@SerializedName("1") JoinOnline(1),
@SerializedName("2") TodaysClasses(2),
@SerializedName("4") RegistrationForm(4),
@SerializedName("8") ForthcomingBookings(8),
@SerializedName("16") WeeklyTimetable(16),
@SerializedName("32") SessionTimetable(32),
@SerializedName("64") FacilityTimetable(64),
@SerializedName("128") TasterSessions(128),
@SerializedName("256") HowToFindUs(256),
@SerializedName("512") AttendanceLeaderboard(512),
@SerializedName("1024") MemberMessages(1024),
@SerializedName("2048") AchievementGallery(2048),
@SerializedName("4096") FreeText(4096),
@SerializedName("8192") QrCode(8192),
@SerializedName("16384") ShareAndInviteAFriend(16384),
@SerializedName("32768") RenewalPrompt(32768),
@SerializedName("65536") CurrentCapacity(65536),
@SerializedName("131072") JoinFriend(131072),
@SerializedName("262144") MemberPoints(262144),
@SerializedName("524288") PromoMembership(524288),
@SerializedName("1048576") Shop(1048576),
@SerializedName("2097152") ShowFacebook(2097152),
@SerializedName("4194304") ShowTwitter(4194304),
@SerializedName("8388608") ShowInstagram(8388608),
@SerializedName("16777216") ShowYouTube(16777216),
@SerializedName("33554432") ShowTikTok(33554432),
@SerializedName("67108864") ShowShopify(67108864),
@SerializedName("134217728") AttendanceStreak(134217728),
@SerializedName("268435456") BookingCategories(268435456),
@SerializedName("536870912") ShowSessionsRemaining(536870912);
private final int value;
AppFeature(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
}
Java BranchService.GetBranchAppInfoRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/Branch/GetBranchAppInfo HTTP/1.1
Host: api.clubmanagercentral.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Id":0}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"TitleText":"String","AddText":"String","RegisterText":"String","JoinText":"String","ARNiOS":"String","ARNAndroid":"String","AppIdentifier":"String","AppBundleName":"String","AppName":"String","AppCenterAndroid":"String","AppCenterIOS":"String","BranchId":0,"Name":"String","BranchKey":"00000000-0000-0000-0000-000000000000","Terms":null,"CancelDate":null,"AppFeature":0,"CanBookOnline":false,"PrimaryColor":null,"SecondaryColor":null,"BackgroundColor":null,"HeaderTopColor":null,"HeaderBottomColor":null,"SideLeftColor":null,"SideRightColor":null,"SideFontColor":null,"SideFontActiveColor":null,"ExtWebBackgroundColor":null,"ExtWebTextColor":null,"ExtWebTintBackColor":null,"ExtWebHighlightBackColor":null,"ExtWebTabBackColor":null,"HeadingColor":null}