/** * The BundleMetadata model module. * @module Ntnx/BundleMetadata * @version 4.3.1 * @class BundleMetadata * * @param { BundleArtifactRef } artifactRef */ export default class BundleMetadata { /** * Constructs a BundleMetadata 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/BundleMetadata} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/BundleMetadata} The populated BundleMetadata 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 BundleMetadata. * Container for bundle metadata including applications (required) and artifact references (required). * @alias module:Ntnx/BundleMetadata * * @param { BundleArtifactRef } artifactRef */ constructor(artifactRef: BundleArtifactRef); artifactRef: BundleArtifactRef; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * @return {BundleArtifactRef} */ getArtifactRef(): BundleArtifactRef; /** * @param {BundleArtifactRef} artifactRef */ setArtifactRef(artifactRef: BundleArtifactRef): void; /** * Returns List of applications contained in the application bundle. Required for APPLICATION bundles. * @return {BundleApplication[]} */ getApplications(): BundleApplication[]; /** * Sets List of applications contained in the application bundle. Required for APPLICATION bundles. * @param {BundleApplication[]} applications List of applications contained in the application bundle. Required for APPLICATION bundles. */ setApplications(applications: BundleApplication[]): void; applications: BundleApplication[]; 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 BundleArtifactRef from "./BundleArtifactRef"; import BundleApplication from "./BundleApplication"; import ValidationError from "../../../validation/ValidationError";