mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2026-03-14 14:35:44 +01:00
Update generated files.
This commit is contained in:
parent
179498f28b
commit
61491a786c
4 changed files with 426 additions and 348 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -7,6 +7,7 @@ import (
|
|||
easyjson "github.com/mailru/easyjson"
|
||||
jlexer "github.com/mailru/easyjson/jlexer"
|
||||
jwriter "github.com/mailru/easyjson/jwriter"
|
||||
api "github.com/strukturag/nextcloud-spreed-signaling/api"
|
||||
)
|
||||
|
||||
// suppress unused package warning
|
||||
|
|
@ -41,7 +42,7 @@ func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling(in *jlexe
|
|||
if in.IsNull() {
|
||||
in.Skip()
|
||||
} else {
|
||||
out.SessionId = PublicSessionId(in.String())
|
||||
out.SessionId = api.PublicSessionId(in.String())
|
||||
}
|
||||
case "data":
|
||||
if in.IsNull() {
|
||||
|
|
@ -49,7 +50,7 @@ func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling(in *jlexe
|
|||
out.Data = nil
|
||||
} else {
|
||||
if out.Data == nil {
|
||||
out.Data = new(MessageClientMessageData)
|
||||
out.Data = new(api.MessageClientMessageData)
|
||||
}
|
||||
if in.IsNull() {
|
||||
in.Skip()
|
||||
|
|
@ -146,13 +147,13 @@ func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling1(in *jlex
|
|||
if in.IsNull() {
|
||||
in.Skip()
|
||||
} else {
|
||||
out.SessionId = PublicSessionId(in.String())
|
||||
out.SessionId = api.PublicSessionId(in.String())
|
||||
}
|
||||
case "clienttype":
|
||||
if in.IsNull() {
|
||||
in.Skip()
|
||||
} else {
|
||||
out.ClientType = ClientType(in.String())
|
||||
out.ClientType = api.ClientType(in.String())
|
||||
}
|
||||
default:
|
||||
in.SkipRecursive()
|
||||
|
|
@ -243,7 +244,7 @@ func easyjson9289e183DecodeGithubComStrukturagNextcloudSpreedSignaling2(in *jlex
|
|||
out.Message = nil
|
||||
} else {
|
||||
if out.Message == nil {
|
||||
out.Message = new(ServerMessage)
|
||||
out.Message = new(api.ServerMessage)
|
||||
}
|
||||
if in.IsNull() {
|
||||
in.Skip()
|
||||
|
|
|
|||
|
|
@ -1618,7 +1618,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling11(in *jle
|
|||
if in.IsNull() {
|
||||
in.Skip()
|
||||
} else {
|
||||
out.SessionId = PublicSessionId(in.String())
|
||||
out.SessionId = api.PublicSessionId(in.String())
|
||||
}
|
||||
case "connected":
|
||||
if in.IsNull() {
|
||||
|
|
@ -2261,11 +2261,11 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling15(in *jle
|
|||
out.SessionsList = (out.SessionsList)[:0]
|
||||
}
|
||||
for !in.IsDelim(']') {
|
||||
var v31 PublicSessionId
|
||||
var v31 api.PublicSessionId
|
||||
if in.IsNull() {
|
||||
in.Skip()
|
||||
} else {
|
||||
v31 = PublicSessionId(in.String())
|
||||
v31 = api.PublicSessionId(in.String())
|
||||
}
|
||||
out.SessionsList = append(out.SessionsList, v31)
|
||||
in.WantComma()
|
||||
|
|
@ -2283,7 +2283,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling15(in *jle
|
|||
out.SessionsMap = nil
|
||||
}
|
||||
for !in.IsDelim('}') {
|
||||
key := PublicSessionId(in.String())
|
||||
key := api.PublicSessionId(in.String())
|
||||
in.WantColon()
|
||||
var v32 json.RawMessage
|
||||
if in.IsNull() {
|
||||
|
|
@ -3144,19 +3144,19 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling20(in *jle
|
|||
in.Delim('[')
|
||||
if out.SessionIds == nil {
|
||||
if !in.IsDelim(']') {
|
||||
out.SessionIds = make([]RoomSessionId, 0, 4)
|
||||
out.SessionIds = make([]api.RoomSessionId, 0, 4)
|
||||
} else {
|
||||
out.SessionIds = []RoomSessionId{}
|
||||
out.SessionIds = []api.RoomSessionId{}
|
||||
}
|
||||
} else {
|
||||
out.SessionIds = (out.SessionIds)[:0]
|
||||
}
|
||||
for !in.IsDelim(']') {
|
||||
var v63 RoomSessionId
|
||||
var v63 api.RoomSessionId
|
||||
if in.IsNull() {
|
||||
in.Skip()
|
||||
} else {
|
||||
v63 = RoomSessionId(in.String())
|
||||
v63 = api.RoomSessionId(in.String())
|
||||
}
|
||||
out.SessionIds = append(out.SessionIds, v63)
|
||||
in.WantComma()
|
||||
|
|
@ -3327,7 +3327,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling21(in *jle
|
|||
out.Error = nil
|
||||
} else {
|
||||
if out.Error == nil {
|
||||
out.Error = new(Error)
|
||||
out.Error = new(api.Error)
|
||||
}
|
||||
if in.IsNull() {
|
||||
in.Skip()
|
||||
|
|
@ -3665,7 +3665,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling25(in *jle
|
|||
if in.IsNull() {
|
||||
in.Skip()
|
||||
} else {
|
||||
out.SessionId = RoomSessionId(in.String())
|
||||
out.SessionId = api.RoomSessionId(in.String())
|
||||
}
|
||||
default:
|
||||
in.SkipRecursive()
|
||||
|
|
@ -3996,7 +3996,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling28(in *jle
|
|||
if in.IsNull() {
|
||||
in.Skip()
|
||||
} else {
|
||||
out.SessionId = PublicSessionId(in.String())
|
||||
out.SessionId = api.PublicSessionId(in.String())
|
||||
}
|
||||
case "userid":
|
||||
if in.IsNull() {
|
||||
|
|
@ -4277,7 +4277,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling30(in *jle
|
|||
if in.IsNull() {
|
||||
in.Skip()
|
||||
} else {
|
||||
out.SessionId = RoomSessionId(in.String())
|
||||
out.SessionId = api.RoomSessionId(in.String())
|
||||
}
|
||||
case "actorid":
|
||||
if in.IsNull() {
|
||||
|
|
@ -4479,7 +4479,7 @@ func easyjson4354c623DecodeGithubComStrukturagNextcloudSpreedSignaling32(in *jle
|
|||
out.Error = nil
|
||||
} else {
|
||||
if out.Error == nil {
|
||||
out.Error = new(Error)
|
||||
out.Error = new(api.Error)
|
||||
}
|
||||
if in.IsNull() {
|
||||
in.Skip()
|
||||
|
|
|
|||
|
|
@ -245,7 +245,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling1(in *jlex
|
|||
out.Error = nil
|
||||
} else {
|
||||
if out.Error == nil {
|
||||
out.Error = new(Error)
|
||||
out.Error = new(api.Error)
|
||||
}
|
||||
if in.IsNull() {
|
||||
in.Skip()
|
||||
|
|
@ -1065,7 +1065,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling7(in *jlex
|
|||
if in.IsNull() {
|
||||
in.Skip()
|
||||
} else {
|
||||
out.SessionId = PublicSessionId(in.String())
|
||||
out.SessionId = api.PublicSessionId(in.String())
|
||||
}
|
||||
case "server":
|
||||
if in.IsNull() {
|
||||
|
|
@ -1073,7 +1073,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling7(in *jlex
|
|||
out.Server = nil
|
||||
} else {
|
||||
if out.Server == nil {
|
||||
out.Server = new(WelcomeServerMessage)
|
||||
out.Server = new(api.WelcomeServerMessage)
|
||||
}
|
||||
if in.IsNull() {
|
||||
in.Skip()
|
||||
|
|
@ -1160,7 +1160,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling8(in *jlex
|
|||
if in.IsNull() {
|
||||
in.Skip()
|
||||
} else {
|
||||
out.ResumeId = PublicSessionId(in.String())
|
||||
out.ResumeId = api.PublicSessionId(in.String())
|
||||
}
|
||||
case "features":
|
||||
if in.IsNull() {
|
||||
|
|
@ -1882,7 +1882,7 @@ func easyjson1c8542dbDecodeGithubComStrukturagNextcloudSpreedSignaling13(in *jle
|
|||
if in.IsNull() {
|
||||
in.Skip()
|
||||
} else {
|
||||
out.PublisherId = PublicSessionId(in.String())
|
||||
out.PublisherId = api.PublicSessionId(in.String())
|
||||
}
|
||||
case "clientId":
|
||||
if in.IsNull() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue