asposewordscloud
Version:
Aspose.Words Cloud SDK for Node.js
34 lines (33 loc) • 1.05 kB
TypeScript
import { AttributeInfo } from '../internal/attributeInfo';
import { FileLink } from './fileLink';
import { ProtectionData } from './protectionData';
import { WordsResponse } from './wordsResponse';
export declare const importsMapProtectionDataResponse: {
FileLink: typeof FileLink;
ProtectionData: typeof ProtectionData;
WordsResponse: typeof WordsResponse;
};
/**
* The REST response with data on document's protection.
*/
export declare class ProtectionDataResponse extends WordsResponse {
/**
* Attribute type map
*/
static attributeTypeMap: Array<AttributeInfo>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): AttributeInfo[];
/**
* Gets or sets the link to the document.
*/
documentLink: FileLink;
/**
* Gets or sets the protection properties of the document.
*/
protectionData: ProtectionData;
constructor(init?: Partial<ProtectionDataResponse>);
collectFilesContent(_resultFilesContent: Array<any>): void;
validate(): void;
}