summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole3/frontend/src/app/model/image.ts
blob: 2d52cf6334b5b539062a3b4531b8fccd1abd5082 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { Resource } from 'globunet-angular/core/models/api/resource';
import {Repository} from './repository';
import {Client} from './client';
import {SoftwareProfile} from './software-profile';

export class PartitionInfo {
  numDisk: number;
  numPartition: number;
  partitionCode: string;
  filesystem: string;
  osName: string;
}

export class Image extends Resource {
  public canonicalName = '';
  public repository: Repository = new Repository();
  public description = '';
  public comments = '';
  public revision: string;
  public createdAt: Date;
  public softwareProfile: SoftwareProfile;
  public partitionInfo: PartitionInfo;
  public client?: Client;
}