[#128] object: Add json_name tags to fields of SearchRequest.Body.Filter
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
3b6f5d70ec
commit
0f8fb25969
1 changed files with 3 additions and 3 deletions
|
@ -356,13 +356,13 @@ message SearchRequest {
|
||||||
// Behavior when processing this kind of filters is undefined.
|
// Behavior when processing this kind of filters is undefined.
|
||||||
message Filter {
|
message Filter {
|
||||||
// Match type to use
|
// Match type to use
|
||||||
MatchType match_type = 1;
|
MatchType match_type = 1 [json_name = "matchType"];
|
||||||
|
|
||||||
// Attribute or Header fields to match
|
// Attribute or Header fields to match
|
||||||
string key = 2;
|
string key = 2 [json_name = "key"];
|
||||||
|
|
||||||
// Value to match
|
// Value to match
|
||||||
string value = 3;
|
string value = 3 [json_name = "value"];
|
||||||
}
|
}
|
||||||
// List of search expressions
|
// List of search expressions
|
||||||
repeated Filter filters = 3;
|
repeated Filter filters = 3;
|
||||||
|
|
Loading…
Reference in a new issue