33 lines
1.0 KiB
Go
33 lines
1.0 KiB
Go
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"`
|
|
}
|