feat: add container management functionality
This commit is contained in:
17
internal/models/responses/container_response.go
Normal file
17
internal/models/responses/container_response.go
Normal file
@@ -0,0 +1,17 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user