Filter conditions. Currently only supports filtering by object type (page or database).
This model accepts additional fields of type Object.
Filter
| Name | Type | Tags | Description |
|---|---|---|---|
value |
Value |
Optional | The type of object to filter by. |
property |
Property |
Optional | Must be "object". |
additional_properties |
Hash[String, Object] |
Optional | - |
filter = Filter.new(
value: Value::PAGE,
property: Property::OBJECT,
additional_properties: {
'exampleAdditionalProperty' => JSON.parse('{"key1":"val1","key2":"val2"}')
}
)