using System; using System.Collections.Generic; using UnityEngine.Scripting; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Unity.Services.Relay.Models { /// /// JoinCodeResponseBody model /// /// meta param /// links param /// data param [Preserve] [DataContract(Name = "JoinCodeResponseBody")] public class JoinCodeResponseBody { [Preserve] public JoinCodeResponseBody(ResponseMeta meta, ResponseLinks links, JoinCodeData data) { Meta = meta; Links = links; Data = data; } [Preserve] [DataMember(Name = "meta", IsRequired = true, EmitDefaultValue = true)] public ResponseMeta Meta{ get; } [Preserve] [DataMember(Name = "links", IsRequired = true, EmitDefaultValue = true)] public ResponseLinks Links{ get; } [Preserve] [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = true)] public JoinCodeData Data{ get; } } }