/
model_vps_snapshot_schedule.go
31 lines (29 loc) · 1.22 KB
/
model_vps_snapshot_schedule.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
/*
* Hivelocity API
*
* Interact with Hivelocity
*
* API version: 2.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package swagger
type VpsSnapshotSchedule struct {
// The unique ID associated with the snapshot schedule.
SnapshotScheduleId string `json:"snapshotScheduleId,omitempty"`
// The minute of the hour to run the snapshot process (0-59).
Minute int32 `json:"minute,omitempty"`
// The unique ID of the VPS instance volume to take a snapshot of.
VolumeId string `json:"volumeId,omitempty"`
// The day of the month to run the snapshot process (1-28).
Day int32 `json:"day,omitempty"`
// The day of the week to run the snapshot process (1-7 with 1 being Monday).
Weekday int32 `json:"weekday,omitempty"`
// Snapshot interval options: HOURLY, DAILY, WEEKLY, MONTHLY.
IntervalType string `json:"intervalType,omitempty"`
// The maximum number of snapshots to take within the interval period.
MaxSnapshots int32 `json:"maxSnapshots,omitempty"`
// The hour of the day to run the snapshot process (0-23).
Hour int32 `json:"hour,omitempty"`
// The timezone to use for the snapshot schedule in IANA format. Example: America/New_York.
Timezone string `json:"timezone,omitempty"`
}