mirror of https://github.com/portainer/portainer
20 lines
591 B
JavaScript
20 lines
591 B
JavaScript
export function ScheduleCreateRequest(model) {
|
|
this.Name = model.Name;
|
|
this.Recurring = model.Recurring;
|
|
this.CronExpression = model.CronExpression;
|
|
this.Endpoints = model.Endpoints;
|
|
this.FileContent = model.FileContent;
|
|
this.File = model.File;
|
|
this.EdgeGroups = model.EdgeGroups;
|
|
}
|
|
|
|
export function ScheduleUpdateRequest(model) {
|
|
this.id = model.Id;
|
|
this.Name = model.Name;
|
|
this.Recurring = model.Recurring;
|
|
this.CronExpression = model.CronExpression;
|
|
this.Endpoints = model.Endpoints;
|
|
this.FileContent = model.FileContent;
|
|
this.EdgeGroups = model.EdgeGroups;
|
|
}
|