mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 18:44:14 +00:00
30 lines
560 B
TypeScript
30 lines
560 B
TypeScript
import { ResourceType } from './resource-type';
|
|
import { CacheableObject } from '../cache/object-cache.reducer';
|
|
|
|
/**
|
|
* Model class for an external source
|
|
*/
|
|
export class ExternalSource extends CacheableObject {
|
|
static type = new ResourceType('externalsource');
|
|
|
|
/**
|
|
* Unique identifier
|
|
*/
|
|
id: string;
|
|
|
|
/**
|
|
* The name of this external source
|
|
*/
|
|
name: string;
|
|
|
|
/**
|
|
* Is the source hierarchical?
|
|
*/
|
|
hierarchical: boolean;
|
|
|
|
/**
|
|
* The link to the rest endpoint where this External Source can be found
|
|
*/
|
|
self: string;
|
|
}
|