// Fields returns all fields that were changed during this mutation. Note that in
// order to get all numeric fields that were incremented/decremented, call
// AddedFields().
Fields returns all fields that were changed during this mutation. Note that in
order to get all numeric fields that were incremented/decremented, call
AddedFields().
// Fields returns all fields that were changed during this mutation . Note that in // order to get all numeric fields that were incremented / decremented call // AddedFields () .
func (m *APIAuditMutation) Fields() []string {
	fields := make([]string, 0, 9)
	if m.created_at != nil {
		fields = append(fields, apiaudit.FieldCreatedAt)
	}
	if m.updated_at != nil {
		fields = append(fields, apiaudit.FieldUpdatedAt)
	}
	if m.deleted_at != nil {
		fields = append(fields, apiaudit.FieldDeletedAt)
	}
	if m.plane != nil {
		fields = append(fields, apiaudit.FieldPlane)
	}
	if m.hashed_grant_token != nil {
		fields = append(fields, apiaudit.FieldHashedGrantToken)
	}
	if m.domain != nil {
		fields = append(fields, apiaudit.FieldDomain)
	}
	if m.http_path != nil {
		fields = append(fields, apiaudit.FieldHTTPPath)
	}
	if m.http_method != nil {
		fields = append(fields, apiaudit.FieldHTTPMethod)
	}
	if m.sent_http_status != nil {
		fields = append(fields, apiaudit.FieldSentHTTPStatus)
	}
	return fields
}
func ( m * APIAuditMutation ) Fields ( ) [ ] string { fields := make ( [ ] string , 0 , 9 ) if m . created_at != nil { fields = append ( fields , apiaudit . FieldCreatedAt ) } if m . updated_at != nil { fields = append ( fields , apiaudit . FieldUpdatedAt ) } if m . deleted_at != nil { fields = append ( fields , apiaudit . FieldDeletedAt ) } if m . plane != nil { fields = append ( fields , apiaudit . FieldPlane ) } if m . hashed_grant_token != nil { fields = append ( fields , apiaudit . FieldHashedGrantToken ) } if m . domain != nil { fields = append ( fields , apiaudit . FieldDomain ) } if m . http_path != nil { fields = append ( fields , apiaudit . FieldHTTPPath ) } if m . http_method != nil { fields = append ( fields , apiaudit . FieldHTTPMethod ) } if m . sent_http_status != nil { fields = append ( fields , apiaudit . FieldSentHTTPStatus ) } return fields }
Fields returns all fields that were changed during this mutation.
Fields returns all fields that were changed during this mutation .