28 lines
626 B
C#
28 lines
626 B
C#
|
|
using System.Collections.Generic;
|
|
|
|
|
|
namespace DouyinApi.Extensions.Apollo
|
|
{
|
|
/// <summary>
|
|
/// Apollo配置项
|
|
/// </summary>
|
|
public class ApolloOptions
|
|
{
|
|
public bool Enable { get; set; }
|
|
public List<ChildNamespace> Namespaces { get; set; }
|
|
|
|
public class ChildNamespace
|
|
{
|
|
/// <summary>
|
|
/// 命名空间名字
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
/// <summary>
|
|
/// 数据格式 Json/Yml/Yaml等
|
|
/// </summary>
|
|
public string Format { get; set; }
|
|
}
|
|
}
|
|
}
|