Class ArtifactsRequestBuilder.PostQueryParameters

java.lang.Object
io.apicurio.registry.rest.client.search.artifacts.ArtifactsRequestBuilder.PostQueryParameters
All Implemented Interfaces:
com.microsoft.kiota.QueryParameters
Enclosing class:
ArtifactsRequestBuilder

@Generated("com.microsoft.kiota") public class ArtifactsRequestBuilder.PostQueryParameters extends Object implements com.microsoft.kiota.QueryParameters
Returns a paginated list of all artifacts with at least one version that matches theposted content.This operation can fail for the following reasons:* Provided content (request body) was empty (HTTP error `400`)* A server error occurred (HTTP error `500`)
  • Field Details

    • artifactType

      @Nullable public String artifactType
      Indicates the type of artifact represented by the content being used for the search. This is only needed when using the `canonical` query parameter, so that the server knows how to canonicalize the content prior to searching for matching artifacts.
    • canonical

      @Nullable public Boolean canonical
      Parameter that can be set to `true` to indicate that the server should "canonicalize" the content when searching for matching artifacts. Canonicalization is unique to each artifact type, but typically involves removing any extra whitespace and formatting the content in a consistent manner. Must be used along with the `artifactType` query parameter.
    • groupId

      @Nullable public String groupId
      Filter by artifact group.
    • limit

      @Nullable public Integer limit
      The number of artifacts to return. Defaults to 20.
    • offset

      @Nullable public Integer offset
      The number of artifacts to skip before starting to collect the result set. Defaults to 0.
    • order

      @Nullable public SortOrder order
      Sort order, ascending (`asc`) or descending (`desc`).
    • orderby

      @Nullable public ArtifactSortBy orderby
      The field to sort by. Can be one of:* `name`* `createdOn`
  • Constructor Details

    • PostQueryParameters

      public PostQueryParameters()
  • Method Details

    • toQueryParameters

      @Nonnull public Map<String,Object> toQueryParameters()
      Extracts the query parameters into a map for the URI template parsing.
      Specified by:
      toQueryParameters in interface com.microsoft.kiota.QueryParameters
      Returns:
      a Map<String,Object>