import { IExampleParent } from '../../../core/models/common/IExampleParent'; import { Schema } from '../../../core/models/common/Schema'; import { OasParameter } from '../../models/OasParameter'; /** * Constructor. * @param {string} named * @class * @extends OasParameter * @author eric.wittmann@gmail.com */ export declare class Oas30Parameter extends OasParameter implements IOas30MediaTypeParent, IExampleParent { deprecated: boolean; style: string; explode: boolean; allowReserved: boolean; example: any; examples: any; content: any; constructor(named?: any); /** * @see io.apicurio.datamodels.core.models.common.Parameter#createSchema() * @return {Schema} */ createSchema(): Schema; /** * Creates a child Example model. * @param {string} name * @return {Oas30Example} */ createExample(name: string): Oas30Example; /** * Adds the Example to the map of examples. * @param {Oas30Example} example */ addExample(example: Oas30Example): void; /** * Removes an Example and returns it. * @param {string} name * @return {Oas30Example} */ removeExample(name: string): Oas30Example; /** * Gets a single example by name. * @param {string} name * @return {Oas30Example} */ getExample(name: string): Oas30Example; /** * Gets all examples. * @return {Oas30Example[]} */ getExamples(): Array; /** * @see io.apicurio.datamodels.openapi.v3.models.IOas30MediaTypeParent#createMediaType(java.lang.String) * @param {string} name * @return {Oas30MediaType} */ createMediaType(name: string): Oas30MediaType; /** * @see io.apicurio.datamodels.openapi.v3.models.IOas30MediaTypeParent#addMediaType(java.lang.String, io.apicurio.datamodels.openapi.v3.models.Oas30MediaType) * @param {string} name * @param {Oas30MediaType} mediaType */ addMediaType(name: string, mediaType: Oas30MediaType): void; /** * @see io.apicurio.datamodels.openapi.v3.models.IOas30MediaTypeParent#getMediaType(java.lang.String) * @param {string} name * @return {Oas30MediaType} */ getMediaType(name: string): Oas30MediaType; /** * @see io.apicurio.datamodels.openapi.v3.models.IOas30MediaTypeParent#removeMediaType(java.lang.String) * @param {string} name * @return {Oas30MediaType} */ removeMediaType(name: string): Oas30MediaType; /** * @see io.apicurio.datamodels.openapi.v3.models.IOas30MediaTypeParent#getMediaTypes() * @return {Oas30MediaType[]} */ getMediaTypes(): Array; } import { Oas30MediaType } from './Oas30MediaType'; import { Oas30Example } from './Oas30Example'; import { IOas30MediaTypeParent } from './IOas30MediaTypeParent';