UNPKG

@asposecloud/aspose-email-cloud

Version:
57 lines (56 loc) 1.4 kB
import * as model from "./index"; /** * A storage file location information */ export declare class StorageFileLocation extends model.StorageFolderLocation { /** * Attribute type map */ static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; /** * Returns attribute type map */ static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; /** * A file name in storage */ fileName: string; /** * A storage file location information * @param storage A storage name * @param folderPath A path to a folder in specified storage * @param fileName A file name in storage */ constructor(storage?: string, folderPath?: string, fileName?: string); } /** * StorageFileLocation model builder */ export declare class StorageFileLocationBuilder { private readonly model; constructor(model: StorageFileLocation); /** * Build model. */ build(): StorageFileLocation; /** * A storage name */ storage(storage: string): StorageFileLocationBuilder; /** * A path to a folder in specified storage */ folderPath(folderPath: string): StorageFileLocationBuilder; /** * A file name in storage */ fileName(fileName: string): StorageFileLocationBuilder; }