import { OperationParameter , OperationURLParameter , OperationQueryParameter } from "@azure/core-client" ; import { Product as ProductMapper } from "../models/mappers" ; export const accept = { parameterPath : "accept" , mapper : { defaultValue : "application/json" , isConstant : true , serializedName : "Accept" , type : { name : "String" } } } ; export const $host = { parameterPath : "$host" , mapper : { serializedName : "$host" , required : true , type : { name : "String" } } , skipEncoding : true } ; export const subscriptionId = { parameterPath : "subscriptionId" , mapper : { serializedName : "subscriptionId" , required : true , type : { name : "String" } } } ; export const resourceGroupName = { parameterPath : "resourceGroupName" , mapper : { constraints : { Pattern : new RegExp ( "[a-zA-Z0-9']+" ) , MaxLength : 10 , MinLength : 3 } , serializedName : "resourceGroupName" , required : true , type : { name : "String" } } } ; export const id = { parameterPath : "id" , mapper : { constraints : { InclusiveMaximum : 1000 , InclusiveMinimum : 100 , MultipleOf : 10 } , serializedName : "id" , required : true , type : { name : "Number" } } } ; export const apiVersion = { parameterPath : "apiVersion" , mapper : { defaultValue : "1.0.0" , isConstant : true , serializedName : "apiVersion" , type : { name : "String" } } } ; export const contentType = { parameterPath : [ "options" , "contentType" ] , mapper : { defaultValue : "application/json" , isConstant : true , serializedName : "Content-Type" , type : { name : "String" } } } ; export const body = { parameterPath : [ "options" , "body" ] , mapper : ProductMapper } ; export const resourceGroupName1 = { parameterPath : "resourceGroupName" , mapper : { constraints : { Pattern : new RegExp ( "[a-zA-Z0-9]+" ) , MaxLength : 10 , MinLength : 3 } , serializedName : "resourceGroupName" , required : true , type : { name : "String" } } } ; export const constantParam = { parameterPath : "constantParam" , mapper : { defaultValue : "constant" , isConstant : true , serializedName : "constantParam" , type : { name : "String" } } } ;