29 lines
1.0 KiB
Go
29 lines
1.0 KiB
Go
/*
|
|
* oc-catalog API
|
|
*
|
|
* Backend of the oc-search project
|
|
*
|
|
* API version: 1.0.0
|
|
* Contact: opencloud@irt-saintexupery.com
|
|
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
*/
|
|
|
|
package swagger
|
|
|
|
type ModelsDatacenterNewModel struct {
|
|
// id of the DC
|
|
Acronym string `json:"acronym"`
|
|
BookingPrice int64 `json:"bookingPrice,omitempty"`
|
|
Cpu *ModelsDatacenterCpuModel `json:"cpu"`
|
|
Description string `json:"description"`
|
|
Gpu []ModelsDatacenterGpuModel `json:"gpu"`
|
|
// list of host:port
|
|
Hosts []string `json:"hosts"`
|
|
Logo string `json:"logo"`
|
|
Name string `json:"name"`
|
|
Owner string `json:"owner,omitempty"`
|
|
Ram *ModelsDatacenterMemoryModel `json:"ram"`
|
|
ShortDescription string `json:"short_description"`
|
|
Type_ string `json:"type"`
|
|
}
|