forked from TrueCloudLab/frostfs-api-go
[#197] sdk/object: Rename getters of Attribute and Object types
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
67bcf6eb4d
commit
5f5e5ac5dd
7 changed files with 82 additions and 82 deletions
|
@ -19,8 +19,8 @@ func NewAttribute() *Attribute {
|
|||
return NewAttributeFromV2(new(object.Attribute))
|
||||
}
|
||||
|
||||
// GetKey returns key to the object attribute.
|
||||
func (a *Attribute) GetKey() string {
|
||||
// Key returns key to the object attribute.
|
||||
func (a *Attribute) Key() string {
|
||||
return (*object.Attribute)(a).GetKey()
|
||||
}
|
||||
|
||||
|
@ -29,8 +29,8 @@ func (a *Attribute) SetKey(v string) {
|
|||
(*object.Attribute)(a).SetKey(v)
|
||||
}
|
||||
|
||||
// GetValue return value of the object attribute.
|
||||
func (a *Attribute) GetValue() string {
|
||||
// Value return value of the object attribute.
|
||||
func (a *Attribute) Value() string {
|
||||
return (*object.Attribute)(a).GetValue()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue