/
model_device_update_input.go
36 lines (24 loc) · 1.11 KB
/
model_device_update_input.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* Metal API
*
* This is the API for Equinix Metal. The API allows you to programmatically interact with all of your Equinix Metal resources, including devices, networks, addresses, organizations, projects, and your user account. The official API docs are hosted at <https://metal.equinix.com/developers/api>.
*
* API version: 1.0.0
* Contact: support@equinixmetal.com
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package startapi
type DeviceUpdateInput struct {
AlwaysPxe bool `json:"always_pxe,omitempty"`
BillingCycle string `json:"billing_cycle,omitempty"`
Customdata map[string]interface{} `json:"customdata,omitempty"`
Description string `json:"description,omitempty"`
Hostname string `json:"hostname,omitempty"`
IpxeScriptUrl string `json:"ipxe_script_url,omitempty"`
Locked bool `json:"locked,omitempty"`
// If true, this instance can not be converted to a different network type.
NetworkFrozen bool `json:"network_frozen,omitempty"`
SpotInstance bool `json:"spot_instance,omitempty"`
Tags []string `json:"tags,omitempty"`
Userdata string `json:"userdata,omitempty"`
}