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

com.github.jamesnetherton.zulip.client.api.server.ServerSettings Maven / Gradle / Ivy

The newest version!
package com.github.jamesnetherton.zulip.client.api.server;

import com.github.jamesnetherton.zulip.client.api.server.response.GetServerSettingsApiResponse;
import java.util.List;

/**
 * Defines Zulip server settings.
 */
public class ServerSettings {

    private final GetServerSettingsApiResponse delegate;

    public ServerSettings(GetServerSettingsApiResponse delegate) {
        this.delegate = delegate;
    }

    public AuthenticationSettings getAuthenticationMethods() {
        return delegate.getAuthenticationMethods();
    }

    public boolean isEmailAuthEnabled() {
        return delegate.isEmailAuthEnabled();
    }

    public List getExternalAuthenticationMethods() {
        return delegate.getExternalAuthenticationMethods();
    }

    public boolean isIncompatible() {
        return delegate.isIncompatible();
    }

    public boolean isPushNotificationsEnabled() {
        return delegate.isPushNotificationsEnabled();
    }

    public String getRealmDescription() {
        return delegate.getRealmDescription();
    }

    public String getRealmIcon() {
        return delegate.getRealmIcon();
    }

    public String getRealmName() {
        return delegate.getRealmName();
    }

    @Deprecated(since = "0.7.0", forRemoval = true)
    public String getRealmUri() {
        return delegate.getRealmUri();
    }

    public String getRealmUrl() {
        return delegate.getRealmUrl();
    }

    public boolean isRealmWebPublicAccessEnabled() {
        return delegate.isRealmWebPublicAccessEnabled();
    }

    public boolean isRequireEmailFormatUsernames() {
        return delegate.isRequireEmailFormatUsernames();
    }

    public String getZulipMergeBase() {
        return delegate.getZulipMergeBase();
    }

    public String getZulipVersion() {
        return delegate.getZulipVersion();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy