func (t *ServiceName) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch ServiceName(in.String()) {
	case ServiceNameBackgroundFetch:
		*t = ServiceNameBackgroundFetch
	case ServiceNameBackgroundSync:
		*t = ServiceNameBackgroundSync

	default:
		in.AddError(errors.New("unknown ServiceName value"))
	}
}
func (t *ServiceName) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch ServiceName(in.String()) {
	case ServiceNameBackgroundFetch:
		*t = ServiceNameBackgroundFetch
	case ServiceNameBackgroundSync:
		*t = ServiceNameBackgroundSync

	default:
		in.AddError(errors.New("unknown ServiceName value"))
	}
}
func ( t * ServiceName ) UnmarshalEasyJSON ( in * jlexer . Lexer ) { switch ServiceName ( in . String ( ) ) { case ServiceNameBackgroundFetch : * t = ServiceNameBackgroundFetch case ServiceNameBackgroundSync : * t = ServiceNameBackgroundSync default : in . AddError ( errors . New ( " " ) ) } }
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalEasyJSON satisfies easyjson . Unmarshaler .