Class Limits
java.lang.Object
io.apicurio.registry.rest.client.v2.models.Limits
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable
@Generated("com.microsoft.kiota")
public class Limits
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable
List of limitations on used resources, that are applied on the current instance of Registry.Keys represent the resource type and are suffixed by the corresponding unit.Values are integers. Only non-negative values are allowed, with the exception of -1, which means that the limit is not applied.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LimitscreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.The deserialization information for the current modelGets the maxArtifactDescriptionLengthChars property value.Gets the maxArtifactLabelsCount property value.Gets the maxArtifactNameLengthChars property value.Gets the maxArtifactPropertiesCount property value.Gets the maxArtifactsCount property value.Gets the maxLabelSizeBytes property value.Gets the maxPropertyKeySizeBytes property value.Gets the maxPropertyValueSizeBytes property value.Gets the maxRequestsPerSecondCount property value.Gets the maxSchemaSizeBytes property value.Gets the maxTotalSchemasCount property value.Gets the maxVersionsPerArtifactCount property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidSets the maxArtifactDescriptionLengthChars property value.voidsetMaxArtifactLabelsCount(Long value) Sets the maxArtifactLabelsCount property value.voidSets the maxArtifactNameLengthChars property value.voidSets the maxArtifactPropertiesCount property value.voidsetMaxArtifactsCount(Long value) Sets the maxArtifactsCount property value.voidsetMaxLabelSizeBytes(Long value) Sets the maxLabelSizeBytes property value.voidsetMaxPropertyKeySizeBytes(Long value) Sets the maxPropertyKeySizeBytes property value.voidsetMaxPropertyValueSizeBytes(Long value) Sets the maxPropertyValueSizeBytes property value.voidsetMaxRequestsPerSecondCount(Long value) Sets the maxRequestsPerSecondCount property value.voidsetMaxSchemaSizeBytes(Long value) Sets the maxSchemaSizeBytes property value.voidsetMaxTotalSchemasCount(Long value) Sets the maxTotalSchemasCount property value.voidSets the maxVersionsPerArtifactCount property value.
-
Constructor Details
-
Limits
public Limits()Instantiates a newLimitsand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Limits createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
Limits
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getMaxArtifactDescriptionLengthChars
Gets the maxArtifactDescriptionLengthChars property value. The maxArtifactDescriptionLengthChars property- Returns:
- a
Long
-
getMaxArtifactLabelsCount
Gets the maxArtifactLabelsCount property value. The maxArtifactLabelsCount property- Returns:
- a
Long
-
getMaxArtifactNameLengthChars
Gets the maxArtifactNameLengthChars property value. The maxArtifactNameLengthChars property- Returns:
- a
Long
-
getMaxArtifactPropertiesCount
Gets the maxArtifactPropertiesCount property value. The maxArtifactPropertiesCount property- Returns:
- a
Long
-
getMaxArtifactsCount
Gets the maxArtifactsCount property value. The maxArtifactsCount property- Returns:
- a
Long
-
getMaxLabelSizeBytes
Gets the maxLabelSizeBytes property value. The maxLabelSizeBytes property- Returns:
- a
Long
-
getMaxPropertyKeySizeBytes
Gets the maxPropertyKeySizeBytes property value. The maxPropertyKeySizeBytes property- Returns:
- a
Long
-
getMaxPropertyValueSizeBytes
Gets the maxPropertyValueSizeBytes property value. The maxPropertyValueSizeBytes property- Returns:
- a
Long
-
getMaxRequestsPerSecondCount
Gets the maxRequestsPerSecondCount property value. The maxRequestsPerSecondCount property- Returns:
- a
Long
-
getMaxSchemaSizeBytes
Gets the maxSchemaSizeBytes property value. The maxSchemaSizeBytes property- Returns:
- a
Long
-
getMaxTotalSchemasCount
Gets the maxTotalSchemasCount property value. The maxTotalSchemasCount property- Returns:
- a
Long
-
getMaxVersionsPerArtifactCount
Gets the maxVersionsPerArtifactCount property value. The maxVersionsPerArtifactCount property- Returns:
- a
Long
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setMaxArtifactDescriptionLengthChars
Sets the maxArtifactDescriptionLengthChars property value. The maxArtifactDescriptionLengthChars property- Parameters:
value- Value to set for the maxArtifactDescriptionLengthChars property.
-
setMaxArtifactLabelsCount
Sets the maxArtifactLabelsCount property value. The maxArtifactLabelsCount property- Parameters:
value- Value to set for the maxArtifactLabelsCount property.
-
setMaxArtifactNameLengthChars
Sets the maxArtifactNameLengthChars property value. The maxArtifactNameLengthChars property- Parameters:
value- Value to set for the maxArtifactNameLengthChars property.
-
setMaxArtifactPropertiesCount
Sets the maxArtifactPropertiesCount property value. The maxArtifactPropertiesCount property- Parameters:
value- Value to set for the maxArtifactPropertiesCount property.
-
setMaxArtifactsCount
Sets the maxArtifactsCount property value. The maxArtifactsCount property- Parameters:
value- Value to set for the maxArtifactsCount property.
-
setMaxLabelSizeBytes
Sets the maxLabelSizeBytes property value. The maxLabelSizeBytes property- Parameters:
value- Value to set for the maxLabelSizeBytes property.
-
setMaxPropertyKeySizeBytes
Sets the maxPropertyKeySizeBytes property value. The maxPropertyKeySizeBytes property- Parameters:
value- Value to set for the maxPropertyKeySizeBytes property.
-
setMaxPropertyValueSizeBytes
Sets the maxPropertyValueSizeBytes property value. The maxPropertyValueSizeBytes property- Parameters:
value- Value to set for the maxPropertyValueSizeBytes property.
-
setMaxRequestsPerSecondCount
Sets the maxRequestsPerSecondCount property value. The maxRequestsPerSecondCount property- Parameters:
value- Value to set for the maxRequestsPerSecondCount property.
-
setMaxSchemaSizeBytes
Sets the maxSchemaSizeBytes property value. The maxSchemaSizeBytes property- Parameters:
value- Value to set for the maxSchemaSizeBytes property.
-
setMaxTotalSchemasCount
Sets the maxTotalSchemasCount property value. The maxTotalSchemasCount property- Parameters:
value- Value to set for the maxTotalSchemasCount property.
-
setMaxVersionsPerArtifactCount
Sets the maxVersionsPerArtifactCount property value. The maxVersionsPerArtifactCount property- Parameters:
value- Value to set for the maxVersionsPerArtifactCount property.
-