All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.phasetwo.portal.PortalEnvironment Maven / Gradle / Ivy

There is a newer version: 0.32
Show newest version
package io.phasetwo.portal;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.util.Map;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
  "name",
  "displayName",
  "logoUrl",
  "faviconUrl",
  "appiconUrl",
  "realm",
  "locale",
  "authServerUrl",
  "baseUrl",
  "resourceUrl",
  "refererUrl",
  "isRunningAsTheme",
  "supportedLocales",
  "features",
  "styles"
})
public class PortalEnvironment {

  @JsonProperty("name")
  private String name;

  @JsonProperty("displayName")
  private String displayName;

  @JsonProperty("logoUrl")
  private String logoUrl;

  @JsonProperty("faviconUrl")
  private String faviconUrl;

  @JsonProperty("appiconUrl")
  private String appiconUrl;

  @JsonProperty("realm")
  private String realm;

  @JsonProperty("locale")
  private String locale;

  @JsonProperty("authServerUrl")
  private String authServerUrl;

  @JsonProperty("baseUrl")
  private String baseUrl;

  @JsonProperty("resourceUrl")
  private String resourceUrl;

  @JsonProperty("refererUrl")
  private String refererUrl;

  @JsonProperty("isRunningAsTheme")
  private Boolean isRunningAsTheme;

  @JsonProperty("supportedLocales")
  private Map supportedLocales;

  @JsonProperty("features")
  private PortalFeatures features;

  @JsonProperty("name")
  public String getName() {
    return name;
  }

  @JsonProperty("name")
  public void setName(String name) {
    this.name = name;
  }

  public PortalEnvironment name(String name) {
    this.name = name;
    return this;
  }

  @JsonProperty("displayName")
  public String getDisplayName() {
    return displayName;
  }

  @JsonProperty("displayName")
  public void setDisplayName(String displayName) {
    this.displayName = displayName;
  }

  public PortalEnvironment displayName(String displayName) {
    this.displayName = displayName;
    return this;
  }

  @JsonProperty("logoUrl")
  public String getLogoUrl() {
    return logoUrl;
  }

  @JsonProperty("logoUrl")
  public void setLogoUrl(String logoUrl) {
    this.logoUrl = logoUrl;
  }

  public PortalEnvironment logoUrl(String logoUrl) {
    this.logoUrl = logoUrl;
    return this;
  }

  @JsonProperty("faviconUrl")
  public String getFaviconUrl() {
    return faviconUrl;
  }

  @JsonProperty("faviconUrl")
  public void setFaviconUrl(String faviconUrl) {
    this.faviconUrl = faviconUrl;
  }

  public PortalEnvironment faviconUrl(String faviconUrl) {
    this.faviconUrl = faviconUrl;
    return this;
  }

  @JsonProperty("appiconUrl")
  public String getAppiconUrl() {
    return appiconUrl;
  }

  @JsonProperty("appiconUrl")
  public void setAppiconUrl(String appiconUrl) {
    this.appiconUrl = appiconUrl;
  }

  public PortalEnvironment appiconUrl(String appiconUrl) {
    this.appiconUrl = appiconUrl;
    return this;
  }

  @JsonProperty("realm")
  public String getRealm() {
    return realm;
  }

  @JsonProperty("realm")
  public void setRealm(String realm) {
    this.realm = realm;
  }

  public PortalEnvironment realm(String realm) {
    this.realm = realm;
    return this;
  }

  @JsonProperty("locale")
  public String getLocale() {
    return locale;
  }

  @JsonProperty("locale")
  public void setLocale(String locale) {
    this.locale = locale;
  }

  public PortalEnvironment locale(String locale) {
    this.locale = locale;
    return this;
  }

  @JsonProperty("authServerUrl")
  public String getAuthServerUrl() {
    return authServerUrl;
  }

  @JsonProperty("authServerUrl")
  public void setAuthServerUrl(String authServerUrl) {
    this.authServerUrl = authServerUrl;
  }

  public PortalEnvironment authServerUrl(String authServerUrl) {
    this.authServerUrl = authServerUrl;
    return this;
  }

  @JsonProperty("baseUrl")
  public String getBaseUrl() {
    return baseUrl;
  }

  @JsonProperty("baseUrl")
  public void setBaseUrl(String baseUrl) {
    this.baseUrl = baseUrl;
  }

  public PortalEnvironment baseUrl(String baseUrl) {
    this.baseUrl = baseUrl;
    return this;
  }

