/** * The GetEntityByIdApiResponse model module. * @module Ntnx/GetEntityByIdApiResponse * @version 4.3.1 * @class GetEntityByIdApiResponse */ export default class GetEntityByIdApiResponse extends Paginable { /** * Constructs a GetEntityByIdApiResponse 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/GetEntityByIdApiResponse} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/GetEntityByIdApiResponse} The populated GetEntityByIdApiResponse 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; /** * @return {ApiResponseMetadata} */ getMetadata(): ApiResponseMetadata; /** * @param {ApiResponseMetadata} metadata */ setMetadata(metadata: ApiResponseMetadata): void; metadata: ApiResponseMetadata; /** * @return {Entity | ErrorResponse} */ getData(): Entity | ErrorResponse; /** * @param {Entity | ErrorResponse} data */ setData(data: Entity | ErrorResponse): void; data: ErrorResponse | Entity; 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 Paginable from "../../../../Paginable"; import ApiResponseMetadata from "../../../common/v1/response/ApiResponseMetadata"; import Entity from "./Entity"; import ErrorResponse from "../error/ErrorResponse"; import ValidationError from "../../../validation/ValidationError";