# SearchByMetadataRequest

Documents matching all provided criteria will be returned

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **string** | Optional : Name of the file - if not provided or null : search all file names | [optional] [default to undefined]
**type** | **string** | Optional : Type of the document to search - if not provided or null : search all types | [optional] [default to undefined]
**parentFolderId** | **string** | Optional : UUID of the parent folder to search - if not provided or null : search in all folders | [optional] [default to undefined]
**rootOnly** | **boolean** | Optional : if true : search only at the root level - if not provided or null : search in all folders | [optional] [default to undefined]
**metadataCriteria** | **{ [key: string]: any; }** | Metadata key-value pairs to search for. A string value containing % or * is a case-insensitive pattern: % or * &#x3D; any characters, ? &#x3D; exactly one character, _ and \\ are literal, a bare % &#x3D; the key is set whatever its value (e.g. {\&quot;project\&quot;: \&quot;beta%\&quot;}). Any other value is matched exactly (case-sensitive). At most 10 criteria, keys up to 100 characters, patterns up to 200. | [optional] [default to undefined]

## Example

```typescript
import { SearchByMetadataRequest } from '@openfilz-sdk/typescript';

const instance: SearchByMetadataRequest = {
    name,
    type,
    parentFolderId,
    rootOnly,
    metadataCriteria,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
