forked from TrueCloudLab/frostfs-sdk-go
[#227] bearer: Add method IsSetAPEOverride
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
ebd8fcd168
commit
2a04a40710
1 changed files with 7 additions and 0 deletions
|
@ -313,6 +313,13 @@ func (b *Token) SetAPEOverride(v APEOverride) {
|
|||
b.apeOverrideSet = true
|
||||
}
|
||||
|
||||
// IsSetAPEOverride return true if APEOverride is set.
|
||||
//
|
||||
// See also: APEOverride.
|
||||
func (b *Token) IsSetAPEOverride() bool {
|
||||
return b.apeOverrideSet
|
||||
}
|
||||
|
||||
// APEOverride returns APE override set by SetAPEOverride.
|
||||
//
|
||||
// Zero Token has zero APEOverride.
|
||||
|
|
Loading…
Reference in a new issue