<commit_before>package somaproto

type Oncall struct {
	Id      string         `json:"id, omitempty"`
	Name    string         `json:"name, omitempty"`
	Number  string         `json:"number, omitempty"`
	Details *OncallDetails `json:"details, omitempty"`
}

type OncallDetails struct {
	DetailsCreation
	Members *[]OncallMember `json:"members, omitempty"`
}

type OncallMember struct {
	UserName string `json:"userName, omitempty"`
	UserId   string `json"userId, omitempty"`
}

type OncallFilter struct {
	Name   string `json:"name, omitempty"`
	Number string `json:"number, omitempty"`
}

//
func (p *Oncall) DeepCompare(a *Oncall) bool {
	if p.Id != a.Id || p.Name != a.Name || p.Number != a.Number {
		return false
	}
	return true
}

// vim: ts=4 sw=4 sts=4 noet fenc=utf-8 ffs=unix
<commit_msg>Move location of OncallMember to be consistent<commit_after>package somaproto

type Oncall struct {
	Id      string          `json:"id, omitempty"`
	Name    string          `json:"name, omitempty"`
	Number  string          `json:"number, omitempty"`
	Members *[]OncallMember `json:"members, omitempty"`
	Details *OncallDetails  `json:"details, omitempty"`
}

type OncallDetails struct {
	DetailsCreation
}

type OncallMember struct {
	UserName string `json:"userName, omitempty"`
	UserId   string `json"userId, omitempty"`
}

type OncallFilter struct {
	Name   string `json:"name, omitempty"`
	Number string `json:"number, omitempty"`
}

//
func (p *Oncall) DeepCompare(a *Oncall) bool {
	if p.Id != a.Id || p.Name != a.Name || p.Number != a.Number {
		return false
	}
	return true
}

// vim: ts=4 sw=4 sts=4 noet fenc=utf-8 ffs=unix

{'fraction_non_alphanumeric': 0.12875536480686695, 'fraction_numerical': 0.004904966278356836, 'mean_word_length': 3.8427299703264093, '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': '2577137', 'n_tokens_mistral': 556, 'n_tokens_neox': 557, 'n_words': 156}