1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using System;
- using System.Collections.Generic;
- namespace WingCloudServer.GeneralDocTools.Model
- {
- public class APIModuleEntity
- {
- public bool IsEnumFolder { get; set; } = false;
- public bool IsNotificationFolder { get; set; } = false;
- public string DocDirectory { get; set; } = string.Empty;
- public List<InterfaceInfoEntity> MainModelList { get; set; } = new List<InterfaceInfoEntity>();
- public List<NotificationInfoEntity> NotificationModelList { get; set; } = new List<NotificationInfoEntity>();
- public DateTime CreateTime { get; set; } = DateTime.Now;
- }
- public class InterfaceInfoEntity
- {
- public List<MethodBasicEntity> MethodList { get; set; } = new List<MethodBasicEntity>();
- public string Value { get; set; } = string.Empty;
- //表示是二级还是三级,甚至更多
- public string ThirdValue { get; set; } = string.Empty;
- public int ValueType { get; set; } = 2;
- public string Url { get; set; } = "http://存储服务域名/";
- public List<OtherInterfaceInfoEntity> ThirdInterfaceList { get; set; } = new List<OtherInterfaceInfoEntity>();
- }
- public class OtherInterfaceInfoEntity
- {
- public string OtherValue { get; set; } = string.Empty;
- public int OtherType { get; set; } = 3;
- public List<MethodBasicEntity> MethodList { get; set; } = new List<MethodBasicEntity>();
- }
- public class InterfaceBasicInfoEntity
- {
- public string InterfaceNamespace { get; set; } = string.Empty;
- public string InterfaceName { get; set; } = string.Empty;
- public string InterfaceFullName { get; set; } = string.Empty;
- public string InterfaceSummary { get; set; } = string.Empty;
- public string MethodNamespace { get; set; } = string.Empty;
- }
- public class NotificationInfoEntity
- {
- public List<MemberEntity> MemberAPIList { get; set; } = new List<MemberEntity>();
- public List<NotificationInfoEntity> ChildNotificationEntityList { get; set; }= new List<NotificationInfoEntity>();
- public string CurrentLevelDirectory { get; set; } = string.Empty;
- public string ParamName { get; set; } = string.Empty;
- }
- }
|