The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PasteAPIv1Model.cs 663B

1234567891011121314151617181920212223242526272829
  1. using Teknik.Utilities;
  2. namespace Teknik.Areas.API.V1.Models
  3. {
  4. public class PasteAPIv1Model : BaseAPIv1Model
  5. {
  6. public string code { get; set; }
  7. public string title { get; set; }
  8. public string syntax { get; set; }
  9. public ExpirationUnit expireUnit { get; set; }
  10. public int expireLength { get; set; }
  11. public string password { get; set; }
  12. public PasteAPIv1Model()
  13. {
  14. code = null;
  15. title = string.Empty;
  16. syntax = "text";
  17. expireUnit = ExpirationUnit.Never;
  18. expireLength = 1;
  19. password = string.Empty;
  20. }
  21. }
  22. }