/** * The CategoryOld model module. * @module Ntnx/CategoryOld * @version 4.4.2 * @class CategoryOld * @extends CategorySummaryOld * * @param { } name The short name of this category. It may not be unique for each category.
It is a mandatory field that must be specified inside the post/put request body.
This field is immutable. */ export default class CategoryOld extends CategorySummaryOld { /** * Constructs a new CategoryOld. * Denotes the type of a category.<br> There are three types of categories: SYSTEM, INTERNAL, and USER.<br> This field is immutable. * @alias module:Ntnx/CategoryOld * @extends module:Ntnx/CategorySummaryOld * * @param { } name The short name of this category. It may not be unique for each category.
It is a mandatory field that must be specified inside the post/put request body.
This field is immutable. */ constructor(name: any); /** * Returns Opaque metadata which can be associated to a category.
It is a list of key-value pairs.
For example, for a category 'California/SanJose' we can associate a geographical coordinate based metadata like: {'latitude': '37.3382° N', 'longitude': '121.8863° W'}. The server does not validate this value nor does it enforce the uniqueness or any other constraints. It is the responsibility of the user to ensure that any semantic or syntactic constraints are retained when mutating this field. * @return {KVPair[]} */ getMetadata(): KVPair[]; /** * Sets Opaque metadata which can be associated to a category.
It is a list of key-value pairs.
For example, for a category 'California/SanJose' we can associate a geographical coordinate based metadata like: {'latitude': '37.3382° N', 'longitude': '121.8863° W'}. The server does not validate this value nor does it enforce the uniqueness or any other constraints. It is the responsibility of the user to ensure that any semantic or syntactic constraints are retained when mutating this field. * @param {KVPair[]} metadata Opaque metadata which can be associated to a category.
It is a list of key-value pairs.
For example, for a category 'California/SanJose' we can associate a geographical coordinate based metadata like: {'latitude': '37.3382° N', 'longitude': '121.8863° W'}. The server does not validate this value nor does it enforce the uniqueness or any other constraints. It is the responsibility of the user to ensure that any semantic or syntactic constraints are retained when mutating this field. */ setMetadata(metadata: KVPair[]): void; metadata: KVPair[]; #private; } import CategorySummaryOld from "./CategorySummaryOld"; import KVPair from "../../../common/v1/config/KVPair";