Initial Commit

This commit is contained in:
2023-05-01 16:11:30 -05:00
parent f95e6ad3d0
commit 48ac6d0404
15 changed files with 1300 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
package properties
type Property struct {
Type []string `json:"@type"`
Name string `json:"vcfg:name"`
Value string `json:"vcfg:value"`
ID string `json:"vcfg:id,omitempty"`
Status string `json:"vcfg:status,omitempty"`
Prefix string `json:"vcfg:prefix,omitempty"`
LastModifiedBy string `json:"vcfg:lastModifiedBy,omitempty"`
LastModifiedDate string `json:"vcfg:lastModifiedDate,omitempty"`
}
type Collection struct {
TotalItems int `json:"hydra:totalItems"`
Member []Property `json:"hydra:member"`
}
type PropertyUpdateOrCreate struct {
Type string `json:"@type"`
Name string `json:"vcfg:name"`
Value string `json:"vcfg:value"`
Status string `json:"vcfg:status"`
Description string `json:"vcfg:description"`
}
type PropertyDelete struct {
Type string `json:"@type"`
Name string `json:"vcfg:name"`
Status string `json:"vcfg:status"`
Description string `json:"vcfg:description"`
}

File diff suppressed because one or more lines are too long