mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
43 lines
808 B
TypeScript
43 lines
808 B
TypeScript
import { DSpaceObject } from "./dspace-object.model";
|
|
import { Bundle } from "./bundle.model";
|
|
import { RemoteData } from "../data/remote-data";
|
|
|
|
export class Bitstream extends DSpaceObject {
|
|
|
|
/**
|
|
* The size of this bitstream in bytes(?)
|
|
*/
|
|
size: number;
|
|
|
|
/**
|
|
* The relative path to this Bitstream's file
|
|
*/
|
|
url: string;
|
|
|
|
/**
|
|
* The mime type of this Bitstream
|
|
*/
|
|
mimetype: string;
|
|
|
|
/**
|
|
* The description of this Bitstream
|
|
*/
|
|
description: string;
|
|
|
|
/**
|
|
* An array of Bundles that are direct parents of this Bitstream
|
|
*/
|
|
parents: Array<RemoteData<Bundle>>;
|
|
|
|
/**
|
|
* The Bundle that owns this Bitstream
|
|
*/
|
|
owner: Bundle;
|
|
|
|
/**
|
|
* The Bundle that owns this Bitstream
|
|
*/
|
|
retrieve: string;
|
|
|
|
}
|