blob: 8977e168d258dc2a21584e1b261ddb6a8c21271f (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
import { Resource } from 'globunet-angular/core/models/api/resource';
import {Repository} from './repository';
import {HardwareProfile} from './hardware-profile';
import {Netboot} from './netboot';
import {PartitionInfo} from './image';
export class Partition {
cacheContent: string;
filesystem: string;
id: number;
image: any;
numDisk: number;
numPartition: number;
osName: string;
partitionCode: string;
size: number;
usage: number;
}
export class Client extends Resource {
public name = '';
public mac = '';
public ip = '';
public serialno = '';
public netiface = '';
public netdriver = '';
public repository: Repository = null;
public hardwareProfile: HardwareProfile = null;
public oglive = null;
public netboot: Netboot = null;
public organizationalUnit: number;
public partitions?: PartitionInfo[]
// Variables temporales para la vista, no vienen del servidor
public status?: string;
public selected?: boolean;
public disksConfig?: any[];
}
|