Class OrganizationLimitations
- java.lang.Object
-
- com.configcat.publicapi.java.client.model.OrganizationLimitations
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-11-28T09:20:10.031721056Z[Etc/UTC]", comments="Generator version: 7.7.0") public class OrganizationLimitations extends java.lang.ObjectOrganizationLimitations
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOrganizationLimitations.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_MAX_COMPARISON_VALUE_LENGTHstatic java.lang.StringSERIALIZED_NAME_MAX_COMPARISON_VALUE_LIST_ITEM_LENGTHstatic java.lang.StringSERIALIZED_NAME_MAX_COMPARISON_VALUE_LIST_LENGTHstatic java.lang.StringSERIALIZED_NAME_MAX_CONDITION_PER_TARGETING_RULE_COUNTstatic java.lang.StringSERIALIZED_NAME_MAX_PERCENTAGE_OPTION_COUNTstatic java.lang.StringSERIALIZED_NAME_MAX_PREDEFINED_VARIATIONSstatic java.lang.StringSERIALIZED_NAME_MAX_STRING_FLAG_VALUE_LENGTHstatic java.lang.StringSERIALIZED_NAME_MAX_TARGETING_RULE_COUNT
-
Constructor Summary
Constructors Constructor Description OrganizationLimitations()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static OrganizationLimitationsfromJson(java.lang.String jsonString)Create an instance of OrganizationLimitations 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.lang.IntegergetMaxComparisonValueLength()Maximum length of a text comparison value.java.lang.IntegergetMaxComparisonValueListItemLength()Maximum length of a list comparison value's item.java.lang.IntegergetMaxComparisonValueListLength()Maximum item count of a list comparison value.java.lang.IntegergetMaxConditionPerTargetingRuleCount()Maximum number of `AND` conditions a Feature Flag or Setting can have within a targeting rule.java.lang.IntegergetMaxPercentageOptionCount()Maximum number of percentage options a Feature Flag or Setting can have within a targeting rule.java.lang.IntegergetMaxPredefinedVariations()The maximum number of predefined variations allowed for a Feature Flag or Setting.java.lang.IntegergetMaxStringFlagValueLength()Maximum length of a text Setting's value.java.lang.IntegergetMaxTargetingRuleCount()Maximum number of targeting rules a Feature Flag or Setting can have.inthashCode()OrganizationLimitationsmaxComparisonValueLength(java.lang.Integer maxComparisonValueLength)OrganizationLimitationsmaxComparisonValueListItemLength(java.lang.Integer maxComparisonValueListItemLength)OrganizationLimitationsmaxComparisonValueListLength(java.lang.Integer maxComparisonValueListLength)OrganizationLimitationsmaxConditionPerTargetingRuleCount(java.lang.Integer maxConditionPerTargetingRuleCount)OrganizationLimitationsmaxPercentageOptionCount(java.lang.Integer maxPercentageOptionCount)OrganizationLimitationsmaxPredefinedVariations(java.lang.Integer maxPredefinedVariations)OrganizationLimitationsmaxStringFlagValueLength(java.lang.Integer maxStringFlagValueLength)OrganizationLimitationsmaxTargetingRuleCount(java.lang.Integer maxTargetingRuleCount)OrganizationLimitationsputAdditionalProperty(java.lang.String key, java.lang.Object value)Set the additional (undeclared) property with the specified name and value.voidsetMaxComparisonValueLength(java.lang.Integer maxComparisonValueLength)voidsetMaxComparisonValueListItemLength(java.lang.Integer maxComparisonValueListItemLength)voidsetMaxComparisonValueListLength(java.lang.Integer maxComparisonValueListLength)voidsetMaxConditionPerTargetingRuleCount(java.lang.Integer maxConditionPerTargetingRuleCount)voidsetMaxPercentageOptionCount(java.lang.Integer maxPercentageOptionCount)voidsetMaxPredefinedVariations(java.lang.Integer maxPredefinedVariations)voidsetMaxStringFlagValueLength(java.lang.Integer maxStringFlagValueLength)voidsetMaxTargetingRuleCount(java.lang.Integer maxTargetingRuleCount)java.lang.StringtoJson()Convert an instance of OrganizationLimitations 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_MAX_PERCENTAGE_OPTION_COUNT
public static final java.lang.String SERIALIZED_NAME_MAX_PERCENTAGE_OPTION_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAX_TARGETING_RULE_COUNT
public static final java.lang.String SERIALIZED_NAME_MAX_TARGETING_RULE_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAX_COMPARISON_VALUE_LENGTH
public static final java.lang.String SERIALIZED_NAME_MAX_COMPARISON_VALUE_LENGTH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAX_COMPARISON_VALUE_LIST_LENGTH
public static final java.lang.String SERIALIZED_NAME_MAX_COMPARISON_VALUE_LIST_LENGTH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAX_COMPARISON_VALUE_LIST_ITEM_LENGTH
public static final java.lang.String SERIALIZED_NAME_MAX_COMPARISON_VALUE_LIST_ITEM_LENGTH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAX_STRING_FLAG_VALUE_LENGTH
public static final java.lang.String SERIALIZED_NAME_MAX_STRING_FLAG_VALUE_LENGTH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAX_CONDITION_PER_TARGETING_RULE_COUNT
public static final java.lang.String SERIALIZED_NAME_MAX_CONDITION_PER_TARGETING_RULE_COUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAX_PREDEFINED_VARIATIONS
public static final java.lang.String SERIALIZED_NAME_MAX_PREDEFINED_VARIATIONS
- 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
-
maxPercentageOptionCount
public OrganizationLimitations maxPercentageOptionCount(java.lang.Integer maxPercentageOptionCount)
-
getMaxPercentageOptionCount
@Nonnull public java.lang.Integer getMaxPercentageOptionCount()
Maximum number of percentage options a Feature Flag or Setting can have within a targeting rule.- Returns:
- maxPercentageOptionCount
-
setMaxPercentageOptionCount
public void setMaxPercentageOptionCount(java.lang.Integer maxPercentageOptionCount)
-
maxTargetingRuleCount
public OrganizationLimitations maxTargetingRuleCount(java.lang.Integer maxTargetingRuleCount)
-
getMaxTargetingRuleCount
@Nonnull public java.lang.Integer getMaxTargetingRuleCount()
Maximum number of targeting rules a Feature Flag or Setting can have.- Returns:
- maxTargetingRuleCount
-
setMaxTargetingRuleCount
public void setMaxTargetingRuleCount(java.lang.Integer maxTargetingRuleCount)
-
maxComparisonValueLength
public OrganizationLimitations maxComparisonValueLength(java.lang.Integer maxComparisonValueLength)
-
getMaxComparisonValueLength
@Nonnull public java.lang.Integer getMaxComparisonValueLength()
Maximum length of a text comparison value.- Returns:
- maxComparisonValueLength
-
setMaxComparisonValueLength
public void setMaxComparisonValueLength(java.lang.Integer maxComparisonValueLength)
-
maxComparisonValueListLength
public OrganizationLimitations maxComparisonValueListLength(java.lang.Integer maxComparisonValueListLength)
-
getMaxComparisonValueListLength
@Nonnull public java.lang.Integer getMaxComparisonValueListLength()
Maximum item count of a list comparison value.- Returns:
- maxComparisonValueListLength
-
setMaxComparisonValueListLength
public void setMaxComparisonValueListLength(java.lang.Integer maxComparisonValueListLength)
-
maxComparisonValueListItemLength
public OrganizationLimitations maxComparisonValueListItemLength(java.lang.Integer maxComparisonValueListItemLength)
-
getMaxComparisonValueListItemLength
@Nonnull public java.lang.Integer getMaxComparisonValueListItemLength()
Maximum length of a list comparison value's item.- Returns:
- maxComparisonValueListItemLength
-
setMaxComparisonValueListItemLength
public void setMaxComparisonValueListItemLength(java.lang.Integer maxComparisonValueListItemLength)
-
maxStringFlagValueLength
public OrganizationLimitations maxStringFlagValueLength(java.lang.Integer maxStringFlagValueLength)
-
getMaxStringFlagValueLength
@Nonnull public java.lang.Integer getMaxStringFlagValueLength()
Maximum length of a text Setting's value.- Returns:
- maxStringFlagValueLength
-
setMaxStringFlagValueLength
public void setMaxStringFlagValueLength(java.lang.Integer maxStringFlagValueLength)
-
maxConditionPerTargetingRuleCount
public OrganizationLimitations maxConditionPerTargetingRuleCount(java.lang.Integer maxConditionPerTargetingRuleCount)
-
getMaxConditionPerTargetingRuleCount
@Nonnull public java.lang.Integer getMaxConditionPerTargetingRuleCount()
Maximum number of `AND` conditions a Feature Flag or Setting can have within a targeting rule.- Returns:
- maxConditionPerTargetingRuleCount
-
setMaxConditionPerTargetingRuleCount
public void setMaxConditionPerTargetingRuleCount(java.lang.Integer maxConditionPerTargetingRuleCount)
-
maxPredefinedVariations
public OrganizationLimitations maxPredefinedVariations(java.lang.Integer maxPredefinedVariations)
-
getMaxPredefinedVariations
@Nonnull public java.lang.Integer getMaxPredefinedVariations()
The maximum number of predefined variations allowed for a Feature Flag or Setting.- Returns:
- maxPredefinedVariations
-
setMaxPredefinedVariations
public void setMaxPredefinedVariations(java.lang.Integer maxPredefinedVariations)
-
putAdditionalProperty
public OrganizationLimitations 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 OrganizationLimitations 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 OrganizationLimitations
-
fromJson
public static OrganizationLimitations fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of OrganizationLimitations given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OrganizationLimitations
- Throws:
java.io.IOException- if the JSON string is invalid with respect to OrganizationLimitations
-
toJson
public java.lang.String toJson()
Convert an instance of OrganizationLimitations to an JSON string- Returns:
- JSON string
-
-