@lxdhub/api
Version:
Display, search and copy LXD-images using a web interface.
31 lines (28 loc) • 661 B
text/typescript
import { Type } from 'class-transformer';
import { IsDefined, IsInt, Min } from 'class-validator';
import { ApiModelProperty } from '@nestjs/swagger';
/**
* The CloneImageDto represents the data
* transfer object, which is used for defining
* the options to clone an image
*/
export class CloneImageDto {
/**
* The id of the source remote
*/
sourceRemoteId: number;
/**
* The id of the destination remote
*/
destinationRemoteId: number;
}