square_api_client/models/catalog_query_set.rs
1//! Model struct for CatalogQuerySet type.
2
3use serde::Serialize;
4
5/// The query filter to return the search result(s) by exact match of the specified `attribute_name`
6/// and any of the `attribute_values`.
7#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)]
8pub struct CatalogQuerySet {
9 /// The name of the attribute to be searched. Matching of the attribute name is exact.
10 ///
11 /// Min Length 1
12 pub attribute_name: String,
13 /// The desired values of the search attribute. Matching of the attribute values is exact and
14 /// case insensitive. A maximum of 250 values may be searched in a request.
15 pub attribute_values: Vec<String>,
16}