SetSlaveKey sets the "slave_key" field.
(s string)
| 101 | |
| 102 | // SetSlaveKey sets the "slave_key" field. |
| 103 | func (nc *NodeCreate) SetSlaveKey(s string) *NodeCreate { |
| 104 | nc.mutation.SetSlaveKey(s) |
| 105 | return nc |
| 106 | } |
| 107 | |
| 108 | // SetNillableSlaveKey sets the "slave_key" field if the given value is not nil. |
| 109 | func (nc *NodeCreate) SetNillableSlaveKey(s *string) *NodeCreate { |