/** * The AutoRollupRetention model module. * @module Ntnx/AutoRollupRetention * @version 4.3.1 * @class AutoRollupRetention * * @param { AutoRollupRetentionDetails } local */ export default class AutoRollupRetention { /** * Constructs a AutoRollupRetention 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/AutoRollupRetention} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/AutoRollupRetention} The populated AutoRollupRetention 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 AutoRollupRetention. * Maintains a rolling window of recovery points for every schedule, starting with the hourly schedule and ending with the schedule created for the specified retention period. For example, if the retention period is 4 weeks, at any given time, you will have 24 of the latest hourly recovery points, 7 of the latest daily recovery points, and 4 of the latest weekly recovery points. * @alias module:Ntnx/AutoRollupRetention * * @param { AutoRollupRetentionDetails } local */ constructor(local: AutoRollupRetentionDetails); local: AutoRollupRetentionDetails; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * @return {AutoRollupRetentionDetails} */ getLocal(): AutoRollupRetentionDetails; /** * @param {AutoRollupRetentionDetails} local */ setLocal(local: AutoRollupRetentionDetails): void; /** * @return {AutoRollupRetentionDetails} */ getRemote(): AutoRollupRetentionDetails; /** * @param {AutoRollupRetentionDetails} remote */ setRemote(remote: AutoRollupRetentionDetails): void; remote: AutoRollupRetentionDetails; 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 AutoRollupRetentionDetails from "./AutoRollupRetentionDetails"; import ValidationError from "../../../validation/ValidationError";