-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
189 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** | ||
* Backup Wizard API | ||
* An API to communicate with the backup wizard daemon | ||
* | ||
* The version of the OpenAPI document: 1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
import { Schedule } from './schedule'; | ||
import { Retention } from './retention'; | ||
|
||
|
||
export interface Policy { | ||
id: string; | ||
retentions: Array<Retention>; | ||
schedules: Array<Schedule>; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* Backup Wizard API | ||
* An API to communicate with the backup wizard daemon | ||
* | ||
* The version of the OpenAPI document: 1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
import { RetentionKind } from './retentionKind'; | ||
|
||
|
||
export interface Retention { | ||
kind: RetentionKind; | ||
/** | ||
* The amount of backups to keep | ||
*/ | ||
amount: number; | ||
} | ||
export namespace Retention { | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** | ||
* Backup Wizard API | ||
* An API to communicate with the backup wizard daemon | ||
* | ||
* The version of the OpenAPI document: 1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
export type RetentionKind = 'hourly' | 'daily' | 'weekly' | 'monthly'; | ||
|
||
export const RetentionKind = { | ||
Hourly: 'hourly' as RetentionKind, | ||
Daily: 'daily' as RetentionKind, | ||
Weekly: 'weekly' as RetentionKind, | ||
Monthly: 'monthly' as RetentionKind | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/** | ||
* Backup Wizard API | ||
* An API to communicate with the backup wizard daemon | ||
* | ||
* The version of the OpenAPI document: 1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
import { RetentionKind } from './retentionKind'; | ||
import { Weekday } from './weekday'; | ||
|
||
|
||
export interface Schedule { | ||
kind: RetentionKind; | ||
weekday: Weekday; | ||
time: string; | ||
} | ||
export namespace Schedule { | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* Backup Wizard API | ||
* An API to communicate with the backup wizard daemon | ||
* | ||
* The version of the OpenAPI document: 1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
export type Weekday = 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday'; | ||
|
||
export const Weekday = { | ||
Monday: 'monday' as Weekday, | ||
Tuesday: 'tuesday' as Weekday, | ||
Wednesday: 'wednesday' as Weekday, | ||
Thursday: 'thursday' as Weekday, | ||
Friday: 'friday' as Weekday, | ||
Saturday: 'saturday' as Weekday, | ||
Sunday: 'sunday' as Weekday | ||
}; | ||
|