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

io.callstats.sdk.internal.CallStatsUrls Maven / Gradle / Ivy

package io.callstats.sdk.internal;

public enum CallStatsUrls {
	STATS_SUBMIT_BASE("CallStats.BaseURL", "https://collector.callstats.io"),
	AUTH_BASE("CallStats.AuthBaseURL", "https://auth.callstats.io");
	
	private final String propertyName;
	private String propertyDefaultUrl;       

    private CallStatsUrls(String s, String defaultUrl) {
        propertyName = s;
        propertyDefaultUrl = defaultUrl;
    }

    public boolean equalsName(String otherName) {
        return (otherName == null) ? false : propertyName.equals(otherName);
    }
    
    public String getDefaultUrl() {
    	return propertyDefaultUrl;
    }

    public String toString() {
       return this.propertyName;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy