using System;
using System.Collections.Generic;
using UnityEngine.Scripting;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Unity.Services.Lobbies.Models
{
///
/// The body that will be returned for any failing request. We are using the [RFC 7807 Error Format](https://www.rfc-editor.org/rfc/rfc7807.html#section-3.1).
///
[Preserve]
[DataContract(Name = "ErrorStatus")]
public class ErrorStatus
{
///
/// The body that will be returned for any failing request. We are using the [RFC 7807 Error Format](https://www.rfc-editor.org/rfc/rfc7807.html#section-3.1).
///
/// status param
/// title param
/// details param
[Preserve]
public ErrorStatus(int status = default(int), string title = default(string), List details = default(List))
{
Status = status;
Title = title;
Details = details;
}
///
/// status param
///
[Preserve]
[DataMember(Name = "status", EmitDefaultValue = false)]
public int Status{ get; }
///
/// title param
///
[Preserve]
[DataMember(Name = "title", EmitDefaultValue = false)]
public string Title{ get; }
///
/// details param
///
[Preserve]
[DataMember(Name = "details", EmitDefaultValue = false)]
public List Details{ get; }
}
}