@@ -55,9 +55,10 @@ type MachineCreateParams struct {
5555 TeamID string `json:"teamId,omitempty"`
5656 ScriptID string `json:"scriptId,omitempty"`
5757 NetworkID string `json:"networkId,omitempty"`
58- ShutdownTimeoutInHours bool `json:"shutdownTimeoutInHours,omitempty"`
59- AssignPublicIP bool `json:"assignPublicIP,omitempty"`
60- IsManaged bool `json:"isManaged,omitempty"`
58+ ShutdownTimeoutInHours int `json:"shutdownTimeoutInHours,omitempty"`
59+ AssignPublicIP * bool `json:"assignPublicIP,omitempty"`
60+ IsManaged * bool `json:"isManaged,omitempty"`
61+ StartOnCreate * bool `json:"startOnCreate,omitempty"`
6162}
6263
6364type MachineDeleteParams struct {
@@ -86,11 +87,11 @@ type MachineUpdateParams struct {
8687 ID string `json:"machineId"`
8788 Name string `json:"machineName,omitempty"`
8889 ShutdownTimeoutInHours int `json:"shutdownTimeoutInHours,omitempty"`
89- ShutdownTimeoutForces bool `json:"shutdownTimeoutForces,omitempty"`
90+ ShutdownTimeoutForces * bool `json:"shutdownTimeoutForces,omitempty"`
9091 AutoSnapshotFrequency string `json:"autoSnapshotFrequency,omitempty"`
9192 AutoSnapshotSaveCount int `json:"autoSnapshotSaveCount,omitempty"`
92- PerformAutoSnapshot bool `json:"performAutoSnapshot,omitempty"`
93- DynamicPublicIP bool `json:"dynamicPublicIp,omitempty"`
93+ PerformAutoSnapshot * bool `json:"performAutoSnapshot,omitempty"`
94+ DynamicPublicIP * bool `json:"dynamicPublicIp,omitempty"`
9495}
9596
9697func NewMachineListParams () MachineListParams {
0 commit comments