mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
24 lines
695 B
TypeScript
24 lines
695 B
TypeScript
import { autoserialize, inheritSerialization } from 'cerialize';
|
|
import { typedObject } from '../../cache/builders/build-decorators';
|
|
import { excludeFromEquals } from '../../utilities/equals.decorators';
|
|
import { ResourceType } from '../../shared/resource-type';
|
|
import { HALResource } from '../../shared/hal-resource.model';
|
|
import { SUBMISSION_CC_LICENSE_URL } from './submission-cc-licence-link.resource-type';
|
|
|
|
@typedObject
|
|
@inheritSerialization(HALResource)
|
|
export class SubmissionCcLicenceUrl extends HALResource {
|
|
|
|
static type = SUBMISSION_CC_LICENSE_URL;
|
|
|
|
/**
|
|
* The object type
|
|
*/
|
|
@excludeFromEquals
|
|
@autoserialize
|
|
type: ResourceType;
|
|
|
|
@autoserialize
|
|
url: string;
|
|
}
|