[#94] acl: Add json_name notation to EACLTable.Version field

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-11-24 11:01:58 +03:00 committed by Stanislav Bogatyrev
parent 55c04e485e
commit f4215add9e

View file

@ -158,7 +158,7 @@ message EACLRecord {
message EACLTable { message EACLTable {
// eACL format version. Effectively the version of API library used to create // eACL format version. Effectively the version of API library used to create
// eACL Table. // eACL Table.
neo.fs.v2.refs.Version version = 1; neo.fs.v2.refs.Version version = 1 [json_name = "version"];
// Identifier of the container that should use given access control rules // Identifier of the container that should use given access control rules
neo.fs.v2.refs.ContainerID container_id = 2 [json_name="containerID"]; neo.fs.v2.refs.ContainerID container_id = 2 [json_name="containerID"];