How to use the ms-rest-js.Serializer function in ms-rest-js

To help you get started, we’ve selected a few ms-rest-js examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Azure / autorest.typescript / test / vanilla / dist / Expected / AcceptanceTests / CompositeBoolIntClient / compositeBoolInt.js View on Github external
constructor(baseUri, options) {
        if (!options)
            options = {};
        super(undefined, options);
        this.baseUri = baseUri;
        if (!this.baseUri) {
            this.baseUri = 'http://localhost:3000';
        }
        this.addUserAgentInfo(`${packageName}/${packageVersion}`);
        this.bool = new operations.Bool(this);
        this.intModel = new operations.IntModel(this);
        this.serializer = new msRest.Serializer(Mappers);
    }
}
github Azure / autorest.typescript / test / vanilla / dist / Expected / AcceptanceTests / BodyBoolean / autoRestBoolTestService.js View on Github external
constructor(baseUri, options) {
        if (!options)
            options = {};
        super(undefined, options);
        this.baseUri = baseUri;
        if (!this.baseUri) {
            this.baseUri = 'http://localhost';
        }
        this.addUserAgentInfo(`${packageName}/${packageVersion}`);
        this.bool = new operations.Bool(this);
        this.serializer = new msRest.Serializer(Mappers);
    }
}
github Azure / autorest.typescript / test / vanilla / dist / Expected / AcceptanceTests / BodyInteger / autoRestIntegerTestService.js View on Github external
constructor(baseUri, options) {
        if (!options)
            options = {};
        super(undefined, options);
        this.baseUri = baseUri;
        if (!this.baseUri) {
            this.baseUri = 'http://localhost';
        }
        this.addUserAgentInfo(`${packageName}/${packageVersion}`);
        this.intModel = new operations.IntModel(this);
        this.serializer = new msRest.Serializer(Mappers);
    }
}
github Azure / autorest.typescript / test / vanilla / dist / Expected / AcceptanceTests / BodyString / autoRestSwaggerBATService.js View on Github external
constructor(baseUri, options) {
        if (!options)
            options = {};
        super(undefined, options);
        this.baseUri = baseUri;
        if (!this.baseUri) {
            this.baseUri = 'http://localhost:3000';
        }
        this.addUserAgentInfo(`${packageName}/${packageVersion}`);
        this.string = new operations.String(this);
        this.enumModel = new operations.EnumModel(this);
        this.serializer = new msRest.Serializer(Mappers);
    }
}
github Azure / autorest.typescript / test / vanilla / dist / Expected / AcceptanceTests / BodyArray / autoRestSwaggerBATArrayService.js View on Github external
constructor(baseUri, options) {
        if (!options)
            options = {};
        super(undefined, options);
        this.baseUri = baseUri;
        if (!this.baseUri) {
            this.baseUri = 'http://localhost';
        }
        this.addUserAgentInfo(`${packageName}/${packageVersion}`);
        this.arrayModel = new operations.ArrayModel(this);
        this.serializer = new msRest.Serializer(Mappers);
    }
}

ms-rest-js

Isomorphic client Runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest

MIT
Latest version published 6 years ago

Package Health Score

47 / 100
Full package analysis