2020-08-13 12:43:47 +00:00
|
|
|
package accounting
|
2020-08-12 19:06:10 +00:00
|
|
|
|
|
|
|
import (
|
2023-03-07 10:38:56 +00:00
|
|
|
refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc"
|
|
|
|
session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc"
|
2020-08-12 19:06:10 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// SetOwnerId sets identifier of the account owner.
|
|
|
|
func (m *BalanceRequest_Body) SetOwnerId(v *refs.OwnerID) {
|
2022-03-23 11:42:57 +00:00
|
|
|
m.OwnerId = v
|
2020-08-12 19:06:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetBody sets body of the request.
|
|
|
|
func (m *BalanceRequest) SetBody(v *BalanceRequest_Body) {
|
2022-03-23 11:42:57 +00:00
|
|
|
m.Body = v
|
2020-08-12 19:06:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetMetaHeader sets meta header of the request.
|
2020-08-20 10:41:55 +00:00
|
|
|
func (m *BalanceRequest) SetMetaHeader(v *session.RequestMetaHeader) {
|
2022-03-23 11:42:57 +00:00
|
|
|
m.MetaHeader = v
|
2020-08-12 19:06:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetVerifyHeader sets verification header of the request.
|
2020-08-20 10:41:55 +00:00
|
|
|
func (m *BalanceRequest) SetVerifyHeader(v *session.RequestVerificationHeader) {
|
2022-03-23 11:42:57 +00:00
|
|
|
m.VerifyHeader = v
|
2020-08-12 19:06:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetBalance sets balance value of the response.
|
|
|
|
func (m *BalanceResponse_Body) SetBalance(v *Decimal) {
|
2022-03-23 11:42:57 +00:00
|
|
|
m.Balance = v
|
2020-08-12 19:06:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetBody sets body of the response.
|
|
|
|
func (m *BalanceResponse) SetBody(v *BalanceResponse_Body) {
|
2022-03-23 11:42:57 +00:00
|
|
|
m.Body = v
|
2020-08-12 19:06:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetMetaHeader sets meta header of the response.
|
2020-08-20 10:41:55 +00:00
|
|
|
func (m *BalanceResponse) SetMetaHeader(v *session.ResponseMetaHeader) {
|
2022-03-23 11:42:57 +00:00
|
|
|
m.MetaHeader = v
|
2020-08-12 19:06:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetVerifyHeader sets verification header of the response.
|
2020-08-20 10:41:55 +00:00
|
|
|
func (m *BalanceResponse) SetVerifyHeader(v *session.ResponseVerificationHeader) {
|
2022-03-23 11:42:57 +00:00
|
|
|
m.VerifyHeader = v
|
2020-08-12 19:06:10 +00:00
|
|
|
}
|