using System;
using System.Collections.Generic;
using UnityEngine.Scripting;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Unity.Services.Relay.Http;
namespace Unity.Services.Relay.Models
{
///
/// AllocationData model
/// allocation param
///
[Preserve]
[DataContract(Name = "AllocationData")]
public class AllocationData
{
///
/// Creates an instance of AllocationData.
///
/// allocation param
[Preserve]
public AllocationData(Allocation allocation)
{
Allocation = allocation;
}
[Preserve]
[DataMember(Name = "allocation", IsRequired = true, EmitDefaultValue = true)]
public Allocation Allocation{ get; }
}
}