[#197] sdk/object: Rename getters of Attribute and Object types

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-11-16 11:48:38 +03:00 committed by Alex Vanin
parent 67bcf6eb4d
commit 5f5e5ac5dd
7 changed files with 82 additions and 82 deletions

View file

@ -13,8 +13,8 @@ func TestAttribute(t *testing.T) {
a.SetKey(key)
a.SetValue(val)
require.Equal(t, key, a.GetKey())
require.Equal(t, val, a.GetValue())
require.Equal(t, key, a.Key())
require.Equal(t, val, a.Value())
aV2 := a.ToV2()