forked from TrueCloudLab/frostfs-api
[#73] Add JSON field names to accounting package
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
parent
4f01f4b902
commit
44d7f7a622
1 changed files with 2 additions and 2 deletions
|
@ -14,9 +14,9 @@ option csharp_namespace = "NeoFS.API.v2.Accounting";
|
||||||
// description.
|
// description.
|
||||||
message Decimal {
|
message Decimal {
|
||||||
// Number in smallest Token fractions.
|
// Number in smallest Token fractions.
|
||||||
int64 value = 1;
|
int64 value = 1 [json_name = "value"];
|
||||||
|
|
||||||
// Precision value indicating how many smallest fractions can be in one
|
// Precision value indicating how many smallest fractions can be in one
|
||||||
// integer.
|
// integer.
|
||||||
uint32 precision = 2;
|
uint32 precision = 2 [json_name = "precision"];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue