-
Notifications
You must be signed in to change notification settings - Fork 73
/
autoRestBoolTestService.js
52 lines (52 loc) · 1.88 KB
/
autoRestBoolTestService.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
"use strict";
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
Object.defineProperty(exports, "__esModule", { value: true });
const msRest = require("ms-rest-js");
const Models = require("./models");
exports.AutoRestBoolTestServiceModels = Models;
const Mappers = require("./models/mappers");
exports.AutoRestBoolTestServiceMappers = Mappers;
const operations = require("./operations");
const packageName = "";
const packageVersion = "";
class AutoRestBoolTestService extends msRest.ServiceClient {
/**
* @class
* Initializes a new instance of the AutoRestBoolTestService class.
* @constructor
*
* @param {string} [baseUri] - The base URI of the service.
*
* @param {object} [options] - The parameter options
*
* @param {Array} [options.filters] - Filters to be added to the request pipeline
*
* @param {object} [options.requestOptions] - The request options. Detailed info can be found at
* {@link https://github.github.io/fetch/#Request Options doc}
*
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
*
*/
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);
}
}
exports.AutoRestBoolTestService = AutoRestBoolTestService;
//# sourceMappingURL=autoRestBoolTestService.js.map