using System; using System.Collections.Generic; using UnityEngine.Scripting; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; 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. /// [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(List), string continuationToken = null) { Results = results; ContinuationToken = continuationToken; } /// /// results param /// [Preserve] [DataMember(Name = "results", EmitDefaultValue = false)] public List Results{ get; } /// /// continuationToken param /// [Preserve] [DataMember(Name = "continuationToken", EmitDefaultValue = false)] public string ContinuationToken{ get; } } }