您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
38 行
921 B
38 行
921 B
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
|
|
{
|
|
/// <summary>
|
|
/// JoinResponseBody model
|
|
/// </summary>
|
|
/// <param name="meta">meta param</param>
|
|
/// <param name="data">data param</param>
|
|
[Preserve]
|
|
[DataContract(Name = "JoinResponseBody")]
|
|
public class JoinResponseBody
|
|
{
|
|
[Preserve]
|
|
public JoinResponseBody(ResponseMeta meta, JoinData data)
|
|
{
|
|
Meta = meta;
|
|
Data = data;
|
|
}
|
|
|
|
[Preserve]
|
|
[DataMember(Name = "meta", IsRequired = true, EmitDefaultValue = true)]
|
|
public ResponseMeta Meta{ get; }
|
|
|
|
[Preserve]
|
|
[DataMember(Name = "data", IsRequired = true, EmitDefaultValue = true)]
|
|
public JoinData Data{ get; }
|
|
|
|
}
|
|
}
|
|
|