Package com.launchdarkly.api.model
Class PatchIpAllowlistConfigRequest
- java.lang.Object
-
- com.launchdarkly.api.model.PatchIpAllowlistConfigRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-06-30T13:33:45.929090Z[Etc/UTC]", comments="Generator version: 7.18.0") public class PatchIpAllowlistConfigRequest extends java.lang.ObjectPatchIpAllowlistConfigRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPatchIpAllowlistConfigRequest.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashSet<java.lang.String>openapiFieldsstatic java.util.HashSet<java.lang.String>openapiRequiredFieldsstatic java.lang.StringSERIALIZED_NAME_API_TOKEN_ALLOWLIST_ENABLEDstatic java.lang.StringSERIALIZED_NAME_SESSION_ALLOWLIST_ENABLED
-
Constructor Summary
Constructors Constructor Description PatchIpAllowlistConfigRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PatchIpAllowlistConfigRequestapiTokenAllowlistEnabled(java.lang.Boolean apiTokenAllowlistEnabled)booleanequals(java.lang.Object o)static PatchIpAllowlistConfigRequestfromJson(java.lang.String jsonString)Create an instance of PatchIpAllowlistConfigRequest given an JSON stringjava.lang.BooleangetApiTokenAllowlistEnabled()Enable or disable API token allowlistjava.lang.BooleangetSessionAllowlistEnabled()Enable or disable session allowlistinthashCode()PatchIpAllowlistConfigRequestsessionAllowlistEnabled(java.lang.Boolean sessionAllowlistEnabled)voidsetApiTokenAllowlistEnabled(java.lang.Boolean apiTokenAllowlistEnabled)voidsetSessionAllowlistEnabled(java.lang.Boolean sessionAllowlistEnabled)java.lang.StringtoJson()Convert an instance of PatchIpAllowlistConfigRequest to an JSON stringjava.lang.StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_SESSION_ALLOWLIST_ENABLED
public static final java.lang.String SERIALIZED_NAME_SESSION_ALLOWLIST_ENABLED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_API_TOKEN_ALLOWLIST_ENABLED
public static final java.lang.String SERIALIZED_NAME_API_TOKEN_ALLOWLIST_ENABLED
- See Also:
- Constant Field Values
-
openapiFields
public static java.util.HashSet<java.lang.String> openapiFields
-
openapiRequiredFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
-
-
Method Detail
-
sessionAllowlistEnabled
public PatchIpAllowlistConfigRequest sessionAllowlistEnabled(@Nullable java.lang.Boolean sessionAllowlistEnabled)
-
getSessionAllowlistEnabled
@Nullable public java.lang.Boolean getSessionAllowlistEnabled()
Enable or disable session allowlist- Returns:
- sessionAllowlistEnabled
-
setSessionAllowlistEnabled
public void setSessionAllowlistEnabled(@Nullable java.lang.Boolean sessionAllowlistEnabled)
-
apiTokenAllowlistEnabled
public PatchIpAllowlistConfigRequest apiTokenAllowlistEnabled(@Nullable java.lang.Boolean apiTokenAllowlistEnabled)
-
getApiTokenAllowlistEnabled
@Nullable public java.lang.Boolean getApiTokenAllowlistEnabled()
Enable or disable API token allowlist- Returns:
- apiTokenAllowlistEnabled
-
setApiTokenAllowlistEnabled
public void setApiTokenAllowlistEnabled(@Nullable java.lang.Boolean apiTokenAllowlistEnabled)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws java.io.IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
java.io.IOException- if the JSON Element is invalid with respect to PatchIpAllowlistConfigRequest
-
fromJson
public static PatchIpAllowlistConfigRequest fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of PatchIpAllowlistConfigRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PatchIpAllowlistConfigRequest
- Throws:
java.io.IOException- if the JSON string is invalid with respect to PatchIpAllowlistConfigRequest
-
toJson
public java.lang.String toJson()
Convert an instance of PatchIpAllowlistConfigRequest to an JSON string- Returns:
- JSON string
-
-