18 lines
489 B
Go
18 lines
489 B
Go
package responses
|
|
|
|
import "encoding/json"
|
|
|
|
type CreateContainerResponse struct {
|
|
ID int64 `json:"id"`
|
|
}
|
|
|
|
type UpdateContainerResponse struct {
|
|
ID int64 `json:"id"`
|
|
ShelfID int64 `json:"shelfId"`
|
|
Name string `json:"name"`
|
|
ContainerType string `json:"containerType"`
|
|
Description string `json:"description"`
|
|
MaxCapacity int32 `json:"maxCapacity"`
|
|
Metadata json.RawMessage `json:"metadata"`
|
|
}
|