asposewordscloud
Version:
Aspose.Words Cloud SDK for Node.js
35 lines (34 loc) • 1.03 kB
TypeScript
import { AttributeInfo } from '../internal/attributeInfo';
import { ProtectionRequestBase } from './protectionRequestBase';
export declare const importsMapProtectionRequest: {
ProtectionRequestBase: typeof ProtectionRequestBase;
};
/**
* Request on changing of protection.
* @deprecated ProtectionRequest is deprecated and remains for backwards compatibility only.
*/
export declare class ProtectionRequest extends ProtectionRequestBase {
/**
* Attribute type map
*/
static attributeTypeMap: Array<AttributeInfo>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): AttributeInfo[];
/**
* Gets or sets the new password.
*/
newPassword: string;
/**
* Gets or sets the current password.
*/
password: string;
/**
* Gets or sets the new type of protection.
*/
protectionType: string;
constructor(init?: Partial<ProtectionRequest>);
collectFilesContent(_resultFilesContent: Array<any>): void;
validate(): void;
}