<commit_before>package balanced

import (
	"fmt"
	"net/http"
	"time"
)

type ReversalService struct {
	client *Client
}

type Reversal struct {
	Amount      int               `json:"amount,omitempty"`
	Description string            `json:"description,omitempty"`
	Meta        map[string]string `json:"meta,omitempty"`
	Links       *ReversalLinks    `json:"links,omitempty"`
	Id          string            `json:"id,omitempty"`
	Href        string            `json:"href,omitempty"`
	CreatedAt   *time.Time        `json:"created_at,omitempty"`
	UpdatedAt   *time.Time        `json:"updated_at,omitempty"`
}

type ReversalLinks struct {
	Credit string `json:"credit"`
	Order  string `json:"order,omitempty"`
}

type ReversalResponse struct {
	Reversals []Reversal             `json:"reversals"`
	Links     *ReversalResponseLinks `json:"links"`
	Meta      map[string]interface{} `json:"meta,omitempty"`
}

type ReversalResponseLinks struct {
	Credit string `json:"reversals.credit"`
	Events string `json:"reversals.events"`
	Order  string `json:"reversal.order"`<commit_msg>Rm unnecessary omitempty annotations<commit_after>package balanced

import (
	"fmt"
	"net/http"
	"time"
)

type ReversalService struct {
	client *Client
}

type Reversal struct {
	Amount      int               `json:"amount,omitempty"`
	Description string            `json:"description,omitempty"`
	Meta        map[string]string `json:"meta,omitempty"`
	Links       *ReversalLinks    `json:"links,omitempty"`
	Id          string            `json:"id,omitempty"`
	Href        string            `json:"href,omitempty"`
	CreatedAt   *time.Time        `json:"created_at,omitempty"`
	UpdatedAt   *time.Time        `json:"updated_at,omitempty"`
}

type ReversalLinks struct {
	Credit string `json:"credit"`
	Order  string `json:"order"`
}

type ReversalResponse struct {
	Reversals []Reversal             `json:"reversals"`
	Links     *ReversalResponseLinks `json:"links"`
	Meta      map[string]interface{} `json:"meta"`
}

type ReversalResponseLinks struct {
	Credit string `json:"reversals.credit"`
	Events string `json:"reversals.events"`
	Order  string `json:"reversal.order"`
{'fraction_non_alphanumeric': 0.11934731934731935, 'fraction_numerical': 0.0, 'mean_word_length': 3.470833333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7004828', 'n_tokens_mistral': 659, 'n_tokens_neox': 631, 'n_words': 144}