/** * The UploadInfo model module. * @module Ntnx/UploadInfo * @version 4.3.1 * @class UploadInfo */ export default class UploadInfo { /** * Constructs a UploadInfo from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {module:Ntnx/UploadInfo} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/UploadInfo} The populated UploadInfo instance. */ static constructFromObject(data: any, obj?: any, callFromChild?: boolean): any; /** * Converts a given snake_case string to camelCase. * @param {string} snakeStr - The input string in snake_case format. * @returns {string} - The converted string in camelCase format. */ static snakeToCamel(snakeStr: string): string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns LCM subrepo name. * @return {string} */ getName(): string; /** * Sets LCM subrepo name. * @param {string} name LCM subrepo name. */ setName(name: string): void; name: string; /** * @return {BundleType} */ getType(): BundleType; /** * @param {BundleType} type */ setType(type: BundleType): void; type: any; /** * Returns SHA-256 checksum algorithm. * @return {LcmSha256Sum | LcmMd5Sum} */ getChecksum(): LcmSha256Sum | LcmMd5Sum; /** * Sets SHA-256 checksum algorithm. * @param {LcmSha256Sum | LcmMd5Sum} checksum SHA-256 checksum algorithm. */ setChecksum(checksum: LcmSha256Sum | LcmMd5Sum): void; checksum: LcmMd5Sum | LcmSha256Sum; get$Reserved(): any; get$ObjectType(): string; get$UnknownFields(): any; toJson(forMutation: any): any; validate(scope: any, properties: any, ...args: any[]): Promise; validateProperty(scope: any, property: any): ValidationError; #private; } import LcmSha256Sum from "../common/LcmSha256Sum"; import LcmMd5Sum from "../common/LcmMd5Sum"; import ValidationError from "../../../validation/ValidationError";