/**
* The CategoryAssociationSummaryOld model module.
* @module Ntnx/CategoryAssociationSummaryOld
* @version 4.4.2
* @class CategoryAssociationSummaryOld
*/
export default class CategoryAssociationSummaryOld {
/**
* Constructs a CategoryAssociationSummaryOld 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/CategoryAssociationSummaryOld} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/CategoryAssociationSummaryOld} The populated CategoryAssociationSummaryOld 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 External identifier for the given category.
* @return {string}
*/
getCategoryId(): string;
/**
* Sets External identifier for the given category.
* @param {string} categoryId External identifier for the given category.
*/
setCategoryId(categoryId: string): void;
categoryId: string;
/**
* @return {ResourceType}
*/
getResourceType(): ResourceType;
/**
* @param {ResourceType} resourceType
*/
setResourceType(resourceType: ResourceType): void;
resourceType: any;
/**
* @return {ResourceGroup}
*/
getResourceGroup(): ResourceGroup;
/**
* @param {ResourceGroup} resourceGroup
*/
setResourceGroup(resourceGroup: ResourceGroup): void;
resourceGroup: string;
/**
* Returns Denotes the type of a category.
There are three types of categories: SYSTEM, INTERNAL, and USER.
This field is immutable.
* @return {Number}
*/
getCount(): number;
/**
* Sets Denotes the type of a category.
There are three types of categories: SYSTEM, INTERNAL, and USER.
This field is immutable.
* @param {Number} count Denotes the type of a category.
There are three types of categories: SYSTEM, INTERNAL, and USER.
This field is immutable.
*/
setCount(count: number): void;
count: 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 ResourceGroup from "./ResourceGroup";
import ValidationError from "../../../validation/ValidationError";