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
{
///
/// RegionsData model
/// Regions where relay servers might be available
///
[Preserve]
[DataContract(Name = "RegionsData")]
public class RegionsData
{
///
/// Creates an instance of RegionsData.
///
/// Regions where relay servers might be available
[Preserve]
public RegionsData(List regions)
{
Regions = regions;
}
///
/// Regions where relay servers might be available
///
[Preserve]
[DataMember(Name = "regions", IsRequired = true, EmitDefaultValue = true)]
public List Regions{ get; }
}
}