oc-catalog/selfapi/model_models_datacenter_mod...

30 lines
1.2 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 ModelsDatacenterModel struct {
ID string `json:"ID"`
// id of the DC
Acronym string `json:"acronym,omitempty"`
BookingPrice int64 `json:"bookingPrice,omitempty"`
Cpu *ModelsDatacenterCpuModel `json:"cpu,omitempty"`
Description string `json:"description,omitempty"`
Gpu []ModelsDatacenterGpuModel `json:"gpu,omitempty"`
// list of host:port
Hosts []string `json:"hosts,omitempty"`
Logo string `json:"logo,omitempty"`
Name string `json:"name,omitempty"`
Owner string `json:"owner,omitempty"`
Ram *ModelsDatacenterMemoryModel `json:"ram,omitempty"`
ShortDescription string `json:"short_description,omitempty"`
Type_ string `json:"type,omitempty"`
}