SetNillableTwoFactorSecret sets the "two_factor_secret" field if the given value is not nil.
(s *string)
| 155 | |
| 156 | // SetNillableTwoFactorSecret sets the "two_factor_secret" field if the given value is not nil. |
| 157 | func (uu *UserUpdate) SetNillableTwoFactorSecret(s *string) *UserUpdate { |
| 158 | if s != nil { |
| 159 | uu.SetTwoFactorSecret(*s) |
| 160 | } |
| 161 | return uu |
| 162 | } |
| 163 | |
| 164 | // ClearTwoFactorSecret clears the value of the "two_factor_secret" field. |
| 165 | func (uu *UserUpdate) ClearTwoFactorSecret() *UserUpdate { |
nothing calls this directly
no test coverage detected