AliyunAccessModel.cs 836 B

12345678910111213141516171819202122232425262728293031
  1. using Newtonsoft.Json;
  2. namespace DaJiaoYan.Models
  3. {
  4. public class AliyunAccessModel
  5. {
  6. //public int Status { get; set; }
  7. [JsonProperty(PropertyName = "endpoint")]
  8. public string EndPoint { get; set; }
  9. [JsonProperty(PropertyName = "access_key_id")]
  10. public string AccessKeyId { get; set; }
  11. [JsonProperty(PropertyName = "access_key_secret")]
  12. public string AccessKeySecret { get; set; }
  13. [JsonProperty(PropertyName = "security_token")]
  14. public string SecurityToken { get; set; }
  15. /// <summary>
  16. /// 过期时间
  17. /// </summary>
  18. [JsonProperty(PropertyName = "expiration")]
  19. public long Expiration { get; set; }
  20. [JsonProperty(PropertyName = "bucket_name")]
  21. public string BucketName { get; set; }
  22. }
  23. }