ServerCleared returns if the "server" field was cleared in this mutation.
()
| 12876 | |
| 12877 | // ServerCleared returns if the "server" field was cleared in this mutation. |
| 12878 | func (m *StoragePolicyMutation) ServerCleared() bool { |
| 12879 | _, ok := m.clearedFields[storagepolicy.FieldServer] |
| 12880 | return ok |
| 12881 | } |
| 12882 | |
| 12883 | // ResetServer resets all changes to the "server" field. |
| 12884 | func (m *StoragePolicyMutation) ResetServer() { |
nothing calls this directly
no outgoing calls
no test coverage detected