/** * The ConvertProtectionDomainsSpec model module. * @module Ntnx/ConvertProtectionDomainsSpec * @version 4.3.1 * @class ConvertProtectionDomainsSpec * * @param { ProtectionDomainSpec[] } protectionDomainSpecs List of protection domains to be converted and migrated to entity centric data protection. */ export default class ConvertProtectionDomainsSpec { /** * Constructs a ConvertProtectionDomainsSpec 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/ConvertProtectionDomainsSpec} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/ConvertProtectionDomainsSpec} The populated ConvertProtectionDomainsSpec 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 ConvertProtectionDomainsSpec. * Model for converting protection domains to entity centric data protection. * @alias module:Ntnx/ConvertProtectionDomainsSpec * * @param { ProtectionDomainSpec[] } protectionDomainSpecs List of protection domains to be converted and migrated to entity centric data protection. */ constructor(protectionDomainSpecs: ProtectionDomainSpec[]); protectionDomainSpecs: ProtectionDomainSpec[]; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns List of protection domains to be converted and migrated to entity centric data protection. * @return {ProtectionDomainSpec[]} */ getProtectionDomainSpecs(): ProtectionDomainSpec[]; /** * Sets List of protection domains to be converted and migrated to entity centric data protection. * @param {ProtectionDomainSpec[]} protectionDomainSpecs List of protection domains to be converted and migrated to entity centric data protection. */ setProtectionDomainSpecs(protectionDomainSpecs: ProtectionDomainSpec[]): void; 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 ProtectionDomainSpec from "./ProtectionDomainSpec"; import ValidationError from "../../../validation/ValidationError";