  @JsonProperty("resourceUrl")
  public String getResourceUrl() {
    return resourceUrl;
  }

  @JsonProperty("resourceUrl")
  public void setResourceUrl(String resourceUrl) {
    this.resourceUrl = resourceUrl;
  }

  public PortalEnvironment resourceUrl(String resourceUrl) {
    this.resourceUrl = resourceUrl;
    return this;
  }

  @JsonProperty("refererUrl")
  public String getRefererUrl() {
    return refererUrl;
  }

  @JsonProperty("refererUrl")
  public void setRefererUrl(String refererUrl) {
    this.refererUrl = refererUrl;
  }

  public PortalEnvironment refererUrl(String refererUrl) {
    this.refererUrl = refererUrl;
    return this;
  }

  @JsonProperty("isRunningAsTheme")
  public Boolean getIsRunningAsTheme() {
    return isRunningAsTheme;
  }

  @JsonProperty("isRunningAsTheme")
  public void setIsRunningAsTheme(Boolean isRunningAsTheme) {
    this.isRunningAsTheme = isRunningAsTheme;
  }

  public PortalEnvironment isRunningAsTheme(Boolean isRunningAsTheme) {
    this.isRunningAsTheme = isRunningAsTheme;
    return this;
  }

  @JsonProperty("supportedLocales")
  public Map getSupportedLocales() {
    return supportedLocales;
  }

  @JsonProperty("supportedLocales")
  public void setSupportedLocales(Map supportedLocales) {
    this.supportedLocales = supportedLocales;
  }

  public PortalEnvironment supportedLocales(Map supportedLocales) {
    this.supportedLocales = supportedLocales;
    return this;
  }

  @JsonProperty("features")
  public PortalFeatures getFeatures() {
    return features;
  }

  @JsonProperty("features")
  public void setFeatures(PortalFeatures features) {
    this.features = features;
  }

  public PortalEnvironment features(PortalFeatures features) {
    this.features = features;
    return this;
  }

  @JsonProperty("styles")
  private CustomTheme styles;

  public CustomTheme getStyles() {
    return styles;
  }

  public void setStyles(CustomTheme styles) {
    this.styles = styles;
  }

  public PortalEnvironment styles(CustomTheme styles) {
    this.styles = styles;
    return this;
  }

  @JsonInclude(Include.NON_NULL)
  public static class CustomTheme {
    @JsonProperty("primary100")
    private String primary100;

    @JsonProperty("primary200")
    private String primary200;

    @JsonProperty("primary400")
    private String primary400;

    @JsonProperty("primary500")
    private String primary500;

    @JsonProperty("primary600")
    private String primary600;

    @JsonProperty("primary700")
    private String primary700;

    @JsonProperty("primary900")
    private String primary900;

    @JsonProperty("secondary800")
    private String secondary800;

    @JsonProperty("secondary900")
    private String secondary900;

    @JsonProperty("customCSS")
    private String customCSS;

    // getters and setters

    public String getPrimary100() {
      return primary100;
    }

    public void setPrimary100(String primary100) {
      this.primary100 = primary100;
    }

    public String getPrimary200() {
      return primary200;
    }

    public void setPrimary200(String primary200) {
      this.primary200 = primary200;
    }

    public String getPrimary400() {
      return primary400;
    }

    public void setPrimary400(String primary400) {
      this.primary400 = primary400;
    }

    public String getPrimary500() {
      return primary500;
    }

    public void setPrimary500(String primary500) {
      this.primary500 = primary500;
    }

    public String getPrimary600() {
      return primary600;
    }

    public void setPrimary600(String primary600) {
      this.primary600 = primary600;
    }

    public String getPrimary700() {
      return primary700;
    }

    public void setPrimary700(String primary700) {
      this.primary700 = primary700;
    }

    public String getPrimary900() {
      return primary900;
    }

    public void setPrimary900(String primary900) {
      this.primary900 = primary900;
    }

    public String getSecondary800() {
      return secondary800;
    }

    public void setSecondary800(String secondary800) {
      this.secondary800 = secondary800;
    }

    public String getSecondary900() {
      return secondary900;
    }

    public void setSecondary900(String secondary900) {
      this.secondary900 = secondary900;
    }

    public String getCustomCSS() {
      return customCSS;
    }

    public void setCustomCSS(String customCSS) {
      this.customCSS = customCSS;
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy