IPAddressCleared returns if the "ip_address" field was cleared in this mutation.
()
| 4817 | |
| 4818 | // IPAddressCleared returns if the "ip_address" field was cleared in this mutation. |
| 4819 | func (m *BouncerMutation) IPAddressCleared() bool { |
| 4820 | _, ok := m.clearedFields[bouncer.FieldIPAddress] |
| 4821 | return ok |
| 4822 | } |
| 4823 | |
| 4824 | // ResetIPAddress resets all changes to the "ip_address" field. |
| 4825 | func (m *BouncerMutation) ResetIPAddress() { |