C:/GoDev/src/TCSTK-Angular/projects/tibco-tcstk/tc-liveapps-lib/src/lib/models/tc-document.ts
Deserializable
Properties |
Methods |
checksum |
Type : string
|
creationDate |
Type : string
|
descriptor |
Type : string
|
extRef |
Type : string
|
id |
Type : string
|
lastModifiedBy |
Type : string
|
lastModifiedDate |
Type : string
|
latestVersion |
Type : string
|
latestVersionId |
Type : string
|
name |
Type : string
|
owner |
Type : string
|
ownerSandbox |
Type : string
|
ownerSub |
Type : string
|
publisedVersionId |
Type : string
|
publishedVersion |
Type : string
|
tags |
Type : DocTags[]
|
deserialize | ||||||
deserialize(input: any)
|
||||||
Parameters :
|
import {Deserializable} from '@tibco-tcstk/tc-core-lib';
import {UserInfo} from './liveappsdata';
export class DocumentAction implements Deserializable {
action: string;
document: Document;
deserialize(input: any) {
Object.assign(this, input);
return this;
}
}
export class Document implements Deserializable {
artifactCheckSum: string;
artifactRef: string;
artifactVersion: string;
author: number;
authorDetails: UserInfo;
creationDate: Date;
description: string;
id: string;
lastModifiedBy: string;
lastModifiedByDetails: UserInfo;
lastModifiedDate: Date;
mimeType: string;
name: string;
ownerApp: string;
size: string;
fileSize: string;
extension: string;
fileIcon: string;
deserialize(input: any) {
Object.assign(this, input);
return this;
}
}
export class DocumentList implements Deserializable {
documents: Document[];
deserialize(input: any): this {
this.documents = [];
Object.assign(this.documents, input);
return this;
}
}
export class OrgFolder implements Deserializable {
id: string;
name: string;
owner: string;
ownerSub: string;
ownerSandbox: string;
creationDate: string;
lastModifiedDate: string;
lastModifiedBy: string;
publishedVersion: string;
latestVersion: string;
publisedVersionId: string;
latestVersionId: string;
checksum: string;
extRef: string;
tags: DocTags[];
descriptor: string;
deserialize(input: any): this {
Object.assign(this, input);
return this;
}
}
export class DocTags implements Deserializable {
id: string;
name: string;
ownerSub: string;
deserialize(input: any): this {
return this;
}
}