mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
CST-12455_coar-7sync Refactor after branch sync
This commit is contained in:
@@ -11,50 +11,50 @@ import {NotifyServicePattern} from './ldn-service-patterns.model';
|
|||||||
@typedObject
|
@typedObject
|
||||||
@inheritSerialization(CacheableObject)
|
@inheritSerialization(CacheableObject)
|
||||||
export class LdnService extends CacheableObject {
|
export class LdnService extends CacheableObject {
|
||||||
static type = LDN_SERVICE;
|
static type = LDN_SERVICE;
|
||||||
|
|
||||||
@excludeFromEquals
|
@excludeFromEquals
|
||||||
@autoserialize
|
@autoserialize
|
||||||
type: ResourceType;
|
type: ResourceType;
|
||||||
|
|
||||||
@autoserialize
|
@autoserialize
|
||||||
id: number;
|
id: number;
|
||||||
|
|
||||||
@deserializeAs('id')
|
@deserializeAs('id')
|
||||||
uuid: string;
|
uuid: string;
|
||||||
|
|
||||||
@autoserialize
|
@autoserialize
|
||||||
name: string;
|
name: string;
|
||||||
|
|
||||||
@autoserialize
|
@autoserialize
|
||||||
description: string;
|
description: string;
|
||||||
|
|
||||||
@autoserialize
|
@autoserialize
|
||||||
url: string;
|
url: string;
|
||||||
|
|
||||||
@autoserialize
|
@autoserialize
|
||||||
score: number;
|
score: number;
|
||||||
|
|
||||||
@autoserialize
|
@autoserialize
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
|
|
||||||
@autoserialize
|
@autoserialize
|
||||||
ldnUrl: string;
|
ldnUrl: string;
|
||||||
|
|
||||||
@autoserialize
|
@autoserialize
|
||||||
notifyServiceInboundPatterns?: NotifyServicePattern[];
|
notifyServiceInboundPatterns?: NotifyServicePattern[];
|
||||||
|
|
||||||
@autoserialize
|
@autoserialize
|
||||||
notifyServiceOutboundPatterns?: NotifyServicePattern[];
|
notifyServiceOutboundPatterns?: NotifyServicePattern[];
|
||||||
|
|
||||||
@deserialize
|
@deserialize
|
||||||
_links: {
|
_links: {
|
||||||
self: {
|
self: {
|
||||||
href: string;
|
href: string;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
get self(): string {
|
get self(): string {
|
||||||
return this._links.self.href;
|
return this._links.self.href;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user