SetNillableSlaveKey sets the "slave_key" field if the given value is not nil.
(s *string)
| 107 | |
| 108 | // SetNillableSlaveKey sets the "slave_key" field if the given value is not nil. |
| 109 | func (nc *NodeCreate) SetNillableSlaveKey(s *string) *NodeCreate { |
| 110 | if s != nil { |
| 111 | nc.SetSlaveKey(*s) |
| 112 | } |
| 113 | return nc |
| 114 | } |
| 115 | |
| 116 | // SetCapabilities sets the "capabilities" field. |
| 117 | func (nc *NodeCreate) SetCapabilities(bs *boolset.BooleanSet) *NodeCreate { |
nothing calls this directly
no test coverage detected