/** * The NonMigratableVmInfo model module. * @module Ntnx/NonMigratableVmInfo * @version 4.3.1 * @class NonMigratableVmInfo */ export default class NonMigratableVmInfo { /** * Constructs a NonMigratableVmInfo 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/NonMigratableVmInfo} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/NonMigratableVmInfo} The populated NonMigratableVmInfo 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 Name of the VM. * @return {string} */ getVmName(): string; /** * Sets Name of the VM. * @param {string} vmName Name of the VM. */ setVmName(vmName: string): void; vmName: string; /** * Returns UUID of the VM. * @return {string} */ getVmUuid(): string; /** * Sets UUID of the VM. * @param {string} vmUuid UUID of the VM. */ setVmUuid(vmUuid: string): void; vmUuid: string; /** * Returns Reason for a VM to be non-migratable. * @return {string} */ getNonMigratableVmReason(): string; /** * Sets Reason for a VM to be non-migratable. * @param {string} nonMigratableVmReason Reason for a VM to be non-migratable. */ setNonMigratableVmReason(nonMigratableVmReason: string): void; nonMigratableVmReason: string; /** * @return {IPAddress} */ getHostIp(): IPAddress; /** * @param {IPAddress} hostIp */ setHostIp(hostIp: IPAddress): void; hostIp: IPAddress; 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 IPAddress from "../../../common/v1/config/IPAddress"; import ValidationError from "../../../validation/ValidationError";