/**
* The BundleArtifactRef model module.
* @module Ntnx/BundleArtifactRef
* @version 4.3.1
* @class BundleArtifactRef
*
* @param { string } artifactClass Class of the artifact (e.g., PC Core Cluster).
*
* @param { string } artifactModel Model of the artifact (e.g., Nutanix Cloud Manager).
*
* @param { string } artifactVersion Version of the artifact (e.g., 1.0.0).
*/
export default class BundleArtifactRef {
/**
* Constructs a BundleArtifactRef 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/BundleArtifactRef} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/BundleArtifactRef} The populated BundleArtifactRef 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 BundleArtifactRef.
* Metadata describing the artifact reference. Required when publishing APPLICATION bundles; on cluster create requests, used to select the platform bundle to deploy.
* @alias module:Ntnx/BundleArtifactRef
*
* @param { string } artifactClass Class of the artifact (e.g., PC Core Cluster).
*
* @param { string } artifactModel Model of the artifact (e.g., Nutanix Cloud Manager).
*
* @param { string } artifactVersion Version of the artifact (e.g., 1.0.0).
*/
constructor(artifactClass: string, artifactModel: string, artifactVersion: string);
artifactClass: string;
artifactModel: string;
artifactVersion: string;
$objectType: string;
/** @type {object} */
$reserved: object;
/** @type {object} */
$unknownFields: object;
/**
* Returns Class of the artifact (e.g., PC Core Cluster).
* @return {string}
*/
getArtifactClass(): string;
/**
* Sets Class of the artifact (e.g., PC Core Cluster).
* @param {string} artifactClass Class of the artifact (e.g., PC Core Cluster).
*/
setArtifactClass(artifactClass: string): void;
/**
* Returns Model of the artifact (e.g., Nutanix Cloud Manager).
* @return {string}
*/
getArtifactModel(): string;
/**
* Sets Model of the artifact (e.g., Nutanix Cloud Manager).
* @param {string} artifactModel Model of the artifact (e.g., Nutanix Cloud Manager).
*/
setArtifactModel(artifactModel: string): void;
/**
* Returns Version of the artifact (e.g., 1.0.0).
* @return {string}
*/
getArtifactVersion(): string;
/**
* Sets Version of the artifact (e.g., 1.0.0).
* @param {string} artifactVersion Version of the artifact (e.g., 1.0.0).
*/
setArtifactVersion(artifactVersion: 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";