SetNillableTwoFactorSecret sets the "two_factor_secret" field if the given value is not nil.
(s *string)
| 136 | |
| 137 | // SetNillableTwoFactorSecret sets the "two_factor_secret" field if the given value is not nil. |
| 138 | func (uc *UserCreate) SetNillableTwoFactorSecret(s *string) *UserCreate { |
| 139 | if s != nil { |
| 140 | uc.SetTwoFactorSecret(*s) |
| 141 | } |
| 142 | return uc |
| 143 | } |
| 144 | |
| 145 | // SetAvatar sets the "avatar" field. |
| 146 | func (uc *UserCreate) SetAvatar(s string) *UserCreate { |
nothing calls this directly
no test coverage detected