/**
* The Metadata model module.
* @module Ntnx/Metadata
* @version 4.4.1
* @class Metadata
*/
export default class Metadata {
/**
* Constructs a Metadata 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/Metadata} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/Metadata} The populated Metadata 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 A globally unique identifier that represents the owner of this resource.
* @return {string}
*/
getOwnerReferenceId(): string;
/**
* Sets A globally unique identifier that represents the owner of this resource.
* @param {string} ownerReferenceId A globally unique identifier that represents the owner of this resource.
*/
setOwnerReferenceId(ownerReferenceId: string): void;
ownerReferenceId: string;
/**
* Returns The userName of the owner of this resource.
* @return {string}
*/
getOwnerUserName(): string;
/**
* Sets The userName of the owner of this resource.
* @param {string} ownerUserName The userName of the owner of this resource.
*/
setOwnerUserName(ownerUserName: string): void;
ownerUserName: string;
/**
* Returns A globally unique identifier that represents the project this resource belongs to.
* @return {string}
*/
getProjectReferenceId(): string;
/**
* Sets A globally unique identifier that represents the project this resource belongs to.
* @param {string} projectReferenceId A globally unique identifier that represents the project this resource belongs to.
*/
setProjectReferenceId(projectReferenceId: string): void;
projectReferenceId: string;
/**
* Returns The name of the project this resource belongs to.
* @return {string}
*/
getProjectName(): string;
/**
* Sets The name of the project this resource belongs to.
* @param {string} projectName The name of the project this resource belongs to.
*/
setProjectName(projectName: string): void;
projectName: string;
/**
* Returns A list of globally unique identifiers that represent all the categories the resource is associated with.
* @return {string[]}
*/
getCategoryIds(): string[];
/**
* Sets A list of globally unique identifiers that represent all the categories the resource is associated with.
* @param {string[]} categoryIds A list of globally unique identifiers that represent all the categories the resource is associated with.
*/
setCategoryIds(categoryIds: string[]): void;
categoryIds: string[];
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";