/** * The InGuestScriptExecutionConfig model module. * @module Ntnx/InGuestScriptExecutionConfig * @version 4.3.1 * @class InGuestScriptExecutionConfig * * @param { boolean } isEnabled Enable in-guest script execution for the VM. By default, the in-guest script execution is disabled. */ export default class InGuestScriptExecutionConfig { /** * Constructs a InGuestScriptExecutionConfig 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/InGuestScriptExecutionConfig} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/InGuestScriptExecutionConfig} The populated InGuestScriptExecutionConfig 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; /** * Constructs a new InGuestScriptExecutionConfig. * In guest script. * @alias module:Ntnx/InGuestScriptExecutionConfig * * @param { boolean } isEnabled Enable in-guest script execution for the VM. By default, the in-guest script execution is disabled. */ constructor(isEnabled: boolean); isEnabled: boolean; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns Enable in-guest script execution for the VM. By default, the in-guest script execution is disabled. * @return {boolean} */ getIsEnabled(): boolean; /** * Sets Enable in-guest script execution for the VM. By default, the in-guest script execution is disabled. * @param {boolean} isEnabled Enable in-guest script execution for the VM. By default, the in-guest script execution is disabled. */ setIsEnabled(isEnabled: boolean): void; /** * Returns Maximum time in seconds to wait for the in-guest script execution to complete. * minimum: 0 * @return {Number} */ getTimeoutSecs(): number; /** * Sets Maximum time in seconds to wait for the in-guest script execution to complete. * @param {Number} timeoutSecs Maximum time in seconds to wait for the in-guest script execution to complete. */ setTimeoutSecs(timeoutSecs: number): void; timeoutSecs: 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";