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

com.finbourne.configuration.extensions.ApiConfiguration Maven / Gradle / Ivy

There is a newer version: 2.0.60
Show newest version
package com.finbourne.configuration.extensions;

/**
 *
 */
public class ApiConfiguration {

    /**
     * Url for the token provider
     */
    private String tokenUrl;

    /**
     *  Username
     */
    private String username;


    /**
     * Password
     */
    private String password;

    /**
     * Oauth2 Client ID
     */
    private String clientId;

    /**
     *  OAuth2 Client Secret
     */
    private String clientSecret;

    /**
     * _configuration API Url
     */
    private String apiUrl;

    /**
     * Personal Access Token
     */
    private String personalAccessToken;

    /**
     * Proxy url (if required)
     */
    private String proxyAddress;

    /**
     * Proxy port (if required)
     */
    private Integer proxyPort;

    /**
     * Proxy username (if required)
     */
    private String proxyUsername;

    /**
     * Proxy password (if required)
     */
    private String proxyPassword;


    public ApiConfiguration(String tokenUrl, String username, String password, String clientId, String clientSecret, String apiUrl, String applicationName,
                            String personalAccessToken, String proxyAddress, Integer proxyPort, String proxyUsername, String proxyPassword) {
        this.tokenUrl = tokenUrl;
        this.username = username;
        this.password = password;
        this.clientId = clientId;
        this.clientSecret = clientSecret;
        this.apiUrl = apiUrl;
        this.applicationName = applicationName;
        this.personalAccessToken = personalAccessToken;
        this.proxyAddress = proxyAddress;
        this.proxyPort = proxyPort;
        this.proxyUsername = proxyUsername;
        this.proxyPassword = proxyPassword;
    }

    public String getTokenUrl() {
        return tokenUrl;
    }

    public void setTokenUrl(String tokenUrl) {
        this.tokenUrl = tokenUrl;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }

    public String getApiUrl() {
        return apiUrl;
    }

    public void setApiUrl(String apiUrl) {
        this.apiUrl = apiUrl;
    }

    public String getApplicationName() {
        return applicationName;
    }

    public void setApplicationName(String applicationName) {
        this.applicationName = applicationName;
    }

    private String applicationName;

    public String getProxyUsername() {
        return proxyUsername;
    }

    public void setProxyUsername(String proxyUsername) {
        this.proxyUsername = proxyUsername;
    }

    public String getProxyPassword() {
        return proxyPassword;
    }

    public void setProxyPassword(String proxyPassword) {
        this.proxyPassword = proxyPassword;
    }

    public String getProxyAddress() {
        return proxyAddress;
    }

    public void setProxyAddress(String proxyAddress) {
        this.proxyAddress = proxyAddress;
    }

    public Integer getProxyPort() {
        return proxyPort;
    }

    public void setProxyPort(Integer proxyPort) {
        this.proxyPort = proxyPort;
    }

    public String getPersonalAccessToken() {
        return personalAccessToken;
    }

    public void setPersonalAccessToken(String personalAccessToken) {
        this.personalAccessToken = personalAccessToken;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy