CLI tool for running Playbooks
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.

42 lines
1.4 KiB

1 year ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Xml.Serialization;
  8. namespace TrustedUninstaller.Shared
  9. {
  10. public class Playbook
  11. {
  12. public string Name { get; set; }
  13. public string ShortDescription { get; set; }
  14. public string Description { get; set; }
  15. public string Title { get; set; }
  16. public string Username { get; set; }
  17. public string Details { get; set; }
  18. public string Version { get; set; }
  19. public string ProgressText { get; set; } = "Deploying the selected Playbook configuration onto the system.";
  20. public int EstimatedMinutes { get; set; } = 25;
  21. #nullable enable
  22. public string[]? SupportedBuilds { get; set; }
  23. public Requirements.Requirement[]? Requirements { get; set; }
  24. public string? Git { get; set; }
  25. public string? DonateLink { get; set; }
  26. public string? Website { get; set; }
  27. public string? ProductCode { get; set; }
  28. public string? PasswordReplace { get; set; }
  29. #nullable disable
  30. public string Path { get; set; }
  31. public override string ToString()
  32. {
  33. return $"Name: {Name}\nDescription: {Description}\nUsername: {Username}\nDetails: {Details}\nRequirements: {Requirements}.";
  34. }
  35. }
  36. }