/** * The StretchStatus model module. * @module Ntnx/StretchStatus * @version 4.4.1 * @class StretchStatus */ export default class StretchStatus { /** * Constructs a StretchStatus 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/StretchStatus} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/StretchStatus} The populated StretchStatus 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 Detailed text describing the runtime status of this stretch configuration. * @return {string} */ getDetail(): string; /** * Sets Detailed text describing the runtime status of this stretch configuration. * @param {string} detail Detailed text describing the runtime status of this stretch configuration. */ setDetail(detail: string): void; detail: string; /** * @return {State} */ getTunnelState(): State; /** * @param {State} tunnelState */ setTunnelState(tunnelState: State): void; tunnelState: string; /** * @return {State} */ getInterfaceState(): State; /** * @param {State} interfaceState */ setInterfaceState(interfaceState: State): void; interfaceState: string; /** * Returns The round-trip time, in milliseconds, between subnets in this stretch configuration. * @return {Number} */ getRoundTripTimeMillis(): number; /** * Sets The round-trip time, in milliseconds, between subnets in this stretch configuration. * @param {Number} roundTripTimeMillis The round-trip time, in milliseconds, between subnets in this stretch configuration. */ setRoundTripTimeMillis(roundTripTimeMillis: number): void; roundTripTimeMillis: 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 State from "./State"; import ValidationError from "../../../validation/ValidationError";