namespace ZB.MOM.WW.LmxProxy.Client { /// /// API key information returned from CheckApiKey /// public class ApiKeyInfo { /// /// Whether the API key is valid /// public bool IsValid { get; } /// /// The role assigned to the API key /// public string Role { get; } /// /// Description of the API key /// public string Description { get; } /// /// Initializes a new instance of the ApiKeyInfo class /// /// Whether the API key is valid /// The role assigned to the API key /// Description of the API key public ApiKeyInfo(bool isValid, string role, string description) { IsValid = isValid; Role = role ?? string.Empty; Description = description ?? string.Empty; } } }