[#182] v2/object: Define boolean property values

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-10-27 20:51:27 +03:00 committed by Alex Vanin
parent 88c8c08c6b
commit 6b54019148

View file

@ -42,3 +42,11 @@ const (
// FilterPropertyChildfree is a filter key to check if an object has empty children list in `Split` header.
FilterPropertyChildfree = ReservedFilterPrefix + "CHILDFREE"
)
const (
// BooleanPropertyValueTrue is a true value for boolean property filters.
BooleanPropertyValueTrue = "true"
// BooleanPropertyValueFalse is a false value for boolean property filters.
BooleanPropertyValueFalse = ""
)