// ClearedFields returns all nullable fields that were cleared during this
// mutation.
ClearedFields returns all nullable fields that were cleared during this
mutation.
// ClearedFields returns all nullable fields that were cleared during this // mutation .
func (m *APIAuditMutation) ClearedFields() []string {
	var fields []string
	if m.FieldCleared(apiaudit.FieldDeletedAt) {
		fields = append(fields, apiaudit.FieldDeletedAt)
	}
	if m.FieldCleared(apiaudit.FieldHashedGrantToken) {
		fields = append(fields, apiaudit.FieldHashedGrantToken)
	}
	if m.FieldCleared(apiaudit.FieldDomain) {
		fields = append(fields, apiaudit.FieldDomain)
	}
	if m.FieldCleared(apiaudit.FieldHTTPPath) {
		fields = append(fields, apiaudit.FieldHTTPPath)
	}
	if m.FieldCleared(apiaudit.FieldHTTPMethod) {
		fields = append(fields, apiaudit.FieldHTTPMethod)
	}
	if m.FieldCleared(apiaudit.FieldSentHTTPStatus) {
		fields = append(fields, apiaudit.FieldSentHTTPStatus)
	}
	return fields
}
func ( m * APIAuditMutation ) ClearedFields ( ) [ ] string { var fields [ ] string if m . FieldCleared ( apiaudit . FieldDeletedAt ) { fields = append ( fields , apiaudit . FieldDeletedAt ) } if m . FieldCleared ( apiaudit . FieldHashedGrantToken ) { fields = append ( fields , apiaudit . FieldHashedGrantToken ) } if m . FieldCleared ( apiaudit . FieldDomain ) { fields = append ( fields , apiaudit . FieldDomain ) } if m . FieldCleared ( apiaudit . FieldHTTPPath ) { fields = append ( fields , apiaudit . FieldHTTPPath ) } if m . FieldCleared ( apiaudit . FieldHTTPMethod ) { fields = append ( fields , apiaudit . FieldHTTPMethod ) } if m . FieldCleared ( apiaudit . FieldSentHTTPStatus ) { fields = append ( fields , apiaudit . FieldSentHTTPStatus ) } return fields }
ClearedFields returns all nullable fields that were cleared during this
mutation.
ClearedFields returns all nullable fields that were cleared during this mutation .