mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-23 00:07:31 +00:00
15 lines
283 B
Go
15 lines
283 B
Go
|
package domain
|
||
|
|
||
|
type SMSConfigState int32
|
||
|
|
||
|
const (
|
||
|
SMSConfigStateUnspecified SMSConfigState = iota
|
||
|
SMSConfigStateActive
|
||
|
SMSConfigStateInactive
|
||
|
SMSConfigStateRemoved
|
||
|
)
|
||
|
|
||
|
func (s SMSConfigState) Exists() bool {
|
||
|
return s != SMSConfigStateUnspecified && s != SMSConfigStateRemoved
|
||
|
}
|