SetNillableCreateTime sets the "create_time" field if the given value is not nil.
(t *time.Time)
| 36 | |
| 37 | // SetNillableCreateTime sets the "create_time" field if the given value is not nil. |
| 38 | func (nc *NodeCreate) SetNillableCreateTime(t *time.Time) *NodeCreate { |
| 39 | if t != nil { |
| 40 | nc.SetCreateTime(*t) |
| 41 | } |
| 42 | return nc |
| 43 | } |
| 44 | |
| 45 | // SetUpdateTime sets the "update_time" field. |
| 46 | func (nc *NodeCreate) SetUpdateTime(t time.Time) *NodeCreate { |
nothing calls this directly
no test coverage detected