packer-cn/vendor/github.com/hyperonecom/h1-client-go/model_vm.go

40 lines
1.5 KiB
Go

/*
* HyperOne API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* API version: 0.0.2
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package openapi
import (
"time"
)
// Vm struct for Vm
type Vm struct {
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Services []ProjectServices `json:"services,omitempty"`
Flavour string `json:"flavour,omitempty"`
ModifiedOn time.Time `json:"modifiedOn,omitempty"`
ModifiedBy string `json:"modifiedBy,omitempty"`
CreatedBy string `json:"createdBy,omitempty"`
CreatedOn time.Time `json:"createdOn,omitempty"`
AccessRights []string `json:"accessRights,omitempty"`
Processing bool `json:"processing,omitempty"`
Created bool `json:"created,omitempty"`
Queue []Event `json:"queue,omitempty"`
State string `json:"state,omitempty"`
Tag map[string]string `json:"tag,omitempty"`
Project string `json:"project,omitempty"`
SourceImage VmSourceImage `json:"sourceImage,omitempty"`
UserMetadata string `json:"userMetadata,omitempty"`
Cpu float32 `json:"cpu,omitempty"`
Memory float32 `json:"memory,omitempty"`
Data VmData `json:"data,omitempty"`
Fqdn string `json:"fqdn,omitempty"`
}