/** * The RefreshResourcesSpec model module. * @module Ntnx/RefreshResourcesSpec * @version 4.3.1 * @class RefreshResourcesSpec */ export default class RefreshResourcesSpec { /** * Constructs a RefreshResourcesSpec 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/RefreshResourcesSpec} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/RefreshResourcesSpec} The populated RefreshResourcesSpec 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 List of group IDs to refresh resources for. Mandatory param if it's cisco connection * @return {string[]} */ getGroupIds(): string[]; /** * Sets List of group IDs to refresh resources for. Mandatory param if it's cisco connection * @param {string[]} groupIds List of group IDs to refresh resources for. Mandatory param if it's cisco connection */ setGroupIds(groupIds: string[]): void; groupIds: string[]; /** * Returns Whether to refresh MAC pools from the hardware provider. Default is true * @return {boolean} */ getShouldRefreshMacPools(): boolean; /** * Sets Whether to refresh MAC pools from the hardware provider. Default is true * @param {boolean} shouldRefreshMacPools Whether to refresh MAC pools from the hardware provider. Default is true */ setShouldRefreshMacPools(shouldRefreshMacPools: boolean): void; shouldRefreshMacPools: boolean; /** * Returns Whether to refresh IP pools from the hardware provider. Default is true * @return {boolean} */ getShouldRefreshIpPools(): boolean; /** * Sets Whether to refresh IP pools from the hardware provider. Default is true * @param {boolean} shouldRefreshIpPools Whether to refresh IP pools from the hardware provider. Default is true */ setShouldRefreshIpPools(shouldRefreshIpPools: boolean): void; shouldRefreshIpPools: boolean; /** * Returns Whether to refresh server identity pools from the hardware provider. Default is true * @return {boolean} */ getShouldRefreshServerIdentityPools(): boolean; /** * Sets Whether to refresh server identity pools from the hardware provider. Default is true * @param {boolean} shouldRefreshServerIdentityPools Whether to refresh server identity pools from the hardware provider. Default is true */ setShouldRefreshServerIdentityPools(shouldRefreshServerIdentityPools: boolean): void; shouldRefreshServerIdentityPools: boolean; 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 ValidationError from "../../../validation/ValidationError";