SetNillableStatus sets the "status" field if the given value is not nil.
(u *user.Status)
| 108 | |
| 109 | // SetNillableStatus sets the "status" field if the given value is not nil. |
| 110 | func (uc *UserCreate) SetNillableStatus(u *user.Status) *UserCreate { |
| 111 | if u != nil { |
| 112 | uc.SetStatus(*u) |
| 113 | } |
| 114 | return uc |
| 115 | } |
| 116 | |
| 117 | // SetStorage sets the "storage" field. |
| 118 | func (uc *UserCreate) SetStorage(i int64) *UserCreate { |