/** * The Service model module. * @module Ntnx/Service * @version 4.3.1 * @class Service */ declare class Service { /** * Constructs a Service 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/Service} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/Service} The populated Service 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 {string} */ getName(): string; /** * @param {string} name */ setName(name: string): void; name: string; /** * @return {string} */ getVersion(): string; /** * @param {string} version */ setVersion(version: string): void; version: string; /** * @return {string} */ getApptype(): string; /** * @param {string} apptype */ setApptype(apptype: string): void; apptype: string; /** * @return {string} */ getExtId(): string; /** * @param {string} extId */ setExtId(extId: string): void; extId: string; /** * @return {string} */ getClusterUuid(): string; /** * @param {string} clusterUuid */ setClusterUuid(clusterUuid: string): void; clusterUuid: string; /** * @return {string} */ getAction(): string; /** * @param {string} action */ setAction(action: string): void; action: string; /** * @return {string} */ getStatus(): string; /** * @param {string} status */ setStatus(status: string): void; status: string; /** * @return {Date} */ getCreatedTimestamp(): Date; /** * @param {Date} createdTimestamp */ setCreatedTimestamp(createdTimestamp: Date): void; createdTimestamp: Date; /** * @return {Date} */ getLastUpdatedTimestamp(): Date; /** * @param {Date} lastUpdatedTimestamp */ setLastUpdatedTimestamp(lastUpdatedTimestamp: Date): void; lastUpdatedTimestamp: Date; /** * @return {boolean} */ getIsInactive(): boolean; /** * @param {boolean} isInactive */ setIsInactive(isInactive: boolean): void; isInactive: boolean; /** * @return {CustomValue[]} */ getCustomValues(): CustomValue[]; /** * @param {CustomValue[]} customValues */ setCustomValues(customValues: CustomValue[]): void; customValues: CustomValue[]; 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; } declare namespace Service { namespace ApptypeEnum { const SERVICE: string; const APPLICATION: string; } /** * * */ type ApptypeEnum = string; } export default Service; import CustomValue from "./CustomValue"; import ValidationError from "../../../validation/ValidationError";