// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 using JetBrains.Annotations; using Newtonsoft.Json; namespace SampleGameBuild.GameLiftIntegration.Client { public class WSMessageFromServer { [JsonProperty("Type")] public string Type { get; set; } [JsonProperty("PlayerId")] public string PlayerId { get; set; } [JsonProperty("SessionId", NullValueHandling = NullValueHandling.Ignore)] public string SessionId { get; set; } [JsonProperty("IpAddress", NullValueHandling = NullValueHandling.Ignore)] public string IpAddress { get; set; } [JsonProperty("Port", NullValueHandling = NullValueHandling.Ignore)] public long? Port { get; set; } [JsonProperty("Message", NullValueHandling = NullValueHandling.Ignore)] public string Message { get; set; } } }