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.

59 lines
871 B

2 years ago
1 year ago
  1. // Code generated by sqlc. DO NOT EDIT.
  2. // versions:
  3. // sqlc v1.13.0
  4. package mysqlgen
  5. import (
  6. "encoding/json"
  7. "time"
  8. "github.com/google/uuid"
  9. )
  10. type DeviceAlias struct {
  11. ID string
  12. Alias string
  13. }
  14. type DeviceAssignment struct {
  15. ID uuid.UUID
  16. CreatedDate time.Time
  17. Match string
  18. Effect json.RawMessage
  19. }
  20. type DeviceAuth struct {
  21. ID string
  22. ApiKey string
  23. Extras json.RawMessage
  24. }
  25. type DeviceInfo struct {
  26. ID string
  27. Kind string
  28. Data json.RawMessage
  29. }
  30. type Script struct {
  31. Name string
  32. Data json.RawMessage
  33. }
  34. type ScriptTrigger struct {
  35. ID uuid.UUID
  36. Event string
  37. DeviceMatch string
  38. Parameter string
  39. ScriptTarget string
  40. ScriptName string
  41. ScriptPre json.RawMessage
  42. ScriptPost json.RawMessage
  43. Name string
  44. }
  45. type ScriptVariable struct {
  46. Scope string
  47. Name string
  48. Value string
  49. }