SetNillablePassword sets the "password" field if the given value is not nil.
(s *string)
| 94 | |
| 95 | // SetNillablePassword sets the "password" field if the given value is not nil. |
| 96 | func (uc *UserCreate) SetNillablePassword(s *string) *UserCreate { |
| 97 | if s != nil { |
| 98 | uc.SetPassword(*s) |
| 99 | } |
| 100 | return uc |
| 101 | } |
| 102 | |
| 103 | // SetStatus sets the "status" field. |
| 104 | func (uc *UserCreate) SetStatus(u user.Status) *UserCreate { |
nothing calls this directly
no test coverage detected