SetNillableDeletedAt sets the "deleted_at" field if the given value is not nil.
(t *time.Time)
| 58 | |
| 59 | // SetNillableDeletedAt sets the "deleted_at" field if the given value is not nil. |
| 60 | func (sc *SettingCreate) SetNillableDeletedAt(t *time.Time) *SettingCreate { |
| 61 | if t != nil { |
| 62 | sc.SetDeletedAt(*t) |
| 63 | } |
| 64 | return sc |
| 65 | } |
| 66 | |
| 67 | // SetName sets the "name" field. |
| 68 | func (sc *SettingCreate) SetName(s string) *SettingCreate { |
nothing calls this directly
no test coverage detected