Class UpdateProxyProfileSelectionRule
- java.lang.Object
-
- com.configcat.publicapi.java.client.model.UpdateProxyProfileSelectionRule
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-11-28T09:20:10.031721056Z[Etc/UTC]", comments="Generator version: 7.7.0") public class UpdateProxyProfileSelectionRule extends java.lang.ObjectUpdateProxyProfileSelectionRule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateProxyProfileSelectionRule.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_CONFIG_ID_FILTERstatic java.lang.StringSERIALIZED_NAME_CONFIG_NAME_MATCH_FILTERstatic java.lang.StringSERIALIZED_NAME_ENVIRONMENT_ID_FILTERstatic java.lang.StringSERIALIZED_NAME_ENVIRONMENT_NAME_MATCH_FILTERstatic java.lang.StringSERIALIZED_NAME_KINDstatic java.lang.StringSERIALIZED_NAME_PRODUCT_ID_FILTERstatic java.lang.StringSERIALIZED_NAME_PRODUCT_NAME_MATCH_FILTER
-
Constructor Summary
Constructors Constructor Description UpdateProxyProfileSelectionRule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateProxyProfileSelectionRuleconfigIdFilter(java.util.UUID configIdFilter)UpdateProxyProfileSelectionRuleconfigNameMatchFilter(java.lang.String configNameMatchFilter)UpdateProxyProfileSelectionRuleenvironmentIdFilter(java.util.UUID environmentIdFilter)UpdateProxyProfileSelectionRuleenvironmentNameMatchFilter(java.lang.String environmentNameMatchFilter)booleanequals(java.lang.Object o)static UpdateProxyProfileSelectionRulefromJson(java.lang.String jsonString)Create an instance of UpdateProxyProfileSelectionRule given an JSON stringjava.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()Return the additional (undeclared) property.java.lang.ObjectgetAdditionalProperty(java.lang.String key)Return the additional (undeclared) property with the specified name.java.util.UUIDgetConfigIdFilter()Defines the filter for matching Configs by their unique identifier.java.lang.StringgetConfigNameMatchFilter()Specifies a filter to match Config names in the proxy profile selection rule.java.util.UUIDgetEnvironmentIdFilter()Defines the filter for matching Environments by their unique identifier.java.lang.StringgetEnvironmentNameMatchFilter()Specifies a filter to match Environment names in the proxy profile selection rule.SelectionRuleKindgetKind()Get kindjava.util.UUIDgetProductIdFilter()Defines the filter for matching Products by their unique identifier.java.lang.StringgetProductNameMatchFilter()Specifies a filter to match Product names in the proxy profile selection rule.inthashCode()UpdateProxyProfileSelectionRulekind(SelectionRuleKind kind)UpdateProxyProfileSelectionRuleproductIdFilter(java.util.UUID productIdFilter)UpdateProxyProfileSelectionRuleproductNameMatchFilter(java.lang.String productNameMatchFilter)UpdateProxyProfileSelectionRuleputAdditionalProperty(java.lang.String key, java.lang.Object value)Set the additional (undeclared) property with the specified name and value.voidsetConfigIdFilter(java.util.UUID configIdFilter)voidsetConfigNameMatchFilter(java.lang.String configNameMatchFilter)voidsetEnvironmentIdFilter(java.util.UUID environmentIdFilter)voidsetEnvironmentNameMatchFilter(java.lang.String environmentNameMatchFilter)voidsetKind(SelectionRuleKind kind)voidsetProductIdFilter(java.util.UUID productIdFilter)voidsetProductNameMatchFilter(java.lang.String productNameMatchFilter)java.lang.StringtoJson()Convert an instance of UpdateProxyProfileSelectionRule 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_KIND
public static final java.lang.String SERIALIZED_NAME_KIND
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRODUCT_ID_FILTER
public static final java.lang.String SERIALIZED_NAME_PRODUCT_ID_FILTER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONFIG_ID_FILTER
public static final java.lang.String SERIALIZED_NAME_CONFIG_ID_FILTER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENVIRONMENT_ID_FILTER
public static final java.lang.String SERIALIZED_NAME_ENVIRONMENT_ID_FILTER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRODUCT_NAME_MATCH_FILTER
public static final java.lang.String SERIALIZED_NAME_PRODUCT_NAME_MATCH_FILTER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONFIG_NAME_MATCH_FILTER
public static final java.lang.String SERIALIZED_NAME_CONFIG_NAME_MATCH_FILTER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENVIRONMENT_NAME_MATCH_FILTER
public static final java.lang.String SERIALIZED_NAME_ENVIRONMENT_NAME_MATCH_FILTER
- 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
-
kind
public UpdateProxyProfileSelectionRule kind(SelectionRuleKind kind)
-
getKind
@Nullable public SelectionRuleKind getKind()
Get kind- Returns:
- kind
-
setKind
public void setKind(SelectionRuleKind kind)
-
productIdFilter
public UpdateProxyProfileSelectionRule productIdFilter(java.util.UUID productIdFilter)
-
getProductIdFilter
@Nullable public java.util.UUID getProductIdFilter()
Defines the filter for matching Products by their unique identifier.- Returns:
- productIdFilter
-
setProductIdFilter
public void setProductIdFilter(java.util.UUID productIdFilter)
-
configIdFilter
public UpdateProxyProfileSelectionRule configIdFilter(java.util.UUID configIdFilter)
-
getConfigIdFilter
@Nullable public java.util.UUID getConfigIdFilter()
Defines the filter for matching Configs by their unique identifier.- Returns:
- configIdFilter
-
setConfigIdFilter
public void setConfigIdFilter(java.util.UUID configIdFilter)
-
environmentIdFilter
public UpdateProxyProfileSelectionRule environmentIdFilter(java.util.UUID environmentIdFilter)
-
getEnvironmentIdFilter
@Nullable public java.util.UUID getEnvironmentIdFilter()
Defines the filter for matching Environments by their unique identifier.- Returns:
- environmentIdFilter
-
setEnvironmentIdFilter
public void setEnvironmentIdFilter(java.util.UUID environmentIdFilter)
-
productNameMatchFilter
public UpdateProxyProfileSelectionRule productNameMatchFilter(java.lang.String productNameMatchFilter)
-
getProductNameMatchFilter
@Nullable public java.lang.String getProductNameMatchFilter()
Specifies a filter to match Product names in the proxy profile selection rule. It accepts wildcards (*).- Returns:
- productNameMatchFilter
-
setProductNameMatchFilter
public void setProductNameMatchFilter(java.lang.String productNameMatchFilter)
-
configNameMatchFilter
public UpdateProxyProfileSelectionRule configNameMatchFilter(java.lang.String configNameMatchFilter)
-
getConfigNameMatchFilter
@Nullable public java.lang.String getConfigNameMatchFilter()
Specifies a filter to match Config names in the proxy profile selection rule. It accepts wildcards (*).- Returns:
- configNameMatchFilter
-
setConfigNameMatchFilter
public void setConfigNameMatchFilter(java.lang.String configNameMatchFilter)
-
environmentNameMatchFilter
public UpdateProxyProfileSelectionRule environmentNameMatchFilter(java.lang.String environmentNameMatchFilter)
-
getEnvironmentNameMatchFilter
@Nullable public java.lang.String getEnvironmentNameMatchFilter()
Specifies a filter to match Environment names in the proxy profile selection rule. It accepts wildcards (*).- Returns:
- environmentNameMatchFilter
-
setEnvironmentNameMatchFilter
public void setEnvironmentNameMatchFilter(java.lang.String environmentNameMatchFilter)
-
putAdditionalProperty
public UpdateProxyProfileSelectionRule putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the UpdateProxyProfileSelectionRule instance itself
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
public java.lang.Object getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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 UpdateProxyProfileSelectionRule
-
fromJson
public static UpdateProxyProfileSelectionRule fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of UpdateProxyProfileSelectionRule given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateProxyProfileSelectionRule
- Throws:
java.io.IOException- if the JSON string is invalid with respect to UpdateProxyProfileSelectionRule
-
toJson
public java.lang.String toJson()
Convert an instance of UpdateProxyProfileSelectionRule to an JSON string- Returns:
- JSON string
-
-