blob: 0fe95cb552cb37cd673462ac25369e605552ffef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
namespace CrupestApi.Secrets;
public class SecretInfo
{
public SecretInfo(string key, string secret, string description, DateTime? expireTime, bool revoked, DateTime createdTime)
{
Key = key;
Secret = secret;
Description = description;
ExpireTime = expireTime?.ToString("O");
Revoked = revoked;
CreateTime = createdTime.ToString("O");
}
public string Key { get; set; }
public string Secret { get; set; }
public string Description { get; set; }
public string? ExpireTime { get; set; }
public bool Revoked { get; set; }
public string CreateTime { get; set; }
}
|