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 Details

    • Limits

      public Limits()
      Instantiates a new Limits and 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

      @Nonnull public Map<String,Object> 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.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getMaxArtifactDescriptionLengthChars

      @Nullable public Long getMaxArtifactDescriptionLengthChars()
      Gets the maxArtifactDescriptionLengthChars property value. The maxArtifactDescriptionLengthChars property
      Returns:
      a Long
    • getMaxArtifactLabelsCount

      @Nullable public Long getMaxArtifactLabelsCount()
      Gets the maxArtifactLabelsCount property value. The maxArtifactLabelsCount property
      Returns:
      a Long
    • getMaxArtifactNameLengthChars

      @Nullable public Long getMaxArtifactNameLengthChars()
      Gets the maxArtifactNameLengthChars property value. The maxArtifactNameLengthChars property
      Returns:
      a Long
    • getMaxArtifactPropertiesCount

      @Nullable public Long getMaxArtifactPropertiesCount()
      Gets the maxArtifactPropertiesCount property value. The maxArtifactPropertiesCount property
      Returns:
      a Long
    • getMaxArtifactsCount

      @Nullable public Long getMaxArtifactsCount()
      Gets the maxArtifactsCount property value. The maxArtifactsCount property
      Returns:
      a Long
    • getMaxLabelSizeBytes

      @Nullable public Long getMaxLabelSizeBytes()
      Gets the maxLabelSizeBytes property value. The maxLabelSizeBytes property
      Returns:
      a Long
    • getMaxPropertyKeySizeBytes

      @Nullable public Long getMaxPropertyKeySizeBytes()
      Gets the maxPropertyKeySizeBytes property value. The maxPropertyKeySizeBytes property
      Returns:
      a Long
    • getMaxPropertyValueSizeBytes

      @Nullable public Long getMaxPropertyValueSizeBytes()
      Gets the maxPropertyValueSizeBytes property value. The maxPropertyValueSizeBytes property
      Returns:
      a Long
    • getMaxRequestsPerSecondCount

      @Nullable public Long getMaxRequestsPerSecondCount()
      Gets the maxRequestsPerSecondCount property value. The maxRequestsPerSecondCount property
      Returns:
      a Long
    • getMaxSchemaSizeBytes

      @Nullable public Long getMaxSchemaSizeBytes()
      Gets the maxSchemaSizeBytes property value. The maxSchemaSizeBytes property
      Returns:
      a Long
    • getMaxTotalSchemasCount

      @Nullable public Long getMaxTotalSchemasCount()
      Gets the maxTotalSchemasCount property value. The maxTotalSchemasCount property
      Returns:
      a Long
    • getMaxVersionsPerArtifactCount

      @Nullable public 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      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

      public void setMaxArtifactDescriptionLengthChars(@Nullable Long value)
      Sets the maxArtifactDescriptionLengthChars property value. The maxArtifactDescriptionLengthChars property
      Parameters:
      value - Value to set for the maxArtifactDescriptionLengthChars property.
    • setMaxArtifactLabelsCount

      public void setMaxArtifactLabelsCount(@Nullable Long value)
      Sets the maxArtifactLabelsCount property value. The maxArtifactLabelsCount property
      Parameters:
      value - Value to set for the maxArtifactLabelsCount property.
    • setMaxArtifactNameLengthChars

      public void setMaxArtifactNameLengthChars(@Nullable Long value)
      Sets the maxArtifactNameLengthChars property value. The maxArtifactNameLengthChars property
      Parameters:
      value - Value to set for the maxArtifactNameLengthChars property.
    • setMaxArtifactPropertiesCount

      public void setMaxArtifactPropertiesCount(@Nullable Long value)
      Sets the maxArtifactPropertiesCount property value. The maxArtifactPropertiesCount property
      Parameters:
      value - Value to set for the maxArtifactPropertiesCount property.
    • setMaxArtifactsCount

      public void setMaxArtifactsCount(@Nullable Long value)
      Sets the maxArtifactsCount property value. The maxArtifactsCount property
      Parameters:
      value - Value to set for the maxArtifactsCount property.
    • setMaxLabelSizeBytes

      public void setMaxLabelSizeBytes(@Nullable Long value)
      Sets the maxLabelSizeBytes property value. The maxLabelSizeBytes property
      Parameters:
      value - Value to set for the maxLabelSizeBytes property.
    • setMaxPropertyKeySizeBytes

      public void setMaxPropertyKeySizeBytes(@Nullable Long value)
      Sets the maxPropertyKeySizeBytes property value. The maxPropertyKeySizeBytes property
      Parameters:
      value - Value to set for the maxPropertyKeySizeBytes property.
    • setMaxPropertyValueSizeBytes

      public void setMaxPropertyValueSizeBytes(@Nullable Long value)
      Sets the maxPropertyValueSizeBytes property value. The maxPropertyValueSizeBytes property
      Parameters:
      value - Value to set for the maxPropertyValueSizeBytes property.
    • setMaxRequestsPerSecondCount

      public void setMaxRequestsPerSecondCount(@Nullable Long value)
      Sets the maxRequestsPerSecondCount property value. The maxRequestsPerSecondCount property
      Parameters:
      value - Value to set for the maxRequestsPerSecondCount property.
    • setMaxSchemaSizeBytes

      public void setMaxSchemaSizeBytes(@Nullable Long value)
      Sets the maxSchemaSizeBytes property value. The maxSchemaSizeBytes property
      Parameters:
      value - Value to set for the maxSchemaSizeBytes property.
    • setMaxTotalSchemasCount

      public void setMaxTotalSchemasCount(@Nullable Long value)
      Sets the maxTotalSchemasCount property value. The maxTotalSchemasCount property
      Parameters:
      value - Value to set for the maxTotalSchemasCount property.
    • setMaxVersionsPerArtifactCount

      public void setMaxVersionsPerArtifactCount(@Nullable Long value)
      Sets the maxVersionsPerArtifactCount property value. The maxVersionsPerArtifactCount property
      Parameters:
      value - Value to set for the maxVersionsPerArtifactCount property.