mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 20:38:00 +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
|
||
|
}
|