forked from TrueCloudLab/lego
17 lines
416 B
Go
17 lines
416 B
Go
|
package bluecat
|
||
|
|
||
|
// JSON body for Bluecat entity requests and responses
|
||
|
type bluecatEntity struct {
|
||
|
ID string `json:"id,omitempty"`
|
||
|
Name string `json:"name"`
|
||
|
Type string `json:"type"`
|
||
|
Properties string `json:"properties"`
|
||
|
}
|
||
|
|
||
|
type entityResponse struct {
|
||
|
ID uint `json:"id"`
|
||
|
Name string `json:"name"`
|
||
|
Type string `json:"type"`
|
||
|
Properties string `json:"properties"`
|
||
|
}
|