GetLocationInput
models.GetLocationInput()GetLocationInput defines the input parameters for retrieving location search results.
Attributes
| Name | Type | Description |
|---|---|---|
| number_of_locations | Optional[int] | The maximum number of locations to retrieve. |
| filter_locations_name | Optional[str] | An optional filter to search locations by their locationId, shortName, or description, using the SQL LIKE functionality. |
This model allows flexible querying of location data, supporting both general and ID/name/description-specific searches, and limiting the number of results returned.
Methods
| Name | Description |
|---|---|
| model_validate | Custom validation that can handle string input representing a dict. |
| validate_number_of_locations |
model_validate
models.GetLocationInput.model_validate(obj, *args, **kwargs)Custom validation that can handle string input representing a dict.
validate_number_of_locations
models.GetLocationInput.validate_number_of_locations(values)