/** * The DisasterRecoveryLocation model module. * @module Ntnx/DisasterRecoveryLocation * @version 4.3.1 * @class DisasterRecoveryLocation * * @param { string } domainManagerExtId External identifier of the Domain manager. */ export default class DisasterRecoveryLocation { /** * Constructs a DisasterRecoveryLocation 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/DisasterRecoveryLocation} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/DisasterRecoveryLocation} The populated DisasterRecoveryLocation 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 DisasterRecoveryLocation. * Details of disaster recovery location * @alias module:Ntnx/DisasterRecoveryLocation * * @param { string } domainManagerExtId External identifier of the Domain manager. */ constructor(domainManagerExtId: string); domainManagerExtId: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns External identifier of the Domain manager. * @return {string} */ getDomainManagerExtId(): string; /** * Sets External identifier of the Domain manager. * @param {string} domainManagerExtId External identifier of the Domain manager. */ setDomainManagerExtId(domainManagerExtId: string): void; /** * Returns List of Prism Element cluster external references. Required in the scenario when both primary and secondary Prism Elements are managed by the same Domain manager. * @return {EntityReference[]} */ getClusters(): EntityReference[]; /** * Sets List of Prism Element cluster external references. Required in the scenario when both primary and secondary Prism Elements are managed by the same Domain manager. * @param {EntityReference[]} clusters List of Prism Element cluster external references. Required in the scenario when both primary and secondary Prism Elements are managed by the same Domain manager. */ setClusters(clusters: EntityReference[]): void; clusters: EntityReference[]; 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 EntityReference from "./EntityReference"; import ValidationError from "../../../validation/ValidationError";