[#155] sdk/object: Add object type getter/setter
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
2fb1547cd8
commit
dbb5102c02
3 changed files with 30 additions and 0 deletions
|
@ -115,3 +115,8 @@ func (o *RawObject) SetParent(v *Object) {
|
|||
func (o *RawObject) SetSessionToken(v *token.SessionToken) {
|
||||
o.setSessionToken(v)
|
||||
}
|
||||
|
||||
// SetType sets type of the object.
|
||||
func (o *RawObject) SetType(v Type) {
|
||||
o.setType(v)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue