/** * The GroupKind model module. * @module Ntnx/GroupKind * @version 4.3.1 * @class GroupKind * * @param { string } group API group of the resource. * * @param { string } kind Kind of the resource. */ export default class GroupKind { /** * Constructs a GroupKind 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/GroupKind} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/GroupKind} The populated GroupKind 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 GroupKind. * API group and kind pair describing a Kubernetes resource. * @alias module:Ntnx/GroupKind * * @param { string } group API group of the resource. * * @param { string } kind Kind of the resource. */ constructor(group: string, kind: string); group: string; kind: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns API group of the resource. * @return {string} */ getGroup(): string; /** * Sets API group of the resource. * @param {string} group API group of the resource. */ setGroup(group: string): void; /** * Returns Kind of the resource. * @return {string} */ getKind(): string; /** * Sets Kind of the resource. * @param {string} kind Kind of the resource. */ setKind(kind: string): 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 ValidationError from "../../../validation/ValidationError";