import * as coreClient from "@azure/core-client" ; import { BasicImpl , PrimitiveImpl , ArrayImpl , DictionaryImpl , InheritanceImpl , PolymorphismImpl , PolymorphicrecursiveImpl , ReadonlypropertyImpl , FlattencomplexImpl } from "./operations" ; import { Basic , Primitive , Array , Dictionary , Inheritance , Polymorphism , Polymorphicrecursive , Readonlyproperty , Flattencomplex } from "./operationsInterfaces" ; import { BodyComplexWithTracingOptionalParams } from "./models" ; export class BodyComplexWithTracing extends coreClient . ServiceClient { $host : string ; apiVersion : string ; param options constructor ( options ? ) { if ( ! options ) { options = { } ; } const defaults = { requestContentType : "application/json; charset=utf-8" } ; const packageDetails = `azsdk-js-body-complex-tracing/1.0.0-preview1` ; const userAgentPrefix = options . userAgentOptions && options . userAgentOptions . userAgentPrefix ? `${ options . userAgentOptions . userAgentPrefix } ${ packageDetails }` : `${ packageDetails }` ; const optionsWithDefaults = { ... defaults , ... options , userAgentOptions : { userAgentPrefix } , baseUri : options . endpoint || "http://localhost:3000" } ; super ( optionsWithDefaults ) ; this . $host = options . $host || "http://localhost:3000" ; this . apiVersion = options . apiVersion || "2016-02-29" ; this . basic = new BasicImpl ( this ) ; this . primitive = new PrimitiveImpl ( this ) ; this . array = new ArrayImpl ( this ) ; this . dictionary = new DictionaryImpl ( this ) ; this . inheritance = new InheritanceImpl ( this ) ; this . polymorphism = new PolymorphismImpl ( this ) ; this . polymorphicrecursive = new PolymorphicrecursiveImpl ( this ) ; this . readonlyproperty = new ReadonlypropertyImpl ( this ) ; this . flattencomplex = new FlattencomplexImpl ( this ) ; } basic : Basic ; primitive : Primitive ; array : Array ; dictionary : Dictionary ; inheritance : Inheritance ; polymorphism : Polymorphism ; polymorphicrecursive : Polymorphicrecursive ; readonlyproperty : Readonlyproperty ; flattencomplex : Flattencomplex ; }