/** * The ReplicationConfiguration model module. * @module Ntnx/ReplicationConfiguration * @version 4.3.1 * @class ReplicationConfiguration * * @param { string } sourceLocationLabel Label of the source location from the replication locations list, where the entity is running. The location of type MST can not be specified as the replication source. * * @param { Schedule } schedule */ export default class ReplicationConfiguration { /** * Constructs a ReplicationConfiguration 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/ReplicationConfiguration} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/ReplicationConfiguration} The populated ReplicationConfiguration 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 ReplicationConfiguration. * Specifies the connections between various replication locations and its schedule. Connections from both source-to-target and target-to-source should be specified. * @alias module:Ntnx/ReplicationConfiguration * * @param { string } sourceLocationLabel Label of the source location from the replication locations list, where the entity is running. The location of type MST can not be specified as the replication source. * * @param { Schedule } schedule */ constructor(sourceLocationLabel: string, schedule: Schedule); sourceLocationLabel: string; schedule: Schedule; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns Label of the source location from the replication locations list, where the entity is running. The location of type MST can not be specified as the replication source. * @return {string} */ getSourceLocationLabel(): string; /** * Sets Label of the source location from the replication locations list, where the entity is running. The location of type MST can not be specified as the replication source. * @param {string} sourceLocationLabel Label of the source location from the replication locations list, where the entity is running. The location of type MST can not be specified as the replication source. */ setSourceLocationLabel(sourceLocationLabel: string): void; /** * Returns Label of the source location from the replication locations list, where the entity will be replicated. * @return {string} */ getRemoteLocationLabel(): string; /** * Sets Label of the source location from the replication locations list, where the entity will be replicated. * @param {string} remoteLocationLabel Label of the source location from the replication locations list, where the entity will be replicated. */ setRemoteLocationLabel(remoteLocationLabel: string): void; remoteLocationLabel: string; /** * @return {Schedule} */ getSchedule(): Schedule; /** * @param {Schedule} schedule */ setSchedule(schedule: Schedule): 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 Schedule from "./Schedule"; import ValidationError from "../../../validation/ValidationError";