/**
* The AutoRollupRetentionDetails model module.
* @module Ntnx/AutoRollupRetentionDetails
* @version 4.3.1
* @class AutoRollupRetentionDetails
*
* @param { SnapshotIntervalType } snapshotIntervalType
*
* @param { Number } frequency Multiplier to 'snapshotIntervalType'. For example, if 'snapshotIntervalType' is 'YEARLY' and 'multiple' is 5, then 5 years worth of rollup snapshots will be retained.
*/
export default class AutoRollupRetentionDetails {
/**
* Constructs a AutoRollupRetentionDetails 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/AutoRollupRetentionDetails} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/AutoRollupRetentionDetails} The populated AutoRollupRetentionDetails 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 AutoRollupRetentionDetails.
* Specifies the auto rollup retention details.
* @alias module:Ntnx/AutoRollupRetentionDetails
*
* @param { SnapshotIntervalType } snapshotIntervalType
*
* @param { Number } frequency Multiplier to 'snapshotIntervalType'. For example, if 'snapshotIntervalType' is 'YEARLY' and 'multiple' is 5, then 5 years worth of rollup snapshots will be retained.
*/
constructor(snapshotIntervalType: SnapshotIntervalType, frequency: number);
snapshotIntervalType: string;
frequency: number;
$objectType: string;
/** @type {object} */
$reserved: object;
/** @type {object} */
$unknownFields: object;
/**
* @return {SnapshotIntervalType}
*/
getSnapshotIntervalType(): SnapshotIntervalType;
/**
* @param {SnapshotIntervalType} snapshotIntervalType
*/
setSnapshotIntervalType(snapshotIntervalType: SnapshotIntervalType): void;
/**
* Returns Multiplier to 'snapshotIntervalType'. For example, if 'snapshotIntervalType' is 'YEARLY' and 'multiple' is 5, then 5 years worth of rollup snapshots will be retained.
* minimum: 1
* maximum: 24
* @return {Number}
*/
getFrequency(): number;
/**
* Sets Multiplier to 'snapshotIntervalType'. For example, if 'snapshotIntervalType' is 'YEARLY' and 'multiple' is 5, then 5 years worth of rollup snapshots will be retained.
* @param {Number} frequency Multiplier to 'snapshotIntervalType'. For example, if 'snapshotIntervalType' is 'YEARLY' and 'multiple' is 5, then 5 years worth of rollup snapshots will be retained.
*/
setFrequency(frequency: number): 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 SnapshotIntervalType from "./SnapshotIntervalType";
import ValidationError from "../../../validation/ValidationError";