From a70e74de249eedee586fd2a1557648cddf10c75d Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Thu, 16 Jan 2025 10:06:18 +0100 Subject: [PATCH] Update generated files. --- api_async_easyjson.go | 1590 +-------------------------------------- api_backend_easyjson.go | 246 +++--- api_proxy_easyjson.go | 334 +++----- 3 files changed, 213 insertions(+), 1957 deletions(-) diff --git a/api_async_easyjson.go b/api_async_easyjson.go index 112394ba..1439e788 100644 --- a/api_async_easyjson.go +++ b/api_async_easyjson.go @@ -7,7 +7,6 @@ import ( easyjson "github.com/mailru/easyjson" jlexer "github.com/mailru/easyjson/jlexer" jwriter "github.com/mailru/easyjson/jwriter" - time "time" ) // suppress unused package warning @@ -49,7 +48,7 @@ func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling(in *jlexe if out.Data == nil { out.Data = new(MessageClientMessageData) } - easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling1(in, out.Data) + (*out.Data).UnmarshalEasyJSON(in) } default: in.SkipRecursive() @@ -87,7 +86,7 @@ func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling(out *jwri if in.Data == nil { out.RawString("null") } else { - easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling1(out, *in.Data) + (*in.Data).MarshalEasyJSON(out) } } out.RawByte('}') @@ -116,147 +115,7 @@ func (v *SendOfferMessage) UnmarshalJSON(data []byte) error { func (v *SendOfferMessage) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling(l, v) } -func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling1(in *jlexer.Lexer, out *MessageClientMessageData) { - isTopLevel := in.IsStart() - if in.IsNull() { - if isTopLevel { - in.Consumed() - } - in.Skip() - return - } - in.Delim('{') - for !in.IsDelim('}') { - key := in.UnsafeFieldName(false) - in.WantColon() - if in.IsNull() { - in.Skip() - in.WantComma() - continue - } - switch key { - case "type": - out.Type = string(in.String()) - case "sid": - out.Sid = string(in.String()) - case "roomType": - out.RoomType = string(in.String()) - case "payload": - if in.IsNull() { - in.Skip() - } else { - in.Delim('{') - out.Payload = make(map[string]interface{}) - for !in.IsDelim('}') { - key := string(in.String()) - in.WantColon() - var v1 interface{} - if m, ok := v1.(easyjson.Unmarshaler); ok { - m.UnmarshalEasyJSON(in) - } else if m, ok := v1.(json.Unmarshaler); ok { - _ = m.UnmarshalJSON(in.Raw()) - } else { - v1 = in.Interface() - } - (out.Payload)[key] = v1 - in.WantComma() - } - in.Delim('}') - } - case "bitrate": - out.Bitrate = int(in.Int()) - case "audiocodec": - out.AudioCodec = string(in.String()) - case "videocodec": - out.VideoCodec = string(in.String()) - case "vp9profile": - out.VP9Profile = string(in.String()) - case "h264profile": - out.H264Profile = string(in.String()) - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling1(out *jwriter.Writer, in MessageClientMessageData) { - out.RawByte('{') - first := true - _ = first - { - const prefix string = ",\"type\":" - out.RawString(prefix[1:]) - out.String(string(in.Type)) - } - { - const prefix string = ",\"sid\":" - out.RawString(prefix) - out.String(string(in.Sid)) - } - { - const prefix string = ",\"roomType\":" - out.RawString(prefix) - out.String(string(in.RoomType)) - } - { - const prefix string = ",\"payload\":" - out.RawString(prefix) - if in.Payload == nil && (out.Flags&jwriter.NilMapAsEmpty) == 0 { - out.RawString(`null`) - } else { - out.RawByte('{') - v2First := true - for v2Name, v2Value := range in.Payload { - if v2First { - v2First = false - } else { - out.RawByte(',') - } - out.String(string(v2Name)) - out.RawByte(':') - if m, ok := v2Value.(easyjson.Marshaler); ok { - m.MarshalEasyJSON(out) - } else if m, ok := v2Value.(json.Marshaler); ok { - out.Raw(m.MarshalJSON()) - } else { - out.Raw(json.Marshal(v2Value)) - } - } - out.RawByte('}') - } - } - if in.Bitrate != 0 { - const prefix string = ",\"bitrate\":" - out.RawString(prefix) - out.Int(int(in.Bitrate)) - } - if in.AudioCodec != "" { - const prefix string = ",\"audiocodec\":" - out.RawString(prefix) - out.String(string(in.AudioCodec)) - } - if in.VideoCodec != "" { - const prefix string = ",\"videocodec\":" - out.RawString(prefix) - out.String(string(in.VideoCodec)) - } - if in.VP9Profile != "" { - const prefix string = ",\"vp9profile\":" - out.RawString(prefix) - out.String(string(in.VP9Profile)) - } - if in.H264Profile != "" { - const prefix string = ",\"h264profile\":" - out.RawString(prefix) - out.String(string(in.H264Profile)) - } - out.RawByte('}') -} -func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling2(in *jlexer.Lexer, out *AsyncRoomMessage) { +func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling1(in *jlexer.Lexer, out *AsyncRoomMessage) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -291,7 +150,7 @@ func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling2(in *jlex in.Consumed() } } -func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling2(out *jwriter.Writer, in AsyncRoomMessage) { +func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling1(out *jwriter.Writer, in AsyncRoomMessage) { out.RawByte('{') first := true _ = first @@ -316,27 +175,27 @@ func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling2(out *jwr // MarshalJSON supports json.Marshaler interface func (v AsyncRoomMessage) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling2(&w, v) + easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling1(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AsyncRoomMessage) MarshalEasyJSON(w *jwriter.Writer) { - easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling2(w, v) + easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling1(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AsyncRoomMessage) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling2(&r, v) + easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling1(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AsyncRoomMessage) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling2(l, v) + easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling1(l, v) } -func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling3(in *jlexer.Lexer, out *AsyncMessage) { +func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling2(in *jlexer.Lexer, out *AsyncMessage) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -369,9 +228,7 @@ func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling3(in *jlex if out.Message == nil { out.Message = new(ServerMessage) } - if data := in.Raw(); in.Ok() { - in.AddError((*out.Message).UnmarshalJSON(data)) - } + (*out.Message).UnmarshalEasyJSON(in) } case "room": if in.IsNull() { @@ -381,7 +238,7 @@ func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling3(in *jlex if out.Room == nil { out.Room = new(BackendServerRoomRequest) } - easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling4(in, out.Room) + (*out.Room).UnmarshalEasyJSON(in) } case "permissions": if in.IsNull() { @@ -399,9 +256,9 @@ func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling3(in *jlex out.Permissions = (out.Permissions)[:0] } for !in.IsDelim(']') { - var v3 Permission - v3 = Permission(in.String()) - out.Permissions = append(out.Permissions, v3) + var v1 Permission + v1 = Permission(in.String()) + out.Permissions = append(out.Permissions, v1) in.WantComma() } in.Delim(']') @@ -438,7 +295,7 @@ func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling3(in *jlex in.Consumed() } } -func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling3(out *jwriter.Writer, in AsyncMessage) { +func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling2(out *jwriter.Writer, in AsyncMessage) { out.RawByte('{') first := true _ = first @@ -455,23 +312,23 @@ func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling3(out *jwr if in.Message != nil { const prefix string = ",\"message\":" out.RawString(prefix) - out.Raw((*in.Message).MarshalJSON()) + (*in.Message).MarshalEasyJSON(out) } if in.Room != nil { const prefix string = ",\"room\":" out.RawString(prefix) - easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling4(out, *in.Room) + (*in.Room).MarshalEasyJSON(out) } if len(in.Permissions) != 0 { const prefix string = ",\"permissions\":" out.RawString(prefix) { out.RawByte('[') - for v4, v5 := range in.Permissions { - if v4 > 0 { + for v2, v3 := range in.Permissions { + if v2 > 0 { out.RawByte(',') } - out.String(string(v5)) + out.String(string(v3)) } out.RawByte(']') } @@ -497,1422 +354,23 @@ func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling3(out *jwr // MarshalJSON supports json.Marshaler interface func (v AsyncMessage) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling3(&w, v) + easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling2(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AsyncMessage) MarshalEasyJSON(w *jwriter.Writer) { - easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling3(w, v) + easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling2(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AsyncMessage) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling3(&r, v) + easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling2(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AsyncMessage) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling3(l, v) -} -func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling4(in *jlexer.Lexer, out *BackendServerRoomRequest) { - isTopLevel := in.IsStart() - if in.IsNull() { - if isTopLevel { - in.Consumed() - } - in.Skip() - return - } - in.Delim('{') - for !in.IsDelim('}') { - key := in.UnsafeFieldName(false) - in.WantColon() - if in.IsNull() { - in.Skip() - in.WantComma() - continue - } - switch key { - case "type": - out.Type = string(in.String()) - case "invite": - if in.IsNull() { - in.Skip() - out.Invite = nil - } else { - if out.Invite == nil { - out.Invite = new(BackendRoomInviteRequest) - } - easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling5(in, out.Invite) - } - case "disinvite": - if in.IsNull() { - in.Skip() - out.Disinvite = nil - } else { - if out.Disinvite == nil { - out.Disinvite = new(BackendRoomDisinviteRequest) - } - easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling6(in, out.Disinvite) - } - case "update": - if in.IsNull() { - in.Skip() - out.Update = nil - } else { - if out.Update == nil { - out.Update = new(BackendRoomUpdateRequest) - } - easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling7(in, out.Update) - } - case "delete": - if in.IsNull() { - in.Skip() - out.Delete = nil - } else { - if out.Delete == nil { - out.Delete = new(BackendRoomDeleteRequest) - } - easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling8(in, out.Delete) - } - case "incall": - if in.IsNull() { - in.Skip() - out.InCall = nil - } else { - if out.InCall == nil { - out.InCall = new(BackendRoomInCallRequest) - } - easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling9(in, out.InCall) - } - case "participants": - if in.IsNull() { - in.Skip() - out.Participants = nil - } else { - if out.Participants == nil { - out.Participants = new(BackendRoomParticipantsRequest) - } - easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling10(in, out.Participants) - } - case "message": - if in.IsNull() { - in.Skip() - out.Message = nil - } else { - if out.Message == nil { - out.Message = new(BackendRoomMessageRequest) - } - easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling11(in, out.Message) - } - case "switchto": - if in.IsNull() { - in.Skip() - out.SwitchTo = nil - } else { - if out.SwitchTo == nil { - out.SwitchTo = new(BackendRoomSwitchToMessageRequest) - } - easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling12(in, out.SwitchTo) - } - case "dialout": - if in.IsNull() { - in.Skip() - out.Dialout = nil - } else { - if out.Dialout == nil { - out.Dialout = new(BackendRoomDialoutRequest) - } - easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling13(in, out.Dialout) - } - case "transient": - if in.IsNull() { - in.Skip() - out.Transient = nil - } else { - if out.Transient == nil { - out.Transient = new(BackendRoomTransientRequest) - } - easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling14(in, out.Transient) - } - case "received": - out.ReceivedTime = int64(in.Int64()) - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling4(out *jwriter.Writer, in BackendServerRoomRequest) { - out.RawByte('{') - first := true - _ = first - { - const prefix string = ",\"type\":" - out.RawString(prefix[1:]) - out.String(string(in.Type)) - } - if in.Invite != nil { - const prefix string = ",\"invite\":" - out.RawString(prefix) - easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling5(out, *in.Invite) - } - if in.Disinvite != nil { - const prefix string = ",\"disinvite\":" - out.RawString(prefix) - easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling6(out, *in.Disinvite) - } - if in.Update != nil { - const prefix string = ",\"update\":" - out.RawString(prefix) - easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling7(out, *in.Update) - } - if in.Delete != nil { - const prefix string = ",\"delete\":" - out.RawString(prefix) - easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling8(out, *in.Delete) - } - if in.InCall != nil { - const prefix string = ",\"incall\":" - out.RawString(prefix) - easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling9(out, *in.InCall) - } - if in.Participants != nil { - const prefix string = ",\"participants\":" - out.RawString(prefix) - easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling10(out, *in.Participants) - } - if in.Message != nil { - const prefix string = ",\"message\":" - out.RawString(prefix) - easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling11(out, *in.Message) - } - if in.SwitchTo != nil { - const prefix string = ",\"switchto\":" - out.RawString(prefix) - easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling12(out, *in.SwitchTo) - } - if in.Dialout != nil { - const prefix string = ",\"dialout\":" - out.RawString(prefix) - easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling13(out, *in.Dialout) - } - if in.Transient != nil { - const prefix string = ",\"transient\":" - out.RawString(prefix) - easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling14(out, *in.Transient) - } - if in.ReceivedTime != 0 { - const prefix string = ",\"received\":" - out.RawString(prefix) - out.Int64(int64(in.ReceivedTime)) - } - out.RawByte('}') -} -func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling14(in *jlexer.Lexer, out *BackendRoomTransientRequest) { - isTopLevel := in.IsStart() - if in.IsNull() { - if isTopLevel { - in.Consumed() - } - in.Skip() - return - } - in.Delim('{') - for !in.IsDelim('}') { - key := in.UnsafeFieldName(false) - in.WantColon() - if in.IsNull() { - in.Skip() - in.WantComma() - continue - } - switch key { - case "action": - out.Action = TransientAction(in.String()) - case "key": - out.Key = string(in.String()) - case "value": - if m, ok := out.Value.(easyjson.Unmarshaler); ok { - m.UnmarshalEasyJSON(in) - } else if m, ok := out.Value.(json.Unmarshaler); ok { - _ = m.UnmarshalJSON(in.Raw()) - } else { - out.Value = in.Interface() - } - case "ttl": - out.TTL = time.Duration(in.Int64()) - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling14(out *jwriter.Writer, in BackendRoomTransientRequest) { - out.RawByte('{') - first := true - _ = first - { - const prefix string = ",\"action\":" - out.RawString(prefix[1:]) - out.String(string(in.Action)) - } - { - const prefix string = ",\"key\":" - out.RawString(prefix) - out.String(string(in.Key)) - } - if in.Value != nil { - const prefix string = ",\"value\":" - out.RawString(prefix) - if m, ok := in.Value.(easyjson.Marshaler); ok { - m.MarshalEasyJSON(out) - } else if m, ok := in.Value.(json.Marshaler); ok { - out.Raw(m.MarshalJSON()) - } else { - out.Raw(json.Marshal(in.Value)) - } - } - if in.TTL != 0 { - const prefix string = ",\"ttl\":" - out.RawString(prefix) - out.Int64(int64(in.TTL)) - } - out.RawByte('}') -} -func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling13(in *jlexer.Lexer, out *BackendRoomDialoutRequest) { - isTopLevel := in.IsStart() - if in.IsNull() { - if isTopLevel { - in.Consumed() - } - in.Skip() - return - } - in.Delim('{') - for !in.IsDelim('}') { - key := in.UnsafeFieldName(false) - in.WantColon() - if in.IsNull() { - in.Skip() - in.WantComma() - continue - } - switch key { - case "number": - out.Number = string(in.String()) - case "options": - if data := in.Raw(); in.Ok() { - in.AddError((out.Options).UnmarshalJSON(data)) - } - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling13(out *jwriter.Writer, in BackendRoomDialoutRequest) { - out.RawByte('{') - first := true - _ = first - { - const prefix string = ",\"number\":" - out.RawString(prefix[1:]) - out.String(string(in.Number)) - } - if len(in.Options) != 0 { - const prefix string = ",\"options\":" - out.RawString(prefix) - out.Raw((in.Options).MarshalJSON()) - } - out.RawByte('}') -} -func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling12(in *jlexer.Lexer, out *BackendRoomSwitchToMessageRequest) { - isTopLevel := in.IsStart() - if in.IsNull() { - if isTopLevel { - in.Consumed() - } - in.Skip() - return - } - in.Delim('{') - for !in.IsDelim('}') { - key := in.UnsafeFieldName(false) - in.WantColon() - if in.IsNull() { - in.Skip() - in.WantComma() - continue - } - switch key { - case "roomid": - out.RoomId = string(in.String()) - case "sessions": - if data := in.Raw(); in.Ok() { - in.AddError((out.Sessions).UnmarshalJSON(data)) - } - case "sessionslist": - if in.IsNull() { - in.Skip() - out.SessionsList = nil - } else { - in.Delim('[') - if out.SessionsList == nil { - if !in.IsDelim(']') { - out.SessionsList = make(BackendRoomSwitchToSessionsList, 0, 4) - } else { - out.SessionsList = BackendRoomSwitchToSessionsList{} - } - } else { - out.SessionsList = (out.SessionsList)[:0] - } - for !in.IsDelim(']') { - var v6 string - v6 = string(in.String()) - out.SessionsList = append(out.SessionsList, v6) - in.WantComma() - } - in.Delim(']') - } - case "sessionsmap": - if in.IsNull() { - in.Skip() - } else { - in.Delim('{') - if !in.IsDelim('}') { - out.SessionsMap = make(BackendRoomSwitchToSessionsMap) - } else { - out.SessionsMap = nil - } - for !in.IsDelim('}') { - key := string(in.String()) - in.WantColon() - var v7 json.RawMessage - if data := in.Raw(); in.Ok() { - in.AddError((v7).UnmarshalJSON(data)) - } - (out.SessionsMap)[key] = v7 - in.WantComma() - } - in.Delim('}') - } - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling12(out *jwriter.Writer, in BackendRoomSwitchToMessageRequest) { - out.RawByte('{') - first := true - _ = first - { - const prefix string = ",\"roomid\":" - out.RawString(prefix[1:]) - out.String(string(in.RoomId)) - } - if len(in.Sessions) != 0 { - const prefix string = ",\"sessions\":" - out.RawString(prefix) - out.Raw((in.Sessions).MarshalJSON()) - } - if len(in.SessionsList) != 0 { - const prefix string = ",\"sessionslist\":" - out.RawString(prefix) - { - out.RawByte('[') - for v8, v9 := range in.SessionsList { - if v8 > 0 { - out.RawByte(',') - } - out.String(string(v9)) - } - out.RawByte(']') - } - } - if len(in.SessionsMap) != 0 { - const prefix string = ",\"sessionsmap\":" - out.RawString(prefix) - { - out.RawByte('{') - v10First := true - for v10Name, v10Value := range in.SessionsMap { - if v10First { - v10First = false - } else { - out.RawByte(',') - } - out.String(string(v10Name)) - out.RawByte(':') - out.Raw((v10Value).MarshalJSON()) - } - out.RawByte('}') - } - } - out.RawByte('}') -} -func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling11(in *jlexer.Lexer, out *BackendRoomMessageRequest) { - isTopLevel := in.IsStart() - if in.IsNull() { - if isTopLevel { - in.Consumed() - } - in.Skip() - return - } - in.Delim('{') - for !in.IsDelim('}') { - key := in.UnsafeFieldName(false) - in.WantColon() - if in.IsNull() { - in.Skip() - in.WantComma() - continue - } - switch key { - case "data": - if data := in.Raw(); in.Ok() { - in.AddError((out.Data).UnmarshalJSON(data)) - } - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling11(out *jwriter.Writer, in BackendRoomMessageRequest) { - out.RawByte('{') - first := true - _ = first - if len(in.Data) != 0 { - const prefix string = ",\"data\":" - first = false - out.RawString(prefix[1:]) - out.Raw((in.Data).MarshalJSON()) - } - out.RawByte('}') -} -func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling10(in *jlexer.Lexer, out *BackendRoomParticipantsRequest) { - isTopLevel := in.IsStart() - if in.IsNull() { - if isTopLevel { - in.Consumed() - } - in.Skip() - return - } - in.Delim('{') - for !in.IsDelim('}') { - key := in.UnsafeFieldName(false) - in.WantColon() - if in.IsNull() { - in.Skip() - in.WantComma() - continue - } - switch key { - case "changed": - if in.IsNull() { - in.Skip() - out.Changed = nil - } else { - in.Delim('[') - if out.Changed == nil { - if !in.IsDelim(']') { - out.Changed = make([]map[string]interface{}, 0, 8) - } else { - out.Changed = []map[string]interface{}{} - } - } else { - out.Changed = (out.Changed)[:0] - } - for !in.IsDelim(']') { - var v11 map[string]interface{} - if in.IsNull() { - in.Skip() - } else { - in.Delim('{') - if !in.IsDelim('}') { - v11 = make(map[string]interface{}) - } else { - v11 = nil - } - for !in.IsDelim('}') { - key := string(in.String()) - in.WantColon() - var v12 interface{} - if m, ok := v12.(easyjson.Unmarshaler); ok { - m.UnmarshalEasyJSON(in) - } else if m, ok := v12.(json.Unmarshaler); ok { - _ = m.UnmarshalJSON(in.Raw()) - } else { - v12 = in.Interface() - } - (v11)[key] = v12 - in.WantComma() - } - in.Delim('}') - } - out.Changed = append(out.Changed, v11) - in.WantComma() - } - in.Delim(']') - } - case "users": - if in.IsNull() { - in.Skip() - out.Users = nil - } else { - in.Delim('[') - if out.Users == nil { - if !in.IsDelim(']') { - out.Users = make([]map[string]interface{}, 0, 8) - } else { - out.Users = []map[string]interface{}{} - } - } else { - out.Users = (out.Users)[:0] - } - for !in.IsDelim(']') { - var v13 map[string]interface{} - if in.IsNull() { - in.Skip() - } else { - in.Delim('{') - if !in.IsDelim('}') { - v13 = make(map[string]interface{}) - } else { - v13 = nil - } - for !in.IsDelim('}') { - key := string(in.String()) - in.WantColon() - var v14 interface{} - if m, ok := v14.(easyjson.Unmarshaler); ok { - m.UnmarshalEasyJSON(in) - } else if m, ok := v14.(json.Unmarshaler); ok { - _ = m.UnmarshalJSON(in.Raw()) - } else { - v14 = in.Interface() - } - (v13)[key] = v14 - in.WantComma() - } - in.Delim('}') - } - out.Users = append(out.Users, v13) - in.WantComma() - } - in.Delim(']') - } - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling10(out *jwriter.Writer, in BackendRoomParticipantsRequest) { - out.RawByte('{') - first := true - _ = first - if len(in.Changed) != 0 { - const prefix string = ",\"changed\":" - first = false - out.RawString(prefix[1:]) - { - out.RawByte('[') - for v15, v16 := range in.Changed { - if v15 > 0 { - out.RawByte(',') - } - if v16 == nil && (out.Flags&jwriter.NilMapAsEmpty) == 0 { - out.RawString(`null`) - } else { - out.RawByte('{') - v17First := true - for v17Name, v17Value := range v16 { - if v17First { - v17First = false - } else { - out.RawByte(',') - } - out.String(string(v17Name)) - out.RawByte(':') - if m, ok := v17Value.(easyjson.Marshaler); ok { - m.MarshalEasyJSON(out) - } else if m, ok := v17Value.(json.Marshaler); ok { - out.Raw(m.MarshalJSON()) - } else { - out.Raw(json.Marshal(v17Value)) - } - } - out.RawByte('}') - } - } - out.RawByte(']') - } - } - if len(in.Users) != 0 { - const prefix string = ",\"users\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - { - out.RawByte('[') - for v18, v19 := range in.Users { - if v18 > 0 { - out.RawByte(',') - } - if v19 == nil && (out.Flags&jwriter.NilMapAsEmpty) == 0 { - out.RawString(`null`) - } else { - out.RawByte('{') - v20First := true - for v20Name, v20Value := range v19 { - if v20First { - v20First = false - } else { - out.RawByte(',') - } - out.String(string(v20Name)) - out.RawByte(':') - if m, ok := v20Value.(easyjson.Marshaler); ok { - m.MarshalEasyJSON(out) - } else if m, ok := v20Value.(json.Marshaler); ok { - out.Raw(m.MarshalJSON()) - } else { - out.Raw(json.Marshal(v20Value)) - } - } - out.RawByte('}') - } - } - out.RawByte(']') - } - } - out.RawByte('}') -} -func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling9(in *jlexer.Lexer, out *BackendRoomInCallRequest) { - isTopLevel := in.IsStart() - if in.IsNull() { - if isTopLevel { - in.Consumed() - } - in.Skip() - return - } - in.Delim('{') - for !in.IsDelim('}') { - key := in.UnsafeFieldName(false) - in.WantColon() - if in.IsNull() { - in.Skip() - in.WantComma() - continue - } - switch key { - case "incall": - if data := in.Raw(); in.Ok() { - in.AddError((out.InCall).UnmarshalJSON(data)) - } - case "all": - out.All = bool(in.Bool()) - case "changed": - if in.IsNull() { - in.Skip() - out.Changed = nil - } else { - in.Delim('[') - if out.Changed == nil { - if !in.IsDelim(']') { - out.Changed = make([]map[string]interface{}, 0, 8) - } else { - out.Changed = []map[string]interface{}{} - } - } else { - out.Changed = (out.Changed)[:0] - } - for !in.IsDelim(']') { - var v21 map[string]interface{} - if in.IsNull() { - in.Skip() - } else { - in.Delim('{') - if !in.IsDelim('}') { - v21 = make(map[string]interface{}) - } else { - v21 = nil - } - for !in.IsDelim('}') { - key := string(in.String()) - in.WantColon() - var v22 interface{} - if m, ok := v22.(easyjson.Unmarshaler); ok { - m.UnmarshalEasyJSON(in) - } else if m, ok := v22.(json.Unmarshaler); ok { - _ = m.UnmarshalJSON(in.Raw()) - } else { - v22 = in.Interface() - } - (v21)[key] = v22 - in.WantComma() - } - in.Delim('}') - } - out.Changed = append(out.Changed, v21) - in.WantComma() - } - in.Delim(']') - } - case "users": - if in.IsNull() { - in.Skip() - out.Users = nil - } else { - in.Delim('[') - if out.Users == nil { - if !in.IsDelim(']') { - out.Users = make([]map[string]interface{}, 0, 8) - } else { - out.Users = []map[string]interface{}{} - } - } else { - out.Users = (out.Users)[:0] - } - for !in.IsDelim(']') { - var v23 map[string]interface{} - if in.IsNull() { - in.Skip() - } else { - in.Delim('{') - if !in.IsDelim('}') { - v23 = make(map[string]interface{}) - } else { - v23 = nil - } - for !in.IsDelim('}') { - key := string(in.String()) - in.WantColon() - var v24 interface{} - if m, ok := v24.(easyjson.Unmarshaler); ok { - m.UnmarshalEasyJSON(in) - } else if m, ok := v24.(json.Unmarshaler); ok { - _ = m.UnmarshalJSON(in.Raw()) - } else { - v24 = in.Interface() - } - (v23)[key] = v24 - in.WantComma() - } - in.Delim('}') - } - out.Users = append(out.Users, v23) - in.WantComma() - } - in.Delim(']') - } - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling9(out *jwriter.Writer, in BackendRoomInCallRequest) { - out.RawByte('{') - first := true - _ = first - if len(in.InCall) != 0 { - const prefix string = ",\"incall\":" - first = false - out.RawString(prefix[1:]) - out.Raw((in.InCall).MarshalJSON()) - } - if in.All { - const prefix string = ",\"all\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - out.Bool(bool(in.All)) - } - if len(in.Changed) != 0 { - const prefix string = ",\"changed\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - { - out.RawByte('[') - for v25, v26 := range in.Changed { - if v25 > 0 { - out.RawByte(',') - } - if v26 == nil && (out.Flags&jwriter.NilMapAsEmpty) == 0 { - out.RawString(`null`) - } else { - out.RawByte('{') - v27First := true - for v27Name, v27Value := range v26 { - if v27First { - v27First = false - } else { - out.RawByte(',') - } - out.String(string(v27Name)) - out.RawByte(':') - if m, ok := v27Value.(easyjson.Marshaler); ok { - m.MarshalEasyJSON(out) - } else if m, ok := v27Value.(json.Marshaler); ok { - out.Raw(m.MarshalJSON()) - } else { - out.Raw(json.Marshal(v27Value)) - } - } - out.RawByte('}') - } - } - out.RawByte(']') - } - } - if len(in.Users) != 0 { - const prefix string = ",\"users\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - { - out.RawByte('[') - for v28, v29 := range in.Users { - if v28 > 0 { - out.RawByte(',') - } - if v29 == nil && (out.Flags&jwriter.NilMapAsEmpty) == 0 { - out.RawString(`null`) - } else { - out.RawByte('{') - v30First := true - for v30Name, v30Value := range v29 { - if v30First { - v30First = false - } else { - out.RawByte(',') - } - out.String(string(v30Name)) - out.RawByte(':') - if m, ok := v30Value.(easyjson.Marshaler); ok { - m.MarshalEasyJSON(out) - } else if m, ok := v30Value.(json.Marshaler); ok { - out.Raw(m.MarshalJSON()) - } else { - out.Raw(json.Marshal(v30Value)) - } - } - out.RawByte('}') - } - } - out.RawByte(']') - } - } - out.RawByte('}') -} -func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling8(in *jlexer.Lexer, out *BackendRoomDeleteRequest) { - isTopLevel := in.IsStart() - if in.IsNull() { - if isTopLevel { - in.Consumed() - } - in.Skip() - return - } - in.Delim('{') - for !in.IsDelim('}') { - key := in.UnsafeFieldName(false) - in.WantColon() - if in.IsNull() { - in.Skip() - in.WantComma() - continue - } - switch key { - case "userids": - if in.IsNull() { - in.Skip() - out.UserIds = nil - } else { - in.Delim('[') - if out.UserIds == nil { - if !in.IsDelim(']') { - out.UserIds = make([]string, 0, 4) - } else { - out.UserIds = []string{} - } - } else { - out.UserIds = (out.UserIds)[:0] - } - for !in.IsDelim(']') { - var v31 string - v31 = string(in.String()) - out.UserIds = append(out.UserIds, v31) - in.WantComma() - } - in.Delim(']') - } - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling8(out *jwriter.Writer, in BackendRoomDeleteRequest) { - out.RawByte('{') - first := true - _ = first - if len(in.UserIds) != 0 { - const prefix string = ",\"userids\":" - first = false - out.RawString(prefix[1:]) - { - out.RawByte('[') - for v32, v33 := range in.UserIds { - if v32 > 0 { - out.RawByte(',') - } - out.String(string(v33)) - } - out.RawByte(']') - } - } - out.RawByte('}') -} -func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling7(in *jlexer.Lexer, out *BackendRoomUpdateRequest) { - isTopLevel := in.IsStart() - if in.IsNull() { - if isTopLevel { - in.Consumed() - } - in.Skip() - return - } - in.Delim('{') - for !in.IsDelim('}') { - key := in.UnsafeFieldName(false) - in.WantColon() - if in.IsNull() { - in.Skip() - in.WantComma() - continue - } - switch key { - case "userids": - if in.IsNull() { - in.Skip() - out.UserIds = nil - } else { - in.Delim('[') - if out.UserIds == nil { - if !in.IsDelim(']') { - out.UserIds = make([]string, 0, 4) - } else { - out.UserIds = []string{} - } - } else { - out.UserIds = (out.UserIds)[:0] - } - for !in.IsDelim(']') { - var v34 string - v34 = string(in.String()) - out.UserIds = append(out.UserIds, v34) - in.WantComma() - } - in.Delim(']') - } - case "properties": - if data := in.Raw(); in.Ok() { - in.AddError((out.Properties).UnmarshalJSON(data)) - } - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling7(out *jwriter.Writer, in BackendRoomUpdateRequest) { - out.RawByte('{') - first := true - _ = first - if len(in.UserIds) != 0 { - const prefix string = ",\"userids\":" - first = false - out.RawString(prefix[1:]) - { - out.RawByte('[') - for v35, v36 := range in.UserIds { - if v35 > 0 { - out.RawByte(',') - } - out.String(string(v36)) - } - out.RawByte(']') - } - } - if len(in.Properties) != 0 { - const prefix string = ",\"properties\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - out.Raw((in.Properties).MarshalJSON()) - } - out.RawByte('}') -} -func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling6(in *jlexer.Lexer, out *BackendRoomDisinviteRequest) { - isTopLevel := in.IsStart() - if in.IsNull() { - if isTopLevel { - in.Consumed() - } - in.Skip() - return - } - in.Delim('{') - for !in.IsDelim('}') { - key := in.UnsafeFieldName(false) - in.WantColon() - if in.IsNull() { - in.Skip() - in.WantComma() - continue - } - switch key { - case "userids": - if in.IsNull() { - in.Skip() - out.UserIds = nil - } else { - in.Delim('[') - if out.UserIds == nil { - if !in.IsDelim(']') { - out.UserIds = make([]string, 0, 4) - } else { - out.UserIds = []string{} - } - } else { - out.UserIds = (out.UserIds)[:0] - } - for !in.IsDelim(']') { - var v37 string - v37 = string(in.String()) - out.UserIds = append(out.UserIds, v37) - in.WantComma() - } - in.Delim(']') - } - case "sessionids": - if in.IsNull() { - in.Skip() - out.SessionIds = nil - } else { - in.Delim('[') - if out.SessionIds == nil { - if !in.IsDelim(']') { - out.SessionIds = make([]string, 0, 4) - } else { - out.SessionIds = []string{} - } - } else { - out.SessionIds = (out.SessionIds)[:0] - } - for !in.IsDelim(']') { - var v38 string - v38 = string(in.String()) - out.SessionIds = append(out.SessionIds, v38) - in.WantComma() - } - in.Delim(']') - } - case "alluserids": - if in.IsNull() { - in.Skip() - out.AllUserIds = nil - } else { - in.Delim('[') - if out.AllUserIds == nil { - if !in.IsDelim(']') { - out.AllUserIds = make([]string, 0, 4) - } else { - out.AllUserIds = []string{} - } - } else { - out.AllUserIds = (out.AllUserIds)[:0] - } - for !in.IsDelim(']') { - var v39 string - v39 = string(in.String()) - out.AllUserIds = append(out.AllUserIds, v39) - in.WantComma() - } - in.Delim(']') - } - case "properties": - if data := in.Raw(); in.Ok() { - in.AddError((out.Properties).UnmarshalJSON(data)) - } - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling6(out *jwriter.Writer, in BackendRoomDisinviteRequest) { - out.RawByte('{') - first := true - _ = first - if len(in.UserIds) != 0 { - const prefix string = ",\"userids\":" - first = false - out.RawString(prefix[1:]) - { - out.RawByte('[') - for v40, v41 := range in.UserIds { - if v40 > 0 { - out.RawByte(',') - } - out.String(string(v41)) - } - out.RawByte(']') - } - } - if len(in.SessionIds) != 0 { - const prefix string = ",\"sessionids\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - { - out.RawByte('[') - for v42, v43 := range in.SessionIds { - if v42 > 0 { - out.RawByte(',') - } - out.String(string(v43)) - } - out.RawByte(']') - } - } - if len(in.AllUserIds) != 0 { - const prefix string = ",\"alluserids\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - { - out.RawByte('[') - for v44, v45 := range in.AllUserIds { - if v44 > 0 { - out.RawByte(',') - } - out.String(string(v45)) - } - out.RawByte(']') - } - } - if len(in.Properties) != 0 { - const prefix string = ",\"properties\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - out.Raw((in.Properties).MarshalJSON()) - } - out.RawByte('}') -} -func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling5(in *jlexer.Lexer, out *BackendRoomInviteRequest) { - isTopLevel := in.IsStart() - if in.IsNull() { - if isTopLevel { - in.Consumed() - } - in.Skip() - return - } - in.Delim('{') - for !in.IsDelim('}') { - key := in.UnsafeFieldName(false) - in.WantColon() - if in.IsNull() { - in.Skip() - in.WantComma() - continue - } - switch key { - case "userids": - if in.IsNull() { - in.Skip() - out.UserIds = nil - } else { - in.Delim('[') - if out.UserIds == nil { - if !in.IsDelim(']') { - out.UserIds = make([]string, 0, 4) - } else { - out.UserIds = []string{} - } - } else { - out.UserIds = (out.UserIds)[:0] - } - for !in.IsDelim(']') { - var v46 string - v46 = string(in.String()) - out.UserIds = append(out.UserIds, v46) - in.WantComma() - } - in.Delim(']') - } - case "alluserids": - if in.IsNull() { - in.Skip() - out.AllUserIds = nil - } else { - in.Delim('[') - if out.AllUserIds == nil { - if !in.IsDelim(']') { - out.AllUserIds = make([]string, 0, 4) - } else { - out.AllUserIds = []string{} - } - } else { - out.AllUserIds = (out.AllUserIds)[:0] - } - for !in.IsDelim(']') { - var v47 string - v47 = string(in.String()) - out.AllUserIds = append(out.AllUserIds, v47) - in.WantComma() - } - in.Delim(']') - } - case "properties": - if data := in.Raw(); in.Ok() { - in.AddError((out.Properties).UnmarshalJSON(data)) - } - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjson9289e183EncodeGithubComStrukturagNextcloudSpreedSignaling5(out *jwriter.Writer, in BackendRoomInviteRequest) { - out.RawByte('{') - first := true - _ = first - if len(in.UserIds) != 0 { - const prefix string = ",\"userids\":" - first = false - out.RawString(prefix[1:]) - { - out.RawByte('[') - for v48, v49 := range in.UserIds { - if v48 > 0 { - out.RawByte(',') - } - out.String(string(v49)) - } - out.RawByte(']') - } - } - if len(in.AllUserIds) != 0 { - const prefix string = ",\"alluserids\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - { - out.RawByte('[') - for v50, v51 := range in.AllUserIds { - if v50 > 0 { - out.RawByte(',') - } - out.String(string(v51)) - } - out.RawByte(']') - } - } - if len(in.Properties) != 0 { - const prefix string = ",\"properties\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - out.Raw((in.Properties).MarshalJSON()) - } - out.RawByte('}') + easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling2(l, v) } diff --git a/api_backend_easyjson.go b/api_backend_easyjson.go index 8b846c95..95338f04 100644 --- a/api_backend_easyjson.go +++ b/api_backend_easyjson.go @@ -2038,7 +2038,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling15(in *jle if out.Error == nil { out.Error = new(Error) } - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling16(in, out.Error) + (*out.Error).UnmarshalEasyJSON(in) } default: in.SkipRecursive() @@ -2068,7 +2068,7 @@ func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling15(out *jw } else { out.RawString(prefix) } - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling16(out, *in.Error) + (*in.Error).MarshalEasyJSON(out) } out.RawByte('}') } @@ -2096,65 +2096,7 @@ func (v *BackendRoomDialoutResponse) UnmarshalJSON(data []byte) error { func (v *BackendRoomDialoutResponse) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling15(l, v) } -func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling16(in *jlexer.Lexer, out *Error) { - isTopLevel := in.IsStart() - if in.IsNull() { - if isTopLevel { - in.Consumed() - } - in.Skip() - return - } - in.Delim('{') - for !in.IsDelim('}') { - key := in.UnsafeFieldName(false) - in.WantColon() - if in.IsNull() { - in.Skip() - in.WantComma() - continue - } - switch key { - case "code": - out.Code = string(in.String()) - case "message": - out.Message = string(in.String()) - case "details": - if data := in.Raw(); in.Ok() { - in.AddError((out.Details).UnmarshalJSON(data)) - } - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling16(out *jwriter.Writer, in Error) { - out.RawByte('{') - first := true - _ = first - { - const prefix string = ",\"code\":" - out.RawString(prefix[1:]) - out.String(string(in.Code)) - } - { - const prefix string = ",\"message\":" - out.RawString(prefix) - out.String(string(in.Message)) - } - if len(in.Details) != 0 { - const prefix string = ",\"details\":" - out.RawString(prefix) - out.Raw((in.Details).MarshalJSON()) - } - out.RawByte('}') -} -func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling17(in *jlexer.Lexer, out *BackendRoomDialoutRequest) { +func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling16(in *jlexer.Lexer, out *BackendRoomDialoutRequest) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2189,7 +2131,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling17(in *jle in.Consumed() } } -func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling17(out *jwriter.Writer, in BackendRoomDialoutRequest) { +func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling16(out *jwriter.Writer, in BackendRoomDialoutRequest) { out.RawByte('{') first := true _ = first @@ -2209,27 +2151,27 @@ func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling17(out *jw // MarshalJSON supports json.Marshaler interface func (v BackendRoomDialoutRequest) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling17(&w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling16(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackendRoomDialoutRequest) MarshalEasyJSON(w *jwriter.Writer) { - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling17(w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling16(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackendRoomDialoutRequest) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling17(&r, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling16(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackendRoomDialoutRequest) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling17(l, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling16(l, v) } -func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling18(in *jlexer.Lexer, out *BackendRoomDialoutError) { +func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling17(in *jlexer.Lexer, out *BackendRoomDialoutError) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2262,7 +2204,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling18(in *jle in.Consumed() } } -func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling18(out *jwriter.Writer, in BackendRoomDialoutError) { +func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling17(out *jwriter.Writer, in BackendRoomDialoutError) { out.RawByte('{') first := true _ = first @@ -2282,27 +2224,27 @@ func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling18(out *jw // MarshalJSON supports json.Marshaler interface func (v BackendRoomDialoutError) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling18(&w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling17(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackendRoomDialoutError) MarshalEasyJSON(w *jwriter.Writer) { - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling18(w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling17(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackendRoomDialoutError) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling18(&r, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling17(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackendRoomDialoutError) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling18(l, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling17(l, v) } -func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling19(in *jlexer.Lexer, out *BackendRoomDeleteRequest) { +func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling18(in *jlexer.Lexer, out *BackendRoomDeleteRequest) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2354,7 +2296,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling19(in *jle in.Consumed() } } -func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling19(out *jwriter.Writer, in BackendRoomDeleteRequest) { +func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling18(out *jwriter.Writer, in BackendRoomDeleteRequest) { out.RawByte('{') first := true _ = first @@ -2379,27 +2321,27 @@ func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling19(out *jw // MarshalJSON supports json.Marshaler interface func (v BackendRoomDeleteRequest) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling19(&w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling18(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackendRoomDeleteRequest) MarshalEasyJSON(w *jwriter.Writer) { - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling19(w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling18(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackendRoomDeleteRequest) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling19(&r, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling18(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackendRoomDeleteRequest) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling19(l, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling18(l, v) } -func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling20(in *jlexer.Lexer, out *BackendPingEntry) { +func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling19(in *jlexer.Lexer, out *BackendPingEntry) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2432,7 +2374,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling20(in *jle in.Consumed() } } -func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling20(out *jwriter.Writer, in BackendPingEntry) { +func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling19(out *jwriter.Writer, in BackendPingEntry) { out.RawByte('{') first := true _ = first @@ -2458,27 +2400,27 @@ func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling20(out *jw // MarshalJSON supports json.Marshaler interface func (v BackendPingEntry) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling20(&w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling19(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackendPingEntry) MarshalEasyJSON(w *jwriter.Writer) { - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling20(w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling19(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackendPingEntry) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling20(&r, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling19(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackendPingEntry) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling20(l, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling19(l, v) } -func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling21(in *jlexer.Lexer, out *BackendInformationEtcd) { +func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling20(in *jlexer.Lexer, out *BackendInformationEtcd) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2517,7 +2459,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling21(in *jle in.Consumed() } } -func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling21(out *jwriter.Writer, in BackendInformationEtcd) { +func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling20(out *jwriter.Writer, in BackendInformationEtcd) { out.RawByte('{') first := true _ = first @@ -2552,27 +2494,27 @@ func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling21(out *jw // MarshalJSON supports json.Marshaler interface func (v BackendInformationEtcd) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling21(&w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling20(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackendInformationEtcd) MarshalEasyJSON(w *jwriter.Writer) { - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling21(w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling20(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackendInformationEtcd) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling21(&r, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling20(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackendInformationEtcd) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling21(l, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling20(l, v) } -func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling22(in *jlexer.Lexer, out *BackendClientSessionResponse) { +func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling21(in *jlexer.Lexer, out *BackendClientSessionResponse) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2605,7 +2547,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling22(in *jle in.Consumed() } } -func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling22(out *jwriter.Writer, in BackendClientSessionResponse) { +func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling21(out *jwriter.Writer, in BackendClientSessionResponse) { out.RawByte('{') first := true _ = first @@ -2625,27 +2567,27 @@ func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling22(out *jw // MarshalJSON supports json.Marshaler interface func (v BackendClientSessionResponse) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling22(&w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling21(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackendClientSessionResponse) MarshalEasyJSON(w *jwriter.Writer) { - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling22(w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling21(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackendClientSessionResponse) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling22(&r, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling21(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackendClientSessionResponse) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling22(l, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling21(l, v) } -func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling23(in *jlexer.Lexer, out *BackendClientSessionRequest) { +func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling22(in *jlexer.Lexer, out *BackendClientSessionRequest) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2688,7 +2630,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling23(in *jle in.Consumed() } } -func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling23(out *jwriter.Writer, in BackendClientSessionRequest) { +func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling22(out *jwriter.Writer, in BackendClientSessionRequest) { out.RawByte('{') first := true _ = first @@ -2728,27 +2670,27 @@ func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling23(out *jw // MarshalJSON supports json.Marshaler interface func (v BackendClientSessionRequest) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling23(&w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling22(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackendClientSessionRequest) MarshalEasyJSON(w *jwriter.Writer) { - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling23(w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling22(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackendClientSessionRequest) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling23(&r, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling22(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackendClientSessionRequest) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling23(l, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling22(l, v) } -func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling24(in *jlexer.Lexer, out *BackendClientRoomResponse) { +func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling23(in *jlexer.Lexer, out *BackendClientRoomResponse) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2820,7 +2762,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling24(in *jle in.Consumed() } } -func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling24(out *jwriter.Writer, in BackendClientRoomResponse) { +func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling23(out *jwriter.Writer, in BackendClientRoomResponse) { out.RawByte('{') first := true _ = first @@ -2866,27 +2808,27 @@ func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling24(out *jw // MarshalJSON supports json.Marshaler interface func (v BackendClientRoomResponse) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling24(&w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling23(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackendClientRoomResponse) MarshalEasyJSON(w *jwriter.Writer) { - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling24(w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling23(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackendClientRoomResponse) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling24(&r, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling23(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackendClientRoomResponse) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling24(l, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling23(l, v) } -func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling25(in *jlexer.Lexer, out *BackendClientRoomRequest) { +func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling24(in *jlexer.Lexer, out *BackendClientRoomRequest) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2931,7 +2873,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling25(in *jle in.Consumed() } } -func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling25(out *jwriter.Writer, in BackendClientRoomRequest) { +func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling24(out *jwriter.Writer, in BackendClientRoomRequest) { out.RawByte('{') first := true _ = first @@ -2981,27 +2923,27 @@ func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling25(out *jw // MarshalJSON supports json.Marshaler interface func (v BackendClientRoomRequest) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling25(&w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling24(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackendClientRoomRequest) MarshalEasyJSON(w *jwriter.Writer) { - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling25(w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling24(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackendClientRoomRequest) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling25(&r, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling24(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackendClientRoomRequest) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling25(l, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling24(l, v) } -func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling26(in *jlexer.Lexer, out *BackendClientRingResponse) { +func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling25(in *jlexer.Lexer, out *BackendClientRingResponse) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3034,7 +2976,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling26(in *jle in.Consumed() } } -func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling26(out *jwriter.Writer, in BackendClientRingResponse) { +func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling25(out *jwriter.Writer, in BackendClientRingResponse) { out.RawByte('{') first := true _ = first @@ -3054,27 +2996,27 @@ func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling26(out *jw // MarshalJSON supports json.Marshaler interface func (v BackendClientRingResponse) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling26(&w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling25(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackendClientRingResponse) MarshalEasyJSON(w *jwriter.Writer) { - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling26(w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling25(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackendClientRingResponse) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling26(&r, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling25(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackendClientRingResponse) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling26(l, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling25(l, v) } -func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling27(in *jlexer.Lexer, out *BackendClientResponse) { +func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling26(in *jlexer.Lexer, out *BackendClientResponse) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3103,7 +3045,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling27(in *jle if out.Error == nil { out.Error = new(Error) } - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling16(in, out.Error) + (*out.Error).UnmarshalEasyJSON(in) } case "auth": if in.IsNull() { @@ -3155,7 +3097,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling27(in *jle in.Consumed() } } -func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling27(out *jwriter.Writer, in BackendClientResponse) { +func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling26(out *jwriter.Writer, in BackendClientResponse) { out.RawByte('{') first := true _ = first @@ -3167,7 +3109,7 @@ func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling27(out *jw if in.Error != nil { const prefix string = ",\"error\":" out.RawString(prefix) - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling16(out, *in.Error) + (*in.Error).MarshalEasyJSON(out) } if in.Auth != nil { const prefix string = ",\"auth\":" @@ -3195,27 +3137,27 @@ func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling27(out *jw // MarshalJSON supports json.Marshaler interface func (v BackendClientResponse) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling27(&w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling26(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackendClientResponse) MarshalEasyJSON(w *jwriter.Writer) { - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling27(w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling26(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackendClientResponse) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling27(&r, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling26(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackendClientResponse) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling27(l, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling26(l, v) } -func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling28(in *jlexer.Lexer, out *BackendClientRequest) { +func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling27(in *jlexer.Lexer, out *BackendClientRequest) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3286,7 +3228,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling28(in *jle in.Consumed() } } -func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling28(out *jwriter.Writer, in BackendClientRequest) { +func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling27(out *jwriter.Writer, in BackendClientRequest) { out.RawByte('{') first := true _ = first @@ -3321,27 +3263,27 @@ func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling28(out *jw // MarshalJSON supports json.Marshaler interface func (v BackendClientRequest) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling28(&w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling27(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackendClientRequest) MarshalEasyJSON(w *jwriter.Writer) { - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling28(w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling27(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackendClientRequest) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling28(&r, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling27(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackendClientRequest) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling28(l, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling27(l, v) } -func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling29(in *jlexer.Lexer, out *BackendClientPingRequest) { +func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling28(in *jlexer.Lexer, out *BackendClientPingRequest) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3397,7 +3339,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling29(in *jle in.Consumed() } } -func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling29(out *jwriter.Writer, in BackendClientPingRequest) { +func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling28(out *jwriter.Writer, in BackendClientPingRequest) { out.RawByte('{') first := true _ = first @@ -3433,27 +3375,27 @@ func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling29(out *jw // MarshalJSON supports json.Marshaler interface func (v BackendClientPingRequest) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling29(&w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling28(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackendClientPingRequest) MarshalEasyJSON(w *jwriter.Writer) { - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling29(w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling28(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackendClientPingRequest) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling29(&r, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling28(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackendClientPingRequest) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling29(l, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling28(l, v) } -func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling30(in *jlexer.Lexer, out *BackendClientAuthResponse) { +func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling29(in *jlexer.Lexer, out *BackendClientAuthResponse) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3490,7 +3432,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling30(in *jle in.Consumed() } } -func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling30(out *jwriter.Writer, in BackendClientAuthResponse) { +func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling29(out *jwriter.Writer, in BackendClientAuthResponse) { out.RawByte('{') first := true _ = first @@ -3515,27 +3457,27 @@ func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling30(out *jw // MarshalJSON supports json.Marshaler interface func (v BackendClientAuthResponse) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling30(&w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling29(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackendClientAuthResponse) MarshalEasyJSON(w *jwriter.Writer) { - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling30(w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling29(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackendClientAuthResponse) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling30(&r, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling29(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackendClientAuthResponse) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling30(l, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling29(l, v) } -func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling31(in *jlexer.Lexer, out *BackendClientAuthRequest) { +func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling30(in *jlexer.Lexer, out *BackendClientAuthRequest) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3570,7 +3512,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling31(in *jle in.Consumed() } } -func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling31(out *jwriter.Writer, in BackendClientAuthRequest) { +func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling30(out *jwriter.Writer, in BackendClientAuthRequest) { out.RawByte('{') first := true _ = first @@ -3590,23 +3532,23 @@ func easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling31(out *jw // MarshalJSON supports json.Marshaler interface func (v BackendClientAuthRequest) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling31(&w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling30(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackendClientAuthRequest) MarshalEasyJSON(w *jwriter.Writer) { - easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling31(w, v) + easyjson4354c623EncodeGithubComStrukturagNextcloudSpreedSignaling30(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackendClientAuthRequest) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling31(&r, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling30(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackendClientAuthRequest) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling31(l, v) + easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling30(l, v) } diff --git a/api_proxy_easyjson.go b/api_proxy_easyjson.go index fa6276aa..e41b81ca 100644 --- a/api_proxy_easyjson.go +++ b/api_proxy_easyjson.go @@ -220,7 +220,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling1(in *jlex if out.Error == nil { out.Error = new(Error) } - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling2(in, out.Error) + (*out.Error).UnmarshalEasyJSON(in) } case "hello": if in.IsNull() { @@ -305,7 +305,7 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling1(out *jwr if in.Error != nil { const prefix string = ",\"error\":" out.RawString(prefix) - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling2(out, *in.Error) + (*in.Error).MarshalEasyJSON(out) } if in.Hello != nil { const prefix string = ",\"hello\":" @@ -358,65 +358,7 @@ func (v *ProxyServerMessage) UnmarshalJSON(data []byte) error { func (v *ProxyServerMessage) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling1(l, v) } -func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling2(in *jlexer.Lexer, out *Error) { - isTopLevel := in.IsStart() - if in.IsNull() { - if isTopLevel { - in.Consumed() - } - in.Skip() - return - } - in.Delim('{') - for !in.IsDelim('}') { - key := in.UnsafeFieldName(false) - in.WantColon() - if in.IsNull() { - in.Skip() - in.WantComma() - continue - } - switch key { - case "code": - out.Code = string(in.String()) - case "message": - out.Message = string(in.String()) - case "details": - if data := in.Raw(); in.Ok() { - in.AddError((out.Details).UnmarshalJSON(data)) - } - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling2(out *jwriter.Writer, in Error) { - out.RawByte('{') - first := true - _ = first - { - const prefix string = ",\"code\":" - out.RawString(prefix[1:]) - out.String(string(in.Code)) - } - { - const prefix string = ",\"message\":" - out.RawString(prefix) - out.String(string(in.Message)) - } - if len(in.Details) != 0 { - const prefix string = ",\"details\":" - out.RawString(prefix) - out.Raw((in.Details).MarshalJSON()) - } - out.RawByte('}') -} -func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling3(in *jlexer.Lexer, out *ProxyInformationEtcd) { +func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling2(in *jlexer.Lexer, out *ProxyInformationEtcd) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -447,7 +389,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling3(in *jlex in.Consumed() } } -func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling3(out *jwriter.Writer, in ProxyInformationEtcd) { +func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling2(out *jwriter.Writer, in ProxyInformationEtcd) { out.RawByte('{') first := true _ = first @@ -462,27 +404,27 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling3(out *jwr // MarshalJSON supports json.Marshaler interface func (v ProxyInformationEtcd) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling3(&w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling2(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ProxyInformationEtcd) MarshalEasyJSON(w *jwriter.Writer) { - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling3(w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling2(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ProxyInformationEtcd) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling3(&r, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling2(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ProxyInformationEtcd) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling3(l, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling2(l, v) } -func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling4(in *jlexer.Lexer, out *ProxyClientMessage) { +func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling3(in *jlexer.Lexer, out *ProxyClientMessage) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -555,7 +497,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling4(in *jlex in.Consumed() } } -func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling4(out *jwriter.Writer, in ProxyClientMessage) { +func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling3(out *jwriter.Writer, in ProxyClientMessage) { out.RawByte('{') first := true _ = first @@ -601,27 +543,27 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling4(out *jwr // MarshalJSON supports json.Marshaler interface func (v ProxyClientMessage) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling4(&w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling3(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ProxyClientMessage) MarshalEasyJSON(w *jwriter.Writer) { - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling4(w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling3(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ProxyClientMessage) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling4(&r, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling3(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ProxyClientMessage) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling4(l, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling3(l, v) } -func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling5(in *jlexer.Lexer, out *PayloadProxyServerMessage) { +func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling4(in *jlexer.Lexer, out *PayloadProxyServerMessage) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -676,7 +618,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling5(in *jlex in.Consumed() } } -func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling5(out *jwriter.Writer, in PayloadProxyServerMessage) { +func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling4(out *jwriter.Writer, in PayloadProxyServerMessage) { out.RawByte('{') first := true _ = first @@ -723,27 +665,27 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling5(out *jwr // MarshalJSON supports json.Marshaler interface func (v PayloadProxyServerMessage) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling5(&w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling4(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v PayloadProxyServerMessage) MarshalEasyJSON(w *jwriter.Writer) { - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling5(w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling4(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PayloadProxyServerMessage) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling5(&r, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling4(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *PayloadProxyServerMessage) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling5(l, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling4(l, v) } -func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling6(in *jlexer.Lexer, out *PayloadProxyClientMessage) { +func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling5(in *jlexer.Lexer, out *PayloadProxyClientMessage) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -804,7 +746,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling6(in *jlex in.Consumed() } } -func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling6(out *jwriter.Writer, in PayloadProxyClientMessage) { +func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling5(out *jwriter.Writer, in PayloadProxyClientMessage) { out.RawByte('{') first := true _ = first @@ -854,27 +796,27 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling6(out *jwr // MarshalJSON supports json.Marshaler interface func (v PayloadProxyClientMessage) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling6(&w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling5(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v PayloadProxyClientMessage) MarshalEasyJSON(w *jwriter.Writer) { - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling6(w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling5(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PayloadProxyClientMessage) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling6(&r, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling5(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *PayloadProxyClientMessage) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling6(l, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling5(l, v) } -func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling7(in *jlexer.Lexer, out *NewPublisherSettings) { +func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling6(in *jlexer.Lexer, out *NewPublisherSettings) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -915,7 +857,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling7(in *jlex in.Consumed() } } -func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling7(out *jwriter.Writer, in NewPublisherSettings) { +func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling6(out *jwriter.Writer, in NewPublisherSettings) { out.RawByte('{') first := true _ = first @@ -981,27 +923,27 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling7(out *jwr // MarshalJSON supports json.Marshaler interface func (v NewPublisherSettings) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling7(&w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling6(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v NewPublisherSettings) MarshalEasyJSON(w *jwriter.Writer) { - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling7(w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling6(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NewPublisherSettings) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling7(&r, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling6(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *NewPublisherSettings) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling7(l, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling6(l, v) } -func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling8(in *jlexer.Lexer, out *HelloProxyServerMessage) { +func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling7(in *jlexer.Lexer, out *HelloProxyServerMessage) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1032,7 +974,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling8(in *jlex if out.Server == nil { out.Server = new(WelcomeServerMessage) } - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling9(in, out.Server) + (*out.Server).UnmarshalEasyJSON(in) } default: in.SkipRecursive() @@ -1044,7 +986,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling8(in *jlex in.Consumed() } } -func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling8(out *jwriter.Writer, in HelloProxyServerMessage) { +func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling7(out *jwriter.Writer, in HelloProxyServerMessage) { out.RawByte('{') first := true _ = first @@ -1061,7 +1003,7 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling8(out *jwr if in.Server != nil { const prefix string = ",\"server\":" out.RawString(prefix) - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling9(out, *in.Server) + (*in.Server).MarshalEasyJSON(out) } out.RawByte('}') } @@ -1069,27 +1011,27 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling8(out *jwr // MarshalJSON supports json.Marshaler interface func (v HelloProxyServerMessage) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling8(&w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling7(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v HelloProxyServerMessage) MarshalEasyJSON(w *jwriter.Writer) { - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling8(w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling7(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *HelloProxyServerMessage) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling8(&r, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling7(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *HelloProxyServerMessage) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling8(l, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling7(l, v) } -func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling9(in *jlexer.Lexer, out *WelcomeServerMessage) { +func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling8(in *jlexer.Lexer, out *HelloProxyClientMessage) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1110,6 +1052,8 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling9(in *jlex switch key { case "version": out.Version = string(in.String()) + case "resumeid": + out.ResumeId = string(in.String()) case "features": if in.IsNull() { in.Skip() @@ -1133,94 +1077,6 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling9(in *jlex } in.Delim(']') } - case "country": - out.Country = string(in.String()) - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling9(out *jwriter.Writer, in WelcomeServerMessage) { - out.RawByte('{') - first := true - _ = first - { - const prefix string = ",\"version\":" - out.RawString(prefix[1:]) - out.String(string(in.Version)) - } - if len(in.Features) != 0 { - const prefix string = ",\"features\":" - out.RawString(prefix) - { - out.RawByte('[') - for v6, v7 := range in.Features { - if v6 > 0 { - out.RawByte(',') - } - out.String(string(v7)) - } - out.RawByte(']') - } - } - if in.Country != "" { - const prefix string = ",\"country\":" - out.RawString(prefix) - out.String(string(in.Country)) - } - out.RawByte('}') -} -func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling10(in *jlexer.Lexer, out *HelloProxyClientMessage) { - isTopLevel := in.IsStart() - if in.IsNull() { - if isTopLevel { - in.Consumed() - } - in.Skip() - return - } - in.Delim('{') - for !in.IsDelim('}') { - key := in.UnsafeFieldName(false) - in.WantColon() - if in.IsNull() { - in.Skip() - in.WantComma() - continue - } - switch key { - case "version": - out.Version = string(in.String()) - case "resumeid": - out.ResumeId = string(in.String()) - case "features": - if in.IsNull() { - in.Skip() - out.Features = nil - } else { - in.Delim('[') - if out.Features == nil { - if !in.IsDelim(']') { - out.Features = make([]string, 0, 4) - } else { - out.Features = []string{} - } - } else { - out.Features = (out.Features)[:0] - } - for !in.IsDelim(']') { - var v8 string - v8 = string(in.String()) - out.Features = append(out.Features, v8) - in.WantComma() - } - in.Delim(']') - } case "token": out.Token = string(in.String()) default: @@ -1233,7 +1089,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling10(in *jle in.Consumed() } } -func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling10(out *jwriter.Writer, in HelloProxyClientMessage) { +func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling8(out *jwriter.Writer, in HelloProxyClientMessage) { out.RawByte('{') first := true _ = first @@ -1252,11 +1108,11 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling10(out *jw out.RawString(prefix) { out.RawByte('[') - for v9, v10 := range in.Features { - if v9 > 0 { + for v6, v7 := range in.Features { + if v6 > 0 { out.RawByte(',') } - out.String(string(v10)) + out.String(string(v7)) } out.RawByte(']') } @@ -1272,27 +1128,27 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling10(out *jw // MarshalJSON supports json.Marshaler interface func (v HelloProxyClientMessage) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling10(&w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling8(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v HelloProxyClientMessage) MarshalEasyJSON(w *jwriter.Writer) { - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling10(w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling8(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *HelloProxyClientMessage) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling10(&r, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling8(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *HelloProxyClientMessage) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling10(l, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling8(l, v) } -func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling11(in *jlexer.Lexer, out *EventProxyServerMessage) { +func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling9(in *jlexer.Lexer, out *EventProxyServerMessage) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1339,7 +1195,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling11(in *jle in.Consumed() } } -func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling11(out *jwriter.Writer, in EventProxyServerMessage) { +func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling9(out *jwriter.Writer, in EventProxyServerMessage) { out.RawByte('{') first := true _ = first @@ -1374,27 +1230,27 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling11(out *jw // MarshalJSON supports json.Marshaler interface func (v EventProxyServerMessage) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling11(&w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling9(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventProxyServerMessage) MarshalEasyJSON(w *jwriter.Writer) { - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling11(w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling9(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventProxyServerMessage) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling11(&r, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling9(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventProxyServerMessage) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling11(l, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling9(l, v) } -func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling12(in *jlexer.Lexer, out *EventProxyServerBandwidth) { +func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling10(in *jlexer.Lexer, out *EventProxyServerBandwidth) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1443,7 +1299,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling12(in *jle in.Consumed() } } -func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling12(out *jwriter.Writer, in EventProxyServerBandwidth) { +func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling10(out *jwriter.Writer, in EventProxyServerBandwidth) { out.RawByte('{') first := true _ = first @@ -1469,27 +1325,27 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling12(out *jw // MarshalJSON supports json.Marshaler interface func (v EventProxyServerBandwidth) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling12(&w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling10(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventProxyServerBandwidth) MarshalEasyJSON(w *jwriter.Writer) { - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling12(w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling10(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventProxyServerBandwidth) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling12(&r, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling10(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventProxyServerBandwidth) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling12(l, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling10(l, v) } -func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling13(in *jlexer.Lexer, out *CommandProxyServerMessage) { +func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling11(in *jlexer.Lexer, out *CommandProxyServerMessage) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1530,9 +1386,9 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling13(in *jle out.Streams = (out.Streams)[:0] } for !in.IsDelim(']') { - var v11 PublisherStream - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling14(in, &v11) - out.Streams = append(out.Streams, v11) + var v8 PublisherStream + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling12(in, &v8) + out.Streams = append(out.Streams, v8) in.WantComma() } in.Delim(']') @@ -1547,7 +1403,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling13(in *jle in.Consumed() } } -func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling13(out *jwriter.Writer, in CommandProxyServerMessage) { +func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling11(out *jwriter.Writer, in CommandProxyServerMessage) { out.RawByte('{') first := true _ = first @@ -1587,11 +1443,11 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling13(out *jw } { out.RawByte('[') - for v12, v13 := range in.Streams { - if v12 > 0 { + for v9, v10 := range in.Streams { + if v9 > 0 { out.RawByte(',') } - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling14(out, v13) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling12(out, v10) } out.RawByte(']') } @@ -1602,27 +1458,27 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling13(out *jw // MarshalJSON supports json.Marshaler interface func (v CommandProxyServerMessage) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling13(&w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling11(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CommandProxyServerMessage) MarshalEasyJSON(w *jwriter.Writer) { - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling13(w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling11(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CommandProxyServerMessage) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling13(&r, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling11(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CommandProxyServerMessage) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling13(l, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling11(l, v) } -func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling14(in *jlexer.Lexer, out *PublisherStream) { +func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling12(in *jlexer.Lexer, out *PublisherStream) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1681,7 +1537,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling14(in *jle in.Consumed() } } -func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling14(out *jwriter.Writer, in PublisherStream) { +func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling12(out *jwriter.Writer, in PublisherStream) { out.RawByte('{') first := true _ = first @@ -1762,7 +1618,7 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling14(out *jw } out.RawByte('}') } -func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling15(in *jlexer.Lexer, out *CommandProxyClientMessage) { +func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling13(in *jlexer.Lexer, out *CommandProxyClientMessage) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1825,7 +1681,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling15(in *jle in.Consumed() } } -func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling15(out *jwriter.Writer, in CommandProxyClientMessage) { +func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling13(out *jwriter.Writer, in CommandProxyClientMessage) { out.RawByte('{') first := true _ = first @@ -1900,27 +1756,27 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling15(out *jw // MarshalJSON supports json.Marshaler interface func (v CommandProxyClientMessage) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling15(&w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling13(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CommandProxyClientMessage) MarshalEasyJSON(w *jwriter.Writer) { - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling15(w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling13(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CommandProxyClientMessage) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling15(&r, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling13(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CommandProxyClientMessage) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling15(l, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling13(l, v) } -func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling16(in *jlexer.Lexer, out *ByeProxyServerMessage) { +func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling14(in *jlexer.Lexer, out *ByeProxyServerMessage) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1951,7 +1807,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling16(in *jle in.Consumed() } } -func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling16(out *jwriter.Writer, in ByeProxyServerMessage) { +func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling14(out *jwriter.Writer, in ByeProxyServerMessage) { out.RawByte('{') first := true _ = first @@ -1966,27 +1822,27 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling16(out *jw // MarshalJSON supports json.Marshaler interface func (v ByeProxyServerMessage) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling16(&w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling14(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ByeProxyServerMessage) MarshalEasyJSON(w *jwriter.Writer) { - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling16(w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling14(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ByeProxyServerMessage) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling16(&r, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling14(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ByeProxyServerMessage) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling16(l, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling14(l, v) } -func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling17(in *jlexer.Lexer, out *ByeProxyClientMessage) { +func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling15(in *jlexer.Lexer, out *ByeProxyClientMessage) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2015,7 +1871,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling17(in *jle in.Consumed() } } -func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling17(out *jwriter.Writer, in ByeProxyClientMessage) { +func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling15(out *jwriter.Writer, in ByeProxyClientMessage) { out.RawByte('{') first := true _ = first @@ -2025,23 +1881,23 @@ func easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling17(out *jw // MarshalJSON supports json.Marshaler interface func (v ByeProxyClientMessage) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling17(&w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling15(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ByeProxyClientMessage) MarshalEasyJSON(w *jwriter.Writer) { - easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling17(w, v) + easyjson1c8542dbEncodeGithubComStrukturagNextcloudSpreedSignaling15(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ByeProxyClientMessage) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling17(&r, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling15(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ByeProxyClientMessage) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling17(l, v) + easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling15(l, v) }