From eed8754aaa315f35a9a336ccf09bc7c28ef8eea4 Mon Sep 17 00:00:00 2001 From: Stanislav Bogatyrev Date: Mon, 19 Oct 2020 13:07:58 +0300 Subject: [PATCH] [#73] Add JSON field names to storagegroup package Signed-off-by: Stanislav Bogatyrev --- storagegroup/types.proto | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/storagegroup/types.proto b/storagegroup/types.proto index 66e23e5..0400f64 100644 --- a/storagegroup/types.proto +++ b/storagegroup/types.proto @@ -13,16 +13,16 @@ import "refs/types.proto"; // contains objects from the same container. message StorageGroup { // Total size of the payloads of objects in the storage group - uint64 validation_data_size = 1; + uint64 validation_data_size = 1 [json_name = "validationDataSize"]; // Homomorphic hash from the concatenation of the payloads of the storage // group members. The order of concatenation is the same as the order of the // members in the `members` field. - neo.fs.v2.refs.Checksum validation_hash = 2; + neo.fs.v2.refs.Checksum validation_hash = 2 [json_name = "validationHash"]; // Last NeoFS epoch number of the storage group lifetime - uint64 expiration_epoch = 3; + uint64 expiration_epoch = 3 [json_name = "expirationEpoch"]; // Strictly ordered list of storage group member objects - repeated neo.fs.v2.refs.ObjectID members = 4; + repeated neo.fs.v2.refs.ObjectID members = 4 [json_name = "members"]; }