/** * The ClusterStorageClass model module. * @module Ntnx/ClusterStorageClass * @version 4.3.1 * @class ClusterStorageClass * * @param { string } name Unique name of the storage class. The name is used to refer to the storage class. */ export default class ClusterStorageClass { /** * Constructs a ClusterStorageClass 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/ClusterStorageClass} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/ClusterStorageClass} The populated ClusterStorageClass 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 ClusterStorageClass. * Storage Class to be used by the cluster. * @alias module:Ntnx/ClusterStorageClass * * @param { string } name Unique name of the storage class. The name is used to refer to the storage class. */ constructor(name: string); name: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns Unique name of the storage class. The name is used to refer to the storage class. * @return {string} */ getName(): string; /** * Sets Unique name of the storage class. The name is used to refer to the storage class. * @param {string} name Unique name of the storage class. The name is used to refer to the storage class. */ setName(name: string): void; /** * @return {string} */ getDescription(): string; /** * @param {string} description */ setDescription(description: string): void; description: string; /** * Returns MountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. * @return {string} */ getMountOptions(): string; /** * Sets MountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. * @param {string} mountOptions MountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. */ setMountOptions(mountOptions: string): void; mountOptions: string; /** * Returns Controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. * @return {string} */ getReclaimPolicy(): string; /** * Sets Controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. * @param {string} reclaimPolicy Controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. */ setReclaimPolicy(reclaimPolicy: string): void; reclaimPolicy: string; /** * Returns Storage type for the storage class. e.g. NutanixVolumes * @return {string} */ getStorageType(): string; /** * Sets Storage type for the storage class. e.g. NutanixVolumes * @param {string} storageType Storage type for the storage class. e.g. NutanixVolumes */ setStorageType(storageType: string): void; storageType: string; /** * Returns Whether this storage class is marked as the default one. * @return {boolean} */ getIsDefaultStorageClass(): boolean; /** * Sets Whether this storage class is marked as the default one. * @param {boolean} isDefaultStorageClass Whether this storage class is marked as the default one. */ setIsDefaultStorageClass(isDefaultStorageClass: boolean): void; isDefaultStorageClass: boolean; /** * @return {NutanixStorageClass} */ getNutanixStorageClass(): NutanixStorageClass; /** * @param {NutanixStorageClass} nutanixStorageClass */ setNutanixStorageClass(nutanixStorageClass: NutanixStorageClass): void; nutanixStorageClass: NutanixStorageClass; 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 NutanixStorageClass from "./NutanixStorageClass"; import ValidationError from "../../../validation/ValidationError";