[#73] Add JSON field names to refs package

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
Stanislav Bogatyrev 2020-10-19 12:30:51 +03:00 committed by Stanislav Bogatyrev
parent a1d9527f34
commit f7bd46baf8

View file

@ -9,9 +9,9 @@ option csharp_namespace = "NeoFS.API.v2.Refs";
// format there MUST be a '/' delimeter between them.
message Address {
// Container identifier
ContainerID container_id = 1 [json_name = "container"];
ContainerID container_id = 1 [json_name = "containerID"];
// Object identifier
ObjectID object_id = 2 [json_name = "object"];
ObjectID object_id = 2 [json_name = "objectID"];
}
// NeoFS Object unique identifier. Objects are immutable and content-addressed.