using System; using System.Collections.Generic; using UnityEngine.Scripting; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Unity.Services.Lobbies.Http; namespace Unity.Services.Lobbies.Models { /// /// A list of lobbies that matched the specified lobbies query. Only the public top level, data, and player data properties are returned. /// results param /// continuationToken param /// [Preserve] [DataContract(Name = "QueryResponse")] public class QueryResponse { /// /// A list of lobbies that matched the specified lobbies query. Only the public top level, data, and player data properties are returned. /// /// results param /// continuationToken param [Preserve] public QueryResponse(List results = default, string continuationToken = default) { Results = results; ContinuationToken = continuationToken; } [Preserve] [DataMember(Name = "results", EmitDefaultValue = false)] public List Results{ get; } [Preserve] [DataMember(Name = "continuationToken", EmitDefaultValue = false)] public string ContinuationToken{ get; } } }