mirror of
https://github.com/2dust/v2rayN.git
synced 2026-09-28 17:58:06 +03:00
Move many model classes into new sub-namespaces (ServiceLib.Models.CoreConfigs, ServiceLib.Models.Configs, ServiceLib.Models.Dto, ServiceLib.Models.Entities). Update GlobalUsings in ServiceLib, v2rayN.Desktop, v2rayN and add a tests GlobalUsings file to reference the new namespaces. Adjust static using directives in ClashApiManager and ClashProxiesViewModel to use ServiceLib.Models.Dto. This is a reorganization/rename of files and namespaces with no functional changes.
44 lines
1.2 KiB
C#
44 lines
1.2 KiB
C#
namespace ServiceLib.Models.Dto;
|
|
|
|
/// <summary>
|
|
/// https://github.com/2dust/v2rayN/wiki/
|
|
/// </summary>
|
|
[Serializable]
|
|
public class VmessQRCode
|
|
{
|
|
[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)]
|
|
public int v { get; set; } = 2;
|
|
|
|
public string ps { get; set; } = string.Empty;
|
|
|
|
public string add { get; set; } = string.Empty;
|
|
|
|
[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)]
|
|
public int port { get; set; } = 0;
|
|
|
|
public string id { get; set; } = string.Empty;
|
|
|
|
[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)]
|
|
public int aid { get; set; } = 0;
|
|
|
|
public string scy { get; set; } = string.Empty;
|
|
|
|
public string net { get; set; } = string.Empty;
|
|
|
|
public string type { get; set; } = string.Empty;
|
|
|
|
public string host { get; set; } = string.Empty;
|
|
|
|
public string path { get; set; } = string.Empty;
|
|
|
|
public string tls { get; set; } = string.Empty;
|
|
|
|
public string sni { get; set; } = string.Empty;
|
|
|
|
public string alpn { get; set; } = string.Empty;
|
|
|
|
public string fp { get; set; } = string.Empty;
|
|
|
|
public string insecure { get; set; } = string.Empty;
|
|
}
|