import { OperationParameter , OperationURLParameter , OperationQueryParameter } from "@azure/core-client" ; import { Pet as PetMapper , Order as OrderMapper , User as UserMapper } from "../models/mappers" ; export const contentType = { parameterPath : "contentType" , mapper : { defaultValue : "application/json" , isConstant : true , serializedName : "Content-Type" , type : { name : "String" } } } ; export const body = { parameterPath : [ "options" , "body" ] , mapper : { serializedName : "body" , xmlName : "body" , type : { name : "Stream" } } } ; export const contentType1 = { parameterPath : "contentType" , mapper : { defaultValue : "application/xml" , isConstant : true , serializedName : "Content-Type" , type : { name : "String" } } } ; export const body1 = { parameterPath : [ "options" , "body" ] , mapper : { serializedName : "body" , xmlName : "body" , type : { name : "Stream" } } } ; export const $host = { parameterPath : "$host" , mapper : { serializedName : "$host" , required : true , xmlName : "$host" , type : { name : "String" } } , skipEncoding : true } ; export const contentType2 = { parameterPath : [ "options" , "contentType" ] , mapper : { defaultValue : "application/json" , isConstant : true , serializedName : "Content-Type" , type : { name : "String" } } } ; export const body2 = { parameterPath : [ "options" , "body" ] , mapper : PetMapper } ; export const accept = { parameterPath : "accept" , mapper : { defaultValue : "application/json, application/xml" , isConstant : true , serializedName : "Accept" , type : { name : "String" } } } ; export const status = { parameterPath : [ "options" , "status" ] , mapper : { defaultValue : "available" , serializedName : "status" , xmlName : "status" , xmlElementName : "Get0ItemsItem" , type : { name : "Sequence" , element : { type : { name : "String" } } } } , collectionFormat : "CSV" } ; export const tags = { parameterPath : [ "options" , "tags" ] , mapper : { serializedName : "tags" , xmlName : "tags" , xmlElementName : "String" , type : { name : "Sequence" , element : { type : { name : "String" } } } } , collectionFormat : "CSV" } ; export const petId = { parameterPath : "petId" , mapper : { serializedName : "petId" , required : true , xmlName : "petId" , type : { name : "Number" } } } ; export const contentType3 = { parameterPath : [ "options" , "contentType" ] , mapper : { defaultValue : "application/x-www-form-urlencoded" , isConstant : true , serializedName : "Content-Type" , type : { name : "String" } } } ; export const name = { parameterPath : [ "options" , "name" ] , mapper : { serializedName : "name" , xmlName : "name" , type : { name : "String" } } } ; export const status1 = { parameterPath : [ "options" , "status" ] , mapper : { serializedName : "status" , xmlName : "status" , type : { name : "String" } } } ; export const petId1 = { parameterPath : "petId" , mapper : { serializedName : "petId" , required : true , xmlName : "petId" , type : { name : "String" } } } ; export const apiKey = { parameterPath : [ "options" , "apiKey" ] , mapper : { serializedName : "api_key" , xmlName : "api_key" , type : { name : "String" } } } ; export const contentType4 = { parameterPath : [ "options" , "contentType" ] , mapper : { defaultValue : "multipart/form-data" , isConstant : true , serializedName : "Content-Type" , type : { name : "String" } } } ; export const additionalMetadata = { parameterPath : [ "options" , "additionalMetadata" ] , mapper : { serializedName : "additionalMetadata" , xmlName : "additionalMetadata" , type : { name : "String" } } } ; export const file = { parameterPath : [ "options" , "file" ] , mapper : { serializedName : "file" , xmlName : "file" , type : { name : "Stream" } } } ; export const body3 = { parameterPath : [ "options" , "body" ] , mapper : OrderMapper } ; export const orderId = { parameterPath : "orderId" , mapper : { serializedName : "orderId" , required : true , xmlName : "orderId" , type : { name : "String" } } } ; export const body4 = { parameterPath : [ "options" , "body" ] , mapper : UserMapper } ; export const body5 = { parameterPath : [ "options" , "body" ] , mapper : { serializedName : "body" , xmlName : "body" , xmlElementName : "User" , type : { name : "Sequence" , element : { type : { name : "Composite" , className : "User" } } } } } ; export const username = { parameterPath : [ "options" , "username" ] , mapper : { serializedName : "username" , xmlName : "username" , type : { name : "String" } } } ; export const password = { parameterPath : [ "options" , "password" ] , mapper : { serializedName : "password" , xmlName : "password" , type : { name : "String" } } } ; export const username1 = { parameterPath : "username" , mapper : { serializedName : "username" , required : true , xmlName : "username" , type : { name : "String" } } } ;