
com.okta.sdk.resource.model.IPServiceCategory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of okta-sdk-api Show documentation
Show all versions of okta-sdk-api Show documentation
The Okta Java SDK API .jar provides a Java API that your code can use to make calls to the Okta
API. This .jar is the only compile-time dependency within the Okta SDK project that your code should
depend on. Implementations of this API (implementation .jars) should be runtime dependencies only.
package com.okta.sdk.resource.model;
import java.util.Objects;
import java.util.Arrays;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* An IP service offered by a provider, such as a proxy or VPN
*/
public enum IPServiceCategory {
ALL_ANONYMIZERS("ALL_ANONYMIZERS"),
ALL_ANONYMIZERS_EXCEPT_TOR("ALL_ANONYMIZERS_EXCEPT_TOR"),
ALL_IP_SERVICES("ALL_IP_SERVICES"),
ALL_PROXIES_VPNS("ALL_PROXIES_VPNS"),
ANONYMIZER_TOR("ANONYMIZER_TOR"),
APPLE_ICLOUD_RELAY_PROXY("APPLE_ICLOUD_RELAY_PROXY"),
AVAST_VPN("AVAST_VPN"),
GLOBALPROTECT_VPN("GLOBALPROTECT_VPN"),
GOOGLE_VPN("GOOGLE_VPN"),
MULLVAD_VPN("MULLVAD_VPN"),
NORD_VPN("NORD_VPN"),
OXYLABS_PROXY("OXYLABS_PROXY"),
SAMSUNG_VPN("SAMSUNG_VPN"),
SURFSHARK_VPN("SURFSHARK_VPN"),
SYMANTEC_VPN("SYMANTEC_VPN"),
TRENDMICRO_VPN("TRENDMICRO_VPN"),
ULTRASURF_VPN("ULTRASURF_VPN"),
UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api");
private String value;
IPServiceCategory(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static IPServiceCategory fromValue(String value) {
for (IPServiceCategory b : IPServiceCategory.values()) {
if (b.value.equals(value)) {
return b;
}
}
return UNKNOWN_DEFAULT_OPEN_API;
}
/**
* Convert the instance into URL query string.
*
* @param prefix
* prefix of the query string
*
* @return URL query string
*/
public String toUrlQueryString(String prefix) {
if (prefix == null) {
prefix = "";
}
return String.format("%s=%s", prefix, this.toString().toString());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy