func (v *Release) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjson241b18dfDecodeGithubComGrafanaDevtoolsPkgGhevents2(&r, v)
	return r.Error()
}
UnmarshalJSON supports json.Unmarshaler interface
package ghevents
import (
	json "encoding/json"
	easyjson "github.com/mailru/easyjson"
	jlexer "github.com/mailru/easyjson/jlexer"
	jwriter "github.com/mailru/easyjson/jwriter"
	time "time"
)
var (
	_ *json.RawMessage
	_ *jlexer.Lexer
	_ *jwriter.Writer
	_ easyjson.Marshaler
)
func easyjson241b18dfDecodeGithubComGrafanaDevtoolsPkgGhevents(in *jlexer.Lexer, out *Team) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		case "id":
			out.ID = int(in.Int())
		case "name":
			out.Name = string(in.String())
		case "slug":
			out.Slug = string(in.String())
		case "permission":
			out.Permission = string(in.String())
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjson241b18dfEncodeGithubComGrafanaDevtoolsPkgGhevents(out *jwriter.Writer, in Team) {
	out.RawByte('{')
	first := true
	_ = first
	{
		const prefix string = ",\"id\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		out.Int(int(in.ID))
	}
	{
		const prefix string = ",\"name\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		out.String(string(in.Name))
	}
	{
		const prefix string = ",\"slug\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		out.String(string(in.Slug))
	}
	{
		const prefix string = ",\"permission\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		out.String(string(in.Permission))
	}
	out.RawByte('}')
}
func (v Team) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjson241b18dfEncodeGithubComGrafanaDevtoolsPkgGhevents(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}
func (v Team) MarshalEasyJSON(w *jwriter.Writer) {
	easyjson241b18dfEncodeGithubComGrafanaDevtoolsPkgGhevents(w, v)
}
func (v *Team) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjson241b18dfDecodeGithubComGrafanaDevtoolsPkgGhevents(&r, v)
	return r.Error()
}
func (v *Team) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjson241b18dfDecodeGithubComGrafanaDevtoolsPkgGhevents(l, v)
}
func easyjson241b18dfDecodeGithubComGrafanaDevtoolsPkgGhevents1(in *jlexer.Lexer, out *Repo) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		case "id":
			out.ID = int(in.Int())
		case "name":
			out.Name = string(in.String())
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjson241b18dfEncodeGithubComGrafanaDevtoolsPkgGhevents1(out *jwriter.Writer, in Repo) {
	out.RawByte('{')
	first := true
	_ = first
	{
		const prefix string = ",\"id\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		out.Int(int(in.ID))
	}
	{
		const prefix string = ",\"name\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		out.String(string(in.Name))
	}
	out.RawByte('}')
}
func (v Repo) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjson241b18dfEncodeGithubComGrafanaDevtoolsPkgGhevents1(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}
func (v Repo) MarshalEasyJSON(w *jwriter.Writer) {
	easyjson241b18dfEncodeGithubComGrafanaDevtoolsPkgGhevents1(w, v)
}
func (v *Repo) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjson241b18dfDecodeGithubComGrafanaDevtoolsPkgGhevents1(&r, v)
	return r.Error()
}
func (v *Repo) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjson241b18dfDecodeGithubComGrafanaDevtoolsPkgGhevents1(l, v)
}
func easyjson241b18dfDecodeGithubComGrafanaDevtoolsPkgGhevents2(in *jlexer.Lexer, out *Release) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		case "id":
			out.ID = int(in.Int())
		case "tag_name":
			out.TagName = string(in.String())
		case "target_commitish":
			out.TargetCommitish = string(in.String())
		case "name":
			if in.IsNull() {
				in.Skip()
				out.Name = nil
			} else {
				if out.Name == nil {
					out.Name = new(string)
				}
				*out.Name = string(in.String())
			}
		case "draft":
			out.Draft = bool(in.Bool())
		case "author":
			if data := in.Raw(); in.Ok() {
				in.AddError((out.Author).UnmarshalJSON(data))
			}
		case "prerelease":
			out.Prerelease = bool(in.Bool())
		case "created_at":
			if data := in.Raw(); in.Ok() {
				in.AddError((out.CreatedAt).UnmarshalJSON(data))
			}
		case "published_at":
			if in.IsNull() {
				in.Skip()
				out.PublishedAt = nil
			} else {
				if out.PublishedAt == nil {
					out.PublishedAt = new(time.Time)
				}
				if data := in.Raw(); in.Ok() {
					in.AddError((*out.PublishedAt).UnmarshalJSON(data))
				}
			}
		case "body":
			if in.IsNull() {
				in.Skip()
				out.Body = nil
			} else {
				if out.Body == nil {
					out.Body = new(string)
				}
				*out.Body = string(in.String())
			}
		case "assets":
			if in.IsNull() {
				in.Skip()
				out.Assets = nil
			} else {
				in.Delim('[')
				if out.Assets == nil {
					if !in.IsDelim(']') {
						out.Assets = make([]Asset, 0, 1)
					} else {
						out.Assets = []Asset{}
					}
				} else {
					out.Assets = (out.Assets)[:0]
				}
				for !in.IsDelim(']') {
					var v1 Asset
					if data := in.Raw(); in.Ok() {
						in.AddError((v1).UnmarshalJSON(data))
					}
					out.Assets = append(out.Assets, v1)
					in.WantComma()
				}
				in.Delim(']')
			}
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjson241b18dfEncodeGithubComGrafanaDevtoolsPkgGhevents2(out *jwriter.Writer, in Release) {
	out.RawByte('{')
	first := true
	_ = first
	{
		const prefix string = ",\"id\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		out.Int(int(in.ID))
	}
	{
		const prefix string = ",\"tag_name\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		out.String(string(in.TagName))
	}
	{
		const prefix string = ",\"target_commitish\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		out.String(string(in.TargetCommitish))
	}
	{
		const prefix string = ",\"name\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		if in.Name == nil {
			out.RawString("null")
		} else {
			out.String(string(*in.Name))
		}
	}
	{
		const prefix string = ",\"draft\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		out.Bool(bool(in.Draft))
	}
	{
		const prefix string = ",\"author\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		out.Raw((in.Author).MarshalJSON())
	}
	{
		const prefix string = ",\"prerelease\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		out.Bool(bool(in.Prerelease))
	}
	{
		const prefix string = ",\"created_at\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		out.Raw((in.CreatedAt).MarshalJSON())
	}
	{
		const prefix string = ",\"published_at\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		if in.PublishedAt == nil {
			out.RawString("null")
		} else {
			out.Raw((*in.PublishedAt).MarshalJSON())
		}
	}
	{
		const prefix string = ",\"body\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		if in.Body == nil {
			out.RawString("null")
		} else {
			out.String(string(*in.Body))
		}
	}
	{
		const prefix string = ",\"assets\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		if in.Assets == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
			out.RawString("null")
		} else {
			out.RawByte('[')
			for v2, v3 := range in.Assets {
				if v2 > 0 {
					out.RawByte(',')
				}
				out.Raw((v3).MarshalJSON())
			}
			out.RawByte(']')
		}
	}
	out.RawByte('}')
}
func (v Release) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjson241b18dfEncodeGithubComGrafanaDevtoolsPkgGhevents2(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}
func (v Release) MarshalEasyJSON(w *jwriter.Writer) {
	easyjson241b18dfEncodeGithubComGrafanaDevtoolsPkgGhevents2(w, v)
}