/** * The TaskBatchSummary model module. * @module Ntnx/TaskBatchSummary * @version 4.4.2 * @class TaskBatchSummary */ export default class TaskBatchSummary { /** * Constructs a TaskBatchSummary 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/TaskBatchSummary} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/TaskBatchSummary} The populated TaskBatchSummary 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 Number of total jobs associated with the task. * @return {Number} */ getNumberOfJobs(): number; /** * Sets Number of total jobs associated with the task. * @param {Number} numberOfJobs Number of total jobs associated with the task. */ setNumberOfJobs(numberOfJobs: number): void; numberOfJobs: number; /** * Returns Number of successful jobs associated with the task. * @return {Number} */ getNumberOfJobsSuccessful(): number; /** * Sets Number of successful jobs associated with the task. * @param {Number} numberOfJobsSuccessful Number of successful jobs associated with the task. */ setNumberOfJobsSuccessful(numberOfJobsSuccessful: number): void; numberOfJobsSuccessful: number; /** * Returns Number of failed jobs associated with the task. * @return {Number} */ getNumberOfJobsFailed(): number; /** * Sets Number of failed jobs associated with the task. * @param {Number} numberOfJobsFailed Number of failed jobs associated with the task. */ setNumberOfJobsFailed(numberOfJobsFailed: number): void; numberOfJobsFailed: number; 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 ValidationError from "../../../validation/ValidationError";