/** * The BatchSpecPayloadMetadataHeader model module. * @module Ntnx/BatchSpecPayloadMetadataHeader * @version 4.4.2 * @class BatchSpecPayloadMetadataHeader * * @param { string } name The name of the header parameter. * * @param { string } value The value of the header parameter. */ export default class BatchSpecPayloadMetadataHeader { /** * Constructs a BatchSpecPayloadMetadataHeader 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/BatchSpecPayloadMetadataHeader} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/BatchSpecPayloadMetadataHeader} The populated BatchSpecPayloadMetadataHeader 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 BatchSpecPayloadMetadataHeader. * The metadata section on the input specification for performing the batch operation. * @alias module:Ntnx/BatchSpecPayloadMetadataHeader * * @param { string } name The name of the header parameter. * * @param { string } value The value of the header parameter. */ constructor(name: string, value: string); name: string; value: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns The name of the header parameter. * @return {string} */ getName(): string; /** * Sets The name of the header parameter. * @param {string} name The name of the header parameter. */ setName(name: string): void; /** * Returns The value of the header parameter. * @return {string} */ getValue(): string; /** * Sets The value of the header parameter. * @param {string} value The value of the header parameter. */ setValue(value: 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";