forked from hazza/dspace-angular
CC License Submission Step - feedback
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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;
|
||||
}
|
Reference in New Issue
Block a user