SetNillableTwoFactorSecret sets the "two_factor_secret" field if the given value is not nil.
(s *string)
| 1174 | |
| 1175 | // SetNillableTwoFactorSecret sets the "two_factor_secret" field if the given value is not nil. |
| 1176 | func (uuo *UserUpdateOne) SetNillableTwoFactorSecret(s *string) *UserUpdateOne { |
| 1177 | if s != nil { |
| 1178 | uuo.SetTwoFactorSecret(*s) |
| 1179 | } |
| 1180 | return uuo |
| 1181 | } |
| 1182 | |
| 1183 | // ClearTwoFactorSecret clears the value of the "two_factor_secret" field. |
| 1184 | func (uuo *UserUpdateOne) ClearTwoFactorSecret() *UserUpdateOne { |
nothing calls this directly
no test coverage detected