diff --git a/README.md b/README.md
index 50b8a07..d693132 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,8 @@ A GitHub Actions to purge Fastly cache.
## Usage
+### Puge by surrogate key
+
```yaml
- name: Purge Fastly cache
uses: yukukotani/fastly-purge-action@v1
@@ -15,6 +17,18 @@ A GitHub Actions to purge Fastly cache.
soft: true
```
+### Purge by single url
+
+```yaml
+- name: Purge Fastly cache
+ uses: yukukotani/fastly-purge-action@v1
+ with:
+ api-token: YOUR_TOKEN_HERE
+ target: single-url
+ url: "https://example.com/some/page"
+ soft: true
+```
+
## Options
### api-token
@@ -23,17 +37,17 @@ A GitHub Actions to purge Fastly cache.
Your API token of Fastly. See [here](https://developer.fastly.com/reference/api/#authentication) for details.
-### service-id
+### target
**Required**
-Your service id to purge caches. **This is not service name. This will be a random alphanumeric string.**
+The target to purge. Currently, only `surrogate-key` and `single-url` are supported. `all` will be supported if anyone requests.
-### target
+### service-id
-**Required**
+**Required when the target is `surrogate-key`**
-The target to purge. Currently, only `surrogate-key` is supported. `all` and `url` will be supported if anyone requests.
+Your service id to purge caches. **This is not service name. This will be a random alphanumeric string.**
### keys
@@ -41,6 +55,10 @@ The target to purge. Currently, only `surrogate-key` is supported. `all` and `ur
Surrogate Keys to purge.
+### url
+
+**Required when the target is `single-url`**
+
### soft
True by default. If false, the affected object will be inaccessible rather than marked as stale.
diff --git a/action.yml b/action.yml
index 0a60d0a..4039d12 100644
--- a/action.yml
+++ b/action.yml
@@ -9,17 +9,23 @@ inputs:
required: true
description: "API token of Fastly"
service-id:
- required: true
- description: "Service ID to purge"
+ required: false
+ description: "Service ID to purge. Required for `surrogate-key` target."
+ default: ""
soft:
description: "If false, the affected object will be inaccessible rather than marked as stale."
default: true
target:
required: true
- description: "Target to purge. Currently only `surrogate-key` is supported."
+ description: "Target to purge. Currently only `surrogate-key` and `single-url` are supported."
keys:
- required: true
+ required: false
description: "Surrogate keys to delete. Required if the target is `surrogate-key`."
+ default: []
+ url:
+ required: false
+ description: "Cached URL to purge. Required if the target is `single-url`."
+ default: ""
debug:
description: "debug key"
default: false
diff --git a/dist/index.js b/dist/index.js
index ccfe42c..64f2e59 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -41,25 +41,42 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
Object.defineProperty(exports, "__esModule", ({ value: true }));
const core = __importStar(__nccwpck_require__(42186));
const Fastly = __importStar(__nccwpck_require__(46547));
+const ACCEPTED_TARGETS = [
+ "surrogate-key",
+ "single-url",
+];
function run() {
return __awaiter(this, void 0, void 0, function* () {
try {
const apiToken = core.getInput("api-token", { required: true });
- const serviceId = core.getInput("service-id", { required: true });
- const soft = core.getBooleanInput("soft");
const target = core.getInput("target", { required: true });
- const keys = core.getMultilineInput("keys", { required: true });
+ const soft = core.getBooleanInput("soft");
+ const serviceId = core.getInput("service-id", { required: target === "surrogate-key" });
+ const keys = core.getMultilineInput("keys", { required: target === "surrogate-key" });
+ const url = core.getInput("url", { required: target === "single-url" });
const debug = core.getBooleanInput("debug");
- if (target !== "surrogate-key") {
+ if (!ACCEPTED_TARGETS.includes(target)) {
throw new Error("Invalid target: " + target);
}
Fastly.ApiClient.instance.authenticate(apiToken);
const purgeApi = new Fastly.PurgeApi();
- const response = yield purgeApi.bulkPurgeTag({
- service_id: serviceId,
- fastly_soft_purge: soft ? 1 : 0,
- purge_response: { surrogate_keys: keys },
- });
+ let response;
+ if (target === "surrogate-key") {
+ response = yield purgeApi.bulkPurgeTag({
+ service_id: serviceId,
+ fastly_soft_purge: soft ? 1 : 0,
+ purge_response: { surrogate_keys: keys },
+ });
+ }
+ else {
+ if (!url) {
+ throw new Error("`\"single-url\"` target must include `url` input");
+ }
+ response = yield purgeApi.purgeSingleUrl({
+ cached_url: url,
+ fastly_soft_purge: soft ? 1 : 0,
+ });
+ }
core.setOutput("response", response);
if (debug) {
try {
@@ -249,13 +266,9 @@ function exportVariable(name, val) {
process.env[name] = convertedVal;
const filePath = process.env['GITHUB_ENV'] || '';
if (filePath) {
- const delimiter = '_GitHubActionsFileCommandDelimeter_';
- const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`;
- file_command_1.issueCommand('ENV', commandValue);
- }
- else {
- command_1.issueCommand('set-env', { name }, convertedVal);
+ return file_command_1.issueFileCommand('ENV', file_command_1.prepareKeyValueMessage(name, val));
}
+ command_1.issueCommand('set-env', { name }, convertedVal);
}
exports.exportVariable = exportVariable;
/**
@@ -273,7 +286,7 @@ exports.setSecret = setSecret;
function addPath(inputPath) {
const filePath = process.env['GITHUB_PATH'] || '';
if (filePath) {
- file_command_1.issueCommand('PATH', inputPath);
+ file_command_1.issueFileCommand('PATH', inputPath);
}
else {
command_1.issueCommand('add-path', {}, inputPath);
@@ -313,7 +326,10 @@ function getMultilineInput(name, options) {
const inputs = getInput(name, options)
.split('\n')
.filter(x => x !== '');
- return inputs;
+ if (options && options.trimWhitespace === false) {
+ return inputs;
+ }
+ return inputs.map(input => input.trim());
}
exports.getMultilineInput = getMultilineInput;
/**
@@ -346,8 +362,12 @@ exports.getBooleanInput = getBooleanInput;
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function setOutput(name, value) {
+ const filePath = process.env['GITHUB_OUTPUT'] || '';
+ if (filePath) {
+ return file_command_1.issueFileCommand('OUTPUT', file_command_1.prepareKeyValueMessage(name, value));
+ }
process.stdout.write(os.EOL);
- command_1.issueCommand('set-output', { name }, value);
+ command_1.issueCommand('set-output', { name }, utils_1.toCommandValue(value));
}
exports.setOutput = setOutput;
/**
@@ -476,7 +496,11 @@ exports.group = group;
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function saveState(name, value) {
- command_1.issueCommand('save-state', { name }, value);
+ const filePath = process.env['GITHUB_STATE'] || '';
+ if (filePath) {
+ return file_command_1.issueFileCommand('STATE', file_command_1.prepareKeyValueMessage(name, value));
+ }
+ command_1.issueCommand('save-state', { name }, utils_1.toCommandValue(value));
}
exports.saveState = saveState;
/**
@@ -495,6 +519,23 @@ function getIDToken(aud) {
});
}
exports.getIDToken = getIDToken;
+/**
+ * Summary exports
+ */
+var summary_1 = __nccwpck_require__(81327);
+Object.defineProperty(exports, "summary", ({ enumerable: true, get: function () { return summary_1.summary; } }));
+/**
+ * @deprecated use core.summary
+ */
+var summary_2 = __nccwpck_require__(81327);
+Object.defineProperty(exports, "markdownSummary", ({ enumerable: true, get: function () { return summary_2.markdownSummary; } }));
+/**
+ * Path exports
+ */
+var path_utils_1 = __nccwpck_require__(2981);
+Object.defineProperty(exports, "toPosixPath", ({ enumerable: true, get: function () { return path_utils_1.toPosixPath; } }));
+Object.defineProperty(exports, "toWin32Path", ({ enumerable: true, get: function () { return path_utils_1.toWin32Path; } }));
+Object.defineProperty(exports, "toPlatformPath", ({ enumerable: true, get: function () { return path_utils_1.toPlatformPath; } }));
//# sourceMappingURL=core.js.map
/***/ }),
@@ -525,13 +566,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
-exports.issueCommand = void 0;
+exports.prepareKeyValueMessage = exports.issueFileCommand = void 0;
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
const fs = __importStar(__nccwpck_require__(57147));
const os = __importStar(__nccwpck_require__(22037));
+const uuid_1 = __nccwpck_require__(75840);
const utils_1 = __nccwpck_require__(5278);
-function issueCommand(command, message) {
+function issueFileCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`];
if (!filePath) {
throw new Error(`Unable to find environment variable for file command ${command}`);
@@ -543,7 +585,22 @@ function issueCommand(command, message) {
encoding: 'utf8'
});
}
-exports.issueCommand = issueCommand;
+exports.issueFileCommand = issueFileCommand;
+function prepareKeyValueMessage(key, value) {
+ const delimiter = `ghadelimiter_${uuid_1.v4()}`;
+ const convertedValue = utils_1.toCommandValue(value);
+ // These should realistically never happen, but just in case someone finds a
+ // way to exploit uuid generation let's not allow keys or values that contain
+ // the delimiter.
+ if (key.includes(delimiter)) {
+ throw new Error(`Unexpected input: name should not contain the delimiter "${delimiter}"`);
+ }
+ if (convertedValue.includes(delimiter)) {
+ throw new Error(`Unexpected input: value should not contain the delimiter "${delimiter}"`);
+ }
+ return `${key}<<${delimiter}${os.EOL}${convertedValue}${os.EOL}${delimiter}`;
+}
+exports.prepareKeyValueMessage = prepareKeyValueMessage;
//# sourceMappingURL=file-command.js.map
/***/ }),
@@ -564,8 +621,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.OidcClient = void 0;
-const http_client_1 = __nccwpck_require__(39925);
-const auth_1 = __nccwpck_require__(23702);
+const http_client_1 = __nccwpck_require__(96255);
+const auth_1 = __nccwpck_require__(35526);
const core_1 = __nccwpck_require__(42186);
class OidcClient {
static createHttpClient(allowRetry = true, maxRetry = 10) {
@@ -632,6 +689,361 @@ exports.OidcClient = OidcClient;
/***/ }),
+/***/ 2981:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+}) : (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ o[k2] = m[k];
+}));
+var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
+}) : function(o, v) {
+ o["default"] = v;
+});
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
+ __setModuleDefault(result, mod);
+ return result;
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0;
+const path = __importStar(__nccwpck_require__(71017));
+/**
+ * toPosixPath converts the given path to the posix form. On Windows, \\ will be
+ * replaced with /.
+ *
+ * @param pth. Path to transform.
+ * @return string Posix path.
+ */
+function toPosixPath(pth) {
+ return pth.replace(/[\\]/g, '/');
+}
+exports.toPosixPath = toPosixPath;
+/**
+ * toWin32Path converts the given path to the win32 form. On Linux, / will be
+ * replaced with \\.
+ *
+ * @param pth. Path to transform.
+ * @return string Win32 path.
+ */
+function toWin32Path(pth) {
+ return pth.replace(/[/]/g, '\\');
+}
+exports.toWin32Path = toWin32Path;
+/**
+ * toPlatformPath converts the given path to a platform-specific path. It does
+ * this by replacing instances of / and \ with the platform-specific path
+ * separator.
+ *
+ * @param pth The path to platformize.
+ * @return string The platform-specific path.
+ */
+function toPlatformPath(pth) {
+ return pth.replace(/[/\\]/g, path.sep);
+}
+exports.toPlatformPath = toPlatformPath;
+//# sourceMappingURL=path-utils.js.map
+
+/***/ }),
+
+/***/ 81327:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
+
+"use strict";
+
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
+Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0;
+const os_1 = __nccwpck_require__(22037);
+const fs_1 = __nccwpck_require__(57147);
+const { access, appendFile, writeFile } = fs_1.promises;
+exports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY';
+exports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary';
+class Summary {
+ constructor() {
+ this._buffer = '';
+ }
+ /**
+ * Finds the summary file path from the environment, rejects if env var is not found or file does not exist
+ * Also checks r/w permissions.
+ *
+ * @returns step summary file path
+ */
+ filePath() {
+ return __awaiter(this, void 0, void 0, function* () {
+ if (this._filePath) {
+ return this._filePath;
+ }
+ const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR];
+ if (!pathFromEnv) {
+ throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);
+ }
+ try {
+ yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK);
+ }
+ catch (_a) {
+ throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);
+ }
+ this._filePath = pathFromEnv;
+ return this._filePath;
+ });
+ }
+ /**
+ * Wraps content in an HTML tag, adding any HTML attributes
+ *
+ * @param {string} tag HTML tag to wrap
+ * @param {string | null} content content within the tag
+ * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add
+ *
+ * @returns {string} content wrapped in HTML element
+ */
+ wrap(tag, content, attrs = {}) {
+ const htmlAttrs = Object.entries(attrs)
+ .map(([key, value]) => ` ${key}="${value}"`)
+ .join('');
+ if (!content) {
+ return `<${tag}${htmlAttrs}>`;
+ }
+ return `<${tag}${htmlAttrs}>${content}${tag}>`;
+ }
+ /**
+ * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.
+ *
+ * @param {SummaryWriteOptions} [options] (optional) options for write operation
+ *
+ * @returns {Promise
) to the summary buffer
+ *
+ * @returns {Summary} summary instance
+ */
+ addSeparator() {
+ const element = this.wrap('hr', null);
+ return this.addRaw(element).addEOL();
+ }
+ /**
+ * Adds an HTML line break (
) to the summary buffer
+ *
+ * @returns {Summary} summary instance
+ */
+ addBreak() {
+ const element = this.wrap('br', null);
+ return this.addRaw(element).addEOL();
+ }
+ /**
+ * Adds an HTML blockquote to the summary buffer
+ *
+ * @param {string} text quote text
+ * @param {string} cite (optional) citation url
+ *
+ * @returns {Summary} summary instance
+ */
+ addQuote(text, cite) {
+ const attrs = Object.assign({}, (cite && { cite }));
+ const element = this.wrap('blockquote', text, attrs);
+ return this.addRaw(element).addEOL();
+ }
+ /**
+ * Adds an HTML anchor tag to the summary buffer
+ *
+ * @param {string} text link text/content
+ * @param {string} href hyperlink
+ *
+ * @returns {Summary} summary instance
+ */
+ addLink(text, href) {
+ const element = this.wrap('a', text, { href });
+ return this.addRaw(element).addEOL();
+ }
+}
+const _summary = new Summary();
+/**
+ * @deprecated use `core.summary`
+ */
+exports.markdownSummary = _summary;
+exports.summary = _summary;
+//# sourceMappingURL=summary.js.map
+
+/***/ }),
+
/***/ 5278:
/***/ ((__unused_webpack_module, exports) => {
@@ -679,28 +1091,41 @@ exports.toCommandProperties = toCommandProperties;
/***/ }),
-/***/ 23702:
-/***/ ((__unused_webpack_module, exports) => {
+/***/ 35526:
+/***/ (function(__unused_webpack_module, exports) {
"use strict";
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.PersonalAccessTokenCredentialHandler = exports.BearerCredentialHandler = exports.BasicCredentialHandler = void 0;
class BasicCredentialHandler {
constructor(username, password) {
this.username = username;
this.password = password;
}
prepareRequest(options) {
- options.headers['Authorization'] =
- 'Basic ' +
- Buffer.from(this.username + ':' + this.password).toString('base64');
+ if (!options.headers) {
+ throw Error('The request has no headers');
+ }
+ options.headers['Authorization'] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString('base64')}`;
}
// This handler cannot handle 401
- canHandleAuthentication(response) {
+ canHandleAuthentication() {
return false;
}
- handleAuthentication(httpClient, requestInfo, objs) {
- return null;
+ handleAuthentication() {
+ return __awaiter(this, void 0, void 0, function* () {
+ throw new Error('not implemented');
+ });
}
}
exports.BasicCredentialHandler = BasicCredentialHandler;
@@ -711,14 +1136,19 @@ class BearerCredentialHandler {
// currently implements pre-authorization
// TODO: support preAuth = false where it hooks on 401
prepareRequest(options) {
- options.headers['Authorization'] = 'Bearer ' + this.token;
+ if (!options.headers) {
+ throw Error('The request has no headers');
+ }
+ options.headers['Authorization'] = `Bearer ${this.token}`;
}
// This handler cannot handle 401
- canHandleAuthentication(response) {
+ canHandleAuthentication() {
return false;
}
- handleAuthentication(httpClient, requestInfo, objs) {
- return null;
+ handleAuthentication() {
+ return __awaiter(this, void 0, void 0, function* () {
+ throw new Error('not implemented');
+ });
}
}
exports.BearerCredentialHandler = BearerCredentialHandler;
@@ -729,32 +1159,66 @@ class PersonalAccessTokenCredentialHandler {
// currently implements pre-authorization
// TODO: support preAuth = false where it hooks on 401
prepareRequest(options) {
- options.headers['Authorization'] =
- 'Basic ' + Buffer.from('PAT:' + this.token).toString('base64');
+ if (!options.headers) {
+ throw Error('The request has no headers');
+ }
+ options.headers['Authorization'] = `Basic ${Buffer.from(`PAT:${this.token}`).toString('base64')}`;
}
// This handler cannot handle 401
- canHandleAuthentication(response) {
+ canHandleAuthentication() {
return false;
}
- handleAuthentication(httpClient, requestInfo, objs) {
- return null;
+ handleAuthentication() {
+ return __awaiter(this, void 0, void 0, function* () {
+ throw new Error('not implemented');
+ });
}
}
exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler;
-
+//# sourceMappingURL=auth.js.map
/***/ }),
-/***/ 39925:
-/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+/***/ 96255:
+/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
+/* eslint-disable @typescript-eslint/no-explicit-any */
+var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
+}) : (function(o, m, k, k2) {
+ if (k2 === undefined) k2 = k;
+ o[k2] = m[k];
+}));
+var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
+}) : function(o, v) {
+ o["default"] = v;
+});
+var __importStar = (this && this.__importStar) || function (mod) {
+ if (mod && mod.__esModule) return mod;
+ var result = {};
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
+ __setModuleDefault(result, mod);
+ return result;
+};
+var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
+ return new (P || (P = Promise))(function (resolve, reject) {
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
+ });
+};
Object.defineProperty(exports, "__esModule", ({ value: true }));
-const http = __nccwpck_require__(13685);
-const https = __nccwpck_require__(95687);
-const pm = __nccwpck_require__(16443);
-let tunnel;
+exports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0;
+const http = __importStar(__nccwpck_require__(13685));
+const https = __importStar(__nccwpck_require__(95687));
+const pm = __importStar(__nccwpck_require__(19835));
+const tunnel = __importStar(__nccwpck_require__(74294));
var HttpCodes;
(function (HttpCodes) {
HttpCodes[HttpCodes["OK"] = 200] = "OK";
@@ -799,7 +1263,7 @@ var MediaTypes;
* @param serverUrl The server URL where the request will be sent. For example, https://api.github.com
*/
function getProxyUrl(serverUrl) {
- let proxyUrl = pm.getProxyUrl(new URL(serverUrl));
+ const proxyUrl = pm.getProxyUrl(new URL(serverUrl));
return proxyUrl ? proxyUrl.href : '';
}
exports.getProxyUrl = getProxyUrl;
@@ -832,20 +1296,22 @@ class HttpClientResponse {
this.message = message;
}
readBody() {
- return new Promise(async (resolve, reject) => {
- let output = Buffer.alloc(0);
- this.message.on('data', (chunk) => {
- output = Buffer.concat([output, chunk]);
- });
- this.message.on('end', () => {
- resolve(output.toString());
- });
+ return __awaiter(this, void 0, void 0, function* () {
+ return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () {
+ let output = Buffer.alloc(0);
+ this.message.on('data', (chunk) => {
+ output = Buffer.concat([output, chunk]);
+ });
+ this.message.on('end', () => {
+ resolve(output.toString());
+ });
+ }));
});
}
}
exports.HttpClientResponse = HttpClientResponse;
function isHttps(requestUrl) {
- let parsedUrl = new URL(requestUrl);
+ const parsedUrl = new URL(requestUrl);
return parsedUrl.protocol === 'https:';
}
exports.isHttps = isHttps;
@@ -888,141 +1354,169 @@ class HttpClient {
}
}
options(requestUrl, additionalHeaders) {
- return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});
+ return __awaiter(this, void 0, void 0, function* () {
+ return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});
+ });
}
get(requestUrl, additionalHeaders) {
- return this.request('GET', requestUrl, null, additionalHeaders || {});
+ return __awaiter(this, void 0, void 0, function* () {
+ return this.request('GET', requestUrl, null, additionalHeaders || {});
+ });
}
del(requestUrl, additionalHeaders) {
- return this.request('DELETE', requestUrl, null, additionalHeaders || {});
+ return __awaiter(this, void 0, void 0, function* () {
+ return this.request('DELETE', requestUrl, null, additionalHeaders || {});
+ });
}
post(requestUrl, data, additionalHeaders) {
- return this.request('POST', requestUrl, data, additionalHeaders || {});
+ return __awaiter(this, void 0, void 0, function* () {
+ return this.request('POST', requestUrl, data, additionalHeaders || {});
+ });
}
patch(requestUrl, data, additionalHeaders) {
- return this.request('PATCH', requestUrl, data, additionalHeaders || {});
+ return __awaiter(this, void 0, void 0, function* () {
+ return this.request('PATCH', requestUrl, data, additionalHeaders || {});
+ });
}
put(requestUrl, data, additionalHeaders) {
- return this.request('PUT', requestUrl, data, additionalHeaders || {});
+ return __awaiter(this, void 0, void 0, function* () {
+ return this.request('PUT', requestUrl, data, additionalHeaders || {});
+ });
}
head(requestUrl, additionalHeaders) {
- return this.request('HEAD', requestUrl, null, additionalHeaders || {});
+ return __awaiter(this, void 0, void 0, function* () {
+ return this.request('HEAD', requestUrl, null, additionalHeaders || {});
+ });
}
sendStream(verb, requestUrl, stream, additionalHeaders) {
- return this.request(verb, requestUrl, stream, additionalHeaders);
+ return __awaiter(this, void 0, void 0, function* () {
+ return this.request(verb, requestUrl, stream, additionalHeaders);
+ });
}
/**
* Gets a typed object from an endpoint
* Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise
*/
- async getJson(requestUrl, additionalHeaders = {}) {
- additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);
- let res = await this.get(requestUrl, additionalHeaders);
- return this._processResponse(res, this.requestOptions);
- }
- async postJson(requestUrl, obj, additionalHeaders = {}) {
- let data = JSON.stringify(obj, null, 2);
- additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);
- additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);
- let res = await this.post(requestUrl, data, additionalHeaders);
- return this._processResponse(res, this.requestOptions);
- }
- async putJson(requestUrl, obj, additionalHeaders = {}) {
- let data = JSON.stringify(obj, null, 2);
- additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);
- additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);
- let res = await this.put(requestUrl, data, additionalHeaders);
- return this._processResponse(res, this.requestOptions);
- }
- async patchJson(requestUrl, obj, additionalHeaders = {}) {
- let data = JSON.stringify(obj, null, 2);
- additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);
- additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);
- let res = await this.patch(requestUrl, data, additionalHeaders);
- return this._processResponse(res, this.requestOptions);
+ getJson(requestUrl, additionalHeaders = {}) {
+ return __awaiter(this, void 0, void 0, function* () {
+ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);
+ const res = yield this.get(requestUrl, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ });
+ }
+ postJson(requestUrl, obj, additionalHeaders = {}) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const data = JSON.stringify(obj, null, 2);
+ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);
+ additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);
+ const res = yield this.post(requestUrl, data, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ });
+ }
+ putJson(requestUrl, obj, additionalHeaders = {}) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const data = JSON.stringify(obj, null, 2);
+ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);
+ additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);
+ const res = yield this.put(requestUrl, data, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ });
+ }
+ patchJson(requestUrl, obj, additionalHeaders = {}) {
+ return __awaiter(this, void 0, void 0, function* () {
+ const data = JSON.stringify(obj, null, 2);
+ additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);
+ additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);
+ const res = yield this.patch(requestUrl, data, additionalHeaders);
+ return this._processResponse(res, this.requestOptions);
+ });
}
/**
* Makes a raw http request.
* All other methods such as get, post, patch, and request ultimately call this.
* Prefer get, del, post and patch
*/
- async request(verb, requestUrl, data, headers) {
- if (this._disposed) {
- throw new Error('Client has already been disposed.');
- }
- let parsedUrl = new URL(requestUrl);
- let info = this._prepareRequest(verb, parsedUrl, headers);
- // Only perform retries on reads since writes may not be idempotent.
- let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1
- ? this._maxRetries + 1
- : 1;
- let numTries = 0;
- let response;
- while (numTries < maxTries) {
- response = await this.requestRaw(info, data);
- // Check if it's an authentication challenge
- if (response &&
- response.message &&
- response.message.statusCode === HttpCodes.Unauthorized) {
- let authenticationHandler;
- for (let i = 0; i < this.handlers.length; i++) {
- if (this.handlers[i].canHandleAuthentication(response)) {
- authenticationHandler = this.handlers[i];
- break;
+ request(verb, requestUrl, data, headers) {
+ return __awaiter(this, void 0, void 0, function* () {
+ if (this._disposed) {
+ throw new Error('Client has already been disposed.');
+ }
+ const parsedUrl = new URL(requestUrl);
+ let info = this._prepareRequest(verb, parsedUrl, headers);
+ // Only perform retries on reads since writes may not be idempotent.
+ const maxTries = this._allowRetries && RetryableHttpVerbs.includes(verb)
+ ? this._maxRetries + 1
+ : 1;
+ let numTries = 0;
+ let response;
+ do {
+ response = yield this.requestRaw(info, data);
+ // Check if it's an authentication challenge
+ if (response &&
+ response.message &&
+ response.message.statusCode === HttpCodes.Unauthorized) {
+ let authenticationHandler;
+ for (const handler of this.handlers) {
+ if (handler.canHandleAuthentication(response)) {
+ authenticationHandler = handler;
+ break;
+ }
+ }
+ if (authenticationHandler) {
+ return authenticationHandler.handleAuthentication(this, info, data);
+ }
+ else {
+ // We have received an unauthorized response but have no handlers to handle it.
+ // Let the response return to the caller.
+ return response;
}
}
- if (authenticationHandler) {
- return authenticationHandler.handleAuthentication(this, info, data);
+ let redirectsRemaining = this._maxRedirects;
+ while (response.message.statusCode &&
+ HttpRedirectCodes.includes(response.message.statusCode) &&
+ this._allowRedirects &&
+ redirectsRemaining > 0) {
+ const redirectUrl = response.message.headers['location'];
+ if (!redirectUrl) {
+ // if there's no location to redirect to, we won't
+ break;
+ }
+ const parsedRedirectUrl = new URL(redirectUrl);
+ if (parsedUrl.protocol === 'https:' &&
+ parsedUrl.protocol !== parsedRedirectUrl.protocol &&
+ !this._allowRedirectDowngrade) {
+ throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.');
+ }
+ // we need to finish reading the response before reassigning response
+ // which will leak the open socket.
+ yield response.readBody();
+ // strip authorization header if redirected to a different hostname
+ if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {
+ for (const header in headers) {
+ // header names are case insensitive
+ if (header.toLowerCase() === 'authorization') {
+ delete headers[header];
+ }
+ }
+ }
+ // let's make the request with the new redirectUrl
+ info = this._prepareRequest(verb, parsedRedirectUrl, headers);
+ response = yield this.requestRaw(info, data);
+ redirectsRemaining--;
}
- else {
- // We have received an unauthorized response but have no handlers to handle it.
- // Let the response return to the caller.
+ if (!response.message.statusCode ||
+ !HttpResponseRetryCodes.includes(response.message.statusCode)) {
+ // If not a retry code, return immediately instead of retrying
return response;
}
- }
- let redirectsRemaining = this._maxRedirects;
- while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 &&
- this._allowRedirects &&
- redirectsRemaining > 0) {
- const redirectUrl = response.message.headers['location'];
- if (!redirectUrl) {
- // if there's no location to redirect to, we won't
- break;
- }
- let parsedRedirectUrl = new URL(redirectUrl);
- if (parsedUrl.protocol == 'https:' &&
- parsedUrl.protocol != parsedRedirectUrl.protocol &&
- !this._allowRedirectDowngrade) {
- throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.');
+ numTries += 1;
+ if (numTries < maxTries) {
+ yield response.readBody();
+ yield this._performExponentialBackoff(numTries);
}
- // we need to finish reading the response before reassigning response
- // which will leak the open socket.
- await response.readBody();
- // strip authorization header if redirected to a different hostname
- if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {
- for (let header in headers) {
- // header names are case insensitive
- if (header.toLowerCase() === 'authorization') {
- delete headers[header];
- }
- }
- }
- // let's make the request with the new redirectUrl
- info = this._prepareRequest(verb, parsedRedirectUrl, headers);
- response = await this.requestRaw(info, data);
- redirectsRemaining--;
- }
- if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) {
- // If not a retry code, return immediately instead of retrying
- return response;
- }
- numTries += 1;
- if (numTries < maxTries) {
- await response.readBody();
- await this._performExponentialBackoff(numTries);
- }
- }
- return response;
+ } while (numTries < maxTries);
+ return response;
+ });
}
/**
* Needs to be called if keepAlive is set to true in request options.
@@ -1039,14 +1533,22 @@ class HttpClient {
* @param data
*/
requestRaw(info, data) {
- return new Promise((resolve, reject) => {
- let callbackForResult = function (err, res) {
- if (err) {
- reject(err);
+ return __awaiter(this, void 0, void 0, function* () {
+ return new Promise((resolve, reject) => {
+ function callbackForResult(err, res) {
+ if (err) {
+ reject(err);
+ }
+ else if (!res) {
+ // If `err` is not passed, then `res` must be passed.
+ reject(new Error('Unknown error'));
+ }
+ else {
+ resolve(res);
+ }
}
- resolve(res);
- };
- this.requestRawWithCallback(info, data, callbackForResult);
+ this.requestRawWithCallback(info, data, callbackForResult);
+ });
});
}
/**
@@ -1056,21 +1558,24 @@ class HttpClient {
* @param onResult
*/
requestRawWithCallback(info, data, onResult) {
- let socket;
if (typeof data === 'string') {
+ if (!info.options.headers) {
+ info.options.headers = {};
+ }
info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');
}
let callbackCalled = false;
- let handleResult = (err, res) => {
+ function handleResult(err, res) {
if (!callbackCalled) {
callbackCalled = true;
onResult(err, res);
}
- };
- let req = info.httpModule.request(info.options, (msg) => {
- let res = new HttpClientResponse(msg);
- handleResult(null, res);
+ }
+ const req = info.httpModule.request(info.options, (msg) => {
+ const res = new HttpClientResponse(msg);
+ handleResult(undefined, res);
});
+ let socket;
req.on('socket', sock => {
socket = sock;
});
@@ -1079,12 +1584,12 @@ class HttpClient {
if (socket) {
socket.end();
}
- handleResult(new Error('Request timeout: ' + info.options.path), null);
+ handleResult(new Error(`Request timeout: ${info.options.path}`));
});
req.on('error', function (err) {
// err has statusCode property
// res should have headers
- handleResult(err, null);
+ handleResult(err);
});
if (data && typeof data === 'string') {
req.write(data, 'utf8');
@@ -1105,7 +1610,7 @@ class HttpClient {
* @param serverUrl The server URL where the request will be sent. For example, https://api.github.com
*/
getAgent(serverUrl) {
- let parsedUrl = new URL(serverUrl);
+ const parsedUrl = new URL(serverUrl);
return this._getAgent(parsedUrl);
}
_prepareRequest(method, requestUrl, headers) {
@@ -1129,21 +1634,19 @@ class HttpClient {
info.options.agent = this._getAgent(info.parsedUrl);
// gives handlers an opportunity to participate
if (this.handlers) {
- this.handlers.forEach(handler => {
+ for (const handler of this.handlers) {
handler.prepareRequest(info.options);
- });
+ }
}
return info;
}
_mergeHeaders(headers) {
- const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});
if (this.requestOptions && this.requestOptions.headers) {
- return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));
+ return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers || {}));
}
return lowercaseKeys(headers || {});
}
_getExistingOrDefaultHeader(additionalHeaders, header, _default) {
- const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});
let clientHeader;
if (this.requestOptions && this.requestOptions.headers) {
clientHeader = lowercaseKeys(this.requestOptions.headers)[header];
@@ -1152,8 +1655,8 @@ class HttpClient {
}
_getAgent(parsedUrl) {
let agent;
- let proxyUrl = pm.getProxyUrl(parsedUrl);
- let useProxy = proxyUrl && proxyUrl.hostname;
+ const proxyUrl = pm.getProxyUrl(parsedUrl);
+ const useProxy = proxyUrl && proxyUrl.hostname;
if (this._keepAlive && useProxy) {
agent = this._proxyAgent;
}
@@ -1161,29 +1664,22 @@ class HttpClient {
agent = this._agent;
}
// if agent is already assigned use that agent.
- if (!!agent) {
+ if (agent) {
return agent;
}
const usingSsl = parsedUrl.protocol === 'https:';
let maxSockets = 100;
- if (!!this.requestOptions) {
+ if (this.requestOptions) {
maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;
}
- if (useProxy) {
- // If using proxy, need tunnel
- if (!tunnel) {
- tunnel = __nccwpck_require__(74294);
- }
+ // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.
+ if (proxyUrl && proxyUrl.hostname) {
const agentOptions = {
- maxSockets: maxSockets,
+ maxSockets,
keepAlive: this._keepAlive,
- proxy: {
- ...((proxyUrl.username || proxyUrl.password) && {
- proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`
- }),
- host: proxyUrl.hostname,
- port: proxyUrl.port
- }
+ proxy: Object.assign(Object.assign({}, ((proxyUrl.username || proxyUrl.password) && {
+ proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`
+ })), { host: proxyUrl.hostname, port: proxyUrl.port })
};
let tunnelAgent;
const overHttps = proxyUrl.protocol === 'https:';
@@ -1198,7 +1694,7 @@ class HttpClient {
}
// if reusing agent across request and tunneling agent isn't assigned create a new agent
if (this._keepAlive && !agent) {
- const options = { keepAlive: this._keepAlive, maxSockets: maxSockets };
+ const options = { keepAlive: this._keepAlive, maxSockets };
agent = usingSsl ? new https.Agent(options) : new http.Agent(options);
this._agent = agent;
}
@@ -1217,109 +1713,117 @@ class HttpClient {
return agent;
}
_performExponentialBackoff(retryNumber) {
- retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);
- const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);
- return new Promise(resolve => setTimeout(() => resolve(), ms));
- }
- static dateTimeDeserializer(key, value) {
- if (typeof value === 'string') {
- let a = new Date(value);
- if (!isNaN(a.valueOf())) {
- return a;
- }
- }
- return value;
+ return __awaiter(this, void 0, void 0, function* () {
+ retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);
+ const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);
+ return new Promise(resolve => setTimeout(() => resolve(), ms));
+ });
}
- async _processResponse(res, options) {
- return new Promise(async (resolve, reject) => {
- const statusCode = res.message.statusCode;
- const response = {
- statusCode: statusCode,
- result: null,
- headers: {}
- };
- // not found leads to null obj returned
- if (statusCode == HttpCodes.NotFound) {
- resolve(response);
- }
- let obj;
- let contents;
- // get the result from the body
- try {
- contents = await res.readBody();
- if (contents && contents.length > 0) {
- if (options && options.deserializeDates) {
- obj = JSON.parse(contents, HttpClient.dateTimeDeserializer);
+ _processResponse(res, options) {
+ return __awaiter(this, void 0, void 0, function* () {
+ return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
+ const statusCode = res.message.statusCode || 0;
+ const response = {
+ statusCode,
+ result: null,
+ headers: {}
+ };
+ // not found leads to null obj returned
+ if (statusCode === HttpCodes.NotFound) {
+ resolve(response);
+ }
+ // get the result from the body
+ function dateTimeDeserializer(key, value) {
+ if (typeof value === 'string') {
+ const a = new Date(value);
+ if (!isNaN(a.valueOf())) {
+ return a;
+ }
}
- else {
- obj = JSON.parse(contents);
+ return value;
+ }
+ let obj;
+ let contents;
+ try {
+ contents = yield res.readBody();
+ if (contents && contents.length > 0) {
+ if (options && options.deserializeDates) {
+ obj = JSON.parse(contents, dateTimeDeserializer);
+ }
+ else {
+ obj = JSON.parse(contents);
+ }
+ response.result = obj;
}
- response.result = obj;
+ response.headers = res.message.headers;
}
- response.headers = res.message.headers;
- }
- catch (err) {
- // Invalid resource (contents not json); leaving result obj null
- }
- // note that 3xx redirects are handled by the http layer.
- if (statusCode > 299) {
- let msg;
- // if exception/error in body, attempt to get better error
- if (obj && obj.message) {
- msg = obj.message;
+ catch (err) {
+ // Invalid resource (contents not json); leaving result obj null
}
- else if (contents && contents.length > 0) {
- // it may be the case that the exception is in the body message as string
- msg = contents;
+ // note that 3xx redirects are handled by the http layer.
+ if (statusCode > 299) {
+ let msg;
+ // if exception/error in body, attempt to get better error
+ if (obj && obj.message) {
+ msg = obj.message;
+ }
+ else if (contents && contents.length > 0) {
+ // it may be the case that the exception is in the body message as string
+ msg = contents;
+ }
+ else {
+ msg = `Failed request: (${statusCode})`;
+ }
+ const err = new HttpClientError(msg, statusCode);
+ err.result = response.result;
+ reject(err);
}
else {
- msg = 'Failed request: (' + statusCode + ')';
+ resolve(response);
}
- let err = new HttpClientError(msg, statusCode);
- err.result = response.result;
- reject(err);
- }
- else {
- resolve(response);
- }
+ }));
});
}
}
exports.HttpClient = HttpClient;
-
+const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});
+//# sourceMappingURL=index.js.map
/***/ }),
-/***/ 16443:
+/***/ 19835:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
Object.defineProperty(exports, "__esModule", ({ value: true }));
+exports.checkBypass = exports.getProxyUrl = void 0;
function getProxyUrl(reqUrl) {
- let usingSsl = reqUrl.protocol === 'https:';
- let proxyUrl;
+ const usingSsl = reqUrl.protocol === 'https:';
if (checkBypass(reqUrl)) {
- return proxyUrl;
+ return undefined;
}
- let proxyVar;
- if (usingSsl) {
- proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY'];
+ const proxyVar = (() => {
+ if (usingSsl) {
+ return process.env['https_proxy'] || process.env['HTTPS_PROXY'];
+ }
+ else {
+ return process.env['http_proxy'] || process.env['HTTP_PROXY'];
+ }
+ })();
+ if (proxyVar) {
+ return new URL(proxyVar);
}
else {
- proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY'];
- }
- if (proxyVar) {
- proxyUrl = new URL(proxyVar);
+ return undefined;
}
- return proxyUrl;
}
exports.getProxyUrl = getProxyUrl;
function checkBypass(reqUrl) {
if (!reqUrl.hostname) {
return false;
}
- let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';
+ const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';
if (!noProxy) {
return false;
}
@@ -1335,12 +1839,12 @@ function checkBypass(reqUrl) {
reqPort = 443;
}
// Format the request hostname and hostname with port
- let upperReqHosts = [reqUrl.hostname.toUpperCase()];
+ const upperReqHosts = [reqUrl.hostname.toUpperCase()];
if (typeof reqPort === 'number') {
upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);
}
// Compare request host against noproxy
- for (let upperNoProxyItem of noProxy
+ for (const upperNoProxyItem of noProxy
.split(',')
.map(x => x.trim().toUpperCase())
.filter(x => x)) {
@@ -1351,7 +1855,7 @@ function checkBypass(reqUrl) {
return false;
}
exports.checkBypass = checkBypass;
-
+//# sourceMappingURL=proxy.js.map
/***/ }),
@@ -2159,6 +2663,11 @@ CombinedStream.prototype._emitError = function(err) {
var cookie_str_splitter = /[:](?=\s*[a-zA-Z0-9_\-]+\s*[=])/g;
Cookie.prototype.parse = function parse(str, request_domain, request_path) {
if (this instanceof Cookie) {
+ if ( str.length > 32768 ) {
+ console.warn("Cookie too long for parsing (>32768 characters)");
+ return;
+ }
+
var parts = str.split(";").filter(function (value) {
return !!value;
});
@@ -3576,24 +4085,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _superagent = _interopRequireDefault(__nccwpck_require__(61524));
-
var _querystring = _interopRequireDefault(__nccwpck_require__(63477));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+// https://developer.fastly.com/reference/api/#rate-limiting
+var DEFAULT_RATELIMIT = 1000;
/**
* @module ApiClient
-* @version 3.0.0-beta2
+* @version v3.1.0
*/
/**
@@ -3606,6 +4112,16 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
var ApiClient = /*#__PURE__*/function () {
function ApiClient() {
_classCallCheck(this, ApiClient);
+ /*
+ * The last observed value of http header Fastly-RateLimit-Remaining
+ * https://developer.fastly.com/reference/api/#rate-limiting
+ */
+ this.rateLimitRemaining = DEFAULT_RATELIMIT;
+
+ /*
+ * The last observed value of http header Fastly-RateLimit-Reset
+ */
+ this.rateLimitReset = null;
/**
* The base URL against which to resolve every API call's (relative) path.
@@ -3613,11 +4129,11 @@ var ApiClient = /*#__PURE__*/function () {
* @default https://api.fastly.com
*/
this.basePath = 'https://api.fastly.com'.replace(/\/+$/, '');
+
/**
* The authentication methods to be included for all API calls.
* @type {Array.param
.
*/
-
}, {
key: "paramToString",
value: function paramToString(param) {
if (param == undefined || param == null) {
return '';
}
-
if (param instanceof Date) {
return param.toJSON();
}
-
if (ApiClient.canBeJsonified(param)) {
return JSON.stringify(param);
}
-
return param.toString();
}
+
/**
* Returns a boolean indicating if the parameter could be JSON.stringified
* @param param The actual parameter
* @returns {Boolean} Flag indicating if param
can be JSON.stringified
*/
-
}, {
key: "buildUrl",
value:
@@ -3752,30 +4259,27 @@ var ApiClient = /*#__PURE__*/function () {
*/
function buildUrl(path, pathParams, apiBasePath) {
var _this = this;
-
if (!path.match(/^\//)) {
path = '/' + path;
}
+ var url = this.basePath + path;
- var url = this.basePath + path; // use API (operation, path) base path if defined
-
+ // use API (operation, path) base path if defined
if (apiBasePath !== null && apiBasePath !== undefined) {
url = apiBasePath + path;
}
-
url = url.replace(/\{([\w-\.]+)\}/g, function (fullMatch, key) {
var value;
-
if (pathParams.hasOwnProperty(key)) {
value = _this.paramToString(pathParams[key]);
} else {
value = fullMatch;
}
-
return encodeURIComponent(value);
});
return url;
}
+
/**
* Checks whether the given content type represents JSON.
* JSON content type examples:
@@ -3787,18 +4291,17 @@ var ApiClient = /*#__PURE__*/function () {
* @param {String} contentType The MIME content type to check.
* @returns {Boolean} true
if contentType
represents JSON, otherwise false
.
*/
-
}, {
key: "isJsonMime",
value: function isJsonMime(contentType) {
return Boolean(contentType != null && contentType.match(/^application\/json(;.*)?$/i));
}
+
/**
* Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.
* @param {Array.true
if param
represents a file.
*/
-
}, {
key: "isFileParam",
value: function isFileParam(param) {
// fs.ReadStream in Node.js and Electron (but not in runtime like browserify)
if (true) {
var fs;
-
try {
fs = __nccwpck_require__(57147);
} catch (err) {}
-
if (fs && fs.ReadStream && param instanceof fs.ReadStream) {
return true;
}
- } // Buffer in Node.js
-
+ }
+ // Buffer in Node.js
if (typeof Buffer === 'function' && param instanceof Buffer) {
return true;
- } // Blob in browser
-
+ }
+ // Blob in browser
if (typeof Blob === 'function' && param instanceof Blob) {
return true;
- } // File in browser (it seems File object is also instance of Blob, but keep this for safe)
-
+ }
+ // File in browser (it seems File object is also instance of Blob, but keep this for safe)
if (typeof File === 'function' && param instanceof File) {
return true;
}
-
return false;
}
+
/**
* Normalizes parameter values:
*
@@ -3859,16 +4359,13 @@ var ApiClient = /*#__PURE__*/function () {
* @param {Object.
param
as is if collectionFormat
is multi
.
*/
-
}, {
key: "buildCollectionParam",
value: function buildCollectionParam(param, collectionFormat) {
if (param == null) {
return null;
}
-
switch (collectionFormat) {
case 'csv':
return param.map(this.paramToString, this).join(',');
-
case 'ssv':
return param.map(this.paramToString, this).join(' ');
-
case 'tsv':
return param.map(this.paramToString, this).join('\t');
-
case 'pipes':
return param.map(this.paramToString, this).join('|');
-
case 'multi':
//return the array directly as SuperAgent will handle it as expected
return param.map(this.paramToString, this);
-
case 'passthrough':
return param;
-
default:
throw new Error('Unknown collection format: ' + collectionFormat);
}
}
+
/**
* Applies authentication headers to the request.
* @param {Object} request The request object created by a superagent()
call.
* @param {Array.data
will be converted to this type.
* @returns A value of the specified type.
*/
-
}, {
key: "deserialize",
value: function deserialize(response, returnType) {
if (response == null || returnType == null || response.status == 204) {
return null;
- } // Rely on SuperAgent for parsing response body.
- // See http://visionmedia.github.io/superagent/#parsing-response-bodies
-
+ }
+ // Rely on SuperAgent for parsing response body.
+ // See http://visionmedia.github.io/superagent/#parsing-response-bodies
var data = response.body;
-
if (data == null || _typeof(data) === 'object' && typeof data.length === 'undefined' && !Object.keys(data).length) {
// SuperAgent does not always produce a body; use the unparsed response as a fallback
data = response.text;
}
-
return ApiClient.convertToType(data, returnType);
}
+
/**
* Invokes the REST service using the supplied settings and parameters.
* @param {String} path The base URL to invoke.
@@ -4028,58 +4504,53 @@ var ApiClient = /*#__PURE__*/function () {
* @param {String} apiBasePath base path defined in the operation/path level to override the default one
* @returns {Promise} A {@link https://www.promisejs.org/|Promise} object.
*/
-
}, {
key: "callApi",
value: function callApi(path, httpMethod, pathParams, queryParams, headerParams, formParams, bodyParam, authNames, contentTypes, accepts, returnType, apiBasePath) {
var _this3 = this;
-
var url = this.buildUrl(path, pathParams, apiBasePath);
var request = (0, _superagent["default"])(httpMethod, url);
-
if (this.plugins !== null) {
for (var index in this.plugins) {
if (this.plugins.hasOwnProperty(index)) {
request.use(this.plugins[index]);
}
}
- } // apply authentications
-
+ }
- this.applyAuthToRequest(request, authNames); // set query parameters
+ // apply authentications
+ this.applyAuthToRequest(request, authNames);
+ // set query parameters
if (httpMethod.toUpperCase() === 'GET' && this.cache === false) {
queryParams['_'] = new Date().getTime();
}
+ request.query(this.normalizeParams(queryParams));
- request.query(this.normalizeParams(queryParams)); // set header parameters
-
- request.set(this.defaultHeaders).set(this.normalizeParams(headerParams)); // set requestAgent if it is set by user
+ // set header parameters
+ request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
+ // set requestAgent if it is set by user
if (this.requestAgent) {
request.agent(this.requestAgent);
- } // set request timeout
-
+ }
+ // set request timeout
request.timeout(this.timeout);
var contentType = this.jsonPreferredMime(contentTypes);
-
if (contentType) {
// Issue with superagent and multipart/form-data (https://github.com/visionmedia/superagent/issues/746)
if (contentType != 'multipart/form-data') {
request.type(contentType);
}
}
-
if (contentType === 'application/x-www-form-urlencoded') {
request.send(_querystring["default"].stringify(this.normalizeParams(formParams)));
} else if (contentType == 'multipart/form-data') {
var _formParams = this.normalizeParams(formParams);
-
for (var key in _formParams) {
if (_formParams.hasOwnProperty(key)) {
var _formParamsValue = _formParams[key];
-
if (this.isFileParam(_formParamsValue)) {
// file field
request.attach(key, _formParamsValue);
@@ -4097,23 +4568,19 @@ var ApiClient = /*#__PURE__*/function () {
if (!request.header['Content-Type']) {
request.type('application/json');
}
-
request.send(bodyParam);
}
-
var accept = this.jsonPreferredMime(accepts);
-
if (accept) {
request.accept(accept);
}
-
if (returnType === 'Blob') {
request.responseType('blob');
} else if (returnType === 'String') {
request.responseType('string');
- } // Attach previously saved cookies, if enabled
-
+ }
+ // Attach previously saved cookies, if enabled
if (this.enableCookies) {
if (typeof window === 'undefined') {
this.agent._attachCookies(request);
@@ -4121,29 +4588,34 @@ var ApiClient = /*#__PURE__*/function () {
request.withCredentials();
}
}
-
return new Promise(function (resolve, reject) {
request.end(function (error, response) {
if (error) {
var err = {};
-
if (response) {
err.status = response.status;
err.statusText = response.statusText;
err.body = response.body;
err.response = response;
}
-
err.error = error;
reject(err);
} else {
try {
var data = _this3.deserialize(response, returnType);
-
if (_this3.enableCookies && typeof window === 'undefined') {
_this3.agent._saveCookies(response);
}
-
+ if (httpMethod.toUpperCase() !== 'GET' && httpMethod.toUpperCase() !== 'HEAD') {
+ var remaining = response.get('Fastly-RateLimit-Remaining');
+ if (remaining !== undefined) {
+ _this3.rateLimitRemaining = Number(remaining);
+ }
+ var reset = response.get('Fastly-RateLimit-Reset');
+ if (reset !== undefined) {
+ _this3.rateLimitReset = Number(reset);
+ }
+ }
resolve({
data: data,
response: response
@@ -4155,12 +4627,12 @@ var ApiClient = /*#__PURE__*/function () {
});
});
}
+
/**
* Parses an ISO-8601 string representation or epoch representation of a date value.
* @param {String} str The date value as a string.
* @returns {Date} The parsed date object.
*/
-
}, {
key: "hostSettings",
value:
@@ -4181,19 +4653,19 @@ var ApiClient = /*#__PURE__*/function () {
key: "getBasePathFromSettings",
value: function getBasePathFromSettings(index) {
var variables = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
- var servers = this.hostSettings(); // check array index out of bound
+ var servers = this.hostSettings();
+ // check array index out of bound
if (index < 0 || index >= servers.length) {
throw new Error("Invalid index " + index + " when selecting the host settings. Must be less than " + servers.length);
}
-
var server = servers[index];
- var url = server['url']; // go through variable and assign a value
+ var url = server['url'];
+ // go through variable and assign a value
for (var variable_name in server['variables']) {
if (variable_name in variables) {
var variable = server['variables'][variable_name];
-
if (!('enum_values' in variable) || variable['enum_values'].includes(variables[variable_name])) {
url = url.replace("{" + variable_name + "}", variables[variable_name]);
} else {
@@ -4204,20 +4676,18 @@ var ApiClient = /*#__PURE__*/function () {
url = url.replace("{" + variable_name + "}", server['variables'][variable_name]['default_value']);
}
}
-
return url;
}
+
/**
* Constructs a new map or array model from REST data.
* @param data {Object|Array} The REST data.
* @param obj {Object|Array} The target object or array.
*/
-
}], [{
key: "canBeJsonified",
value: function canBeJsonified(str) {
if (typeof str !== 'string' && _typeof(str) !== 'object') return false;
-
try {
var type = str.toString();
return type === '[object Object]' || type === '[object Array]';
@@ -4231,9 +4701,9 @@ var ApiClient = /*#__PURE__*/function () {
if (isNaN(str)) {
return new Date(str.replace(/(\d)(T)(\d)/i, '$1 $3'));
}
-
return new Date(+str);
}
+
/**
* Converts a value to the specified type.
* @param {(String|Object)} data The data to convert, as a string or object.
@@ -4243,31 +4713,23 @@ var ApiClient = /*#__PURE__*/function () {
* all properties on
data
will be converted to this type.
* @returns An instance of the specified type or null or undefined if data is null or undefined.
*/
-
}, {
key: "convertToType",
value: function convertToType(data, type) {
if (data === null || data === undefined) return data;
-
switch (type) {
case 'Boolean':
return Boolean(data);
-
case 'Integer':
return parseInt(data, 10);
-
case 'Number':
return parseFloat(data);
-
case 'String':
return String(data);
-
case 'Date':
return ApiClient.parseDate(String(data));
-
case 'Blob':
return data;
-
default:
if (type === Object) {
// generic object, return directly
@@ -4284,7 +4746,6 @@ var ApiClient = /*#__PURE__*/function () {
} else if (_typeof(type) === 'object') {
// for plain object type like: {'String': 'Integer'}
var keyType, valueType;
-
for (var k in type) {
if (type.hasOwnProperty(k)) {
keyType = k;
@@ -4292,9 +4753,7 @@ var ApiClient = /*#__PURE__*/function () {
break;
}
}
-
var result = {};
-
for (var k in data) {
if (data.hasOwnProperty(k)) {
var key = ApiClient.convertToType(k, keyType);
@@ -4302,13 +4761,11 @@ var ApiClient = /*#__PURE__*/function () {
result[key] = value;
}
}
-
return result;
} else {
// for unknown type, return the data directly
return data;
}
-
}
}
}, {
@@ -4325,7 +4782,6 @@ var ApiClient = /*#__PURE__*/function () {
}
}
}]);
-
return ApiClient;
}();
/**
@@ -4333,44 +4789,38 @@ var ApiClient = /*#__PURE__*/function () {
* @enum {String}
* @readonly
*/
-
-
ApiClient.CollectionFormatEnum = {
/**
* Comma-separated values. Value:
csv
* @const
*/
CSV: ',',
-
/**
* Space-separated values. Value: ssv
* @const
*/
SSV: ' ',
-
/**
* Tab-separated values. Value: tsv
* @const
*/
TSV: '\t',
-
/**
* Pipe(|)-separated values. Value: pipes
* @const
*/
PIPES: '|',
-
/**
* Native array. Value: multi
* @const
*/
MULTI: 'multi'
};
+
/**
* The default API client implementation.
* @type {module:ApiClient}
*/
-
ApiClient.instance = new ApiClient();
var _default = ApiClient;
exports["default"] = _default;
@@ -4387,25 +4837,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _AclResponse = _interopRequireDefault(__nccwpck_require__(56034));
-
var _InlineResponse = _interopRequireDefault(__nccwpck_require__(55738));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Acl service.
* @module api/AclApi
-* @version 3.0.0-beta2
+* @version v3.1.0
*/
var AclApi = /*#__PURE__*/function () {
/**
@@ -4417,13 +4862,12 @@ var AclApi = /*#__PURE__*/function () {
*/
function AclApi(apiClient) {
_classCallCheck(this, AclApi);
-
this.apiClient = apiClient || _ApiClient["default"].instance;
-
if (typeof window === 'undefined' && Boolean(process.env.FASTLY_API_TOKEN)) {
this.apiClient.authenticate(process.env.FASTLY_API_TOKEN);
}
}
+
/**
* Create a new ACL attached to the specified service version. A new, empty ACL must be attached to a draft version of a service. The version associated with the ACL must be activated to be used.
* @param {Object} options
@@ -4432,23 +4876,19 @@ var AclApi = /*#__PURE__*/function () {
* @param {String} [options.name] - Name for the ACL. Must start with an alphanumeric character and contain only alphanumeric characters, underscores, and whitespace.
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AclResponse} and HTTP response
*/
-
-
_createClass(AclApi, [{
key: "createAclWithHttpInfo",
value: function createAclWithHttpInfo() {
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
- var postBody = null; // Verify the required parameter 'service_id' is set.
-
+ var postBody = null;
+ // Verify the required parameter 'service_id' is set.
if (options['service_id'] === undefined || options['service_id'] === null) {
throw new Error("Missing the required parameter 'service_id'.");
- } // Verify the required parameter 'version_id' is set.
-
-
+ }
+ // Verify the required parameter 'version_id' is set.
if (options['version_id'] === undefined || options['version_id'] === null) {
throw new Error("Missing the required parameter 'version_id'.");
}
-
var pathParams = {
'service_id': options['service_id'],
'version_id': options['version_id']
@@ -4464,6 +4904,7 @@ var AclApi = /*#__PURE__*/function () {
var returnType = _AclResponse["default"];
return this.apiClient.callApi('/service/{service_id}/version/{version_id}/acl', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
}
+
/**
* Create a new ACL attached to the specified service version. A new, empty ACL must be attached to a draft version of a service. The version associated with the ACL must be activated to be used.
* @param {Object} options
@@ -4472,7 +4913,6 @@ var AclApi = /*#__PURE__*/function () {
* @param {String} [options.name] - Name for the ACL. Must start with an alphanumeric character and contain only alphanumeric characters, underscores, and whitespace.
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AclResponse}
*/
-
}, {
key: "createAcl",
value: function createAcl() {
@@ -4481,6 +4921,7 @@ var AclApi = /*#__PURE__*/function () {
return response_and_data.data;
});
}
+
/**
* Delete an ACL from the specified service version. To remove an ACL from use, the ACL must be deleted from a draft version and the version without the ACL must be activated.
* @param {Object} options
@@ -4489,27 +4930,23 @@ var AclApi = /*#__PURE__*/function () {
* @param {String} options.acl_name - Name for the ACL. Must start with an alphanumeric character and contain only alphanumeric characters, underscores, and whitespace.
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/InlineResponse200} and HTTP response
*/
-
}, {
key: "deleteAclWithHttpInfo",
value: function deleteAclWithHttpInfo() {
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
- var postBody = null; // Verify the required parameter 'service_id' is set.
-
+ var postBody = null;
+ // Verify the required parameter 'service_id' is set.
if (options['service_id'] === undefined || options['service_id'] === null) {
throw new Error("Missing the required parameter 'service_id'.");
- } // Verify the required parameter 'version_id' is set.
-
-
+ }
+ // Verify the required parameter 'version_id' is set.
if (options['version_id'] === undefined || options['version_id'] === null) {
throw new Error("Missing the required parameter 'version_id'.");
- } // Verify the required parameter 'acl_name' is set.
-
-
+ }
+ // Verify the required parameter 'acl_name' is set.
if (options['acl_name'] === undefined || options['acl_name'] === null) {
throw new Error("Missing the required parameter 'acl_name'.");
}
-
var pathParams = {
'service_id': options['service_id'],
'version_id': options['version_id'],
@@ -4524,6 +4961,7 @@ var AclApi = /*#__PURE__*/function () {
var returnType = _InlineResponse["default"];
return this.apiClient.callApi('/service/{service_id}/version/{version_id}/acl/{acl_name}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
}
+
/**
* Delete an ACL from the specified service version. To remove an ACL from use, the ACL must be deleted from a draft version and the version without the ACL must be activated.
* @param {Object} options
@@ -4532,7 +4970,6 @@ var AclApi = /*#__PURE__*/function () {
* @param {String} options.acl_name - Name for the ACL. Must start with an alphanumeric character and contain only alphanumeric characters, underscores, and whitespace.
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/InlineResponse200}
*/
-
}, {
key: "deleteAcl",
value: function deleteAcl() {
@@ -4541,6 +4978,7 @@ var AclApi = /*#__PURE__*/function () {
return response_and_data.data;
});
}
+
/**
* Retrieve a single ACL by name for the version and service.
* @param {Object} options
@@ -4549,27 +4987,23 @@ var AclApi = /*#__PURE__*/function () {
* @param {String} options.acl_name - Name for the ACL. Must start with an alphanumeric character and contain only alphanumeric characters, underscores, and whitespace.
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AclResponse} and HTTP response
*/
-
}, {
key: "getAclWithHttpInfo",
value: function getAclWithHttpInfo() {
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
- var postBody = null; // Verify the required parameter 'service_id' is set.
-
+ var postBody = null;
+ // Verify the required parameter 'service_id' is set.
if (options['service_id'] === undefined || options['service_id'] === null) {
throw new Error("Missing the required parameter 'service_id'.");
- } // Verify the required parameter 'version_id' is set.
-
-
+ }
+ // Verify the required parameter 'version_id' is set.
if (options['version_id'] === undefined || options['version_id'] === null) {
throw new Error("Missing the required parameter 'version_id'.");
- } // Verify the required parameter 'acl_name' is set.
-
-
+ }
+ // Verify the required parameter 'acl_name' is set.
if (options['acl_name'] === undefined || options['acl_name'] === null) {
throw new Error("Missing the required parameter 'acl_name'.");
}
-
var pathParams = {
'service_id': options['service_id'],
'version_id': options['version_id'],
@@ -4584,6 +5018,7 @@ var AclApi = /*#__PURE__*/function () {
var returnType = _AclResponse["default"];
return this.apiClient.callApi('/service/{service_id}/version/{version_id}/acl/{acl_name}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
}
+
/**
* Retrieve a single ACL by name for the version and service.
* @param {Object} options
@@ -4592,7 +5027,6 @@ var AclApi = /*#__PURE__*/function () {
* @param {String} options.acl_name - Name for the ACL. Must start with an alphanumeric character and contain only alphanumeric characters, underscores, and whitespace.
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AclResponse}
*/
-
}, {
key: "getAcl",
value: function getAcl() {
@@ -4601,6 +5035,7 @@ var AclApi = /*#__PURE__*/function () {
return response_and_data.data;
});
}
+
/**
* List ACLs.
* @param {Object} options
@@ -4608,22 +5043,19 @@ var AclApi = /*#__PURE__*/function () {
* @param {Number} options.version_id - Integer identifying a service version.
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.
Acl
.
+ * @alias module:model/Acl
+ */
+ function Acl() {
+ _classCallCheck(this, Acl);
+ Acl.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(Acl, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a Acl
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Acl} obj Optional instance to populate.
+ * @return {module:model/Acl} The populated Acl
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Acl();
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return Acl;
+}();
+/**
+ * Name for the ACL. Must start with an alphanumeric character and contain only alphanumeric characters, underscores, and whitespace.
+ * @member {String} name
+ */
+Acl.prototype['name'] = undefined;
+var _default = Acl;
+exports["default"] = _default;
+/***/ }),
+
+/***/ 70179:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The AclEntry model module.
+ * @module model/AclEntry
+ * @version v3.1.0
+ */
+var AclEntry = /*#__PURE__*/function () {
+ /**
+ * Constructs a new AclEntry
.
+ * @alias module:model/AclEntry
+ */
+ function AclEntry() {
+ _classCallCheck(this, AclEntry);
+ AclEntry.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(AclEntry, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a AclEntry
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AclEntry} obj Optional instance to populate.
+ * @return {module:model/AclEntry} The populated AclEntry
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AclEntry();
+ if (data.hasOwnProperty('negated')) {
+ obj['negated'] = _ApiClient["default"].convertToType(data['negated'], 'Number');
+ }
+ if (data.hasOwnProperty('comment')) {
+ obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
+ }
+ if (data.hasOwnProperty('ip')) {
+ obj['ip'] = _ApiClient["default"].convertToType(data['ip'], 'String');
+ }
+ if (data.hasOwnProperty('subnet')) {
+ obj['subnet'] = _ApiClient["default"].convertToType(data['subnet'], 'Number');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return AclEntry;
+}();
+/**
+ * Whether to negate the match. Useful primarily when creating individual exceptions to larger subnets.
+ * @member {module:model/AclEntry.NegatedEnum} negated
+ * @default NegatedEnum.0
+ */
+AclEntry.prototype['negated'] = undefined;
+
+/**
+ * A freeform descriptive note.
+ * @member {String} comment
+ */
+AclEntry.prototype['comment'] = undefined;
+
+/**
+ * An IP address.
+ * @member {String} ip
+ */
+AclEntry.prototype['ip'] = undefined;
+
+/**
+ * Number of bits for the subnet mask applied to the IP address. For IPv4 addresses, a value of 32 represents the smallest subnet mask (1 address), 24 represents a class C subnet mask (256 addresses), 16 represents a class B subnet mask (65k addresses), and 8 is class A subnet mask (16m addresses). If not provided, no mask is applied.
+ * @member {Number} subnet
+ */
+AclEntry.prototype['subnet'] = undefined;
+
+/**
+ * Allowed values for the negated
property.
+ * @enum {Number}
+ * @readonly
+ */
+AclEntry['NegatedEnum'] = {
+ /**
+ * value: 0
+ * @const
+ */
+ "0": 0,
+ /**
+ * value: 1
+ * @const
+ */
+ "1": 1
+};
+var _default = AclEntry;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 6053:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _AclEntry = _interopRequireDefault(__nccwpck_require__(70179));
+var _AclEntryResponseAllOf = _interopRequireDefault(__nccwpck_require__(26378));
+var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The AclEntryResponse model module.
+ * @module model/AclEntryResponse
+ * @version v3.1.0
+ */
+var AclEntryResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new AclEntryResponse
.
+ * @alias module:model/AclEntryResponse
+ * @implements module:model/AclEntry
+ * @implements module:model/Timestamps
+ * @implements module:model/AclEntryResponseAllOf
+ */
+ function AclEntryResponse() {
+ _classCallCheck(this, AclEntryResponse);
+ _AclEntry["default"].initialize(this);
+ _Timestamps["default"].initialize(this);
+ _AclEntryResponseAllOf["default"].initialize(this);
+ AclEntryResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(AclEntryResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a AclEntryResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AclEntryResponse} obj Optional instance to populate.
+ * @return {module:model/AclEntryResponse} The populated AclEntryResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AclEntryResponse();
+ _AclEntry["default"].constructFromObject(data, obj);
+ _Timestamps["default"].constructFromObject(data, obj);
+ _AclEntryResponseAllOf["default"].constructFromObject(data, obj);
+ if (data.hasOwnProperty('negated')) {
+ obj['negated'] = _ApiClient["default"].convertToType(data['negated'], 'Number');
+ }
+ if (data.hasOwnProperty('comment')) {
+ obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
+ }
+ if (data.hasOwnProperty('ip')) {
+ obj['ip'] = _ApiClient["default"].convertToType(data['ip'], 'String');
+ }
+ if (data.hasOwnProperty('subnet')) {
+ obj['subnet'] = _ApiClient["default"].convertToType(data['subnet'], 'Number');
+ }
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
+ }
+ if (data.hasOwnProperty('acl_id')) {
+ obj['acl_id'] = _ApiClient["default"].convertToType(data['acl_id'], 'String');
+ }
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return AclEntryResponse;
+}();
+/**
+ * Whether to negate the match. Useful primarily when creating individual exceptions to larger subnets.
+ * @member {module:model/AclEntryResponse.NegatedEnum} negated
+ * @default NegatedEnum.0
+ */
+AclEntryResponse.prototype['negated'] = undefined;
+
+/**
+ * A freeform descriptive note.
+ * @member {String} comment
+ */
+AclEntryResponse.prototype['comment'] = undefined;
+
+/**
+ * An IP address.
+ * @member {String} ip
+ */
+AclEntryResponse.prototype['ip'] = undefined;
+
+/**
+ * Number of bits for the subnet mask applied to the IP address. For IPv4 addresses, a value of 32 represents the smallest subnet mask (1 address), 24 represents a class C subnet mask (256 addresses), 16 represents a class B subnet mask (65k addresses), and 8 is class A subnet mask (16m addresses). If not provided, no mask is applied.
+ * @member {Number} subnet
+ */
+AclEntryResponse.prototype['subnet'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+AclEntryResponse.prototype['created_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+AclEntryResponse.prototype['deleted_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+AclEntryResponse.prototype['updated_at'] = undefined;
+
+/**
+ * @member {String} acl_id
+ */
+AclEntryResponse.prototype['acl_id'] = undefined;
+
+/**
+ * @member {String} id
+ */
+AclEntryResponse.prototype['id'] = undefined;
+
+/**
+ * @member {String} service_id
+ */
+AclEntryResponse.prototype['service_id'] = undefined;
+
+// Implement AclEntry interface:
+/**
+ * Whether to negate the match. Useful primarily when creating individual exceptions to larger subnets.
+ * @member {module:model/AclEntry.NegatedEnum} negated
+ * @default NegatedEnum.0
+ */
+_AclEntry["default"].prototype['negated'] = undefined;
+/**
+ * A freeform descriptive note.
+ * @member {String} comment
+ */
+_AclEntry["default"].prototype['comment'] = undefined;
+/**
+ * An IP address.
+ * @member {String} ip
+ */
+_AclEntry["default"].prototype['ip'] = undefined;
+/**
+ * Number of bits for the subnet mask applied to the IP address. For IPv4 addresses, a value of 32 represents the smallest subnet mask (1 address), 24 represents a class C subnet mask (256 addresses), 16 represents a class B subnet mask (65k addresses), and 8 is class A subnet mask (16m addresses). If not provided, no mask is applied.
+ * @member {Number} subnet
+ */
+_AclEntry["default"].prototype['subnet'] = undefined;
+// Implement Timestamps interface:
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+_Timestamps["default"].prototype['created_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+_Timestamps["default"].prototype['deleted_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement AclEntryResponseAllOf interface:
+/**
+ * @member {String} acl_id
+ */
+_AclEntryResponseAllOf["default"].prototype['acl_id'] = undefined;
+/**
+ * @member {String} id
+ */
+_AclEntryResponseAllOf["default"].prototype['id'] = undefined;
+/**
+ * @member {String} service_id
+ */
+_AclEntryResponseAllOf["default"].prototype['service_id'] = undefined;
+
+/**
+ * Allowed values for the negated
property.
+ * @enum {Number}
+ * @readonly
+ */
+AclEntryResponse['NegatedEnum'] = {
+ /**
+ * value: 0
+ * @const
+ */
+ "0": 0,
+ /**
+ * value: 1
+ * @const
+ */
+ "1": 1
+};
+var _default = AclEntryResponse;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 26378:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The AclEntryResponseAllOf model module.
+ * @module model/AclEntryResponseAllOf
+ * @version v3.1.0
+ */
+var AclEntryResponseAllOf = /*#__PURE__*/function () {
+ /**
+ * Constructs a new AclEntryResponseAllOf
.
+ * @alias module:model/AclEntryResponseAllOf
+ */
+ function AclEntryResponseAllOf() {
+ _classCallCheck(this, AclEntryResponseAllOf);
+ AclEntryResponseAllOf.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(AclEntryResponseAllOf, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a AclEntryResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AclEntryResponseAllOf} obj Optional instance to populate.
+ * @return {module:model/AclEntryResponseAllOf} The populated AclEntryResponseAllOf
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AclEntryResponseAllOf();
+ if (data.hasOwnProperty('acl_id')) {
+ obj['acl_id'] = _ApiClient["default"].convertToType(data['acl_id'], 'String');
+ }
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return AclEntryResponseAllOf;
+}();
+/**
+ * @member {String} acl_id
+ */
+AclEntryResponseAllOf.prototype['acl_id'] = undefined;
+
+/**
+ * @member {String} id
+ */
+AclEntryResponseAllOf.prototype['id'] = undefined;
+
+/**
+ * @member {String} service_id
+ */
+AclEntryResponseAllOf.prototype['service_id'] = undefined;
+var _default = AclEntryResponseAllOf;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 56034:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _Acl = _interopRequireDefault(__nccwpck_require__(79837));
+var _AclResponseAllOf = _interopRequireDefault(__nccwpck_require__(42702));
+var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
+var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The Acl model module.
- * @module model/Acl
- * @version 3.0.0-beta2
+ * The AclResponse model module.
+ * @module model/AclResponse
+ * @version v3.1.0
*/
-var Acl = /*#__PURE__*/function () {
+var AclResponse = /*#__PURE__*/function () {
/**
- * Constructs a new Acl
.
- * @alias module:model/Acl
+ * Constructs a new AclResponse
.
+ * @alias module:model/AclResponse
+ * @implements module:model/Acl
+ * @implements module:model/Timestamps
+ * @implements module:model/ServiceIdAndVersion
+ * @implements module:model/AclResponseAllOf
*/
- function Acl() {
- _classCallCheck(this, Acl);
-
- Acl.initialize(this);
+ function AclResponse() {
+ _classCallCheck(this, AclResponse);
+ _Acl["default"].initialize(this);
+ _Timestamps["default"].initialize(this);
+ _ServiceIdAndVersion["default"].initialize(this);
+ _AclResponseAllOf["default"].initialize(this);
+ AclResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(Acl, null, [{
+ _createClass(AclResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a Acl
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a AclResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/Acl} obj Optional instance to populate.
- * @return {module:model/Acl} The populated Acl
instance.
+ * @param {module:model/AclResponse} obj Optional instance to populate.
+ * @return {module:model/AclResponse} The populated AclResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new Acl();
-
+ obj = obj || new AclResponse();
+ _Acl["default"].constructFromObject(data, obj);
+ _Timestamps["default"].constructFromObject(data, obj);
+ _ServiceIdAndVersion["default"].constructFromObject(data, obj);
+ _AclResponseAllOf["default"].constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
+ }
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
+ }
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
+ }
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ }
}
-
return obj;
}
}]);
-
- return Acl;
+ return AclResponse;
}();
/**
* Name for the ACL. Must start with an alphanumeric character and contain only alphanumeric characters, underscores, and whitespace.
* @member {String} name
*/
+AclResponse.prototype['name'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+AclResponse.prototype['created_at'] = undefined;
-Acl.prototype['name'] = undefined;
-var _default = Acl;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+AclResponse.prototype['deleted_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+AclResponse.prototype['updated_at'] = undefined;
+
+/**
+ * @member {String} service_id
+ */
+AclResponse.prototype['service_id'] = undefined;
+
+/**
+ * @member {Number} version
+ */
+AclResponse.prototype['version'] = undefined;
+
+/**
+ * @member {String} id
+ */
+AclResponse.prototype['id'] = undefined;
+
+// Implement Acl interface:
+/**
+ * Name for the ACL. Must start with an alphanumeric character and contain only alphanumeric characters, underscores, and whitespace.
+ * @member {String} name
+ */
+_Acl["default"].prototype['name'] = undefined;
+// Implement Timestamps interface:
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+_Timestamps["default"].prototype['created_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+_Timestamps["default"].prototype['deleted_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
+/**
+ * @member {String} service_id
+ */
+_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
+/**
+ * @member {Number} version
+ */
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+// Implement AclResponseAllOf interface:
+/**
+ * @member {String} id
+ */
+_AclResponseAllOf["default"].prototype['id'] = undefined;
+var _default = AclResponse;
exports["default"] = _default;
/***/ }),
-/***/ 70179:
+/***/ 42702:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -39156,130 +38778,69 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The AclEntry model module.
- * @module model/AclEntry
- * @version 3.0.0-beta2
+ * The AclResponseAllOf model module.
+ * @module model/AclResponseAllOf
+ * @version v3.1.0
*/
-var AclEntry = /*#__PURE__*/function () {
+var AclResponseAllOf = /*#__PURE__*/function () {
/**
- * Constructs a new AclEntry
.
- * @alias module:model/AclEntry
+ * Constructs a new AclResponseAllOf
.
+ * @alias module:model/AclResponseAllOf
*/
- function AclEntry() {
- _classCallCheck(this, AclEntry);
-
- AclEntry.initialize(this);
+ function AclResponseAllOf() {
+ _classCallCheck(this, AclResponseAllOf);
+ AclResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(AclEntry, null, [{
+ _createClass(AclResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a AclEntry
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a AclResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/AclEntry} obj Optional instance to populate.
- * @return {module:model/AclEntry} The populated AclEntry
instance.
+ * @param {module:model/AclResponseAllOf} obj Optional instance to populate.
+ * @return {module:model/AclResponseAllOf} The populated AclResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new AclEntry();
-
- if (data.hasOwnProperty('negated')) {
- obj['negated'] = _ApiClient["default"].convertToType(data['negated'], 'Number');
- }
-
- if (data.hasOwnProperty('comment')) {
- obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
- }
-
- if (data.hasOwnProperty('ip')) {
- obj['ip'] = _ApiClient["default"].convertToType(data['ip'], 'String');
- }
-
- if (data.hasOwnProperty('subnet')) {
- obj['subnet'] = _ApiClient["default"].convertToType(data['subnet'], 'Number');
+ obj = obj || new AclResponseAllOf();
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
- return AclEntry;
+ return AclResponseAllOf;
}();
/**
- * Whether to negate the match. Useful primarily when creating individual exceptions to larger subnets.
- * @member {module:model/AclEntry.NegatedEnum} negated
- * @default NegatedEnum.0
- */
-
-
-AclEntry.prototype['negated'] = undefined;
-/**
- * A freeform descriptive note.
- * @member {String} comment
- */
-
-AclEntry.prototype['comment'] = undefined;
-/**
- * An IP address.
- * @member {String} ip
- */
-
-AclEntry.prototype['ip'] = undefined;
-/**
- * Number of bits for the subnet mask applied to the IP address. For IPv4 addresses, a value of 32 represents the smallest subnet mask (1 address), 24 represents a class C subnet mask (256 addresses), 16 represents a class B subnet mask (65k addresses), and 8 is class A subnet mask (16m addresses). If not provided, no mask is applied.
- * @member {Number} subnet
- */
-
-AclEntry.prototype['subnet'] = undefined;
-/**
- * Allowed values for the negated
property.
- * @enum {Number}
- * @readonly
+ * @member {String} id
*/
-
-AclEntry['NegatedEnum'] = {
- /**
- * value: 0
- * @const
- */
- "0": 0,
-
- /**
- * value: 1
- * @const
- */
- "1": 1
-};
-var _default = AclEntry;
+AclResponseAllOf.prototype['id'] = undefined;
+var _default = AclResponseAllOf;
exports["default"] = _default;
/***/ }),
-/***/ 6053:
+/***/ 60060:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -39289,269 +38850,493 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
-var _AclEntry = _interopRequireDefault(__nccwpck_require__(70179));
-
-var _AclEntryResponseAllOf = _interopRequireDefault(__nccwpck_require__(26378));
-
+var _ApexRedirectAllOf = _interopRequireDefault(__nccwpck_require__(42054));
+var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The AclEntryResponse model module.
- * @module model/AclEntryResponse
- * @version 3.0.0-beta2
+ * The ApexRedirect model module.
+ * @module model/ApexRedirect
+ * @version v3.1.0
*/
-var AclEntryResponse = /*#__PURE__*/function () {
+var ApexRedirect = /*#__PURE__*/function () {
/**
- * Constructs a new AclEntryResponse
.
- * @alias module:model/AclEntryResponse
- * @implements module:model/AclEntry
+ * Constructs a new ApexRedirect
.
+ * @alias module:model/ApexRedirect
+ * @implements module:model/ServiceIdAndVersion
* @implements module:model/Timestamps
- * @implements module:model/AclEntryResponseAllOf
+ * @implements module:model/ApexRedirectAllOf
*/
- function AclEntryResponse() {
- _classCallCheck(this, AclEntryResponse);
-
- _AclEntry["default"].initialize(this);
-
+ function ApexRedirect() {
+ _classCallCheck(this, ApexRedirect);
+ _ServiceIdAndVersion["default"].initialize(this);
_Timestamps["default"].initialize(this);
-
- _AclEntryResponseAllOf["default"].initialize(this);
-
- AclEntryResponse.initialize(this);
+ _ApexRedirectAllOf["default"].initialize(this);
+ ApexRedirect.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(AclEntryResponse, null, [{
+ _createClass(ApexRedirect, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a AclEntryResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a ApexRedirect
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/AclEntryResponse} obj Optional instance to populate.
- * @return {module:model/AclEntryResponse} The populated AclEntryResponse
instance.
+ * @param {module:model/ApexRedirect} obj Optional instance to populate.
+ * @return {module:model/ApexRedirect} The populated ApexRedirect
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new AclEntryResponse();
-
- _AclEntry["default"].constructFromObject(data, obj);
-
+ obj = obj || new ApexRedirect();
+ _ServiceIdAndVersion["default"].constructFromObject(data, obj);
_Timestamps["default"].constructFromObject(data, obj);
-
- _AclEntryResponseAllOf["default"].constructFromObject(data, obj);
-
- if (data.hasOwnProperty('negated')) {
- obj['negated'] = _ApiClient["default"].convertToType(data['negated'], 'Number');
- }
-
- if (data.hasOwnProperty('comment')) {
- obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
- }
-
- if (data.hasOwnProperty('ip')) {
- obj['ip'] = _ApiClient["default"].convertToType(data['ip'], 'String');
+ _ApexRedirectAllOf["default"].constructFromObject(data, obj);
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
- if (data.hasOwnProperty('subnet')) {
- obj['subnet'] = _ApiClient["default"].convertToType(data['subnet'], 'Number');
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
- if (data.hasOwnProperty('acl_id')) {
- obj['acl_id'] = _ApiClient["default"].convertToType(data['acl_id'], 'String');
+ if (data.hasOwnProperty('status_code')) {
+ obj['status_code'] = _ApiClient["default"].convertToType(data['status_code'], 'Number');
}
-
- if (data.hasOwnProperty('id')) {
- obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ if (data.hasOwnProperty('domains')) {
+ obj['domains'] = _ApiClient["default"].convertToType(data['domains'], ['String']);
}
-
- if (data.hasOwnProperty('service_id')) {
- obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
+ if (data.hasOwnProperty('feature_revision')) {
+ obj['feature_revision'] = _ApiClient["default"].convertToType(data['feature_revision'], 'Number');
}
}
-
return obj;
}
}]);
-
- return AclEntryResponse;
+ return ApexRedirect;
}();
/**
- * Whether to negate the match. Useful primarily when creating individual exceptions to larger subnets.
- * @member {module:model/AclEntryResponse.NegatedEnum} negated
- * @default NegatedEnum.0
+ * @member {String} service_id
*/
+ApexRedirect.prototype['service_id'] = undefined;
+/**
+ * @member {Number} version
+ */
+ApexRedirect.prototype['version'] = undefined;
-AclEntryResponse.prototype['negated'] = undefined;
/**
- * A freeform descriptive note.
- * @member {String} comment
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
*/
+ApexRedirect.prototype['created_at'] = undefined;
-AclEntryResponse.prototype['comment'] = undefined;
/**
- * An IP address.
- * @member {String} ip
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
*/
+ApexRedirect.prototype['deleted_at'] = undefined;
-AclEntryResponse.prototype['ip'] = undefined;
/**
- * Number of bits for the subnet mask applied to the IP address. For IPv4 addresses, a value of 32 represents the smallest subnet mask (1 address), 24 represents a class C subnet mask (256 addresses), 16 represents a class B subnet mask (65k addresses), and 8 is class A subnet mask (16m addresses). If not provided, no mask is applied.
- * @member {Number} subnet
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
*/
+ApexRedirect.prototype['updated_at'] = undefined;
+
+/**
+ * HTTP status code used to redirect the client.
+ * @member {module:model/ApexRedirect.StatusCodeEnum} status_code
+ */
+ApexRedirect.prototype['status_code'] = undefined;
-AclEntryResponse.prototype['subnet'] = undefined;
+/**
+ * Array of apex domains that should redirect to their WWW subdomain.
+ * @member {Array.status_code
property.
+ * @enum {Number}
+ * @readonly
+ */
+ApexRedirect['StatusCodeEnum'] = {
+ /**
+ * value: 301
+ * @const
+ */
+ "301": 301,
+ /**
+ * value: 302
+ * @const
+ */
+ "302": 302,
+ /**
+ * value: 307
+ * @const
+ */
+ "307": 307,
+ /**
+ * value: 308
+ * @const
+ */
+ "308": 308
+};
+var _default = ApexRedirect;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 42054:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ApexRedirectAllOf model module.
+ * @module model/ApexRedirectAllOf
+ * @version v3.1.0
+ */
+var ApexRedirectAllOf = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ApexRedirectAllOf
.
+ * @alias module:model/ApexRedirectAllOf
+ */
+ function ApexRedirectAllOf() {
+ _classCallCheck(this, ApexRedirectAllOf);
+ ApexRedirectAllOf.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ApexRedirectAllOf, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a ApexRedirectAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ApexRedirectAllOf} obj Optional instance to populate.
+ * @return {module:model/ApexRedirectAllOf} The populated ApexRedirectAllOf
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ApexRedirectAllOf();
+ if (data.hasOwnProperty('status_code')) {
+ obj['status_code'] = _ApiClient["default"].convertToType(data['status_code'], 'Number');
+ }
+ if (data.hasOwnProperty('domains')) {
+ obj['domains'] = _ApiClient["default"].convertToType(data['domains'], ['String']);
+ }
+ if (data.hasOwnProperty('feature_revision')) {
+ obj['feature_revision'] = _ApiClient["default"].convertToType(data['feature_revision'], 'Number');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return ApexRedirectAllOf;
+}();
+/**
+ * HTTP status code used to redirect the client.
+ * @member {module:model/ApexRedirectAllOf.StatusCodeEnum} status_code
*/
+ApexRedirectAllOf.prototype['status_code'] = undefined;
-AclEntryResponse.prototype['updated_at'] = undefined;
/**
- * @member {String} acl_id
+ * Array of apex domains that should redirect to their WWW subdomain.
+ * @member {Array.status_code
property.
+ * @enum {Number}
+ * @readonly
*/
+ApexRedirectAllOf['StatusCodeEnum'] = {
+ /**
+ * value: 301
+ * @const
+ */
+ "301": 301,
+ /**
+ * value: 302
+ * @const
+ */
+ "302": 302,
+ /**
+ * value: 307
+ * @const
+ */
+ "307": 307,
+ /**
+ * value: 308
+ * @const
+ */
+ "308": 308
+};
+var _default = ApexRedirectAllOf;
+exports["default"] = _default;
-AclEntryResponse.prototype['service_id'] = undefined; // Implement AclEntry interface:
+/***/ }),
-/**
- * Whether to negate the match. Useful primarily when creating individual exceptions to larger subnets.
- * @member {module:model/AclEntry.NegatedEnum} negated
- * @default NegatedEnum.0
- */
+/***/ 75548:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-_AclEntry["default"].prototype['negated'] = undefined;
-/**
- * A freeform descriptive note.
- * @member {String} comment
- */
+"use strict";
-_AclEntry["default"].prototype['comment'] = undefined;
-/**
- * An IP address.
- * @member {String} ip
- */
-_AclEntry["default"].prototype['ip'] = undefined;
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * Number of bits for the subnet mask applied to the IP address. For IPv4 addresses, a value of 32 represents the smallest subnet mask (1 address), 24 represents a class C subnet mask (256 addresses), 16 represents a class B subnet mask (65k addresses), and 8 is class A subnet mask (16m addresses). If not provided, no mask is applied.
- * @member {Number} subnet
+ * The AutomationToken model module.
+ * @module model/AutomationToken
+ * @version v3.1.0
*/
+var AutomationToken = /*#__PURE__*/function () {
+ /**
+ * Constructs a new AutomationToken
.
+ * @alias module:model/AutomationToken
+ */
+ function AutomationToken() {
+ _classCallCheck(this, AutomationToken);
+ AutomationToken.initialize(this);
+ }
-_AclEntry["default"].prototype['subnet'] = undefined; // Implement Timestamps interface:
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(AutomationToken, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+ /**
+ * Constructs a AutomationToken
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AutomationToken} obj Optional instance to populate.
+ * @return {module:model/AutomationToken} The populated AutomationToken
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AutomationToken();
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('role')) {
+ obj['role'] = _ApiClient["default"].convertToType(data['role'], 'String');
+ }
+ if (data.hasOwnProperty('services')) {
+ obj['services'] = _ApiClient["default"].convertToType(data['services'], ['String']);
+ }
+ if (data.hasOwnProperty('scope')) {
+ obj['scope'] = _ApiClient["default"].convertToType(data['scope'], 'String');
+ }
+ if (data.hasOwnProperty('expires_at')) {
+ obj['expires_at'] = _ApiClient["default"].convertToType(data['expires_at'], 'String');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return AutomationToken;
+}();
/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
+ * The name of the token.
+ * @member {String} name
*/
+AutomationToken.prototype['name'] = undefined;
-_Timestamps["default"].prototype['created_at'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
+ * The role on the token.
+ * @member {module:model/AutomationToken.RoleEnum} role
*/
+AutomationToken.prototype['role'] = undefined;
-_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
+ * (Optional) The service IDs of the services the token will have access to. Separate service IDs with a space. If no services are specified, the token will have access to all services on the account.
+ * @member {Array.role
property.
+ * @enum {String}
+ * @readonly
*/
+AutomationToken['RoleEnum'] = {
+ /**
+ * value: "billing"
+ * @const
+ */
+ "billing": "billing",
+ /**
+ * value: "engineer"
+ * @const
+ */
+ "engineer": "engineer",
+ /**
+ * value: "user"
+ * @const
+ */
+ "user": "user"
+};
-_AclEntryResponseAllOf["default"].prototype['service_id'] = undefined;
/**
- * Allowed values for the negated
property.
- * @enum {Number}
+ * Allowed values for the scope
property.
+ * @enum {String}
* @readonly
*/
-
-AclEntryResponse['NegatedEnum'] = {
+AutomationToken['ScopeEnum'] = {
/**
- * value: 0
+ * value: "global"
* @const
*/
- "0": 0,
-
+ "global": "global",
/**
- * value: 1
+ * value: "purge_select"
* @const
*/
- "1": 1
+ "purge_select": "purge_select",
+ /**
+ * value: "purge_all"
+ * @const
+ */
+ "purge_all": "purge_all",
+ /**
+ * value: "global:read"
+ * @const
+ */
+ "global:read": "global:read"
};
-var _default = AclEntryResponse;
+var _default = AutomationToken;
exports["default"] = _default;
/***/ }),
-/***/ 26378:
+/***/ 68910:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -39561,97 +39346,238 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
+var _AutomationTokenCreateRequestAttributes = _interopRequireDefault(__nccwpck_require__(77694));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The AutomationTokenCreateRequest model module.
+ * @module model/AutomationTokenCreateRequest
+ * @version v3.1.0
+ */
+var AutomationTokenCreateRequest = /*#__PURE__*/function () {
+ /**
+ * Constructs a new AutomationTokenCreateRequest
.
+ * @alias module:model/AutomationTokenCreateRequest
+ */
+ function AutomationTokenCreateRequest() {
+ _classCallCheck(this, AutomationTokenCreateRequest);
+ AutomationTokenCreateRequest.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(AutomationTokenCreateRequest, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a AutomationTokenCreateRequest
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AutomationTokenCreateRequest} obj Optional instance to populate.
+ * @return {module:model/AutomationTokenCreateRequest} The populated AutomationTokenCreateRequest
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AutomationTokenCreateRequest();
+ if (data.hasOwnProperty('attributes')) {
+ obj['attributes'] = _AutomationTokenCreateRequestAttributes["default"].constructFromObject(data['attributes']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return AutomationTokenCreateRequest;
+}();
+/**
+ * @member {module:model/AutomationTokenCreateRequestAttributes} attributes
+ */
+AutomationTokenCreateRequest.prototype['attributes'] = undefined;
+var _default = AutomationTokenCreateRequest;
+exports["default"] = _default;
+
+/***/ }),
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+/***/ 77694:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The AclEntryResponseAllOf model module.
- * @module model/AclEntryResponseAllOf
- * @version 3.0.0-beta2
+ * The AutomationTokenCreateRequestAttributes model module.
+ * @module model/AutomationTokenCreateRequestAttributes
+ * @version v3.1.0
*/
-var AclEntryResponseAllOf = /*#__PURE__*/function () {
+var AutomationTokenCreateRequestAttributes = /*#__PURE__*/function () {
/**
- * Constructs a new AclEntryResponseAllOf
.
- * @alias module:model/AclEntryResponseAllOf
+ * Constructs a new AutomationTokenCreateRequestAttributes
.
+ * @alias module:model/AutomationTokenCreateRequestAttributes
*/
- function AclEntryResponseAllOf() {
- _classCallCheck(this, AclEntryResponseAllOf);
-
- AclEntryResponseAllOf.initialize(this);
+ function AutomationTokenCreateRequestAttributes() {
+ _classCallCheck(this, AutomationTokenCreateRequestAttributes);
+ AutomationTokenCreateRequestAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(AclEntryResponseAllOf, null, [{
+ _createClass(AutomationTokenCreateRequestAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a AclEntryResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a AutomationTokenCreateRequestAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/AclEntryResponseAllOf} obj Optional instance to populate.
- * @return {module:model/AclEntryResponseAllOf} The populated AclEntryResponseAllOf
instance.
+ * @param {module:model/AutomationTokenCreateRequestAttributes} obj Optional instance to populate.
+ * @return {module:model/AutomationTokenCreateRequestAttributes} The populated AutomationTokenCreateRequestAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new AclEntryResponseAllOf();
-
- if (data.hasOwnProperty('acl_id')) {
- obj['acl_id'] = _ApiClient["default"].convertToType(data['acl_id'], 'String');
+ obj = obj || new AutomationTokenCreateRequestAttributes();
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
- if (data.hasOwnProperty('id')) {
- obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ if (data.hasOwnProperty('role')) {
+ obj['role'] = _ApiClient["default"].convertToType(data['role'], 'String');
}
-
- if (data.hasOwnProperty('service_id')) {
- obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
+ if (data.hasOwnProperty('services')) {
+ obj['services'] = _ApiClient["default"].convertToType(data['services'], ['String']);
+ }
+ if (data.hasOwnProperty('scope')) {
+ obj['scope'] = _ApiClient["default"].convertToType(data['scope'], 'String');
+ }
+ if (data.hasOwnProperty('expires_at')) {
+ obj['expires_at'] = _ApiClient["default"].convertToType(data['expires_at'], 'Date');
+ }
+ if (data.hasOwnProperty('tls_access')) {
+ obj['tls_access'] = _ApiClient["default"].convertToType(data['tls_access'], 'Boolean');
}
}
-
return obj;
}
}]);
-
- return AclEntryResponseAllOf;
+ return AutomationTokenCreateRequestAttributes;
}();
/**
- * @member {String} acl_id
+ * name of the token
+ * @member {String} name
+ */
+AutomationTokenCreateRequestAttributes.prototype['name'] = undefined;
+
+/**
+ * @member {module:model/AutomationTokenCreateRequestAttributes.RoleEnum} role
*/
+AutomationTokenCreateRequestAttributes.prototype['role'] = undefined;
+/**
+ * List of service ids to limit the token
+ * @member {Array.role
property.
+ * @enum {String}
+ * @readonly
+ */
+AutomationTokenCreateRequestAttributes['RoleEnum'] = {
+ /**
+ * value: "engineer"
+ * @const
+ */
+ "engineer": "engineer",
+ /**
+ * value: "billing"
+ * @const
+ */
+ "billing": "billing",
+ /**
+ * value: "user"
+ * @const
+ */
+ "user": "user"
+};
+
+/**
+ * Allowed values for the scope
property.
+ * @enum {String}
+ * @readonly
+ */
+AutomationTokenCreateRequestAttributes['ScopeEnum'] = {
+ /**
+ * value: "global"
+ * @const
+ */
+ "global": "global",
+ /**
+ * value: "global:read"
+ * @const
+ */
+ "global:read": "global:read",
+ /**
+ * value: "purge_all"
+ * @const
+ */
+ "purge_all": "purge_all",
+ /**
+ * value: "purge_select"
+ * @const
+ */
+ "purge_select": "purge_select"
+};
+var _default = AutomationTokenCreateRequestAttributes;
exports["default"] = _default;
/***/ }),
-/***/ 56034:
+/***/ 11708:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -39661,208 +39587,335 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
-var _Acl = _interopRequireDefault(__nccwpck_require__(79837));
-
-var _AclResponseAllOf = _interopRequireDefault(__nccwpck_require__(42702));
-
-var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
+var _AutomationToken = _interopRequireDefault(__nccwpck_require__(75548));
+var _AutomationTokenCreateResponseAllOf = _interopRequireDefault(__nccwpck_require__(60788));
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The AclResponse model module.
- * @module model/AclResponse
- * @version 3.0.0-beta2
+ * The AutomationTokenCreateResponse model module.
+ * @module model/AutomationTokenCreateResponse
+ * @version v3.1.0
*/
-var AclResponse = /*#__PURE__*/function () {
+var AutomationTokenCreateResponse = /*#__PURE__*/function () {
/**
- * Constructs a new AclResponse
.
- * @alias module:model/AclResponse
- * @implements module:model/Acl
+ * Constructs a new AutomationTokenCreateResponse
.
+ * @alias module:model/AutomationTokenCreateResponse
+ * @implements module:model/AutomationToken
* @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
- * @implements module:model/AclResponseAllOf
+ * @implements module:model/AutomationTokenCreateResponseAllOf
*/
- function AclResponse() {
- _classCallCheck(this, AclResponse);
-
- _Acl["default"].initialize(this);
-
+ function AutomationTokenCreateResponse() {
+ _classCallCheck(this, AutomationTokenCreateResponse);
+ _AutomationToken["default"].initialize(this);
_Timestamps["default"].initialize(this);
-
- _ServiceIdAndVersion["default"].initialize(this);
-
- _AclResponseAllOf["default"].initialize(this);
-
- AclResponse.initialize(this);
+ _AutomationTokenCreateResponseAllOf["default"].initialize(this);
+ AutomationTokenCreateResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(AclResponse, null, [{
+ _createClass(AutomationTokenCreateResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a AclResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a AutomationTokenCreateResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/AclResponse} obj Optional instance to populate.
- * @return {module:model/AclResponse} The populated AclResponse
instance.
+ * @param {module:model/AutomationTokenCreateResponse} obj Optional instance to populate.
+ * @return {module:model/AutomationTokenCreateResponse} The populated AutomationTokenCreateResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new AclResponse();
-
- _Acl["default"].constructFromObject(data, obj);
-
+ obj = obj || new AutomationTokenCreateResponse();
+ _AutomationToken["default"].constructFromObject(data, obj);
_Timestamps["default"].constructFromObject(data, obj);
-
- _ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
- _AclResponseAllOf["default"].constructFromObject(data, obj);
-
+ _AutomationTokenCreateResponseAllOf["default"].constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
+ if (data.hasOwnProperty('role')) {
+ obj['role'] = _ApiClient["default"].convertToType(data['role'], 'String');
+ }
+ if (data.hasOwnProperty('services')) {
+ obj['services'] = _ApiClient["default"].convertToType(data['services'], ['String']);
+ }
+ if (data.hasOwnProperty('scope')) {
+ obj['scope'] = _ApiClient["default"].convertToType(data['scope'], 'String');
+ }
+ if (data.hasOwnProperty('expires_at')) {
+ obj['expires_at'] = _ApiClient["default"].convertToType(data['expires_at'], 'String');
+ }
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
- if (data.hasOwnProperty('service_id')) {
- obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
- }
-
- if (data.hasOwnProperty('version')) {
- obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
- }
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
+ if (data.hasOwnProperty('user_id')) {
+ obj['user_id'] = _ApiClient["default"].convertToType(data['user_id'], 'String');
+ }
+ if (data.hasOwnProperty('customer_id')) {
+ obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
+ }
+ if (data.hasOwnProperty('sudo_expires_at')) {
+ obj['sudo_expires_at'] = _ApiClient["default"].convertToType(data['sudo_expires_at'], 'Date');
+ }
+ if (data.hasOwnProperty('access_token')) {
+ obj['access_token'] = _ApiClient["default"].convertToType(data['access_token'], 'String');
+ }
+ if (data.hasOwnProperty('last_used_at')) {
+ obj['last_used_at'] = _ApiClient["default"].convertToType(data['last_used_at'], 'Date');
+ }
+ if (data.hasOwnProperty('user_agent')) {
+ obj['user_agent'] = _ApiClient["default"].convertToType(data['user_agent'], 'String');
+ }
}
-
return obj;
}
}]);
-
- return AclResponse;
+ return AutomationTokenCreateResponse;
}();
/**
- * Name for the ACL. Must start with an alphanumeric character and contain only alphanumeric characters, underscores, and whitespace.
+ * The name of the token.
* @member {String} name
*/
+AutomationTokenCreateResponse.prototype['name'] = undefined;
+/**
+ * The role on the token.
+ * @member {module:model/AutomationTokenCreateResponse.RoleEnum} role
+ */
+AutomationTokenCreateResponse.prototype['role'] = undefined;
-AclResponse.prototype['name'] = undefined;
/**
- * Date and time in ISO 8601 format.
+ * (Optional) The service IDs of the services the token will have access to. Separate service IDs with a space. If no services are specified, the token will have access to all services on the account.
+ * @member {Array.role
property.
+ * @enum {String}
+ * @readonly
+ */
+AutomationTokenCreateResponse['RoleEnum'] = {
+ /**
+ * value: "billing"
+ * @const
+ */
+ "billing": "billing",
+ /**
+ * value: "engineer"
+ * @const
+ */
+ "engineer": "engineer",
+ /**
+ * value: "user"
+ * @const
+ */
+ "user": "user"
+};
/**
- * @member {String} id
+ * Allowed values for the scope
property.
+ * @enum {String}
+ * @readonly
*/
-
-_AclResponseAllOf["default"].prototype['id'] = undefined;
-var _default = AclResponse;
+AutomationTokenCreateResponse['ScopeEnum'] = {
+ /**
+ * value: "global"
+ * @const
+ */
+ "global": "global",
+ /**
+ * value: "purge_select"
+ * @const
+ */
+ "purge_select": "purge_select",
+ /**
+ * value: "purge_all"
+ * @const
+ */
+ "purge_all": "purge_all",
+ /**
+ * value: "global:read"
+ * @const
+ */
+ "global:read": "global:read"
+};
+var _default = AutomationTokenCreateResponse;
exports["default"] = _default;
/***/ }),
-/***/ 42702:
+/***/ 60788:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -39872,79 +39925,128 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The AclResponseAllOf model module.
- * @module model/AclResponseAllOf
- * @version 3.0.0-beta2
+ * The AutomationTokenCreateResponseAllOf model module.
+ * @module model/AutomationTokenCreateResponseAllOf
+ * @version v3.1.0
*/
-var AclResponseAllOf = /*#__PURE__*/function () {
+var AutomationTokenCreateResponseAllOf = /*#__PURE__*/function () {
/**
- * Constructs a new AclResponseAllOf
.
- * @alias module:model/AclResponseAllOf
+ * Constructs a new AutomationTokenCreateResponseAllOf
.
+ * @alias module:model/AutomationTokenCreateResponseAllOf
*/
- function AclResponseAllOf() {
- _classCallCheck(this, AclResponseAllOf);
-
- AclResponseAllOf.initialize(this);
+ function AutomationTokenCreateResponseAllOf() {
+ _classCallCheck(this, AutomationTokenCreateResponseAllOf);
+ AutomationTokenCreateResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(AclResponseAllOf, null, [{
+ _createClass(AutomationTokenCreateResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a AclResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a AutomationTokenCreateResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/AclResponseAllOf} obj Optional instance to populate.
- * @return {module:model/AclResponseAllOf} The populated AclResponseAllOf
instance.
+ * @param {module:model/AutomationTokenCreateResponseAllOf} obj Optional instance to populate.
+ * @return {module:model/AutomationTokenCreateResponseAllOf} The populated AutomationTokenCreateResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new AclResponseAllOf();
-
+ obj = obj || new AutomationTokenCreateResponseAllOf();
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
+ if (data.hasOwnProperty('user_id')) {
+ obj['user_id'] = _ApiClient["default"].convertToType(data['user_id'], 'String');
+ }
+ if (data.hasOwnProperty('customer_id')) {
+ obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
+ }
+ if (data.hasOwnProperty('sudo_expires_at')) {
+ obj['sudo_expires_at'] = _ApiClient["default"].convertToType(data['sudo_expires_at'], 'Date');
+ }
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('access_token')) {
+ obj['access_token'] = _ApiClient["default"].convertToType(data['access_token'], 'String');
+ }
+ if (data.hasOwnProperty('last_used_at')) {
+ obj['last_used_at'] = _ApiClient["default"].convertToType(data['last_used_at'], 'Date');
+ }
+ if (data.hasOwnProperty('user_agent')) {
+ obj['user_agent'] = _ApiClient["default"].convertToType(data['user_agent'], 'String');
+ }
}
-
return obj;
}
}]);
-
- return AclResponseAllOf;
+ return AutomationTokenCreateResponseAllOf;
}();
/**
* @member {String} id
*/
+AutomationTokenCreateResponseAllOf.prototype['id'] = undefined;
+
+/**
+ * @member {String} user_id
+ */
+AutomationTokenCreateResponseAllOf.prototype['user_id'] = undefined;
+/**
+ * @member {String} customer_id
+ */
+AutomationTokenCreateResponseAllOf.prototype['customer_id'] = undefined;
-AclResponseAllOf.prototype['id'] = undefined;
-var _default = AclResponseAllOf;
+/**
+ * @member {Date} sudo_expires_at
+ */
+AutomationTokenCreateResponseAllOf.prototype['sudo_expires_at'] = undefined;
+
+/**
+ * A UTC time-stamp of when the token was created.
+ * @member {Date} created_at
+ */
+AutomationTokenCreateResponseAllOf.prototype['created_at'] = undefined;
+
+/**
+ * @member {String} access_token
+ */
+AutomationTokenCreateResponseAllOf.prototype['access_token'] = undefined;
+
+/**
+ * A UTC time-stamp of when the token was last used.
+ * @member {Date} last_used_at
+ */
+AutomationTokenCreateResponseAllOf.prototype['last_used_at'] = undefined;
+
+/**
+ * The User-Agent header of the client that last used the token.
+ * @member {String} user_agent
+ */
+AutomationTokenCreateResponseAllOf.prototype['user_agent'] = undefined;
+var _default = AutomationTokenCreateResponseAllOf;
exports["default"] = _default;
/***/ }),
-/***/ 60060:
+/***/ 52273:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -39954,249 +40056,310 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
-var _ApexRedirectAllOf = _interopRequireDefault(__nccwpck_require__(42054));
-
-var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
+var _AutomationToken = _interopRequireDefault(__nccwpck_require__(75548));
+var _AutomationTokenResponseAllOf = _interopRequireDefault(__nccwpck_require__(76606));
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The ApexRedirect model module.
- * @module model/ApexRedirect
- * @version 3.0.0-beta2
+ * The AutomationTokenResponse model module.
+ * @module model/AutomationTokenResponse
+ * @version v3.1.0
*/
-var ApexRedirect = /*#__PURE__*/function () {
+var AutomationTokenResponse = /*#__PURE__*/function () {
/**
- * Constructs a new ApexRedirect
.
- * @alias module:model/ApexRedirect
- * @implements module:model/ServiceIdAndVersion
+ * Constructs a new AutomationTokenResponse
.
+ * @alias module:model/AutomationTokenResponse
+ * @implements module:model/AutomationToken
* @implements module:model/Timestamps
- * @implements module:model/ApexRedirectAllOf
+ * @implements module:model/AutomationTokenResponseAllOf
*/
- function ApexRedirect() {
- _classCallCheck(this, ApexRedirect);
-
- _ServiceIdAndVersion["default"].initialize(this);
-
+ function AutomationTokenResponse() {
+ _classCallCheck(this, AutomationTokenResponse);
+ _AutomationToken["default"].initialize(this);
_Timestamps["default"].initialize(this);
-
- _ApexRedirectAllOf["default"].initialize(this);
-
- ApexRedirect.initialize(this);
+ _AutomationTokenResponseAllOf["default"].initialize(this);
+ AutomationTokenResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(ApexRedirect, null, [{
+ _createClass(AutomationTokenResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a ApexRedirect
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a AutomationTokenResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/ApexRedirect} obj Optional instance to populate.
- * @return {module:model/ApexRedirect} The populated ApexRedirect
instance.
+ * @param {module:model/AutomationTokenResponse} obj Optional instance to populate.
+ * @return {module:model/AutomationTokenResponse} The populated AutomationTokenResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new ApexRedirect();
-
- _ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
+ obj = obj || new AutomationTokenResponse();
+ _AutomationToken["default"].constructFromObject(data, obj);
_Timestamps["default"].constructFromObject(data, obj);
-
- _ApexRedirectAllOf["default"].constructFromObject(data, obj);
-
- if (data.hasOwnProperty('service_id')) {
- obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
+ _AutomationTokenResponseAllOf["default"].constructFromObject(data, obj);
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
- if (data.hasOwnProperty('version')) {
- obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
+ if (data.hasOwnProperty('role')) {
+ obj['role'] = _ApiClient["default"].convertToType(data['role'], 'String');
+ }
+ if (data.hasOwnProperty('services')) {
+ obj['services'] = _ApiClient["default"].convertToType(data['services'], ['String']);
+ }
+ if (data.hasOwnProperty('scope')) {
+ obj['scope'] = _ApiClient["default"].convertToType(data['scope'], 'String');
+ }
+ if (data.hasOwnProperty('expires_at')) {
+ obj['expires_at'] = _ApiClient["default"].convertToType(data['expires_at'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
+ obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'String');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
- if (data.hasOwnProperty('status_code')) {
- obj['status_code'] = _ApiClient["default"].convertToType(data['status_code'], 'Number');
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
- if (data.hasOwnProperty('domains')) {
- obj['domains'] = _ApiClient["default"].convertToType(data['domains'], ['String']);
+ if (data.hasOwnProperty('customer_id')) {
+ obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
-
- if (data.hasOwnProperty('feature_revision')) {
- obj['feature_revision'] = _ApiClient["default"].convertToType(data['feature_revision'], 'Number');
+ if (data.hasOwnProperty('ip')) {
+ obj['ip'] = _ApiClient["default"].convertToType(data['ip'], 'String');
+ }
+ if (data.hasOwnProperty('user_agent')) {
+ obj['user_agent'] = _ApiClient["default"].convertToType(data['user_agent'], 'String');
+ }
+ if (data.hasOwnProperty('sudo_expires_at')) {
+ obj['sudo_expires_at'] = _ApiClient["default"].convertToType(data['sudo_expires_at'], 'String');
+ }
+ if (data.hasOwnProperty('last_used_at')) {
+ obj['last_used_at'] = _ApiClient["default"].convertToType(data['last_used_at'], 'Date');
}
}
-
return obj;
}
}]);
-
- return ApexRedirect;
+ return AutomationTokenResponse;
}();
/**
- * @member {String} service_id
+ * The name of the token.
+ * @member {String} name
*/
+AutomationTokenResponse.prototype['name'] = undefined;
+/**
+ * @member {String} role
+ */
+AutomationTokenResponse.prototype['role'] = undefined;
-ApexRedirect.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * (Optional) The service IDs of the services the token will have access to. Separate service IDs with a space. If no services are specified, the token will have access to all services on the account.
+ * @member {Array.status_code
property.
- * @enum {Number}
+ * Allowed values for the scope
property.
+ * @enum {String}
* @readonly
*/
-
-ApexRedirect['StatusCodeEnum'] = {
+AutomationTokenResponse['ScopeEnum'] = {
/**
- * value: 301
+ * value: "global"
* @const
*/
- "301": 301,
-
+ "global": "global",
/**
- * value: 302
+ * value: "purge_select"
* @const
*/
- "302": 302,
-
+ "purge_select": "purge_select",
/**
- * value: 307
+ * value: "purge_all"
* @const
*/
- "307": 307,
-
+ "purge_all": "purge_all",
/**
- * value: 308
+ * value: "global:read"
* @const
*/
- "308": 308
+ "global:read": "global:read"
};
-var _default = ApexRedirect;
+var _default = AutomationTokenResponse;
exports["default"] = _default;
/***/ }),
-/***/ 42054:
+/***/ 76606:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -40206,131 +40369,138 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The ApexRedirectAllOf model module.
- * @module model/ApexRedirectAllOf
- * @version 3.0.0-beta2
+ * The AutomationTokenResponseAllOf model module.
+ * @module model/AutomationTokenResponseAllOf
+ * @version v3.1.0
*/
-var ApexRedirectAllOf = /*#__PURE__*/function () {
+var AutomationTokenResponseAllOf = /*#__PURE__*/function () {
/**
- * Constructs a new ApexRedirectAllOf
.
- * @alias module:model/ApexRedirectAllOf
+ * Constructs a new AutomationTokenResponseAllOf
.
+ * @alias module:model/AutomationTokenResponseAllOf
*/
- function ApexRedirectAllOf() {
- _classCallCheck(this, ApexRedirectAllOf);
-
- ApexRedirectAllOf.initialize(this);
+ function AutomationTokenResponseAllOf() {
+ _classCallCheck(this, AutomationTokenResponseAllOf);
+ AutomationTokenResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(ApexRedirectAllOf, null, [{
+ _createClass(AutomationTokenResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a ApexRedirectAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a AutomationTokenResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/ApexRedirectAllOf} obj Optional instance to populate.
- * @return {module:model/ApexRedirectAllOf} The populated ApexRedirectAllOf
instance.
+ * @param {module:model/AutomationTokenResponseAllOf} obj Optional instance to populate.
+ * @return {module:model/AutomationTokenResponseAllOf} The populated AutomationTokenResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new ApexRedirectAllOf();
-
- if (data.hasOwnProperty('status_code')) {
- obj['status_code'] = _ApiClient["default"].convertToType(data['status_code'], 'Number');
+ obj = obj || new AutomationTokenResponseAllOf();
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
- if (data.hasOwnProperty('domains')) {
- obj['domains'] = _ApiClient["default"].convertToType(data['domains'], ['String']);
+ if (data.hasOwnProperty('customer_id')) {
+ obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
-
- if (data.hasOwnProperty('feature_revision')) {
- obj['feature_revision'] = _ApiClient["default"].convertToType(data['feature_revision'], 'Number');
+ if (data.hasOwnProperty('role')) {
+ obj['role'] = _ApiClient["default"].convertToType(data['role'], 'String');
+ }
+ if (data.hasOwnProperty('ip')) {
+ obj['ip'] = _ApiClient["default"].convertToType(data['ip'], 'String');
+ }
+ if (data.hasOwnProperty('user_agent')) {
+ obj['user_agent'] = _ApiClient["default"].convertToType(data['user_agent'], 'String');
+ }
+ if (data.hasOwnProperty('sudo_expires_at')) {
+ obj['sudo_expires_at'] = _ApiClient["default"].convertToType(data['sudo_expires_at'], 'String');
+ }
+ if (data.hasOwnProperty('last_used_at')) {
+ obj['last_used_at'] = _ApiClient["default"].convertToType(data['last_used_at'], 'Date');
+ }
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'String');
+ }
+ if (data.hasOwnProperty('expires_at')) {
+ obj['expires_at'] = _ApiClient["default"].convertToType(data['expires_at'], 'String');
}
}
-
return obj;
}
}]);
-
- return ApexRedirectAllOf;
+ return AutomationTokenResponseAllOf;
}();
/**
- * HTTP status code used to redirect the client.
- * @member {module:model/ApexRedirectAllOf.StatusCodeEnum} status_code
+ * @member {String} id
*/
+AutomationTokenResponseAllOf.prototype['id'] = undefined;
+/**
+ * @member {String} customer_id
+ */
+AutomationTokenResponseAllOf.prototype['customer_id'] = undefined;
-ApexRedirectAllOf.prototype['status_code'] = undefined;
/**
- * Array of apex domains that should redirect to their WWW subdomain.
- * @member {Array.status_code
property.
- * @enum {Number}
- * @readonly
+ * The User-Agent header of the client that last used the token.
+ * @member {String} user_agent
*/
+AutomationTokenResponseAllOf.prototype['user_agent'] = undefined;
-ApexRedirectAllOf['StatusCodeEnum'] = {
- /**
- * value: 301
- * @const
- */
- "301": 301,
+/**
+ * @member {String} sudo_expires_at
+ */
+AutomationTokenResponseAllOf.prototype['sudo_expires_at'] = undefined;
- /**
- * value: 302
- * @const
- */
- "302": 302,
+/**
+ * A UTC time-stamp of when the token was last used.
+ * @member {Date} last_used_at
+ */
+AutomationTokenResponseAllOf.prototype['last_used_at'] = undefined;
- /**
- * value: 307
- * @const
- */
- "307": 307,
+/**
+ * A UTC time-stamp of when the token was created.
+ * @member {String} created_at
+ */
+AutomationTokenResponseAllOf.prototype['created_at'] = undefined;
- /**
- * value: 308
- * @const
- */
- "308": 308
-};
-var _default = ApexRedirectAllOf;
+/**
+ * (optional) A UTC time-stamp of when the token will expire.
+ * @member {String} expires_at
+ */
+AutomationTokenResponseAllOf.prototype['expires_at'] = undefined;
+var _default = AutomationTokenResponseAllOf;
exports["default"] = _default;
/***/ }),
-/***/ 36991:
+/***/ 34205:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -40340,21 +40510,87 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* Enum class AwsRegion.
+* @enum {}
+* @readonly
+*/
+var AwsRegion = /*#__PURE__*/function () {
+ function AwsRegion() {
+ _classCallCheck(this, AwsRegion);
+ _defineProperty(this, "us-east-1", "us-east-1");
+ _defineProperty(this, "us-east-2", "us-east-2");
+ _defineProperty(this, "us-west-1", "us-west-1");
+ _defineProperty(this, "us-west-2", "us-west-2");
+ _defineProperty(this, "af-south-1", "af-south-1");
+ _defineProperty(this, "ap-east-1", "ap-east-1");
+ _defineProperty(this, "ap-south-1", "ap-south-1");
+ _defineProperty(this, "ap-northeast-3", "ap-northeast-3");
+ _defineProperty(this, "ap-northeast-2", "ap-northeast-2");
+ _defineProperty(this, "ap-southeast-1", "ap-southeast-1");
+ _defineProperty(this, "ap-southeast-2", "ap-southeast-2");
+ _defineProperty(this, "ap-northeast-1", "ap-northeast-1");
+ _defineProperty(this, "ca-central-1", "ca-central-1");
+ _defineProperty(this, "cn-north-1", "cn-north-1");
+ _defineProperty(this, "cn-northwest-1", "cn-northwest-1");
+ _defineProperty(this, "eu-central-1", "eu-central-1");
+ _defineProperty(this, "eu-west-1", "eu-west-1");
+ _defineProperty(this, "eu-west-2", "eu-west-2");
+ _defineProperty(this, "eu-south-1", "eu-south-1");
+ _defineProperty(this, "eu-west-3", "eu-west-3");
+ _defineProperty(this, "eu-north-1", "eu-north-1");
+ _defineProperty(this, "me-south-1", "me-south-1");
+ _defineProperty(this, "sa-east-1", "sa-east-1");
+ }
+ _createClass(AwsRegion, null, [{
+ key: "constructFromObject",
+ value:
+ /**
+ * Returns a AwsRegion
enum value from a Javascript object name.
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
+ * @return {module:model/AwsRegion} The enum AwsRegion
value.
+ */
+ function constructFromObject(object) {
+ return object;
+ }
+ }]);
+ return AwsRegion;
+}();
+exports["default"] = AwsRegion;
+
+/***/ }),
+
+/***/ 36991:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+"use strict";
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Backend model module.
* @module model/Backend
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Backend = /*#__PURE__*/function () {
/**
@@ -40363,19 +40599,18 @@ var Backend = /*#__PURE__*/function () {
*/
function Backend() {
_classCallCheck(this, Backend);
-
Backend.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Backend, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Backend
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -40383,311 +40618,286 @@ var Backend = /*#__PURE__*/function () {
* @param {module:model/Backend} obj Optional instance to populate.
* @return {module:model/Backend} The populated Backend
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Backend();
-
if (data.hasOwnProperty('address')) {
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
}
-
if (data.hasOwnProperty('auto_loadbalance')) {
obj['auto_loadbalance'] = _ApiClient["default"].convertToType(data['auto_loadbalance'], 'Boolean');
}
-
if (data.hasOwnProperty('between_bytes_timeout')) {
obj['between_bytes_timeout'] = _ApiClient["default"].convertToType(data['between_bytes_timeout'], 'Number');
}
-
if (data.hasOwnProperty('client_cert')) {
obj['client_cert'] = _ApiClient["default"].convertToType(data['client_cert'], 'String');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('connect_timeout')) {
obj['connect_timeout'] = _ApiClient["default"].convertToType(data['connect_timeout'], 'Number');
}
-
if (data.hasOwnProperty('first_byte_timeout')) {
obj['first_byte_timeout'] = _ApiClient["default"].convertToType(data['first_byte_timeout'], 'Number');
}
-
if (data.hasOwnProperty('healthcheck')) {
obj['healthcheck'] = _ApiClient["default"].convertToType(data['healthcheck'], 'String');
}
-
if (data.hasOwnProperty('hostname')) {
obj['hostname'] = _ApiClient["default"].convertToType(data['hostname'], 'String');
}
-
if (data.hasOwnProperty('ipv4')) {
obj['ipv4'] = _ApiClient["default"].convertToType(data['ipv4'], 'String');
}
-
if (data.hasOwnProperty('ipv6')) {
obj['ipv6'] = _ApiClient["default"].convertToType(data['ipv6'], 'String');
}
-
+ if (data.hasOwnProperty('keepalive_time')) {
+ obj['keepalive_time'] = _ApiClient["default"].convertToType(data['keepalive_time'], 'Number');
+ }
if (data.hasOwnProperty('max_conn')) {
obj['max_conn'] = _ApiClient["default"].convertToType(data['max_conn'], 'Number');
}
-
if (data.hasOwnProperty('max_tls_version')) {
obj['max_tls_version'] = _ApiClient["default"].convertToType(data['max_tls_version'], 'String');
}
-
if (data.hasOwnProperty('min_tls_version')) {
obj['min_tls_version'] = _ApiClient["default"].convertToType(data['min_tls_version'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('override_host')) {
obj['override_host'] = _ApiClient["default"].convertToType(data['override_host'], 'String');
}
-
if (data.hasOwnProperty('port')) {
obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
-
if (data.hasOwnProperty('request_condition')) {
obj['request_condition'] = _ApiClient["default"].convertToType(data['request_condition'], 'String');
}
-
if (data.hasOwnProperty('shield')) {
obj['shield'] = _ApiClient["default"].convertToType(data['shield'], 'String');
}
-
if (data.hasOwnProperty('ssl_ca_cert')) {
obj['ssl_ca_cert'] = _ApiClient["default"].convertToType(data['ssl_ca_cert'], 'String');
}
-
if (data.hasOwnProperty('ssl_cert_hostname')) {
obj['ssl_cert_hostname'] = _ApiClient["default"].convertToType(data['ssl_cert_hostname'], 'String');
}
-
if (data.hasOwnProperty('ssl_check_cert')) {
obj['ssl_check_cert'] = _ApiClient["default"].convertToType(data['ssl_check_cert'], 'Boolean');
}
-
if (data.hasOwnProperty('ssl_ciphers')) {
obj['ssl_ciphers'] = _ApiClient["default"].convertToType(data['ssl_ciphers'], 'String');
}
-
if (data.hasOwnProperty('ssl_client_cert')) {
obj['ssl_client_cert'] = _ApiClient["default"].convertToType(data['ssl_client_cert'], 'String');
}
-
if (data.hasOwnProperty('ssl_client_key')) {
obj['ssl_client_key'] = _ApiClient["default"].convertToType(data['ssl_client_key'], 'String');
}
-
if (data.hasOwnProperty('ssl_hostname')) {
obj['ssl_hostname'] = _ApiClient["default"].convertToType(data['ssl_hostname'], 'String');
}
-
if (data.hasOwnProperty('ssl_sni_hostname')) {
obj['ssl_sni_hostname'] = _ApiClient["default"].convertToType(data['ssl_sni_hostname'], 'String');
}
-
if (data.hasOwnProperty('use_ssl')) {
obj['use_ssl'] = _ApiClient["default"].convertToType(data['use_ssl'], 'Boolean');
}
-
if (data.hasOwnProperty('weight')) {
obj['weight'] = _ApiClient["default"].convertToType(data['weight'], 'Number');
}
}
-
return obj;
}
}]);
-
return Backend;
}();
/**
* A hostname, IPv4, or IPv6 address for the backend. This is the preferred way to specify the location of your backend.
* @member {String} address
*/
-
-
Backend.prototype['address'] = undefined;
+
/**
* Whether or not this backend should be automatically load balanced. If true, all backends with this setting that don't have a `request_condition` will be selected based on their `weight`.
* @member {Boolean} auto_loadbalance
*/
-
Backend.prototype['auto_loadbalance'] = undefined;
+
/**
* Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`.
* @member {Number} between_bytes_timeout
*/
-
Backend.prototype['between_bytes_timeout'] = undefined;
+
/**
* Unused.
* @member {String} client_cert
*/
-
Backend.prototype['client_cert'] = undefined;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
Backend.prototype['comment'] = undefined;
+
/**
* Maximum duration in milliseconds to wait for a connection to this backend to be established. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.connect_timeout`.
* @member {Number} connect_timeout
*/
-
Backend.prototype['connect_timeout'] = undefined;
+
/**
* Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`.
* @member {Number} first_byte_timeout
*/
-
Backend.prototype['first_byte_timeout'] = undefined;
+
/**
* The name of the healthcheck to use with this backend.
* @member {String} healthcheck
*/
-
Backend.prototype['healthcheck'] = undefined;
+
/**
* The hostname of the backend. May be used as an alternative to `address` to set the backend location.
* @member {String} hostname
*/
-
Backend.prototype['hostname'] = undefined;
+
/**
* IPv4 address of the backend. May be used as an alternative to `address` to set the backend location.
* @member {String} ipv4
*/
-
Backend.prototype['ipv4'] = undefined;
+
/**
* IPv6 address of the backend. May be used as an alternative to `address` to set the backend location.
* @member {String} ipv6
*/
+Backend.prototype['ipv6'] = undefined;
+
+/**
+ * How long to keep a persistent connection to the backend between requests.
+ * @member {Number} keepalive_time
+ */
+Backend.prototype['keepalive_time'] = undefined;
-Backend.prototype['ipv6'] = undefined;
/**
* Maximum number of concurrent connections this backend will accept.
* @member {Number} max_conn
*/
-
Backend.prototype['max_conn'] = undefined;
+
/**
* Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
* @member {String} max_tls_version
*/
-
Backend.prototype['max_tls_version'] = undefined;
+
/**
* Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
* @member {String} min_tls_version
*/
-
Backend.prototype['min_tls_version'] = undefined;
+
/**
* The name of the backend.
* @member {String} name
*/
-
Backend.prototype['name'] = undefined;
+
/**
* If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL.
* @member {String} override_host
*/
-
Backend.prototype['override_host'] = undefined;
+
/**
* Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request.
* @member {Number} port
*/
-
Backend.prototype['port'] = undefined;
+
/**
* Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
* @member {String} request_condition
*/
-
Backend.prototype['request_condition'] = undefined;
+
/**
* Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding).
* @member {String} shield
*/
-
Backend.prototype['shield'] = undefined;
+
/**
* CA certificate attached to origin.
* @member {String} ssl_ca_cert
*/
-
Backend.prototype['ssl_ca_cert'] = undefined;
+
/**
* Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all.
* @member {String} ssl_cert_hostname
*/
-
Backend.prototype['ssl_cert_hostname'] = undefined;
+
/**
* Be strict on checking SSL certs.
* @member {Boolean} ssl_check_cert
* @default true
*/
-
Backend.prototype['ssl_check_cert'] = true;
+
/**
* List of [OpenSSL ciphers](https://www.openssl.org/docs/manmaster/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
* @member {String} ssl_ciphers
*/
-
Backend.prototype['ssl_ciphers'] = undefined;
+
/**
* Client certificate attached to origin.
* @member {String} ssl_client_cert
*/
-
Backend.prototype['ssl_client_cert'] = undefined;
+
/**
* Client key attached to origin.
* @member {String} ssl_client_key
*/
-
Backend.prototype['ssl_client_key'] = undefined;
+
/**
* Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation.
* @member {String} ssl_hostname
*/
-
Backend.prototype['ssl_hostname'] = undefined;
+
/**
* Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all.
* @member {String} ssl_sni_hostname
*/
-
Backend.prototype['ssl_sni_hostname'] = undefined;
+
/**
* Whether or not to require TLS for connections to this backend.
* @member {Boolean} use_ssl
*/
-
Backend.prototype['use_ssl'] = undefined;
+
/**
* Weight used to load balance this backend against others. May be any positive integer. If `auto_loadbalance` is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have `auto_loadbalance` set to true.
* @member {Number} weight
*/
-
Backend.prototype['weight'] = undefined;
var _default = Backend;
exports["default"] = _default;
@@ -40704,29 +40914,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Backend = _interopRequireDefault(__nccwpck_require__(36991));
-
var _BackendResponseAllOf = _interopRequireDefault(__nccwpck_require__(45031));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The BackendResponse model module.
* @module model/BackendResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var BackendResponse = /*#__PURE__*/function () {
/**
@@ -40739,27 +40942,22 @@ var BackendResponse = /*#__PURE__*/function () {
*/
function BackendResponse() {
_classCallCheck(this, BackendResponse);
-
_Backend["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
_BackendResponseAllOf["default"].initialize(this);
-
BackendResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(BackendResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a BackendResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -40767,590 +40965,526 @@ var BackendResponse = /*#__PURE__*/function () {
* @param {module:model/BackendResponse} obj Optional instance to populate.
* @return {module:model/BackendResponse} The populated BackendResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BackendResponse();
-
_Backend["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_BackendResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('address')) {
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
}
-
if (data.hasOwnProperty('auto_loadbalance')) {
obj['auto_loadbalance'] = _ApiClient["default"].convertToType(data['auto_loadbalance'], 'Boolean');
}
-
if (data.hasOwnProperty('between_bytes_timeout')) {
obj['between_bytes_timeout'] = _ApiClient["default"].convertToType(data['between_bytes_timeout'], 'Number');
}
-
if (data.hasOwnProperty('client_cert')) {
obj['client_cert'] = _ApiClient["default"].convertToType(data['client_cert'], 'String');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('connect_timeout')) {
obj['connect_timeout'] = _ApiClient["default"].convertToType(data['connect_timeout'], 'Number');
}
-
if (data.hasOwnProperty('first_byte_timeout')) {
obj['first_byte_timeout'] = _ApiClient["default"].convertToType(data['first_byte_timeout'], 'Number');
}
-
if (data.hasOwnProperty('healthcheck')) {
obj['healthcheck'] = _ApiClient["default"].convertToType(data['healthcheck'], 'String');
}
-
if (data.hasOwnProperty('hostname')) {
obj['hostname'] = _ApiClient["default"].convertToType(data['hostname'], 'String');
}
-
if (data.hasOwnProperty('ipv4')) {
obj['ipv4'] = _ApiClient["default"].convertToType(data['ipv4'], 'String');
}
-
if (data.hasOwnProperty('ipv6')) {
obj['ipv6'] = _ApiClient["default"].convertToType(data['ipv6'], 'String');
}
-
+ if (data.hasOwnProperty('keepalive_time')) {
+ obj['keepalive_time'] = _ApiClient["default"].convertToType(data['keepalive_time'], 'Number');
+ }
if (data.hasOwnProperty('max_conn')) {
obj['max_conn'] = _ApiClient["default"].convertToType(data['max_conn'], 'Number');
}
-
if (data.hasOwnProperty('max_tls_version')) {
obj['max_tls_version'] = _ApiClient["default"].convertToType(data['max_tls_version'], 'String');
}
-
if (data.hasOwnProperty('min_tls_version')) {
obj['min_tls_version'] = _ApiClient["default"].convertToType(data['min_tls_version'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('override_host')) {
obj['override_host'] = _ApiClient["default"].convertToType(data['override_host'], 'String');
}
-
if (data.hasOwnProperty('port')) {
obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
-
if (data.hasOwnProperty('request_condition')) {
obj['request_condition'] = _ApiClient["default"].convertToType(data['request_condition'], 'String');
}
-
if (data.hasOwnProperty('shield')) {
obj['shield'] = _ApiClient["default"].convertToType(data['shield'], 'String');
}
-
if (data.hasOwnProperty('ssl_ca_cert')) {
obj['ssl_ca_cert'] = _ApiClient["default"].convertToType(data['ssl_ca_cert'], 'String');
}
-
if (data.hasOwnProperty('ssl_cert_hostname')) {
obj['ssl_cert_hostname'] = _ApiClient["default"].convertToType(data['ssl_cert_hostname'], 'String');
}
-
if (data.hasOwnProperty('ssl_check_cert')) {
obj['ssl_check_cert'] = _ApiClient["default"].convertToType(data['ssl_check_cert'], 'Boolean');
}
-
if (data.hasOwnProperty('ssl_ciphers')) {
obj['ssl_ciphers'] = _ApiClient["default"].convertToType(data['ssl_ciphers'], 'String');
}
-
if (data.hasOwnProperty('ssl_client_cert')) {
obj['ssl_client_cert'] = _ApiClient["default"].convertToType(data['ssl_client_cert'], 'String');
}
-
if (data.hasOwnProperty('ssl_client_key')) {
obj['ssl_client_key'] = _ApiClient["default"].convertToType(data['ssl_client_key'], 'String');
}
-
if (data.hasOwnProperty('ssl_hostname')) {
obj['ssl_hostname'] = _ApiClient["default"].convertToType(data['ssl_hostname'], 'String');
}
-
if (data.hasOwnProperty('ssl_sni_hostname')) {
obj['ssl_sni_hostname'] = _ApiClient["default"].convertToType(data['ssl_sni_hostname'], 'String');
}
-
if (data.hasOwnProperty('use_ssl')) {
obj['use_ssl'] = _ApiClient["default"].convertToType(data['use_ssl'], 'Boolean');
}
-
if (data.hasOwnProperty('weight')) {
obj['weight'] = _ApiClient["default"].convertToType(data['weight'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('locked')) {
obj['locked'] = _ApiClient["default"].convertToType(data['locked'], 'Boolean');
}
}
-
return obj;
}
}]);
-
return BackendResponse;
}();
/**
* A hostname, IPv4, or IPv6 address for the backend. This is the preferred way to specify the location of your backend.
* @member {String} address
*/
-
-
BackendResponse.prototype['address'] = undefined;
+
/**
* Whether or not this backend should be automatically load balanced. If true, all backends with this setting that don't have a `request_condition` will be selected based on their `weight`.
* @member {Boolean} auto_loadbalance
*/
-
BackendResponse.prototype['auto_loadbalance'] = undefined;
+
/**
* Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`.
* @member {Number} between_bytes_timeout
*/
-
BackendResponse.prototype['between_bytes_timeout'] = undefined;
+
/**
* Unused.
* @member {String} client_cert
*/
-
BackendResponse.prototype['client_cert'] = undefined;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
BackendResponse.prototype['comment'] = undefined;
+
/**
* Maximum duration in milliseconds to wait for a connection to this backend to be established. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.connect_timeout`.
* @member {Number} connect_timeout
*/
-
BackendResponse.prototype['connect_timeout'] = undefined;
+
/**
* Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`.
* @member {Number} first_byte_timeout
*/
-
BackendResponse.prototype['first_byte_timeout'] = undefined;
+
/**
* The name of the healthcheck to use with this backend.
* @member {String} healthcheck
*/
-
BackendResponse.prototype['healthcheck'] = undefined;
+
/**
* The hostname of the backend. May be used as an alternative to `address` to set the backend location.
* @member {String} hostname
*/
-
BackendResponse.prototype['hostname'] = undefined;
+
/**
* IPv4 address of the backend. May be used as an alternative to `address` to set the backend location.
* @member {String} ipv4
*/
-
BackendResponse.prototype['ipv4'] = undefined;
+
/**
* IPv6 address of the backend. May be used as an alternative to `address` to set the backend location.
* @member {String} ipv6
*/
-
BackendResponse.prototype['ipv6'] = undefined;
+
+/**
+ * How long to keep a persistent connection to the backend between requests.
+ * @member {Number} keepalive_time
+ */
+BackendResponse.prototype['keepalive_time'] = undefined;
+
/**
* Maximum number of concurrent connections this backend will accept.
* @member {Number} max_conn
*/
-
BackendResponse.prototype['max_conn'] = undefined;
+
/**
* Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
* @member {String} max_tls_version
*/
-
BackendResponse.prototype['max_tls_version'] = undefined;
+
/**
* Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
* @member {String} min_tls_version
*/
-
BackendResponse.prototype['min_tls_version'] = undefined;
+
/**
* The name of the backend.
* @member {String} name
*/
-
BackendResponse.prototype['name'] = undefined;
+
/**
* If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL.
* @member {String} override_host
*/
-
BackendResponse.prototype['override_host'] = undefined;
+
/**
* Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request.
* @member {Number} port
*/
-
BackendResponse.prototype['port'] = undefined;
+
/**
* Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
* @member {String} request_condition
*/
-
BackendResponse.prototype['request_condition'] = undefined;
+
/**
* Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding).
* @member {String} shield
*/
-
BackendResponse.prototype['shield'] = undefined;
+
/**
* CA certificate attached to origin.
* @member {String} ssl_ca_cert
*/
-
BackendResponse.prototype['ssl_ca_cert'] = undefined;
+
/**
* Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all.
* @member {String} ssl_cert_hostname
*/
-
BackendResponse.prototype['ssl_cert_hostname'] = undefined;
+
/**
* Be strict on checking SSL certs.
* @member {Boolean} ssl_check_cert
* @default true
*/
-
BackendResponse.prototype['ssl_check_cert'] = true;
+
/**
* List of [OpenSSL ciphers](https://www.openssl.org/docs/manmaster/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
* @member {String} ssl_ciphers
*/
-
BackendResponse.prototype['ssl_ciphers'] = undefined;
+
/**
* Client certificate attached to origin.
* @member {String} ssl_client_cert
*/
-
BackendResponse.prototype['ssl_client_cert'] = undefined;
+
/**
* Client key attached to origin.
* @member {String} ssl_client_key
*/
-
BackendResponse.prototype['ssl_client_key'] = undefined;
+
/**
* Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation.
* @member {String} ssl_hostname
*/
-
BackendResponse.prototype['ssl_hostname'] = undefined;
+
/**
* Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all.
* @member {String} ssl_sni_hostname
*/
-
BackendResponse.prototype['ssl_sni_hostname'] = undefined;
+
/**
* Whether or not to require TLS for connections to this backend.
* @member {Boolean} use_ssl
*/
-
BackendResponse.prototype['use_ssl'] = undefined;
+
/**
* Weight used to load balance this backend against others. May be any positive integer. If `auto_loadbalance` is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have `auto_loadbalance` set to true.
* @member {Number} weight
*/
-
BackendResponse.prototype['weight'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
BackendResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
BackendResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
BackendResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
BackendResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
-
BackendResponse.prototype['version'] = undefined;
+
/**
* Indicates whether the version of the service this backend is attached to accepts edits.
* @member {Boolean} locked
*/
+BackendResponse.prototype['locked'] = undefined;
-BackendResponse.prototype['locked'] = undefined; // Implement Backend interface:
-
+// Implement Backend interface:
/**
* A hostname, IPv4, or IPv6 address for the backend. This is the preferred way to specify the location of your backend.
* @member {String} address
*/
-
_Backend["default"].prototype['address'] = undefined;
/**
* Whether or not this backend should be automatically load balanced. If true, all backends with this setting that don't have a `request_condition` will be selected based on their `weight`.
* @member {Boolean} auto_loadbalance
*/
-
_Backend["default"].prototype['auto_loadbalance'] = undefined;
/**
* Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`.
* @member {Number} between_bytes_timeout
*/
-
_Backend["default"].prototype['between_bytes_timeout'] = undefined;
/**
* Unused.
* @member {String} client_cert
*/
-
_Backend["default"].prototype['client_cert'] = undefined;
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
_Backend["default"].prototype['comment'] = undefined;
/**
* Maximum duration in milliseconds to wait for a connection to this backend to be established. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.connect_timeout`.
* @member {Number} connect_timeout
*/
-
_Backend["default"].prototype['connect_timeout'] = undefined;
/**
* Maximum duration in milliseconds to wait for the server response to begin after a TCP connection is established and the request has been sent. If exceeded, the connection is aborted and a synthethic `503` response will be presented instead. May be set at runtime using `bereq.first_byte_timeout`.
* @member {Number} first_byte_timeout
*/
-
_Backend["default"].prototype['first_byte_timeout'] = undefined;
/**
* The name of the healthcheck to use with this backend.
* @member {String} healthcheck
*/
-
_Backend["default"].prototype['healthcheck'] = undefined;
/**
* The hostname of the backend. May be used as an alternative to `address` to set the backend location.
* @member {String} hostname
*/
-
_Backend["default"].prototype['hostname'] = undefined;
/**
* IPv4 address of the backend. May be used as an alternative to `address` to set the backend location.
* @member {String} ipv4
*/
-
_Backend["default"].prototype['ipv4'] = undefined;
/**
* IPv6 address of the backend. May be used as an alternative to `address` to set the backend location.
* @member {String} ipv6
*/
-
_Backend["default"].prototype['ipv6'] = undefined;
+/**
+ * How long to keep a persistent connection to the backend between requests.
+ * @member {Number} keepalive_time
+ */
+_Backend["default"].prototype['keepalive_time'] = undefined;
/**
* Maximum number of concurrent connections this backend will accept.
* @member {Number} max_conn
*/
-
_Backend["default"].prototype['max_conn'] = undefined;
/**
* Maximum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
* @member {String} max_tls_version
*/
-
_Backend["default"].prototype['max_tls_version'] = undefined;
/**
* Minimum allowed TLS version on SSL connections to this backend. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
* @member {String} min_tls_version
*/
-
_Backend["default"].prototype['min_tls_version'] = undefined;
/**
* The name of the backend.
* @member {String} name
*/
-
_Backend["default"].prototype['name'] = undefined;
/**
* If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL.
* @member {String} override_host
*/
-
_Backend["default"].prototype['override_host'] = undefined;
/**
* Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request.
* @member {Number} port
*/
-
_Backend["default"].prototype['port'] = undefined;
/**
* Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
* @member {String} request_condition
*/
-
_Backend["default"].prototype['request_condition'] = undefined;
/**
* Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding).
* @member {String} shield
*/
-
_Backend["default"].prototype['shield'] = undefined;
/**
* CA certificate attached to origin.
* @member {String} ssl_ca_cert
*/
-
_Backend["default"].prototype['ssl_ca_cert'] = undefined;
/**
* Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all.
* @member {String} ssl_cert_hostname
*/
-
_Backend["default"].prototype['ssl_cert_hostname'] = undefined;
/**
* Be strict on checking SSL certs.
* @member {Boolean} ssl_check_cert
* @default true
*/
-
_Backend["default"].prototype['ssl_check_cert'] = true;
/**
* List of [OpenSSL ciphers](https://www.openssl.org/docs/manmaster/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated.
* @member {String} ssl_ciphers
*/
-
_Backend["default"].prototype['ssl_ciphers'] = undefined;
/**
* Client certificate attached to origin.
* @member {String} ssl_client_cert
*/
-
_Backend["default"].prototype['ssl_client_cert'] = undefined;
/**
* Client key attached to origin.
* @member {String} ssl_client_key
*/
-
_Backend["default"].prototype['ssl_client_key'] = undefined;
/**
* Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation.
* @member {String} ssl_hostname
*/
-
_Backend["default"].prototype['ssl_hostname'] = undefined;
/**
* Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all.
* @member {String} ssl_sni_hostname
*/
-
_Backend["default"].prototype['ssl_sni_hostname'] = undefined;
/**
* Whether or not to require TLS for connections to this backend.
* @member {Boolean} use_ssl
*/
-
_Backend["default"].prototype['use_ssl'] = undefined;
/**
* Weight used to load balance this backend against others. May be any positive integer. If `auto_loadbalance` is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have `auto_loadbalance` set to true.
* @member {Number} weight
*/
-
-_Backend["default"].prototype['weight'] = undefined; // Implement Timestamps interface:
-
+_Backend["default"].prototype['weight'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
-_ServiceIdAndVersion["default"].prototype['version'] = undefined; // Implement BackendResponseAllOf interface:
-
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+// Implement BackendResponseAllOf interface:
/**
* Indicates whether the version of the service this backend is attached to accepts edits.
* @member {Boolean} locked
*/
-
_BackendResponseAllOf["default"].prototype['locked'] = undefined;
var _default = BackendResponse;
exports["default"] = _default;
@@ -41367,21 +41501,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The BackendResponseAllOf model module.
* @module model/BackendResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var BackendResponseAllOf = /*#__PURE__*/function () {
/**
@@ -41390,19 +41521,18 @@ var BackendResponseAllOf = /*#__PURE__*/function () {
*/
function BackendResponseAllOf() {
_classCallCheck(this, BackendResponseAllOf);
-
BackendResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(BackendResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a BackendResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -41410,30 +41540,24 @@ var BackendResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/BackendResponseAllOf} obj Optional instance to populate.
* @return {module:model/BackendResponseAllOf} The populated BackendResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BackendResponseAllOf();
-
if (data.hasOwnProperty('locked')) {
obj['locked'] = _ApiClient["default"].convertToType(data['locked'], 'Boolean');
}
}
-
return obj;
}
}]);
-
return BackendResponseAllOf;
}();
/**
* Indicates whether the version of the service this backend is attached to accepts edits.
* @member {Boolean} locked
*/
-
-
BackendResponseAllOf.prototype['locked'] = undefined;
var _default = BackendResponseAllOf;
exports["default"] = _default;
@@ -41450,25 +41574,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _BillingStatus = _interopRequireDefault(__nccwpck_require__(72121));
-
var _BillingTotal = _interopRequireDefault(__nccwpck_require__(19000));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Billing model module.
* @module model/Billing
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Billing = /*#__PURE__*/function () {
/**
@@ -41477,19 +41596,18 @@ var Billing = /*#__PURE__*/function () {
*/
function Billing() {
_classCallCheck(this, Billing);
-
Billing.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Billing, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Billing
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -41497,37 +41615,32 @@ var Billing = /*#__PURE__*/function () {
* @param {module:model/Billing} obj Optional instance to populate.
* @return {module:model/Billing} The populated Billing
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Billing();
-
if (data.hasOwnProperty('end_time')) {
obj['end_time'] = _ApiClient["default"].convertToType(data['end_time'], 'Date');
}
-
if (data.hasOwnProperty('start_time')) {
obj['start_time'] = _ApiClient["default"].convertToType(data['start_time'], 'Date');
}
-
if (data.hasOwnProperty('invoice_id')) {
obj['invoice_id'] = _ApiClient["default"].convertToType(data['invoice_id'], 'String');
}
-
if (data.hasOwnProperty('customer_id')) {
obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
-
+ if (data.hasOwnProperty('vendor_state')) {
+ obj['vendor_state'] = _ApiClient["default"].convertToType(data['vendor_state'], 'String');
+ }
if (data.hasOwnProperty('status')) {
obj['status'] = _BillingStatus["default"].constructFromObject(data['status']);
}
-
if (data.hasOwnProperty('total')) {
obj['total'] = _BillingTotal["default"].constructFromObject(data['total']);
}
-
if (data.hasOwnProperty('regions')) {
obj['regions'] = _ApiClient["default"].convertToType(data['regions'], {
'String': {
@@ -41536,50 +41649,53 @@ var Billing = /*#__PURE__*/function () {
});
}
}
-
return obj;
}
}]);
-
return Billing;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} end_time
*/
-
-
Billing.prototype['end_time'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} start_time
*/
-
Billing.prototype['start_time'] = undefined;
+
/**
* @member {String} invoice_id
*/
-
Billing.prototype['invoice_id'] = undefined;
+
/**
* @member {String} customer_id
*/
-
Billing.prototype['customer_id'] = undefined;
+
/**
- * @member {module:model/BillingStatus} status
+ * The current state of our third-party billing vendor. One of `up` or `down`.
+ * @member {String} vendor_state
*/
+Billing.prototype['vendor_state'] = undefined;
+/**
+ * @member {module:model/BillingStatus} status
+ */
Billing.prototype['status'] = undefined;
+
/**
* @member {module:model/BillingTotal} total
*/
-
Billing.prototype['total'] = undefined;
+
/**
+ * Breakdown of regional data for products that are region based.
* @member {Object.BillingAddressAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -41639,99 +41751,86 @@ var BillingAddressAttributes = /*#__PURE__*/function () {
* @param {module:model/BillingAddressAttributes} obj Optional instance to populate.
* @return {module:model/BillingAddressAttributes} The populated BillingAddressAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BillingAddressAttributes();
-
if (data.hasOwnProperty('address_1')) {
obj['address_1'] = _ApiClient["default"].convertToType(data['address_1'], 'String');
}
-
if (data.hasOwnProperty('address_2')) {
obj['address_2'] = _ApiClient["default"].convertToType(data['address_2'], 'String');
}
-
if (data.hasOwnProperty('city')) {
obj['city'] = _ApiClient["default"].convertToType(data['city'], 'String');
}
-
if (data.hasOwnProperty('country')) {
obj['country'] = _ApiClient["default"].convertToType(data['country'], 'String');
}
-
if (data.hasOwnProperty('locality')) {
obj['locality'] = _ApiClient["default"].convertToType(data['locality'], 'String');
}
-
if (data.hasOwnProperty('postal_code')) {
obj['postal_code'] = _ApiClient["default"].convertToType(data['postal_code'], 'String');
}
-
if (data.hasOwnProperty('state')) {
obj['state'] = _ApiClient["default"].convertToType(data['state'], 'String');
}
-
if (data.hasOwnProperty('customer_id')) {
obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
}
-
return obj;
}
}]);
-
return BillingAddressAttributes;
}();
/**
* The first address line.
* @member {String} address_1
*/
-
-
BillingAddressAttributes.prototype['address_1'] = undefined;
+
/**
* The second address line.
* @member {String} address_2
*/
-
BillingAddressAttributes.prototype['address_2'] = undefined;
+
/**
* The city name.
* @member {String} city
*/
-
BillingAddressAttributes.prototype['city'] = undefined;
+
/**
* ISO 3166-1 two-letter country code.
* @member {String} country
*/
-
BillingAddressAttributes.prototype['country'] = undefined;
+
/**
* Other locality.
* @member {String} locality
*/
-
BillingAddressAttributes.prototype['locality'] = undefined;
+
/**
* Postal code (ZIP code for US addresses).
* @member {String} postal_code
*/
-
BillingAddressAttributes.prototype['postal_code'] = undefined;
+
/**
* The state or province name.
* @member {String} state
*/
-
BillingAddressAttributes.prototype['state'] = undefined;
+
/**
* @member {String} customer_id
*/
-
BillingAddressAttributes.prototype['customer_id'] = undefined;
var _default = BillingAddressAttributes;
exports["default"] = _default;
@@ -41748,23 +41847,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _BillingAddressRequestData = _interopRequireDefault(__nccwpck_require__(21442));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The BillingAddressRequest model module.
* @module model/BillingAddressRequest
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var BillingAddressRequest = /*#__PURE__*/function () {
/**
@@ -41773,19 +41868,18 @@ var BillingAddressRequest = /*#__PURE__*/function () {
*/
function BillingAddressRequest() {
_classCallCheck(this, BillingAddressRequest);
-
BillingAddressRequest.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(BillingAddressRequest, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a BillingAddressRequest
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -41793,29 +41887,32 @@ var BillingAddressRequest = /*#__PURE__*/function () {
* @param {module:model/BillingAddressRequest} obj Optional instance to populate.
* @return {module:model/BillingAddressRequest} The populated BillingAddressRequest
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BillingAddressRequest();
-
+ if (data.hasOwnProperty('skip_verification')) {
+ obj['skip_verification'] = _ApiClient["default"].convertToType(data['skip_verification'], 'Boolean');
+ }
if (data.hasOwnProperty('data')) {
obj['data'] = _BillingAddressRequestData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return BillingAddressRequest;
}();
/**
- * @member {module:model/BillingAddressRequestData} data
+ * When set to true, the address will be saved without verification
+ * @member {Boolean} skip_verification
*/
+BillingAddressRequest.prototype['skip_verification'] = undefined;
-
+/**
+ * @member {module:model/BillingAddressRequestData} data
+ */
BillingAddressRequest.prototype['data'] = undefined;
var _default = BillingAddressRequest;
exports["default"] = _default;
@@ -41832,25 +41929,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _BillingAddressAttributes = _interopRequireDefault(__nccwpck_require__(77815));
-
var _TypeBillingAddress = _interopRequireDefault(__nccwpck_require__(25671));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The BillingAddressRequestData model module.
* @module model/BillingAddressRequestData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var BillingAddressRequestData = /*#__PURE__*/function () {
/**
@@ -41859,19 +41951,18 @@ var BillingAddressRequestData = /*#__PURE__*/function () {
*/
function BillingAddressRequestData() {
_classCallCheck(this, BillingAddressRequestData);
-
BillingAddressRequestData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(BillingAddressRequestData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a BillingAddressRequestData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -41879,38 +41970,31 @@ var BillingAddressRequestData = /*#__PURE__*/function () {
* @param {module:model/BillingAddressRequestData} obj Optional instance to populate.
* @return {module:model/BillingAddressRequestData} The populated BillingAddressRequestData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BillingAddressRequestData();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeBillingAddress["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _BillingAddressAttributes["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return BillingAddressRequestData;
}();
/**
* @member {module:model/TypeBillingAddress} type
*/
-
-
BillingAddressRequestData.prototype['type'] = undefined;
+
/**
* @member {module:model/BillingAddressAttributes} attributes
*/
-
BillingAddressRequestData.prototype['attributes'] = undefined;
var _default = BillingAddressRequestData;
exports["default"] = _default;
@@ -41927,81 +42011,243 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _BillingAddressResponseData = _interopRequireDefault(__nccwpck_require__(46003));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The BillingAddressResponse model module.
+ * @module model/BillingAddressResponse
+ * @version v3.1.0
+ */
+var BillingAddressResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new BillingAddressResponse
.
+ * @alias module:model/BillingAddressResponse
+ */
+ function BillingAddressResponse() {
+ _classCallCheck(this, BillingAddressResponse);
+ BillingAddressResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(BillingAddressResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a BillingAddressResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BillingAddressResponse} obj Optional instance to populate.
+ * @return {module:model/BillingAddressResponse} The populated BillingAddressResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BillingAddressResponse();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _BillingAddressResponseData["default"].constructFromObject(data['data']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return BillingAddressResponse;
+}();
+/**
+ * @member {module:model/BillingAddressResponseData} data
+ */
+BillingAddressResponse.prototype['data'] = undefined;
+var _default = BillingAddressResponse;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 46003:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _BillingAddressAttributes = _interopRequireDefault(__nccwpck_require__(77815));
+var _RelationshipCustomer = _interopRequireDefault(__nccwpck_require__(32511));
+var _TypeBillingAddress = _interopRequireDefault(__nccwpck_require__(25671));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The BillingAddressResponseData model module.
+ * @module model/BillingAddressResponseData
+ * @version v3.1.0
+ */
+var BillingAddressResponseData = /*#__PURE__*/function () {
+ /**
+ * Constructs a new BillingAddressResponseData
.
+ * @alias module:model/BillingAddressResponseData
+ */
+ function BillingAddressResponseData() {
+ _classCallCheck(this, BillingAddressResponseData);
+ BillingAddressResponseData.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(BillingAddressResponseData, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a BillingAddressResponseData
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BillingAddressResponseData} obj Optional instance to populate.
+ * @return {module:model/BillingAddressResponseData} The populated BillingAddressResponseData
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BillingAddressResponseData();
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('attributes')) {
+ obj['attributes'] = _BillingAddressAttributes["default"].constructFromObject(data['attributes']);
+ }
+ if (data.hasOwnProperty('type')) {
+ obj['type'] = _TypeBillingAddress["default"].constructFromObject(data['type']);
+ }
+ if (data.hasOwnProperty('relationships')) {
+ obj['relationships'] = _RelationshipCustomer["default"].constructFromObject(data['relationships']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return BillingAddressResponseData;
+}();
+/**
+ * Alphanumeric string identifying the billing address.
+ * @member {String} id
+ */
+BillingAddressResponseData.prototype['id'] = undefined;
+
+/**
+ * @member {module:model/BillingAddressAttributes} attributes
+ */
+BillingAddressResponseData.prototype['attributes'] = undefined;
+
+/**
+ * @member {module:model/TypeBillingAddress} type
+ */
+BillingAddressResponseData.prototype['type'] = undefined;
+
+/**
+ * @member {module:model/RelationshipCustomer} relationships
+ */
+BillingAddressResponseData.prototype['relationships'] = undefined;
+var _default = BillingAddressResponseData;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 77965:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _BillingAddressVerificationErrorResponseErrors = _interopRequireDefault(__nccwpck_require__(49237));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The BillingAddressResponse model module.
- * @module model/BillingAddressResponse
- * @version 3.0.0-beta2
+ * The BillingAddressVerificationErrorResponse model module.
+ * @module model/BillingAddressVerificationErrorResponse
+ * @version v3.1.0
*/
-var BillingAddressResponse = /*#__PURE__*/function () {
+var BillingAddressVerificationErrorResponse = /*#__PURE__*/function () {
/**
- * Constructs a new BillingAddressResponse
.
- * @alias module:model/BillingAddressResponse
+ * Constructs a new BillingAddressVerificationErrorResponse
.
+ * @alias module:model/BillingAddressVerificationErrorResponse
*/
- function BillingAddressResponse() {
- _classCallCheck(this, BillingAddressResponse);
-
- BillingAddressResponse.initialize(this);
+ function BillingAddressVerificationErrorResponse() {
+ _classCallCheck(this, BillingAddressVerificationErrorResponse);
+ BillingAddressVerificationErrorResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(BillingAddressResponse, null, [{
+ _createClass(BillingAddressVerificationErrorResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a BillingAddressResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a BillingAddressVerificationErrorResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/BillingAddressResponse} obj Optional instance to populate.
- * @return {module:model/BillingAddressResponse} The populated BillingAddressResponse
instance.
+ * @param {module:model/BillingAddressVerificationErrorResponse} obj Optional instance to populate.
+ * @return {module:model/BillingAddressVerificationErrorResponse} The populated BillingAddressVerificationErrorResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new BillingAddressResponse();
-
- if (data.hasOwnProperty('data')) {
- obj['data'] = _BillingAddressResponseData["default"].constructFromObject(data['data']);
+ obj = obj || new BillingAddressVerificationErrorResponse();
+ if (data.hasOwnProperty('errors')) {
+ obj['errors'] = _ApiClient["default"].convertToType(data['errors'], [_BillingAddressVerificationErrorResponseErrors["default"]]);
}
}
-
return obj;
}
}]);
-
- return BillingAddressResponse;
+ return BillingAddressVerificationErrorResponse;
}();
/**
- * @member {module:model/BillingAddressResponseData} data
+ * @member {Array.BillingAddressResponseData
.
- * @alias module:model/BillingAddressResponseData
+ * Constructs a new BillingAddressVerificationErrorResponseErrors
.
+ * @alias module:model/BillingAddressVerificationErrorResponseErrors
+ * @param type {String} The error type.
+ * @param title {String}
+ * @param detail {String}
+ * @param status {Number}
*/
- function BillingAddressResponseData() {
- _classCallCheck(this, BillingAddressResponseData);
-
- BillingAddressResponseData.initialize(this);
+ function BillingAddressVerificationErrorResponseErrors(type, title, detail, status) {
+ _classCallCheck(this, BillingAddressVerificationErrorResponseErrors);
+ BillingAddressVerificationErrorResponseErrors.initialize(this, type, title, detail, status);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(BillingAddressResponseData, null, [{
+ _createClass(BillingAddressVerificationErrorResponseErrors, null, [{
key: "initialize",
- value: function initialize(obj) {}
+ value: function initialize(obj, type, title, detail, status) {
+ obj['type'] = type;
+ obj['title'] = title;
+ obj['detail'] = detail;
+ obj['status'] = status;
+ }
+
/**
- * Constructs a BillingAddressResponseData
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a BillingAddressVerificationErrorResponseErrors
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/BillingAddressResponseData} obj Optional instance to populate.
- * @return {module:model/BillingAddressResponseData} The populated BillingAddressResponseData
instance.
+ * @param {module:model/BillingAddressVerificationErrorResponseErrors} obj Optional instance to populate.
+ * @return {module:model/BillingAddressVerificationErrorResponseErrors} The populated BillingAddressVerificationErrorResponseErrors
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new BillingAddressResponseData();
-
- if (data.hasOwnProperty('id')) {
- obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ obj = obj || new BillingAddressVerificationErrorResponseErrors();
+ if (data.hasOwnProperty('type')) {
+ obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
}
-
- if (data.hasOwnProperty('attributes')) {
- obj['attributes'] = _BillingAddressAttributes["default"].constructFromObject(data['attributes']);
+ if (data.hasOwnProperty('title')) {
+ obj['title'] = _ApiClient["default"].convertToType(data['title'], 'String');
}
-
- if (data.hasOwnProperty('type')) {
- obj['type'] = _TypeBillingAddress["default"].constructFromObject(data['type']);
+ if (data.hasOwnProperty('detail')) {
+ obj['detail'] = _ApiClient["default"].convertToType(data['detail'], 'String');
}
-
- if (data.hasOwnProperty('relationships')) {
- obj['relationships'] = _RelationshipCustomer["default"].constructFromObject(data['relationships']);
+ if (data.hasOwnProperty('status')) {
+ obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
+ }
+ if (data.hasOwnProperty('candidates')) {
+ obj['candidates'] = _ApiClient["default"].convertToType(data['candidates'], [_BillingAddressAttributes["default"]]);
}
}
-
return obj;
}
}]);
-
- return BillingAddressResponseData;
+ return BillingAddressVerificationErrorResponseErrors;
}();
/**
- * Alphanumeric string identifying the billing address.
- * @member {String} id
+ * The error type.
+ * @member {String} type
*/
+BillingAddressVerificationErrorResponseErrors.prototype['type'] = undefined;
-
-BillingAddressResponseData.prototype['id'] = undefined;
/**
- * @member {module:model/BillingAddressAttributes} attributes
+ * @member {String} title
*/
+BillingAddressVerificationErrorResponseErrors.prototype['title'] = undefined;
-BillingAddressResponseData.prototype['attributes'] = undefined;
/**
- * @member {module:model/TypeBillingAddress} type
+ * @member {String} detail
*/
+BillingAddressVerificationErrorResponseErrors.prototype['detail'] = undefined;
-BillingAddressResponseData.prototype['type'] = undefined;
/**
- * @member {module:model/RelationshipCustomer} relationships
+ * @member {Number} status
*/
+BillingAddressVerificationErrorResponseErrors.prototype['status'] = undefined;
-BillingAddressResponseData.prototype['relationships'] = undefined;
-var _default = BillingAddressResponseData;
+/**
+ * @member {Array.BillingEstimateResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -42186,41 +42420,34 @@ var BillingEstimateResponse = /*#__PURE__*/function () {
* @param {module:model/BillingEstimateResponse} obj Optional instance to populate.
* @return {module:model/BillingEstimateResponse} The populated BillingEstimateResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BillingEstimateResponse();
-
_Billing["default"].constructFromObject(data, obj);
-
_BillingEstimateResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('end_time')) {
obj['end_time'] = _ApiClient["default"].convertToType(data['end_time'], 'Date');
}
-
if (data.hasOwnProperty('start_time')) {
obj['start_time'] = _ApiClient["default"].convertToType(data['start_time'], 'Date');
}
-
if (data.hasOwnProperty('invoice_id')) {
obj['invoice_id'] = _ApiClient["default"].convertToType(data['invoice_id'], 'String');
}
-
if (data.hasOwnProperty('customer_id')) {
obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
-
+ if (data.hasOwnProperty('vendor_state')) {
+ obj['vendor_state'] = _ApiClient["default"].convertToType(data['vendor_state'], 'String');
+ }
if (data.hasOwnProperty('status')) {
obj['status'] = _BillingStatus["default"].constructFromObject(data['status']);
}
-
if (data.hasOwnProperty('total')) {
obj['total'] = _BillingTotal["default"].constructFromObject(data['total']);
}
-
if (data.hasOwnProperty('regions')) {
obj['regions'] = _ApiClient["default"].convertToType(data['regions'], {
'String': {
@@ -42228,104 +42455,105 @@ var BillingEstimateResponse = /*#__PURE__*/function () {
}
});
}
-
if (data.hasOwnProperty('lines')) {
obj['lines'] = _ApiClient["default"].convertToType(data['lines'], [_BillingEstimateResponseAllOfLines["default"]]);
}
}
-
return obj;
}
}]);
-
return BillingEstimateResponse;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} end_time
*/
-
-
BillingEstimateResponse.prototype['end_time'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} start_time
*/
-
BillingEstimateResponse.prototype['start_time'] = undefined;
+
/**
* @member {String} invoice_id
*/
-
BillingEstimateResponse.prototype['invoice_id'] = undefined;
+
/**
* @member {String} customer_id
*/
-
BillingEstimateResponse.prototype['customer_id'] = undefined;
+
/**
- * @member {module:model/BillingStatus} status
+ * The current state of our third-party billing vendor. One of `up` or `down`.
+ * @member {String} vendor_state
*/
+BillingEstimateResponse.prototype['vendor_state'] = undefined;
+/**
+ * @member {module:model/BillingStatus} status
+ */
BillingEstimateResponse.prototype['status'] = undefined;
+
/**
* @member {module:model/BillingTotal} total
*/
-
BillingEstimateResponse.prototype['total'] = undefined;
+
/**
+ * Breakdown of regional data for products that are region based.
* @member {Object.BillingEstimateResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -42387,29 +42610,23 @@ var BillingEstimateResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/BillingEstimateResponseAllOf} obj Optional instance to populate.
* @return {module:model/BillingEstimateResponseAllOf} The populated BillingEstimateResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BillingEstimateResponseAllOf();
-
if (data.hasOwnProperty('lines')) {
obj['lines'] = _ApiClient["default"].convertToType(data['lines'], [_BillingEstimateResponseAllOfLines["default"]]);
}
}
-
return obj;
}
}]);
-
return BillingEstimateResponseAllOf;
}();
/**
* @member {Array.BillingEstimateResponseAllOfLine
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -42469,101 +42682,87 @@ var BillingEstimateResponseAllOfLine = /*#__PURE__*/function () {
* @param {module:model/BillingEstimateResponseAllOfLine} obj Optional instance to populate.
* @return {module:model/BillingEstimateResponseAllOfLine} The populated BillingEstimateResponseAllOfLine
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BillingEstimateResponseAllOfLine();
-
if (data.hasOwnProperty('plan_no')) {
obj['plan_no'] = _ApiClient["default"].convertToType(data['plan_no'], 'Number');
}
-
if (data.hasOwnProperty('description')) {
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
}
-
if (data.hasOwnProperty('units')) {
obj['units'] = _ApiClient["default"].convertToType(data['units'], 'Number');
}
-
if (data.hasOwnProperty('per_unit_cost')) {
obj['per_unit_cost'] = _ApiClient["default"].convertToType(data['per_unit_cost'], 'Number');
}
-
if (data.hasOwnProperty('service_no')) {
obj['service_no'] = _ApiClient["default"].convertToType(data['service_no'], 'Number');
}
-
if (data.hasOwnProperty('service_type')) {
obj['service_type'] = _ApiClient["default"].convertToType(data['service_type'], 'String');
}
-
if (data.hasOwnProperty('amount')) {
obj['amount'] = _ApiClient["default"].convertToType(data['amount'], 'Number');
}
-
if (data.hasOwnProperty('client_service_id')) {
obj['client_service_id'] = _ApiClient["default"].convertToType(data['client_service_id'], 'String');
}
-
if (data.hasOwnProperty('client_plan_id')) {
obj['client_plan_id'] = _ApiClient["default"].convertToType(data['client_plan_id'], 'String');
}
}
-
return obj;
}
}]);
-
return BillingEstimateResponseAllOfLine;
}();
/**
* @member {Number} plan_no
*/
-
-
BillingEstimateResponseAllOfLine.prototype['plan_no'] = undefined;
+
/**
* @member {String} description
*/
-
BillingEstimateResponseAllOfLine.prototype['description'] = undefined;
+
/**
* @member {Number} units
*/
-
BillingEstimateResponseAllOfLine.prototype['units'] = undefined;
+
/**
* @member {Number} per_unit_cost
*/
-
BillingEstimateResponseAllOfLine.prototype['per_unit_cost'] = undefined;
+
/**
* @member {Number} service_no
*/
-
BillingEstimateResponseAllOfLine.prototype['service_no'] = undefined;
+
/**
* @member {String} service_type
*/
-
BillingEstimateResponseAllOfLine.prototype['service_type'] = undefined;
+
/**
* @member {Number} amount
*/
-
BillingEstimateResponseAllOfLine.prototype['amount'] = undefined;
+
/**
* @member {String} client_service_id
*/
-
BillingEstimateResponseAllOfLine.prototype['client_service_id'] = undefined;
+
/**
* @member {String} client_plan_id
*/
-
BillingEstimateResponseAllOfLine.prototype['client_plan_id'] = undefined;
var _default = BillingEstimateResponseAllOfLine;
exports["default"] = _default;
@@ -42580,23 +42779,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _BillingEstimateResponseAllOfLine = _interopRequireDefault(__nccwpck_require__(80566));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The BillingEstimateResponseAllOfLines model module.
* @module model/BillingEstimateResponseAllOfLines
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var BillingEstimateResponseAllOfLines = /*#__PURE__*/function () {
/**
@@ -42605,19 +42800,18 @@ var BillingEstimateResponseAllOfLines = /*#__PURE__*/function () {
*/
function BillingEstimateResponseAllOfLines() {
_classCallCheck(this, BillingEstimateResponseAllOfLines);
-
BillingEstimateResponseAllOfLines.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(BillingEstimateResponseAllOfLines, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a BillingEstimateResponseAllOfLines
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -42625,29 +42819,23 @@ var BillingEstimateResponseAllOfLines = /*#__PURE__*/function () {
* @param {module:model/BillingEstimateResponseAllOfLines} obj Optional instance to populate.
* @return {module:model/BillingEstimateResponseAllOfLines} The populated BillingEstimateResponseAllOfLines
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BillingEstimateResponseAllOfLines();
-
if (data.hasOwnProperty('line')) {
obj['line'] = _BillingEstimateResponseAllOfLine["default"].constructFromObject(data['line']);
}
}
-
return obj;
}
}]);
-
return BillingEstimateResponseAllOfLines;
}();
/**
* @member {module:model/BillingEstimateResponseAllOfLine} line
*/
-
-
BillingEstimateResponseAllOfLines.prototype['line'] = undefined;
var _default = BillingEstimateResponseAllOfLines;
exports["default"] = _default;
@@ -42664,31 +42852,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Billing = _interopRequireDefault(__nccwpck_require__(2195));
-
var _BillingResponseAllOf = _interopRequireDefault(__nccwpck_require__(83231));
-
var _BillingResponseLineItem = _interopRequireDefault(__nccwpck_require__(64353));
-
var _BillingStatus = _interopRequireDefault(__nccwpck_require__(72121));
-
var _BillingTotal = _interopRequireDefault(__nccwpck_require__(19000));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The BillingResponse model module.
* @module model/BillingResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var BillingResponse = /*#__PURE__*/function () {
/**
@@ -42699,23 +42879,20 @@ var BillingResponse = /*#__PURE__*/function () {
*/
function BillingResponse() {
_classCallCheck(this, BillingResponse);
-
_Billing["default"].initialize(this);
-
_BillingResponseAllOf["default"].initialize(this);
-
BillingResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(BillingResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a BillingResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -42723,41 +42900,34 @@ var BillingResponse = /*#__PURE__*/function () {
* @param {module:model/BillingResponse} obj Optional instance to populate.
* @return {module:model/BillingResponse} The populated BillingResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BillingResponse();
-
_Billing["default"].constructFromObject(data, obj);
-
_BillingResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('end_time')) {
obj['end_time'] = _ApiClient["default"].convertToType(data['end_time'], 'Date');
}
-
if (data.hasOwnProperty('start_time')) {
obj['start_time'] = _ApiClient["default"].convertToType(data['start_time'], 'Date');
}
-
if (data.hasOwnProperty('invoice_id')) {
obj['invoice_id'] = _ApiClient["default"].convertToType(data['invoice_id'], 'String');
}
-
if (data.hasOwnProperty('customer_id')) {
obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
-
+ if (data.hasOwnProperty('vendor_state')) {
+ obj['vendor_state'] = _ApiClient["default"].convertToType(data['vendor_state'], 'String');
+ }
if (data.hasOwnProperty('status')) {
obj['status'] = _BillingStatus["default"].constructFromObject(data['status']);
}
-
if (data.hasOwnProperty('total')) {
obj['total'] = _BillingTotal["default"].constructFromObject(data['total']);
}
-
if (data.hasOwnProperty('regions')) {
obj['regions'] = _ApiClient["default"].convertToType(data['regions'], {
'String': {
@@ -42765,104 +42935,105 @@ var BillingResponse = /*#__PURE__*/function () {
}
});
}
-
if (data.hasOwnProperty('line_items')) {
obj['line_items'] = _ApiClient["default"].convertToType(data['line_items'], [_BillingResponseLineItem["default"]]);
}
}
-
return obj;
}
}]);
-
return BillingResponse;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} end_time
*/
-
-
BillingResponse.prototype['end_time'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} start_time
*/
-
BillingResponse.prototype['start_time'] = undefined;
+
/**
* @member {String} invoice_id
*/
-
BillingResponse.prototype['invoice_id'] = undefined;
+
/**
* @member {String} customer_id
*/
-
BillingResponse.prototype['customer_id'] = undefined;
+
/**
- * @member {module:model/BillingStatus} status
+ * The current state of our third-party billing vendor. One of `up` or `down`.
+ * @member {String} vendor_state
*/
+BillingResponse.prototype['vendor_state'] = undefined;
+/**
+ * @member {module:model/BillingStatus} status
+ */
BillingResponse.prototype['status'] = undefined;
+
/**
* @member {module:model/BillingTotal} total
*/
-
BillingResponse.prototype['total'] = undefined;
+
/**
+ * Breakdown of regional data for products that are region based.
* @member {Object.BillingResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -42924,29 +43090,23 @@ var BillingResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/BillingResponseAllOf} obj Optional instance to populate.
* @return {module:model/BillingResponseAllOf} The populated BillingResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BillingResponseAllOf();
-
if (data.hasOwnProperty('line_items')) {
obj['line_items'] = _ApiClient["default"].convertToType(data['line_items'], [_BillingResponseLineItem["default"]]);
}
}
-
return obj;
}
}]);
-
return BillingResponseAllOf;
}();
/**
* @member {Array.BillingResponseLineItem
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -43016,312 +43168,266 @@ var BillingResponseLineItem = /*#__PURE__*/function () {
* @param {module:model/BillingResponseLineItem} obj Optional instance to populate.
* @return {module:model/BillingResponseLineItem} The populated BillingResponseLineItem
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BillingResponseLineItem();
-
_Timestamps["default"].constructFromObject(data, obj);
-
_BillingResponseLineItemAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('amount')) {
obj['amount'] = _ApiClient["default"].convertToType(data['amount'], 'Number');
}
-
if (data.hasOwnProperty('aria_invoice_id')) {
obj['aria_invoice_id'] = _ApiClient["default"].convertToType(data['aria_invoice_id'], 'String');
}
-
if (data.hasOwnProperty('client_service_id')) {
obj['client_service_id'] = _ApiClient["default"].convertToType(data['client_service_id'], 'String');
}
-
if (data.hasOwnProperty('credit_coupon_code')) {
obj['credit_coupon_code'] = _ApiClient["default"].convertToType(data['credit_coupon_code'], 'String');
}
-
if (data.hasOwnProperty('description')) {
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('line_number')) {
obj['line_number'] = _ApiClient["default"].convertToType(data['line_number'], 'Number');
}
-
if (data.hasOwnProperty('plan_name')) {
obj['plan_name'] = _ApiClient["default"].convertToType(data['plan_name'], 'String');
}
-
if (data.hasOwnProperty('plan_no')) {
obj['plan_no'] = _ApiClient["default"].convertToType(data['plan_no'], 'Number');
}
-
if (data.hasOwnProperty('rate_per_unit')) {
obj['rate_per_unit'] = _ApiClient["default"].convertToType(data['rate_per_unit'], 'Number');
}
-
if (data.hasOwnProperty('rate_schedule_no')) {
obj['rate_schedule_no'] = _ApiClient["default"].convertToType(data['rate_schedule_no'], 'Number');
}
-
if (data.hasOwnProperty('rate_schedule_tier_no')) {
obj['rate_schedule_tier_no'] = _ApiClient["default"].convertToType(data['rate_schedule_tier_no'], 'Number');
}
-
if (data.hasOwnProperty('service_name')) {
obj['service_name'] = _ApiClient["default"].convertToType(data['service_name'], 'String');
}
-
if (data.hasOwnProperty('service_no')) {
obj['service_no'] = _ApiClient["default"].convertToType(data['service_no'], 'Number');
}
-
if (data.hasOwnProperty('units')) {
obj['units'] = _ApiClient["default"].convertToType(data['units'], 'Number');
}
-
if (data.hasOwnProperty('usage_type_cd')) {
obj['usage_type_cd'] = _ApiClient["default"].convertToType(data['usage_type_cd'], 'String');
}
-
if (data.hasOwnProperty('usage_type_no')) {
obj['usage_type_no'] = _ApiClient["default"].convertToType(data['usage_type_no'], 'Number');
}
}
-
return obj;
}
}]);
-
return BillingResponseLineItem;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
BillingResponseLineItem.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
BillingResponseLineItem.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
BillingResponseLineItem.prototype['updated_at'] = undefined;
+
/**
* @member {Number} amount
*/
-
BillingResponseLineItem.prototype['amount'] = undefined;
+
/**
* @member {String} aria_invoice_id
*/
-
BillingResponseLineItem.prototype['aria_invoice_id'] = undefined;
+
/**
* @member {String} client_service_id
*/
-
BillingResponseLineItem.prototype['client_service_id'] = undefined;
+
/**
* @member {String} credit_coupon_code
*/
-
BillingResponseLineItem.prototype['credit_coupon_code'] = undefined;
+
/**
* @member {String} description
*/
-
BillingResponseLineItem.prototype['description'] = undefined;
+
/**
* @member {String} id
*/
-
BillingResponseLineItem.prototype['id'] = undefined;
+
/**
* @member {Number} line_number
*/
-
BillingResponseLineItem.prototype['line_number'] = undefined;
+
/**
* @member {String} plan_name
*/
-
BillingResponseLineItem.prototype['plan_name'] = undefined;
+
/**
* @member {Number} plan_no
*/
-
BillingResponseLineItem.prototype['plan_no'] = undefined;
+
/**
* @member {Number} rate_per_unit
*/
-
BillingResponseLineItem.prototype['rate_per_unit'] = undefined;
+
/**
* @member {Number} rate_schedule_no
*/
-
BillingResponseLineItem.prototype['rate_schedule_no'] = undefined;
+
/**
* @member {Number} rate_schedule_tier_no
*/
-
BillingResponseLineItem.prototype['rate_schedule_tier_no'] = undefined;
+
/**
* @member {String} service_name
*/
-
BillingResponseLineItem.prototype['service_name'] = undefined;
+
/**
* @member {Number} service_no
*/
-
BillingResponseLineItem.prototype['service_no'] = undefined;
+
/**
* @member {Number} units
*/
-
BillingResponseLineItem.prototype['units'] = undefined;
+
/**
* @member {String} usage_type_cd
*/
-
BillingResponseLineItem.prototype['usage_type_cd'] = undefined;
+
/**
* @member {Number} usage_type_no
*/
+BillingResponseLineItem.prototype['usage_type_no'] = undefined;
-BillingResponseLineItem.prototype['usage_type_no'] = undefined; // Implement Timestamps interface:
-
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement BillingResponseLineItemAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement BillingResponseLineItemAllOf interface:
/**
* @member {Number} amount
*/
-
_BillingResponseLineItemAllOf["default"].prototype['amount'] = undefined;
/**
* @member {String} aria_invoice_id
*/
-
_BillingResponseLineItemAllOf["default"].prototype['aria_invoice_id'] = undefined;
/**
* @member {String} client_service_id
*/
-
_BillingResponseLineItemAllOf["default"].prototype['client_service_id'] = undefined;
/**
* @member {String} credit_coupon_code
*/
-
_BillingResponseLineItemAllOf["default"].prototype['credit_coupon_code'] = undefined;
/**
* @member {String} description
*/
-
_BillingResponseLineItemAllOf["default"].prototype['description'] = undefined;
/**
* @member {String} id
*/
-
_BillingResponseLineItemAllOf["default"].prototype['id'] = undefined;
/**
* @member {Number} line_number
*/
-
_BillingResponseLineItemAllOf["default"].prototype['line_number'] = undefined;
/**
* @member {String} plan_name
*/
-
_BillingResponseLineItemAllOf["default"].prototype['plan_name'] = undefined;
/**
* @member {Number} plan_no
*/
-
_BillingResponseLineItemAllOf["default"].prototype['plan_no'] = undefined;
/**
* @member {Number} rate_per_unit
*/
-
_BillingResponseLineItemAllOf["default"].prototype['rate_per_unit'] = undefined;
/**
* @member {Number} rate_schedule_no
*/
-
_BillingResponseLineItemAllOf["default"].prototype['rate_schedule_no'] = undefined;
/**
* @member {Number} rate_schedule_tier_no
*/
-
_BillingResponseLineItemAllOf["default"].prototype['rate_schedule_tier_no'] = undefined;
/**
* @member {String} service_name
*/
-
_BillingResponseLineItemAllOf["default"].prototype['service_name'] = undefined;
/**
* @member {Number} service_no
*/
-
_BillingResponseLineItemAllOf["default"].prototype['service_no'] = undefined;
/**
* @member {Number} units
*/
-
_BillingResponseLineItemAllOf["default"].prototype['units'] = undefined;
/**
* @member {String} usage_type_cd
*/
-
_BillingResponseLineItemAllOf["default"].prototype['usage_type_cd'] = undefined;
/**
* @member {Number} usage_type_no
*/
-
_BillingResponseLineItemAllOf["default"].prototype['usage_type_no'] = undefined;
var _default = BillingResponseLineItem;
exports["default"] = _default;
@@ -43338,21 +43444,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The BillingResponseLineItemAllOf model module.
* @module model/BillingResponseLineItemAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var BillingResponseLineItemAllOf = /*#__PURE__*/function () {
/**
@@ -43361,19 +43464,18 @@ var BillingResponseLineItemAllOf = /*#__PURE__*/function () {
*/
function BillingResponseLineItemAllOf() {
_classCallCheck(this, BillingResponseLineItemAllOf);
-
BillingResponseLineItemAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(BillingResponseLineItemAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a BillingResponseLineItemAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -43381,173 +43483,151 @@ var BillingResponseLineItemAllOf = /*#__PURE__*/function () {
* @param {module:model/BillingResponseLineItemAllOf} obj Optional instance to populate.
* @return {module:model/BillingResponseLineItemAllOf} The populated BillingResponseLineItemAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BillingResponseLineItemAllOf();
-
if (data.hasOwnProperty('amount')) {
obj['amount'] = _ApiClient["default"].convertToType(data['amount'], 'Number');
}
-
if (data.hasOwnProperty('aria_invoice_id')) {
obj['aria_invoice_id'] = _ApiClient["default"].convertToType(data['aria_invoice_id'], 'String');
}
-
if (data.hasOwnProperty('client_service_id')) {
obj['client_service_id'] = _ApiClient["default"].convertToType(data['client_service_id'], 'String');
}
-
if (data.hasOwnProperty('credit_coupon_code')) {
obj['credit_coupon_code'] = _ApiClient["default"].convertToType(data['credit_coupon_code'], 'String');
}
-
if (data.hasOwnProperty('description')) {
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('line_number')) {
obj['line_number'] = _ApiClient["default"].convertToType(data['line_number'], 'Number');
}
-
if (data.hasOwnProperty('plan_name')) {
obj['plan_name'] = _ApiClient["default"].convertToType(data['plan_name'], 'String');
}
-
if (data.hasOwnProperty('plan_no')) {
obj['plan_no'] = _ApiClient["default"].convertToType(data['plan_no'], 'Number');
}
-
if (data.hasOwnProperty('rate_per_unit')) {
obj['rate_per_unit'] = _ApiClient["default"].convertToType(data['rate_per_unit'], 'Number');
}
-
if (data.hasOwnProperty('rate_schedule_no')) {
obj['rate_schedule_no'] = _ApiClient["default"].convertToType(data['rate_schedule_no'], 'Number');
}
-
if (data.hasOwnProperty('rate_schedule_tier_no')) {
obj['rate_schedule_tier_no'] = _ApiClient["default"].convertToType(data['rate_schedule_tier_no'], 'Number');
}
-
if (data.hasOwnProperty('service_name')) {
obj['service_name'] = _ApiClient["default"].convertToType(data['service_name'], 'String');
}
-
if (data.hasOwnProperty('service_no')) {
obj['service_no'] = _ApiClient["default"].convertToType(data['service_no'], 'Number');
}
-
if (data.hasOwnProperty('units')) {
obj['units'] = _ApiClient["default"].convertToType(data['units'], 'Number');
}
-
if (data.hasOwnProperty('usage_type_cd')) {
obj['usage_type_cd'] = _ApiClient["default"].convertToType(data['usage_type_cd'], 'String');
}
-
if (data.hasOwnProperty('usage_type_no')) {
obj['usage_type_no'] = _ApiClient["default"].convertToType(data['usage_type_no'], 'Number');
}
}
-
return obj;
}
}]);
-
return BillingResponseLineItemAllOf;
}();
/**
* @member {Number} amount
*/
-
-
BillingResponseLineItemAllOf.prototype['amount'] = undefined;
+
/**
* @member {String} aria_invoice_id
*/
-
BillingResponseLineItemAllOf.prototype['aria_invoice_id'] = undefined;
+
/**
* @member {String} client_service_id
*/
-
BillingResponseLineItemAllOf.prototype['client_service_id'] = undefined;
+
/**
* @member {String} credit_coupon_code
*/
-
BillingResponseLineItemAllOf.prototype['credit_coupon_code'] = undefined;
+
/**
* @member {String} description
*/
-
BillingResponseLineItemAllOf.prototype['description'] = undefined;
+
/**
* @member {String} id
*/
-
BillingResponseLineItemAllOf.prototype['id'] = undefined;
+
/**
* @member {Number} line_number
*/
-
BillingResponseLineItemAllOf.prototype['line_number'] = undefined;
+
/**
* @member {String} plan_name
*/
-
BillingResponseLineItemAllOf.prototype['plan_name'] = undefined;
+
/**
* @member {Number} plan_no
*/
-
BillingResponseLineItemAllOf.prototype['plan_no'] = undefined;
+
/**
* @member {Number} rate_per_unit
*/
-
BillingResponseLineItemAllOf.prototype['rate_per_unit'] = undefined;
+
/**
* @member {Number} rate_schedule_no
*/
-
BillingResponseLineItemAllOf.prototype['rate_schedule_no'] = undefined;
+
/**
* @member {Number} rate_schedule_tier_no
*/
-
BillingResponseLineItemAllOf.prototype['rate_schedule_tier_no'] = undefined;
+
/**
* @member {String} service_name
*/
-
BillingResponseLineItemAllOf.prototype['service_name'] = undefined;
+
/**
* @member {Number} service_no
*/
-
BillingResponseLineItemAllOf.prototype['service_no'] = undefined;
+
/**
* @member {Number} units
*/
-
BillingResponseLineItemAllOf.prototype['units'] = undefined;
+
/**
* @member {String} usage_type_cd
*/
-
BillingResponseLineItemAllOf.prototype['usage_type_cd'] = undefined;
+
/**
* @member {Number} usage_type_no
*/
-
BillingResponseLineItemAllOf.prototype['usage_type_no'] = undefined;
var _default = BillingResponseLineItemAllOf;
exports["default"] = _default;
@@ -43564,21 +43644,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The BillingStatus model module.
* @module model/BillingStatus
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var BillingStatus = /*#__PURE__*/function () {
/**
@@ -43587,19 +43664,18 @@ var BillingStatus = /*#__PURE__*/function () {
*/
function BillingStatus() {
_classCallCheck(this, BillingStatus);
-
BillingStatus.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(BillingStatus, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a BillingStatus
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -43607,65 +43683,55 @@ var BillingStatus = /*#__PURE__*/function () {
* @param {module:model/BillingStatus} obj Optional instance to populate.
* @return {module:model/BillingStatus} The populated BillingStatus
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BillingStatus();
-
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
}
-
if (data.hasOwnProperty('sent_at')) {
obj['sent_at'] = _ApiClient["default"].convertToType(data['sent_at'], 'Date');
}
}
-
return obj;
}
}]);
-
return BillingStatus;
}();
/**
* What the current status of this invoice can be.
* @member {module:model/BillingStatus.StatusEnum} status
*/
-
-
BillingStatus.prototype['status'] = undefined;
+
/**
* @member {Date} sent_at
*/
-
BillingStatus.prototype['sent_at'] = undefined;
+
/**
* Allowed values for the status
property.
* @enum {String}
* @readonly
*/
-
BillingStatus['StatusEnum'] = {
/**
* value: "Pending"
* @const
*/
"Pending": "Pending",
-
/**
* value: "Outstanding"
* @const
*/
"Outstanding": "Outstanding",
-
/**
* value: "Paid"
* @const
*/
"Paid": "Paid",
-
/**
* value: "MTD"
* @const
@@ -43687,44 +43753,40 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _BillingTotalExtras = _interopRequireDefault(__nccwpck_require__(70081));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The BillingTotal model module.
* @module model/BillingTotal
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var BillingTotal = /*#__PURE__*/function () {
/**
* Constructs a new BillingTotal
.
+ * Complete summary of the billing information.
* @alias module:model/BillingTotal
*/
function BillingTotal() {
_classCallCheck(this, BillingTotal);
-
BillingTotal.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(BillingTotal, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a BillingTotal
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -43732,180 +43794,159 @@ var BillingTotal = /*#__PURE__*/function () {
* @param {module:model/BillingTotal} obj Optional instance to populate.
* @return {module:model/BillingTotal} The populated BillingTotal
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BillingTotal();
-
if (data.hasOwnProperty('bandwidth')) {
obj['bandwidth'] = _ApiClient["default"].convertToType(data['bandwidth'], 'Number');
}
-
if (data.hasOwnProperty('bandwidth_cost')) {
obj['bandwidth_cost'] = _ApiClient["default"].convertToType(data['bandwidth_cost'], 'Number');
}
-
if (data.hasOwnProperty('bandwidth_units')) {
obj['bandwidth_units'] = _ApiClient["default"].convertToType(data['bandwidth_units'], 'String');
}
-
if (data.hasOwnProperty('cost')) {
obj['cost'] = _ApiClient["default"].convertToType(data['cost'], 'Number');
}
-
if (data.hasOwnProperty('cost_before_discount')) {
obj['cost_before_discount'] = _ApiClient["default"].convertToType(data['cost_before_discount'], 'Number');
}
-
if (data.hasOwnProperty('discount')) {
obj['discount'] = _ApiClient["default"].convertToType(data['discount'], 'Number');
}
-
if (data.hasOwnProperty('extras')) {
obj['extras'] = _ApiClient["default"].convertToType(data['extras'], [_BillingTotalExtras["default"]]);
}
-
if (data.hasOwnProperty('extras_cost')) {
obj['extras_cost'] = _ApiClient["default"].convertToType(data['extras_cost'], 'Number');
}
-
if (data.hasOwnProperty('incurred_cost')) {
obj['incurred_cost'] = _ApiClient["default"].convertToType(data['incurred_cost'], 'Number');
}
-
if (data.hasOwnProperty('overage')) {
obj['overage'] = _ApiClient["default"].convertToType(data['overage'], 'Number');
}
-
if (data.hasOwnProperty('plan_code')) {
obj['plan_code'] = _ApiClient["default"].convertToType(data['plan_code'], 'String');
}
-
if (data.hasOwnProperty('plan_minimum')) {
obj['plan_minimum'] = _ApiClient["default"].convertToType(data['plan_minimum'], 'Number');
}
-
if (data.hasOwnProperty('plan_name')) {
obj['plan_name'] = _ApiClient["default"].convertToType(data['plan_name'], 'String');
}
-
if (data.hasOwnProperty('requests')) {
obj['requests'] = _ApiClient["default"].convertToType(data['requests'], 'Number');
}
-
if (data.hasOwnProperty('requests_cost')) {
obj['requests_cost'] = _ApiClient["default"].convertToType(data['requests_cost'], 'Number');
}
-
if (data.hasOwnProperty('terms')) {
obj['terms'] = _ApiClient["default"].convertToType(data['terms'], 'String');
}
}
-
return obj;
}
}]);
-
return BillingTotal;
}();
/**
* The total amount of bandwidth used this month (See bandwidth_units for measurement).
* @member {Number} bandwidth
*/
-
-
BillingTotal.prototype['bandwidth'] = undefined;
+
/**
* The cost of the bandwidth used this month in USD.
* @member {Number} bandwidth_cost
*/
-
BillingTotal.prototype['bandwidth_cost'] = undefined;
+
/**
* Bandwidth measurement units based on billing plan.
* @member {String} bandwidth_units
*/
-
BillingTotal.prototype['bandwidth_units'] = undefined;
+
/**
* The final amount to be paid.
* @member {Number} cost
*/
-
BillingTotal.prototype['cost'] = undefined;
+
/**
* Total incurred cost plus extras cost.
* @member {Number} cost_before_discount
*/
-
BillingTotal.prototype['cost_before_discount'] = undefined;
+
/**
* Calculated discount rate.
* @member {Number} discount
*/
-
BillingTotal.prototype['discount'] = undefined;
+
/**
* A list of any extras for this invoice.
* @member {Array.BillingTotalExtras
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -43965,50 +44002,42 @@ var BillingTotalExtras = /*#__PURE__*/function () {
* @param {module:model/BillingTotalExtras} obj Optional instance to populate.
* @return {module:model/BillingTotalExtras} The populated BillingTotalExtras
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BillingTotalExtras();
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('recurring')) {
obj['recurring'] = _ApiClient["default"].convertToType(data['recurring'], 'Number');
}
-
if (data.hasOwnProperty('setup')) {
obj['setup'] = _ApiClient["default"].convertToType(data['setup'], 'Number');
}
}
-
return obj;
}
}]);
-
return BillingTotalExtras;
}();
/**
* The name of this extra cost.
* @member {String} name
*/
-
-
BillingTotalExtras.prototype['name'] = undefined;
+
/**
* Recurring monthly cost in USD. Not present if $0.0.
* @member {Number} recurring
*/
-
BillingTotalExtras.prototype['recurring'] = undefined;
+
/**
* Initial set up cost in USD. Not present if $0.0 or this is not the month the extra was added.
* @member {Number} setup
*/
-
BillingTotalExtras.prototype['setup'] = undefined;
var _default = BillingTotalExtras;
exports["default"] = _default;
@@ -44025,23 +44054,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _BulkUpdateAclEntry = _interopRequireDefault(__nccwpck_require__(96415));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The BulkUpdateAclEntriesRequest model module.
* @module model/BulkUpdateAclEntriesRequest
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var BulkUpdateAclEntriesRequest = /*#__PURE__*/function () {
/**
@@ -44050,19 +44075,18 @@ var BulkUpdateAclEntriesRequest = /*#__PURE__*/function () {
*/
function BulkUpdateAclEntriesRequest() {
_classCallCheck(this, BulkUpdateAclEntriesRequest);
-
BulkUpdateAclEntriesRequest.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(BulkUpdateAclEntriesRequest, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a BulkUpdateAclEntriesRequest
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -44070,29 +44094,23 @@ var BulkUpdateAclEntriesRequest = /*#__PURE__*/function () {
* @param {module:model/BulkUpdateAclEntriesRequest} obj Optional instance to populate.
* @return {module:model/BulkUpdateAclEntriesRequest} The populated BulkUpdateAclEntriesRequest
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BulkUpdateAclEntriesRequest();
-
if (data.hasOwnProperty('entries')) {
obj['entries'] = _ApiClient["default"].convertToType(data['entries'], [_BulkUpdateAclEntry["default"]]);
}
}
-
return obj;
}
}]);
-
return BulkUpdateAclEntriesRequest;
}();
/**
* @member {Array.BulkUpdateAclEntry
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -44162,46 +44172,35 @@ var BulkUpdateAclEntry = /*#__PURE__*/function () {
* @param {module:model/BulkUpdateAclEntry} obj Optional instance to populate.
* @return {module:model/BulkUpdateAclEntry} The populated BulkUpdateAclEntry
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BulkUpdateAclEntry();
-
_AclEntry["default"].constructFromObject(data, obj);
-
_BulkUpdateAclEntryAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('negated')) {
obj['negated'] = _ApiClient["default"].convertToType(data['negated'], 'Number');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('ip')) {
obj['ip'] = _ApiClient["default"].convertToType(data['ip'], 'String');
}
-
if (data.hasOwnProperty('subnet')) {
obj['subnet'] = _ApiClient["default"].convertToType(data['subnet'], 'Number');
}
-
if (data.hasOwnProperty('op')) {
obj['op'] = _ApiClient["default"].convertToType(data['op'], 'String');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return BulkUpdateAclEntry;
}();
/**
@@ -44209,112 +44208,102 @@ var BulkUpdateAclEntry = /*#__PURE__*/function () {
* @member {module:model/BulkUpdateAclEntry.NegatedEnum} negated
* @default NegatedEnum.0
*/
-
-
BulkUpdateAclEntry.prototype['negated'] = undefined;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
BulkUpdateAclEntry.prototype['comment'] = undefined;
+
/**
* An IP address.
* @member {String} ip
*/
-
BulkUpdateAclEntry.prototype['ip'] = undefined;
+
/**
- * Number of bits for the subnet mask applied to the IP address. For IPv4 addresses, a value of 32 represents the smallest subnet mask (1 address), 24 represents a class C subnet mask (256 addresses), 16 represents a class B subnet mask (65k addresses), and 8 is class A subnet mask (16m addresses). If not provided, no mask is applied.
+ * Number of bits for the subnet mask applied to the IP address. For IPv4 addresses, a value of 32 represents the smallest subnet mask (1 address), 24 represents a class C subnet mask (256 addresses), 16 represents a class B subnet mask (65k addresses), and 8 is class A subnet mask (16m addresses). If not provided, no mask is applied.
* @member {Number} subnet
*/
-
BulkUpdateAclEntry.prototype['subnet'] = undefined;
+
/**
* @member {module:model/BulkUpdateAclEntry.OpEnum} op
*/
-
BulkUpdateAclEntry.prototype['op'] = undefined;
+
/**
* @member {String} id
*/
+BulkUpdateAclEntry.prototype['id'] = undefined;
-BulkUpdateAclEntry.prototype['id'] = undefined; // Implement AclEntry interface:
-
+// Implement AclEntry interface:
/**
* Whether to negate the match. Useful primarily when creating individual exceptions to larger subnets.
* @member {module:model/AclEntry.NegatedEnum} negated
* @default NegatedEnum.0
*/
-
_AclEntry["default"].prototype['negated'] = undefined;
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
_AclEntry["default"].prototype['comment'] = undefined;
/**
* An IP address.
* @member {String} ip
*/
-
_AclEntry["default"].prototype['ip'] = undefined;
/**
- * Number of bits for the subnet mask applied to the IP address. For IPv4 addresses, a value of 32 represents the smallest subnet mask (1 address), 24 represents a class C subnet mask (256 addresses), 16 represents a class B subnet mask (65k addresses), and 8 is class A subnet mask (16m addresses). If not provided, no mask is applied.
+ * Number of bits for the subnet mask applied to the IP address. For IPv4 addresses, a value of 32 represents the smallest subnet mask (1 address), 24 represents a class C subnet mask (256 addresses), 16 represents a class B subnet mask (65k addresses), and 8 is class A subnet mask (16m addresses). If not provided, no mask is applied.
* @member {Number} subnet
*/
-
-_AclEntry["default"].prototype['subnet'] = undefined; // Implement BulkUpdateAclEntryAllOf interface:
-
+_AclEntry["default"].prototype['subnet'] = undefined;
+// Implement BulkUpdateAclEntryAllOf interface:
/**
* @member {module:model/BulkUpdateAclEntryAllOf.OpEnum} op
*/
-
_BulkUpdateAclEntryAllOf["default"].prototype['op'] = undefined;
/**
* @member {String} id
*/
-
_BulkUpdateAclEntryAllOf["default"].prototype['id'] = undefined;
+
/**
* Allowed values for the negated
property.
* @enum {Number}
* @readonly
*/
-
BulkUpdateAclEntry['NegatedEnum'] = {
/**
* value: 0
* @const
*/
"0": 0,
-
/**
* value: 1
* @const
*/
"1": 1
};
+
/**
* Allowed values for the op
property.
* @enum {String}
* @readonly
*/
-
BulkUpdateAclEntry['OpEnum'] = {
/**
* value: "create"
* @const
*/
"create": "create",
-
/**
* value: "update"
* @const
*/
"update": "update",
-
/**
* value: "delete"
* @const
@@ -44336,21 +44325,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The BulkUpdateAclEntryAllOf model module.
* @module model/BulkUpdateAclEntryAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var BulkUpdateAclEntryAllOf = /*#__PURE__*/function () {
/**
@@ -44359,19 +44345,18 @@ var BulkUpdateAclEntryAllOf = /*#__PURE__*/function () {
*/
function BulkUpdateAclEntryAllOf() {
_classCallCheck(this, BulkUpdateAclEntryAllOf);
-
BulkUpdateAclEntryAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(BulkUpdateAclEntryAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a BulkUpdateAclEntryAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -44379,58 +44364,49 @@ var BulkUpdateAclEntryAllOf = /*#__PURE__*/function () {
* @param {module:model/BulkUpdateAclEntryAllOf} obj Optional instance to populate.
* @return {module:model/BulkUpdateAclEntryAllOf} The populated BulkUpdateAclEntryAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BulkUpdateAclEntryAllOf();
-
if (data.hasOwnProperty('op')) {
obj['op'] = _ApiClient["default"].convertToType(data['op'], 'String');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return BulkUpdateAclEntryAllOf;
}();
/**
* @member {module:model/BulkUpdateAclEntryAllOf.OpEnum} op
*/
-
-
BulkUpdateAclEntryAllOf.prototype['op'] = undefined;
+
/**
* @member {String} id
*/
-
BulkUpdateAclEntryAllOf.prototype['id'] = undefined;
+
/**
* Allowed values for the op
property.
* @enum {String}
* @readonly
*/
-
BulkUpdateAclEntryAllOf['OpEnum'] = {
/**
* value: "create"
* @const
*/
"create": "create",
-
/**
* value: "update"
* @const
*/
"update": "update",
-
/**
* value: "delete"
* @const
@@ -44452,25 +44428,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _BulkUpdateDictionaryItemAllOf = _interopRequireDefault(__nccwpck_require__(51223));
-
var _DictionaryItem = _interopRequireDefault(__nccwpck_require__(77220));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The BulkUpdateDictionaryItem model module.
* @module model/BulkUpdateDictionaryItem
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var BulkUpdateDictionaryItem = /*#__PURE__*/function () {
/**
@@ -44481,23 +44452,20 @@ var BulkUpdateDictionaryItem = /*#__PURE__*/function () {
*/
function BulkUpdateDictionaryItem() {
_classCallCheck(this, BulkUpdateDictionaryItem);
-
_DictionaryItem["default"].initialize(this);
-
_BulkUpdateDictionaryItemAllOf["default"].initialize(this);
-
BulkUpdateDictionaryItem.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(BulkUpdateDictionaryItem, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a BulkUpdateDictionaryItem
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -44505,98 +44473,83 @@ var BulkUpdateDictionaryItem = /*#__PURE__*/function () {
* @param {module:model/BulkUpdateDictionaryItem} obj Optional instance to populate.
* @return {module:model/BulkUpdateDictionaryItem} The populated BulkUpdateDictionaryItem
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BulkUpdateDictionaryItem();
-
_DictionaryItem["default"].constructFromObject(data, obj);
-
_BulkUpdateDictionaryItemAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('item_key')) {
obj['item_key'] = _ApiClient["default"].convertToType(data['item_key'], 'String');
}
-
if (data.hasOwnProperty('item_value')) {
obj['item_value'] = _ApiClient["default"].convertToType(data['item_value'], 'String');
}
-
if (data.hasOwnProperty('op')) {
obj['op'] = _ApiClient["default"].convertToType(data['op'], 'String');
}
}
-
return obj;
}
}]);
-
return BulkUpdateDictionaryItem;
}();
/**
* Item key, maximum 256 characters.
* @member {String} item_key
*/
-
-
BulkUpdateDictionaryItem.prototype['item_key'] = undefined;
+
/**
* Item value, maximum 8000 characters.
* @member {String} item_value
*/
-
BulkUpdateDictionaryItem.prototype['item_value'] = undefined;
+
/**
* @member {module:model/BulkUpdateDictionaryItem.OpEnum} op
*/
+BulkUpdateDictionaryItem.prototype['op'] = undefined;
-BulkUpdateDictionaryItem.prototype['op'] = undefined; // Implement DictionaryItem interface:
-
+// Implement DictionaryItem interface:
/**
* Item key, maximum 256 characters.
* @member {String} item_key
*/
-
_DictionaryItem["default"].prototype['item_key'] = undefined;
/**
* Item value, maximum 8000 characters.
* @member {String} item_value
*/
-
-_DictionaryItem["default"].prototype['item_value'] = undefined; // Implement BulkUpdateDictionaryItemAllOf interface:
-
+_DictionaryItem["default"].prototype['item_value'] = undefined;
+// Implement BulkUpdateDictionaryItemAllOf interface:
/**
* @member {module:model/BulkUpdateDictionaryItemAllOf.OpEnum} op
*/
-
_BulkUpdateDictionaryItemAllOf["default"].prototype['op'] = undefined;
+
/**
* Allowed values for the op
property.
* @enum {String}
* @readonly
*/
-
BulkUpdateDictionaryItem['OpEnum'] = {
/**
* value: "create"
* @const
*/
"create": "create",
-
/**
* value: "update"
* @const
*/
"update": "update",
-
/**
* value: "delete"
* @const
*/
"delete": "delete",
-
/**
* value: "upsert"
* @const
@@ -44618,21 +44571,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The BulkUpdateDictionaryItemAllOf model module.
* @module model/BulkUpdateDictionaryItemAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var BulkUpdateDictionaryItemAllOf = /*#__PURE__*/function () {
/**
@@ -44641,19 +44591,18 @@ var BulkUpdateDictionaryItemAllOf = /*#__PURE__*/function () {
*/
function BulkUpdateDictionaryItemAllOf() {
_classCallCheck(this, BulkUpdateDictionaryItemAllOf);
-
BulkUpdateDictionaryItemAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(BulkUpdateDictionaryItemAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a BulkUpdateDictionaryItemAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -44661,55 +44610,46 @@ var BulkUpdateDictionaryItemAllOf = /*#__PURE__*/function () {
* @param {module:model/BulkUpdateDictionaryItemAllOf} obj Optional instance to populate.
* @return {module:model/BulkUpdateDictionaryItemAllOf} The populated BulkUpdateDictionaryItemAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BulkUpdateDictionaryItemAllOf();
-
if (data.hasOwnProperty('op')) {
obj['op'] = _ApiClient["default"].convertToType(data['op'], 'String');
}
}
-
return obj;
}
}]);
-
return BulkUpdateDictionaryItemAllOf;
}();
/**
* @member {module:model/BulkUpdateDictionaryItemAllOf.OpEnum} op
*/
-
-
BulkUpdateDictionaryItemAllOf.prototype['op'] = undefined;
+
/**
* Allowed values for the op
property.
* @enum {String}
* @readonly
*/
-
BulkUpdateDictionaryItemAllOf['OpEnum'] = {
/**
* value: "create"
* @const
*/
"create": "create",
-
/**
* value: "update"
* @const
*/
"update": "update",
-
/**
* value: "delete"
* @const
*/
"delete": "delete",
-
/**
* value: "upsert"
* @const
@@ -44731,23 +44671,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _BulkUpdateDictionaryItem = _interopRequireDefault(__nccwpck_require__(95902));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The BulkUpdateDictionaryListRequest model module.
* @module model/BulkUpdateDictionaryListRequest
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var BulkUpdateDictionaryListRequest = /*#__PURE__*/function () {
/**
@@ -44756,19 +44692,18 @@ var BulkUpdateDictionaryListRequest = /*#__PURE__*/function () {
*/
function BulkUpdateDictionaryListRequest() {
_classCallCheck(this, BulkUpdateDictionaryListRequest);
-
BulkUpdateDictionaryListRequest.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(BulkUpdateDictionaryListRequest, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a BulkUpdateDictionaryListRequest
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -44776,29 +44711,23 @@ var BulkUpdateDictionaryListRequest = /*#__PURE__*/function () {
* @param {module:model/BulkUpdateDictionaryListRequest} obj Optional instance to populate.
* @return {module:model/BulkUpdateDictionaryListRequest} The populated BulkUpdateDictionaryListRequest
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BulkUpdateDictionaryListRequest();
-
if (data.hasOwnProperty('items')) {
obj['items'] = _ApiClient["default"].convertToType(data['items'], [_BulkUpdateDictionaryItem["default"]]);
}
}
-
return obj;
}
}]);
-
return BulkUpdateDictionaryListRequest;
}();
/**
* @member {Array.BulkWafActiveRules
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -44860,29 +44784,23 @@ var BulkWafActiveRules = /*#__PURE__*/function () {
* @param {module:model/BulkWafActiveRules} obj Optional instance to populate.
* @return {module:model/BulkWafActiveRules} The populated BulkWafActiveRules
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new BulkWafActiveRules();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_WafActiveRuleData["default"]]);
}
}
-
return obj;
}
}]);
-
return BulkWafActiveRules;
}();
/**
* @member {Array.CacheSetting
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -44942,90 +44856,78 @@ var CacheSetting = /*#__PURE__*/function () {
* @param {module:model/CacheSetting} obj Optional instance to populate.
* @return {module:model/CacheSetting} The populated CacheSetting
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new CacheSetting();
-
if (data.hasOwnProperty('action')) {
obj['action'] = _ApiClient["default"].convertToType(data['action'], 'String');
}
-
if (data.hasOwnProperty('cache_condition')) {
obj['cache_condition'] = _ApiClient["default"].convertToType(data['cache_condition'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('stale_ttl')) {
obj['stale_ttl'] = _ApiClient["default"].convertToType(data['stale_ttl'], 'Number');
}
-
if (data.hasOwnProperty('ttl')) {
obj['ttl'] = _ApiClient["default"].convertToType(data['ttl'], 'Number');
}
}
-
return obj;
}
}]);
-
return CacheSetting;
}();
/**
* If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule.
* @member {module:model/CacheSetting.ActionEnum} action
*/
-
-
CacheSetting.prototype['action'] = undefined;
+
/**
* Name of the cache condition controlling when this configuration applies.
* @member {String} cache_condition
*/
-
CacheSetting.prototype['cache_condition'] = undefined;
+
/**
* Name for the cache settings object.
* @member {String} name
*/
-
CacheSetting.prototype['name'] = undefined;
+
/**
* Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error').
* @member {Number} stale_ttl
*/
-
CacheSetting.prototype['stale_ttl'] = undefined;
+
/**
* Maximum time to consider the object fresh in the cache (the cache 'time to live').
* @member {Number} ttl
*/
-
CacheSetting.prototype['ttl'] = undefined;
+
/**
* Allowed values for the action
property.
* @enum {String}
* @readonly
*/
-
CacheSetting['ActionEnum'] = {
/**
* value: "pass"
* @const
*/
"pass": "pass",
-
/**
- * value: "deliver"
+ * value: "cache"
* @const
*/
- "deliver": "deliver",
-
+ "cache": "cache",
/**
* value: "restart"
* @const
@@ -45047,27 +44949,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _CacheSetting = _interopRequireDefault(__nccwpck_require__(97488));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The CacheSettingResponse model module.
* @module model/CacheSettingResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var CacheSettingResponse = /*#__PURE__*/function () {
/**
@@ -45079,25 +44975,21 @@ var CacheSettingResponse = /*#__PURE__*/function () {
*/
function CacheSettingResponse() {
_classCallCheck(this, CacheSettingResponse);
-
_CacheSetting["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
CacheSettingResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(CacheSettingResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a CacheSettingResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -45105,205 +44997,176 @@ var CacheSettingResponse = /*#__PURE__*/function () {
* @param {module:model/CacheSettingResponse} obj Optional instance to populate.
* @return {module:model/CacheSettingResponse} The populated CacheSettingResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new CacheSettingResponse();
-
_CacheSetting["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('action')) {
obj['action'] = _ApiClient["default"].convertToType(data['action'], 'String');
}
-
if (data.hasOwnProperty('cache_condition')) {
obj['cache_condition'] = _ApiClient["default"].convertToType(data['cache_condition'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('stale_ttl')) {
obj['stale_ttl'] = _ApiClient["default"].convertToType(data['stale_ttl'], 'Number');
}
-
if (data.hasOwnProperty('ttl')) {
obj['ttl'] = _ApiClient["default"].convertToType(data['ttl'], 'Number');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
}
-
return obj;
}
}]);
-
return CacheSettingResponse;
}();
/**
* If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule.
* @member {module:model/CacheSettingResponse.ActionEnum} action
*/
-
-
CacheSettingResponse.prototype['action'] = undefined;
+
/**
* Name of the cache condition controlling when this configuration applies.
* @member {String} cache_condition
*/
-
CacheSettingResponse.prototype['cache_condition'] = undefined;
+
/**
* Name for the cache settings object.
* @member {String} name
*/
-
CacheSettingResponse.prototype['name'] = undefined;
+
/**
* Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error').
* @member {Number} stale_ttl
*/
-
CacheSettingResponse.prototype['stale_ttl'] = undefined;
+
/**
* Maximum time to consider the object fresh in the cache (the cache 'time to live').
* @member {Number} ttl
*/
-
CacheSettingResponse.prototype['ttl'] = undefined;
+
/**
* @member {String} service_id
*/
-
CacheSettingResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
-
CacheSettingResponse.prototype['version'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
CacheSettingResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
CacheSettingResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
+CacheSettingResponse.prototype['updated_at'] = undefined;
-CacheSettingResponse.prototype['updated_at'] = undefined; // Implement CacheSetting interface:
-
+// Implement CacheSetting interface:
/**
* If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule.
* @member {module:model/CacheSetting.ActionEnum} action
*/
-
_CacheSetting["default"].prototype['action'] = undefined;
/**
* Name of the cache condition controlling when this configuration applies.
* @member {String} cache_condition
*/
-
_CacheSetting["default"].prototype['cache_condition'] = undefined;
/**
* Name for the cache settings object.
* @member {String} name
*/
-
_CacheSetting["default"].prototype['name'] = undefined;
/**
* Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error').
* @member {Number} stale_ttl
*/
-
_CacheSetting["default"].prototype['stale_ttl'] = undefined;
/**
* Maximum time to consider the object fresh in the cache (the cache 'time to live').
* @member {Number} ttl
*/
-
-_CacheSetting["default"].prototype['ttl'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_CacheSetting["default"].prototype['ttl'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
-_ServiceIdAndVersion["default"].prototype['version'] = undefined; // Implement Timestamps interface:
-
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
_Timestamps["default"].prototype['updated_at'] = undefined;
+
/**
* Allowed values for the action
property.
* @enum {String}
* @readonly
*/
-
CacheSettingResponse['ActionEnum'] = {
/**
* value: "pass"
* @const
*/
"pass": "pass",
-
/**
- * value: "deliver"
+ * value: "cache"
* @const
*/
- "deliver": "deliver",
-
+ "cache": "cache",
/**
* value: "restart"
* @const
@@ -45325,21 +45188,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Condition model module.
* @module model/Condition
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Condition = /*#__PURE__*/function () {
/**
@@ -45348,19 +45208,18 @@ var Condition = /*#__PURE__*/function () {
*/
function Condition() {
_classCallCheck(this, Condition);
-
Condition.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Condition, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Condition
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -45368,116 +45227,101 @@ var Condition = /*#__PURE__*/function () {
* @param {module:model/Condition} obj Optional instance to populate.
* @return {module:model/Condition} The populated Condition
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Condition();
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('priority')) {
obj['priority'] = _ApiClient["default"].convertToType(data['priority'], 'String');
}
-
if (data.hasOwnProperty('statement')) {
obj['statement'] = _ApiClient["default"].convertToType(data['statement'], 'String');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'String');
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
}
}
-
return obj;
}
}]);
-
return Condition;
}();
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
-
Condition.prototype['comment'] = undefined;
+
/**
* Name of the condition. Required.
* @member {String} name
*/
-
Condition.prototype['name'] = undefined;
+
/**
* A numeric string. Priority determines execution order. Lower numbers execute first.
* @member {String} priority
* @default '100'
*/
-
Condition.prototype['priority'] = '100';
+
/**
* A conditional expression in VCL used to determine if the condition is met.
* @member {String} statement
*/
-
Condition.prototype['statement'] = undefined;
+
/**
* @member {String} service_id
*/
-
Condition.prototype['service_id'] = undefined;
+
/**
* A numeric string that represents the service version.
* @member {String} version
*/
-
Condition.prototype['version'] = undefined;
+
/**
* Type of the condition. Required.
* @member {module:model/Condition.TypeEnum} type
*/
-
Condition.prototype['type'] = undefined;
+
/**
* Allowed values for the type
property.
* @enum {String}
* @readonly
*/
-
Condition['TypeEnum'] = {
/**
* value: "REQUEST"
* @const
*/
"REQUEST": "REQUEST",
-
/**
* value: "CACHE"
* @const
*/
"CACHE": "CACHE",
-
/**
* value: "RESPONSE"
* @const
*/
"RESPONSE": "RESPONSE",
-
/**
* value: "PREFETCH"
* @const
@@ -45499,25 +45343,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Condition = _interopRequireDefault(__nccwpck_require__(81373));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ConditionResponse model module.
* @module model/ConditionResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ConditionResponse = /*#__PURE__*/function () {
/**
@@ -45528,23 +45367,20 @@ var ConditionResponse = /*#__PURE__*/function () {
*/
function ConditionResponse() {
_classCallCheck(this, ConditionResponse);
-
_Condition["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
ConditionResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ConditionResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ConditionResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -45552,212 +45388,183 @@ var ConditionResponse = /*#__PURE__*/function () {
* @param {module:model/ConditionResponse} obj Optional instance to populate.
* @return {module:model/ConditionResponse} The populated ConditionResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ConditionResponse();
-
_Condition["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('priority')) {
obj['priority'] = _ApiClient["default"].convertToType(data['priority'], 'String');
}
-
if (data.hasOwnProperty('statement')) {
obj['statement'] = _ApiClient["default"].convertToType(data['statement'], 'String');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'String');
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
}
-
return obj;
}
}]);
-
return ConditionResponse;
}();
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
-
ConditionResponse.prototype['comment'] = undefined;
+
/**
* Name of the condition. Required.
* @member {String} name
*/
-
ConditionResponse.prototype['name'] = undefined;
+
/**
* A numeric string. Priority determines execution order. Lower numbers execute first.
* @member {String} priority
* @default '100'
*/
-
ConditionResponse.prototype['priority'] = '100';
+
/**
* A conditional expression in VCL used to determine if the condition is met.
* @member {String} statement
*/
-
ConditionResponse.prototype['statement'] = undefined;
+
/**
* @member {String} service_id
*/
-
ConditionResponse.prototype['service_id'] = undefined;
+
/**
* A numeric string that represents the service version.
* @member {String} version
*/
-
ConditionResponse.prototype['version'] = undefined;
+
/**
* Type of the condition. Required.
* @member {module:model/ConditionResponse.TypeEnum} type
*/
-
ConditionResponse.prototype['type'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
ConditionResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
ConditionResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
+ConditionResponse.prototype['updated_at'] = undefined;
-ConditionResponse.prototype['updated_at'] = undefined; // Implement Condition interface:
-
+// Implement Condition interface:
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
_Condition["default"].prototype['comment'] = undefined;
/**
* Name of the condition. Required.
* @member {String} name
*/
-
_Condition["default"].prototype['name'] = undefined;
/**
* A numeric string. Priority determines execution order. Lower numbers execute first.
* @member {String} priority
* @default '100'
*/
-
_Condition["default"].prototype['priority'] = '100';
/**
* A conditional expression in VCL used to determine if the condition is met.
* @member {String} statement
*/
-
_Condition["default"].prototype['statement'] = undefined;
/**
* @member {String} service_id
*/
-
_Condition["default"].prototype['service_id'] = undefined;
/**
* A numeric string that represents the service version.
* @member {String} version
*/
-
_Condition["default"].prototype['version'] = undefined;
/**
* Type of the condition. Required.
* @member {module:model/Condition.TypeEnum} type
*/
-
-_Condition["default"].prototype['type'] = undefined; // Implement Timestamps interface:
-
+_Condition["default"].prototype['type'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
_Timestamps["default"].prototype['updated_at'] = undefined;
+
/**
* Allowed values for the type
property.
* @enum {String}
* @readonly
*/
-
ConditionResponse['TypeEnum'] = {
/**
* value: "REQUEST"
* @const
*/
"REQUEST": "REQUEST",
-
/**
* value: "CACHE"
* @const
*/
"CACHE": "CACHE",
-
/**
* value: "RESPONSE"
* @const
*/
"RESPONSE": "RESPONSE",
-
/**
* value: "PREFETCH"
* @const
@@ -45779,21 +45586,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Contact model module.
* @module model/Contact
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Contact = /*#__PURE__*/function () {
/**
@@ -45802,19 +45606,18 @@ var Contact = /*#__PURE__*/function () {
*/
function Contact() {
_classCallCheck(this, Contact);
-
Contact.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Contact, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Contact
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -45822,118 +45625,102 @@ var Contact = /*#__PURE__*/function () {
* @param {module:model/Contact} obj Optional instance to populate.
* @return {module:model/Contact} The populated Contact
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Contact();
-
if (data.hasOwnProperty('user_id')) {
obj['user_id'] = _ApiClient["default"].convertToType(data['user_id'], 'String');
}
-
if (data.hasOwnProperty('contact_type')) {
obj['contact_type'] = _ApiClient["default"].convertToType(data['contact_type'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('email')) {
obj['email'] = _ApiClient["default"].convertToType(data['email'], 'String');
}
-
if (data.hasOwnProperty('phone')) {
obj['phone'] = _ApiClient["default"].convertToType(data['phone'], 'String');
}
-
if (data.hasOwnProperty('customer_id')) {
obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
}
-
return obj;
}
}]);
-
return Contact;
}();
/**
* The alphanumeric string representing the user for this customer contact.
* @member {String} user_id
*/
-
-
Contact.prototype['user_id'] = undefined;
+
/**
* The type of contact.
* @member {module:model/Contact.ContactTypeEnum} contact_type
*/
-
Contact.prototype['contact_type'] = undefined;
+
/**
* The name of this contact, when user_id is not provided.
* @member {String} name
*/
-
Contact.prototype['name'] = undefined;
+
/**
* The email of this contact, when a user_id is not provided.
* @member {String} email
*/
-
Contact.prototype['email'] = undefined;
+
/**
* The phone number for this contact. Required for primary, technical, and security contact types.
* @member {String} phone
*/
-
Contact.prototype['phone'] = undefined;
+
/**
* The alphanumeric string representing the customer for this customer contact.
* @member {String} customer_id
*/
-
Contact.prototype['customer_id'] = undefined;
+
/**
* Allowed values for the contact_type
property.
* @enum {String}
* @readonly
*/
-
Contact['ContactTypeEnum'] = {
/**
* value: "primary"
* @const
*/
"primary": "primary",
-
/**
* value: "billing"
* @const
*/
"billing": "billing",
-
/**
* value: "technical"
* @const
*/
"technical": "technical",
-
/**
* value: "security"
* @const
*/
"security": "security",
-
/**
* value: "emergency"
* @const
*/
"emergency": "emergency",
-
/**
* value: "general compliance"
* @const
@@ -45955,27 +45742,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Contact = _interopRequireDefault(__nccwpck_require__(71406));
-
var _ContactResponseAllOf = _interopRequireDefault(__nccwpck_require__(35531));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ContactResponse model module.
* @module model/ContactResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ContactResponse = /*#__PURE__*/function () {
/**
@@ -45987,25 +45768,21 @@ var ContactResponse = /*#__PURE__*/function () {
*/
function ContactResponse() {
_classCallCheck(this, ContactResponse);
-
_Contact["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ContactResponseAllOf["default"].initialize(this);
-
ContactResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ContactResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ContactResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -46013,225 +45790,193 @@ var ContactResponse = /*#__PURE__*/function () {
* @param {module:model/ContactResponse} obj Optional instance to populate.
* @return {module:model/ContactResponse} The populated ContactResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ContactResponse();
-
_Contact["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ContactResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('user_id')) {
obj['user_id'] = _ApiClient["default"].convertToType(data['user_id'], 'String');
}
-
if (data.hasOwnProperty('contact_type')) {
obj['contact_type'] = _ApiClient["default"].convertToType(data['contact_type'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('email')) {
obj['email'] = _ApiClient["default"].convertToType(data['email'], 'String');
}
-
if (data.hasOwnProperty('phone')) {
obj['phone'] = _ApiClient["default"].convertToType(data['phone'], 'String');
}
-
if (data.hasOwnProperty('customer_id')) {
obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return ContactResponse;
}();
/**
* The alphanumeric string representing the user for this customer contact.
* @member {String} user_id
*/
-
-
ContactResponse.prototype['user_id'] = undefined;
+
/**
* The type of contact.
* @member {module:model/ContactResponse.ContactTypeEnum} contact_type
*/
-
ContactResponse.prototype['contact_type'] = undefined;
+
/**
* The name of this contact, when user_id is not provided.
* @member {String} name
*/
-
ContactResponse.prototype['name'] = undefined;
+
/**
* The email of this contact, when a user_id is not provided.
* @member {String} email
*/
-
ContactResponse.prototype['email'] = undefined;
+
/**
* The phone number for this contact. Required for primary, technical, and security contact types.
* @member {String} phone
*/
-
ContactResponse.prototype['phone'] = undefined;
+
/**
* The alphanumeric string representing the customer for this customer contact.
* @member {String} customer_id
*/
-
ContactResponse.prototype['customer_id'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
ContactResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
ContactResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
ContactResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} id
*/
+ContactResponse.prototype['id'] = undefined;
-ContactResponse.prototype['id'] = undefined; // Implement Contact interface:
-
+// Implement Contact interface:
/**
* The alphanumeric string representing the user for this customer contact.
* @member {String} user_id
*/
-
_Contact["default"].prototype['user_id'] = undefined;
/**
* The type of contact.
* @member {module:model/Contact.ContactTypeEnum} contact_type
*/
-
_Contact["default"].prototype['contact_type'] = undefined;
/**
* The name of this contact, when user_id is not provided.
* @member {String} name
*/
-
_Contact["default"].prototype['name'] = undefined;
/**
* The email of this contact, when a user_id is not provided.
* @member {String} email
*/
-
_Contact["default"].prototype['email'] = undefined;
/**
* The phone number for this contact. Required for primary, technical, and security contact types.
* @member {String} phone
*/
-
_Contact["default"].prototype['phone'] = undefined;
/**
* The alphanumeric string representing the customer for this customer contact.
* @member {String} customer_id
*/
-
-_Contact["default"].prototype['customer_id'] = undefined; // Implement Timestamps interface:
-
+_Contact["default"].prototype['customer_id'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ContactResponseAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ContactResponseAllOf interface:
/**
* @member {String} id
*/
-
_ContactResponseAllOf["default"].prototype['id'] = undefined;
+
/**
* Allowed values for the contact_type
property.
* @enum {String}
* @readonly
*/
-
ContactResponse['ContactTypeEnum'] = {
/**
* value: "primary"
* @const
*/
"primary": "primary",
-
/**
* value: "billing"
* @const
*/
"billing": "billing",
-
/**
* value: "technical"
* @const
*/
"technical": "technical",
-
/**
* value: "security"
* @const
*/
"security": "security",
-
/**
* value: "emergency"
* @const
*/
"emergency": "emergency",
-
/**
* value: "general compliance"
* @const
@@ -46253,21 +45998,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ContactResponseAllOf model module.
* @module model/ContactResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ContactResponseAllOf = /*#__PURE__*/function () {
/**
@@ -46276,19 +46018,18 @@ var ContactResponseAllOf = /*#__PURE__*/function () {
*/
function ContactResponseAllOf() {
_classCallCheck(this, ContactResponseAllOf);
-
ContactResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ContactResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ContactResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -46296,29 +46037,23 @@ var ContactResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/ContactResponseAllOf} obj Optional instance to populate.
* @return {module:model/ContactResponseAllOf} The populated ContactResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ContactResponseAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return ContactResponseAllOf;
}();
/**
* @member {String} id
*/
-
-
ContactResponseAllOf.prototype['id'] = undefined;
var _default = ContactResponseAllOf;
exports["default"] = _default;
@@ -46335,21 +46070,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Content model module.
* @module model/Content
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Content = /*#__PURE__*/function () {
/**
@@ -46358,19 +46090,18 @@ var Content = /*#__PURE__*/function () {
*/
function Content() {
_classCallCheck(this, Content);
-
Content.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Content, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Content
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -46378,74 +46109,63 @@ var Content = /*#__PURE__*/function () {
* @param {module:model/Content} obj Optional instance to populate.
* @return {module:model/Content} The populated Content
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Content();
-
if (data.hasOwnProperty('hash')) {
obj['hash'] = _ApiClient["default"].convertToType(data['hash'], 'String');
}
-
if (data.hasOwnProperty('request')) {
obj['request'] = _ApiClient["default"].convertToType(data['request'], Object);
}
-
if (data.hasOwnProperty('response')) {
obj['response'] = _ApiClient["default"].convertToType(data['response'], Object);
}
-
if (data.hasOwnProperty('response_time')) {
obj['response_time'] = _ApiClient["default"].convertToType(data['response_time'], 'Number');
}
-
if (data.hasOwnProperty('server')) {
obj['server'] = _ApiClient["default"].convertToType(data['server'], 'String');
}
-
if (data.hasOwnProperty('pop')) {
obj['pop'] = _ApiClient["default"].convertToType(data['pop'], 'String');
}
}
-
return obj;
}
}]);
-
return Content;
}();
/**
* @member {String} hash
*/
-
-
Content.prototype['hash'] = undefined;
+
/**
* @member {Object} request
*/
-
Content.prototype['request'] = undefined;
+
/**
* @member {Object} response
*/
-
Content.prototype['response'] = undefined;
+
/**
* @member {Number} response_time
*/
-
Content.prototype['response_time'] = undefined;
+
/**
* @member {String} server
*/
-
Content.prototype['server'] = undefined;
+
/**
* @member {String} pop
*/
-
Content.prototype['pop'] = undefined;
var _default = Content;
exports["default"] = _default;
@@ -46462,21 +46182,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Customer model module.
* @module model/Customer
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Customer = /*#__PURE__*/function () {
/**
@@ -46485,19 +46202,18 @@ var Customer = /*#__PURE__*/function () {
*/
function Customer() {
_classCallCheck(this, Customer);
-
Customer.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Customer, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Customer
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -46505,274 +46221,244 @@ var Customer = /*#__PURE__*/function () {
* @param {module:model/Customer} obj Optional instance to populate.
* @return {module:model/Customer} The populated Customer
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Customer();
-
if (data.hasOwnProperty('billing_contact_id')) {
obj['billing_contact_id'] = _ApiClient["default"].convertToType(data['billing_contact_id'], 'String');
}
-
if (data.hasOwnProperty('billing_network_type')) {
obj['billing_network_type'] = _ApiClient["default"].convertToType(data['billing_network_type'], 'String');
}
-
if (data.hasOwnProperty('billing_ref')) {
obj['billing_ref'] = _ApiClient["default"].convertToType(data['billing_ref'], 'String');
}
-
if (data.hasOwnProperty('can_configure_wordpress')) {
obj['can_configure_wordpress'] = _ApiClient["default"].convertToType(data['can_configure_wordpress'], 'Boolean');
}
-
if (data.hasOwnProperty('can_reset_passwords')) {
obj['can_reset_passwords'] = _ApiClient["default"].convertToType(data['can_reset_passwords'], 'Boolean');
}
-
if (data.hasOwnProperty('can_upload_vcl')) {
obj['can_upload_vcl'] = _ApiClient["default"].convertToType(data['can_upload_vcl'], 'Boolean');
}
-
if (data.hasOwnProperty('force_2fa')) {
obj['force_2fa'] = _ApiClient["default"].convertToType(data['force_2fa'], 'Boolean');
}
-
if (data.hasOwnProperty('force_sso')) {
obj['force_sso'] = _ApiClient["default"].convertToType(data['force_sso'], 'Boolean');
}
-
if (data.hasOwnProperty('has_account_panel')) {
obj['has_account_panel'] = _ApiClient["default"].convertToType(data['has_account_panel'], 'Boolean');
}
-
if (data.hasOwnProperty('has_improved_events')) {
obj['has_improved_events'] = _ApiClient["default"].convertToType(data['has_improved_events'], 'Boolean');
}
-
if (data.hasOwnProperty('has_improved_ssl_config')) {
obj['has_improved_ssl_config'] = _ApiClient["default"].convertToType(data['has_improved_ssl_config'], 'Boolean');
}
-
if (data.hasOwnProperty('has_openstack_logging')) {
obj['has_openstack_logging'] = _ApiClient["default"].convertToType(data['has_openstack_logging'], 'Boolean');
}
-
if (data.hasOwnProperty('has_pci')) {
obj['has_pci'] = _ApiClient["default"].convertToType(data['has_pci'], 'Boolean');
}
-
if (data.hasOwnProperty('has_pci_passwords')) {
obj['has_pci_passwords'] = _ApiClient["default"].convertToType(data['has_pci_passwords'], 'Boolean');
}
-
if (data.hasOwnProperty('ip_whitelist')) {
obj['ip_whitelist'] = _ApiClient["default"].convertToType(data['ip_whitelist'], 'String');
}
-
if (data.hasOwnProperty('legal_contact_id')) {
obj['legal_contact_id'] = _ApiClient["default"].convertToType(data['legal_contact_id'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('owner_id')) {
obj['owner_id'] = _ApiClient["default"].convertToType(data['owner_id'], 'String');
}
-
if (data.hasOwnProperty('phone_number')) {
obj['phone_number'] = _ApiClient["default"].convertToType(data['phone_number'], 'String');
}
-
if (data.hasOwnProperty('postal_address')) {
obj['postal_address'] = _ApiClient["default"].convertToType(data['postal_address'], 'String');
}
-
if (data.hasOwnProperty('pricing_plan')) {
obj['pricing_plan'] = _ApiClient["default"].convertToType(data['pricing_plan'], 'String');
}
-
if (data.hasOwnProperty('pricing_plan_id')) {
obj['pricing_plan_id'] = _ApiClient["default"].convertToType(data['pricing_plan_id'], 'String');
}
-
if (data.hasOwnProperty('security_contact_id')) {
obj['security_contact_id'] = _ApiClient["default"].convertToType(data['security_contact_id'], 'String');
}
-
if (data.hasOwnProperty('technical_contact_id')) {
obj['technical_contact_id'] = _ApiClient["default"].convertToType(data['technical_contact_id'], 'String');
}
}
-
return obj;
}
}]);
-
return Customer;
}();
/**
* The alphanumeric string representing the primary billing contact.
* @member {String} billing_contact_id
*/
-
-
Customer.prototype['billing_contact_id'] = undefined;
+
/**
* Customer's current network revenue type.
* @member {module:model/Customer.BillingNetworkTypeEnum} billing_network_type
*/
-
Customer.prototype['billing_network_type'] = undefined;
+
/**
* Used for adding purchased orders to customer's account.
* @member {String} billing_ref
*/
-
Customer.prototype['billing_ref'] = undefined;
+
/**
* Whether this customer can view or edit wordpress.
* @member {Boolean} can_configure_wordpress
*/
-
Customer.prototype['can_configure_wordpress'] = undefined;
+
/**
* Whether this customer can reset passwords.
* @member {Boolean} can_reset_passwords
*/
-
Customer.prototype['can_reset_passwords'] = undefined;
+
/**
* Whether this customer can upload VCL.
* @member {Boolean} can_upload_vcl
*/
-
Customer.prototype['can_upload_vcl'] = undefined;
+
/**
* Specifies whether 2FA is forced or not forced on the customer account. Logs out non-2FA users once 2FA is force enabled.
* @member {Boolean} force_2fa
*/
-
Customer.prototype['force_2fa'] = undefined;
+
/**
* Specifies whether SSO is forced or not forced on the customer account.
* @member {Boolean} force_sso
*/
-
Customer.prototype['force_sso'] = undefined;
+
/**
* Specifies whether the account has access or does not have access to the account panel.
* @member {Boolean} has_account_panel
*/
-
Customer.prototype['has_account_panel'] = undefined;
+
/**
* Specifies whether the account has access or does not have access to the improved events.
* @member {Boolean} has_improved_events
*/
-
Customer.prototype['has_improved_events'] = undefined;
+
/**
* Whether this customer can view or edit the SSL config.
* @member {Boolean} has_improved_ssl_config
*/
-
Customer.prototype['has_improved_ssl_config'] = undefined;
+
/**
* Specifies whether the account has enabled or not enabled openstack logging.
* @member {Boolean} has_openstack_logging
*/
-
Customer.prototype['has_openstack_logging'] = undefined;
+
/**
* Specifies whether the account can edit PCI for a service.
* @member {Boolean} has_pci
*/
-
Customer.prototype['has_pci'] = undefined;
+
/**
* Specifies whether PCI passwords are required for the account.
* @member {Boolean} has_pci_passwords
*/
-
Customer.prototype['has_pci_passwords'] = undefined;
+
/**
* The range of IP addresses authorized to access the customer account.
* @member {String} ip_whitelist
*/
-
Customer.prototype['ip_whitelist'] = undefined;
+
/**
* The alphanumeric string identifying the account's legal contact.
* @member {String} legal_contact_id
*/
-
Customer.prototype['legal_contact_id'] = undefined;
+
/**
* The name of the customer, generally the company name.
* @member {String} name
*/
-
Customer.prototype['name'] = undefined;
+
/**
* The alphanumeric string identifying the account owner.
* @member {String} owner_id
*/
-
Customer.prototype['owner_id'] = undefined;
+
/**
* The phone number associated with the account.
* @member {String} phone_number
*/
-
Customer.prototype['phone_number'] = undefined;
+
/**
* The postal address associated with the account.
* @member {String} postal_address
*/
-
Customer.prototype['postal_address'] = undefined;
+
/**
* The pricing plan this customer is under.
* @member {String} pricing_plan
*/
-
Customer.prototype['pricing_plan'] = undefined;
+
/**
* The alphanumeric string identifying the pricing plan.
* @member {String} pricing_plan_id
*/
-
Customer.prototype['pricing_plan_id'] = undefined;
+
/**
* The alphanumeric string identifying the account's security contact.
* @member {String} security_contact_id
*/
-
Customer.prototype['security_contact_id'] = undefined;
+
/**
* The alphanumeric string identifying the account's technical contact.
* @member {String} technical_contact_id
*/
-
Customer.prototype['technical_contact_id'] = undefined;
+
/**
* Allowed values for the billing_network_type
property.
* @enum {String}
* @readonly
*/
-
Customer['BillingNetworkTypeEnum'] = {
/**
* value: "public"
* @const
*/
"public": "public",
-
/**
* value: "private"
* @const
@@ -46794,27 +46480,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Customer = _interopRequireDefault(__nccwpck_require__(97594));
-
var _CustomerResponseAllOf = _interopRequireDefault(__nccwpck_require__(89174));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The CustomerResponse model module.
* @module model/CustomerResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var CustomerResponse = /*#__PURE__*/function () {
/**
@@ -46826,25 +46506,21 @@ var CustomerResponse = /*#__PURE__*/function () {
*/
function CustomerResponse() {
_classCallCheck(this, CustomerResponse);
-
_Customer["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_CustomerResponseAllOf["default"].initialize(this);
-
CustomerResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(CustomerResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a CustomerResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -46852,489 +46528,425 @@ var CustomerResponse = /*#__PURE__*/function () {
* @param {module:model/CustomerResponse} obj Optional instance to populate.
* @return {module:model/CustomerResponse} The populated CustomerResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new CustomerResponse();
-
_Customer["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_CustomerResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('billing_contact_id')) {
obj['billing_contact_id'] = _ApiClient["default"].convertToType(data['billing_contact_id'], 'String');
}
-
if (data.hasOwnProperty('billing_network_type')) {
obj['billing_network_type'] = _ApiClient["default"].convertToType(data['billing_network_type'], 'String');
}
-
if (data.hasOwnProperty('billing_ref')) {
obj['billing_ref'] = _ApiClient["default"].convertToType(data['billing_ref'], 'String');
}
-
if (data.hasOwnProperty('can_configure_wordpress')) {
obj['can_configure_wordpress'] = _ApiClient["default"].convertToType(data['can_configure_wordpress'], 'Boolean');
}
-
if (data.hasOwnProperty('can_reset_passwords')) {
obj['can_reset_passwords'] = _ApiClient["default"].convertToType(data['can_reset_passwords'], 'Boolean');
}
-
if (data.hasOwnProperty('can_upload_vcl')) {
obj['can_upload_vcl'] = _ApiClient["default"].convertToType(data['can_upload_vcl'], 'Boolean');
}
-
if (data.hasOwnProperty('force_2fa')) {
obj['force_2fa'] = _ApiClient["default"].convertToType(data['force_2fa'], 'Boolean');
}
-
if (data.hasOwnProperty('force_sso')) {
obj['force_sso'] = _ApiClient["default"].convertToType(data['force_sso'], 'Boolean');
}
-
if (data.hasOwnProperty('has_account_panel')) {
obj['has_account_panel'] = _ApiClient["default"].convertToType(data['has_account_panel'], 'Boolean');
}
-
if (data.hasOwnProperty('has_improved_events')) {
obj['has_improved_events'] = _ApiClient["default"].convertToType(data['has_improved_events'], 'Boolean');
}
-
if (data.hasOwnProperty('has_improved_ssl_config')) {
obj['has_improved_ssl_config'] = _ApiClient["default"].convertToType(data['has_improved_ssl_config'], 'Boolean');
}
-
if (data.hasOwnProperty('has_openstack_logging')) {
obj['has_openstack_logging'] = _ApiClient["default"].convertToType(data['has_openstack_logging'], 'Boolean');
}
-
if (data.hasOwnProperty('has_pci')) {
obj['has_pci'] = _ApiClient["default"].convertToType(data['has_pci'], 'Boolean');
}
-
if (data.hasOwnProperty('has_pci_passwords')) {
obj['has_pci_passwords'] = _ApiClient["default"].convertToType(data['has_pci_passwords'], 'Boolean');
}
-
if (data.hasOwnProperty('ip_whitelist')) {
obj['ip_whitelist'] = _ApiClient["default"].convertToType(data['ip_whitelist'], 'String');
}
-
if (data.hasOwnProperty('legal_contact_id')) {
obj['legal_contact_id'] = _ApiClient["default"].convertToType(data['legal_contact_id'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('owner_id')) {
obj['owner_id'] = _ApiClient["default"].convertToType(data['owner_id'], 'String');
}
-
if (data.hasOwnProperty('phone_number')) {
obj['phone_number'] = _ApiClient["default"].convertToType(data['phone_number'], 'String');
}
-
if (data.hasOwnProperty('postal_address')) {
obj['postal_address'] = _ApiClient["default"].convertToType(data['postal_address'], 'String');
}
-
if (data.hasOwnProperty('pricing_plan')) {
obj['pricing_plan'] = _ApiClient["default"].convertToType(data['pricing_plan'], 'String');
}
-
if (data.hasOwnProperty('pricing_plan_id')) {
obj['pricing_plan_id'] = _ApiClient["default"].convertToType(data['pricing_plan_id'], 'String');
}
-
if (data.hasOwnProperty('security_contact_id')) {
obj['security_contact_id'] = _ApiClient["default"].convertToType(data['security_contact_id'], 'String');
}
-
if (data.hasOwnProperty('technical_contact_id')) {
obj['technical_contact_id'] = _ApiClient["default"].convertToType(data['technical_contact_id'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return CustomerResponse;
}();
/**
* The alphanumeric string representing the primary billing contact.
* @member {String} billing_contact_id
*/
-
-
CustomerResponse.prototype['billing_contact_id'] = undefined;
+
/**
* Customer's current network revenue type.
* @member {module:model/CustomerResponse.BillingNetworkTypeEnum} billing_network_type
*/
-
CustomerResponse.prototype['billing_network_type'] = undefined;
+
/**
* Used for adding purchased orders to customer's account.
* @member {String} billing_ref
*/
-
CustomerResponse.prototype['billing_ref'] = undefined;
+
/**
* Whether this customer can view or edit wordpress.
* @member {Boolean} can_configure_wordpress
*/
-
CustomerResponse.prototype['can_configure_wordpress'] = undefined;
+
/**
* Whether this customer can reset passwords.
* @member {Boolean} can_reset_passwords
*/
-
CustomerResponse.prototype['can_reset_passwords'] = undefined;
+
/**
* Whether this customer can upload VCL.
* @member {Boolean} can_upload_vcl
*/
-
CustomerResponse.prototype['can_upload_vcl'] = undefined;
+
/**
* Specifies whether 2FA is forced or not forced on the customer account. Logs out non-2FA users once 2FA is force enabled.
* @member {Boolean} force_2fa
*/
-
CustomerResponse.prototype['force_2fa'] = undefined;
+
/**
* Specifies whether SSO is forced or not forced on the customer account.
* @member {Boolean} force_sso
*/
-
CustomerResponse.prototype['force_sso'] = undefined;
+
/**
* Specifies whether the account has access or does not have access to the account panel.
* @member {Boolean} has_account_panel
*/
-
CustomerResponse.prototype['has_account_panel'] = undefined;
+
/**
* Specifies whether the account has access or does not have access to the improved events.
* @member {Boolean} has_improved_events
*/
-
CustomerResponse.prototype['has_improved_events'] = undefined;
+
/**
* Whether this customer can view or edit the SSL config.
* @member {Boolean} has_improved_ssl_config
*/
-
CustomerResponse.prototype['has_improved_ssl_config'] = undefined;
+
/**
* Specifies whether the account has enabled or not enabled openstack logging.
* @member {Boolean} has_openstack_logging
*/
-
CustomerResponse.prototype['has_openstack_logging'] = undefined;
+
/**
* Specifies whether the account can edit PCI for a service.
* @member {Boolean} has_pci
*/
-
CustomerResponse.prototype['has_pci'] = undefined;
+
/**
* Specifies whether PCI passwords are required for the account.
* @member {Boolean} has_pci_passwords
*/
-
CustomerResponse.prototype['has_pci_passwords'] = undefined;
+
/**
* The range of IP addresses authorized to access the customer account.
* @member {String} ip_whitelist
*/
-
CustomerResponse.prototype['ip_whitelist'] = undefined;
+
/**
* The alphanumeric string identifying the account's legal contact.
* @member {String} legal_contact_id
*/
-
CustomerResponse.prototype['legal_contact_id'] = undefined;
+
/**
* The name of the customer, generally the company name.
* @member {String} name
*/
-
CustomerResponse.prototype['name'] = undefined;
+
/**
* The alphanumeric string identifying the account owner.
* @member {String} owner_id
*/
-
CustomerResponse.prototype['owner_id'] = undefined;
+
/**
* The phone number associated with the account.
* @member {String} phone_number
*/
-
CustomerResponse.prototype['phone_number'] = undefined;
+
/**
* The postal address associated with the account.
* @member {String} postal_address
*/
-
CustomerResponse.prototype['postal_address'] = undefined;
+
/**
* The pricing plan this customer is under.
* @member {String} pricing_plan
*/
-
CustomerResponse.prototype['pricing_plan'] = undefined;
+
/**
* The alphanumeric string identifying the pricing plan.
* @member {String} pricing_plan_id
*/
-
CustomerResponse.prototype['pricing_plan_id'] = undefined;
+
/**
* The alphanumeric string identifying the account's security contact.
* @member {String} security_contact_id
*/
-
CustomerResponse.prototype['security_contact_id'] = undefined;
+
/**
* The alphanumeric string identifying the account's technical contact.
* @member {String} technical_contact_id
*/
-
CustomerResponse.prototype['technical_contact_id'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
CustomerResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
CustomerResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
CustomerResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} id
*/
+CustomerResponse.prototype['id'] = undefined;
-CustomerResponse.prototype['id'] = undefined; // Implement Customer interface:
-
+// Implement Customer interface:
/**
* The alphanumeric string representing the primary billing contact.
* @member {String} billing_contact_id
*/
-
_Customer["default"].prototype['billing_contact_id'] = undefined;
/**
* Customer's current network revenue type.
* @member {module:model/Customer.BillingNetworkTypeEnum} billing_network_type
*/
-
_Customer["default"].prototype['billing_network_type'] = undefined;
/**
* Used for adding purchased orders to customer's account.
* @member {String} billing_ref
*/
-
_Customer["default"].prototype['billing_ref'] = undefined;
/**
* Whether this customer can view or edit wordpress.
* @member {Boolean} can_configure_wordpress
*/
-
_Customer["default"].prototype['can_configure_wordpress'] = undefined;
/**
* Whether this customer can reset passwords.
* @member {Boolean} can_reset_passwords
*/
-
_Customer["default"].prototype['can_reset_passwords'] = undefined;
/**
* Whether this customer can upload VCL.
* @member {Boolean} can_upload_vcl
*/
-
_Customer["default"].prototype['can_upload_vcl'] = undefined;
/**
* Specifies whether 2FA is forced or not forced on the customer account. Logs out non-2FA users once 2FA is force enabled.
* @member {Boolean} force_2fa
*/
-
_Customer["default"].prototype['force_2fa'] = undefined;
/**
* Specifies whether SSO is forced or not forced on the customer account.
* @member {Boolean} force_sso
*/
-
_Customer["default"].prototype['force_sso'] = undefined;
/**
* Specifies whether the account has access or does not have access to the account panel.
* @member {Boolean} has_account_panel
*/
-
_Customer["default"].prototype['has_account_panel'] = undefined;
/**
* Specifies whether the account has access or does not have access to the improved events.
* @member {Boolean} has_improved_events
*/
-
_Customer["default"].prototype['has_improved_events'] = undefined;
/**
* Whether this customer can view or edit the SSL config.
* @member {Boolean} has_improved_ssl_config
*/
-
_Customer["default"].prototype['has_improved_ssl_config'] = undefined;
/**
* Specifies whether the account has enabled or not enabled openstack logging.
* @member {Boolean} has_openstack_logging
*/
-
_Customer["default"].prototype['has_openstack_logging'] = undefined;
/**
* Specifies whether the account can edit PCI for a service.
* @member {Boolean} has_pci
*/
-
_Customer["default"].prototype['has_pci'] = undefined;
/**
* Specifies whether PCI passwords are required for the account.
* @member {Boolean} has_pci_passwords
*/
-
_Customer["default"].prototype['has_pci_passwords'] = undefined;
/**
* The range of IP addresses authorized to access the customer account.
* @member {String} ip_whitelist
*/
-
_Customer["default"].prototype['ip_whitelist'] = undefined;
/**
* The alphanumeric string identifying the account's legal contact.
* @member {String} legal_contact_id
*/
-
_Customer["default"].prototype['legal_contact_id'] = undefined;
/**
* The name of the customer, generally the company name.
* @member {String} name
*/
-
_Customer["default"].prototype['name'] = undefined;
/**
* The alphanumeric string identifying the account owner.
* @member {String} owner_id
*/
-
_Customer["default"].prototype['owner_id'] = undefined;
/**
* The phone number associated with the account.
* @member {String} phone_number
*/
-
_Customer["default"].prototype['phone_number'] = undefined;
/**
* The postal address associated with the account.
* @member {String} postal_address
*/
-
_Customer["default"].prototype['postal_address'] = undefined;
/**
* The pricing plan this customer is under.
* @member {String} pricing_plan
*/
-
_Customer["default"].prototype['pricing_plan'] = undefined;
/**
* The alphanumeric string identifying the pricing plan.
* @member {String} pricing_plan_id
*/
-
_Customer["default"].prototype['pricing_plan_id'] = undefined;
/**
* The alphanumeric string identifying the account's security contact.
* @member {String} security_contact_id
*/
-
_Customer["default"].prototype['security_contact_id'] = undefined;
/**
* The alphanumeric string identifying the account's technical contact.
* @member {String} technical_contact_id
*/
-
-_Customer["default"].prototype['technical_contact_id'] = undefined; // Implement Timestamps interface:
-
+_Customer["default"].prototype['technical_contact_id'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement CustomerResponseAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement CustomerResponseAllOf interface:
/**
* @member {String} id
*/
-
_CustomerResponseAllOf["default"].prototype['id'] = undefined;
+
/**
* Allowed values for the billing_network_type
property.
* @enum {String}
* @readonly
*/
-
CustomerResponse['BillingNetworkTypeEnum'] = {
/**
* value: "public"
* @const
*/
"public": "public",
-
/**
* value: "private"
* @const
@@ -47356,21 +46968,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The CustomerResponseAllOf model module.
* @module model/CustomerResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var CustomerResponseAllOf = /*#__PURE__*/function () {
/**
@@ -47379,19 +46988,18 @@ var CustomerResponseAllOf = /*#__PURE__*/function () {
*/
function CustomerResponseAllOf() {
_classCallCheck(this, CustomerResponseAllOf);
-
CustomerResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(CustomerResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a CustomerResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -47399,29 +47007,23 @@ var CustomerResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/CustomerResponseAllOf} obj Optional instance to populate.
* @return {module:model/CustomerResponseAllOf} The populated CustomerResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new CustomerResponseAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return CustomerResponseAllOf;
}();
/**
* @member {String} id
*/
-
-
CustomerResponseAllOf.prototype['id'] = undefined;
var _default = CustomerResponseAllOf;
exports["default"] = _default;
@@ -47438,21 +47040,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Dictionary model module.
* @module model/Dictionary
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Dictionary = /*#__PURE__*/function () {
/**
@@ -47461,19 +47060,18 @@ var Dictionary = /*#__PURE__*/function () {
*/
function Dictionary() {
_classCallCheck(this, Dictionary);
-
Dictionary.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Dictionary, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Dictionary
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -47481,41 +47079,34 @@ var Dictionary = /*#__PURE__*/function () {
* @param {module:model/Dictionary} obj Optional instance to populate.
* @return {module:model/Dictionary} The populated Dictionary
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Dictionary();
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('write_only')) {
obj['write_only'] = _ApiClient["default"].convertToType(data['write_only'], 'Boolean');
}
}
-
return obj;
}
}]);
-
return Dictionary;
}();
/**
* Name for the Dictionary (must start with an alphabetic character and can contain only alphanumeric characters, underscores, and whitespace).
* @member {String} name
*/
-
-
Dictionary.prototype['name'] = undefined;
+
/**
* Determines if items in the dictionary are readable or not.
* @member {Boolean} write_only
* @default false
*/
-
Dictionary.prototype['write_only'] = false;
var _default = Dictionary;
exports["default"] = _default;
@@ -47532,21 +47123,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The DictionaryInfoResponse model module.
* @module model/DictionaryInfoResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var DictionaryInfoResponse = /*#__PURE__*/function () {
/**
@@ -47555,19 +47143,18 @@ var DictionaryInfoResponse = /*#__PURE__*/function () {
*/
function DictionaryInfoResponse() {
_classCallCheck(this, DictionaryInfoResponse);
-
DictionaryInfoResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(DictionaryInfoResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a DictionaryInfoResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -47575,50 +47162,42 @@ var DictionaryInfoResponse = /*#__PURE__*/function () {
* @param {module:model/DictionaryInfoResponse} obj Optional instance to populate.
* @return {module:model/DictionaryInfoResponse} The populated DictionaryInfoResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new DictionaryInfoResponse();
-
if (data.hasOwnProperty('last_updated')) {
obj['last_updated'] = _ApiClient["default"].convertToType(data['last_updated'], 'String');
}
-
if (data.hasOwnProperty('item_count')) {
obj['item_count'] = _ApiClient["default"].convertToType(data['item_count'], 'Number');
}
-
if (data.hasOwnProperty('digest')) {
obj['digest'] = _ApiClient["default"].convertToType(data['digest'], 'String');
}
}
-
return obj;
}
}]);
-
return DictionaryInfoResponse;
}();
/**
* Timestamp (UTC) when the dictionary was last updated or an item was added or removed.
* @member {String} last_updated
*/
-
-
DictionaryInfoResponse.prototype['last_updated'] = undefined;
+
/**
* The number of items currently in the dictionary.
* @member {Number} item_count
*/
-
DictionaryInfoResponse.prototype['item_count'] = undefined;
+
/**
* A hash of all the dictionary content.
* @member {String} digest
*/
-
DictionaryInfoResponse.prototype['digest'] = undefined;
var _default = DictionaryInfoResponse;
exports["default"] = _default;
@@ -47635,21 +47214,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The DictionaryItem model module.
* @module model/DictionaryItem
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var DictionaryItem = /*#__PURE__*/function () {
/**
@@ -47658,19 +47234,18 @@ var DictionaryItem = /*#__PURE__*/function () {
*/
function DictionaryItem() {
_classCallCheck(this, DictionaryItem);
-
DictionaryItem.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(DictionaryItem, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a DictionaryItem
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -47678,40 +47253,33 @@ var DictionaryItem = /*#__PURE__*/function () {
* @param {module:model/DictionaryItem} obj Optional instance to populate.
* @return {module:model/DictionaryItem} The populated DictionaryItem
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new DictionaryItem();
-
if (data.hasOwnProperty('item_key')) {
obj['item_key'] = _ApiClient["default"].convertToType(data['item_key'], 'String');
}
-
if (data.hasOwnProperty('item_value')) {
obj['item_value'] = _ApiClient["default"].convertToType(data['item_value'], 'String');
}
}
-
return obj;
}
}]);
-
return DictionaryItem;
}();
/**
* Item key, maximum 256 characters.
* @member {String} item_key
*/
-
-
DictionaryItem.prototype['item_key'] = undefined;
+
/**
* Item value, maximum 8000 characters.
* @member {String} item_value
*/
-
DictionaryItem.prototype['item_value'] = undefined;
var _default = DictionaryItem;
exports["default"] = _default;
@@ -47728,27 +47296,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _DictionaryItem = _interopRequireDefault(__nccwpck_require__(77220));
-
var _DictionaryItemResponseAllOf = _interopRequireDefault(__nccwpck_require__(95371));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The DictionaryItemResponse model module.
* @module model/DictionaryItemResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var DictionaryItemResponse = /*#__PURE__*/function () {
/**
@@ -47760,25 +47322,21 @@ var DictionaryItemResponse = /*#__PURE__*/function () {
*/
function DictionaryItemResponse() {
_classCallCheck(this, DictionaryItemResponse);
-
_DictionaryItem["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_DictionaryItemResponseAllOf["default"].initialize(this);
-
DictionaryItemResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(DictionaryItemResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a DictionaryItemResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -47786,137 +47344,116 @@ var DictionaryItemResponse = /*#__PURE__*/function () {
* @param {module:model/DictionaryItemResponse} obj Optional instance to populate.
* @return {module:model/DictionaryItemResponse} The populated DictionaryItemResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new DictionaryItemResponse();
-
_DictionaryItem["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_DictionaryItemResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('item_key')) {
obj['item_key'] = _ApiClient["default"].convertToType(data['item_key'], 'String');
}
-
if (data.hasOwnProperty('item_value')) {
obj['item_value'] = _ApiClient["default"].convertToType(data['item_value'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('dictionary_id')) {
obj['dictionary_id'] = _ApiClient["default"].convertToType(data['dictionary_id'], 'String');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
}
-
return obj;
}
}]);
-
return DictionaryItemResponse;
}();
/**
* Item key, maximum 256 characters.
* @member {String} item_key
*/
-
-
DictionaryItemResponse.prototype['item_key'] = undefined;
+
/**
* Item value, maximum 8000 characters.
* @member {String} item_value
*/
-
DictionaryItemResponse.prototype['item_value'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
DictionaryItemResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
DictionaryItemResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
DictionaryItemResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} dictionary_id
*/
-
DictionaryItemResponse.prototype['dictionary_id'] = undefined;
+
/**
* @member {String} service_id
*/
+DictionaryItemResponse.prototype['service_id'] = undefined;
-DictionaryItemResponse.prototype['service_id'] = undefined; // Implement DictionaryItem interface:
-
+// Implement DictionaryItem interface:
/**
* Item key, maximum 256 characters.
* @member {String} item_key
*/
-
_DictionaryItem["default"].prototype['item_key'] = undefined;
/**
* Item value, maximum 8000 characters.
* @member {String} item_value
*/
-
-_DictionaryItem["default"].prototype['item_value'] = undefined; // Implement Timestamps interface:
-
+_DictionaryItem["default"].prototype['item_value'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement DictionaryItemResponseAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement DictionaryItemResponseAllOf interface:
/**
* @member {String} dictionary_id
*/
-
_DictionaryItemResponseAllOf["default"].prototype['dictionary_id'] = undefined;
/**
* @member {String} service_id
*/
-
_DictionaryItemResponseAllOf["default"].prototype['service_id'] = undefined;
var _default = DictionaryItemResponse;
exports["default"] = _default;
@@ -47933,21 +47470,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The DictionaryItemResponseAllOf model module.
* @module model/DictionaryItemResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var DictionaryItemResponseAllOf = /*#__PURE__*/function () {
/**
@@ -47956,19 +47490,18 @@ var DictionaryItemResponseAllOf = /*#__PURE__*/function () {
*/
function DictionaryItemResponseAllOf() {
_classCallCheck(this, DictionaryItemResponseAllOf);
-
DictionaryItemResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(DictionaryItemResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a DictionaryItemResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -47976,38 +47509,31 @@ var DictionaryItemResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/DictionaryItemResponseAllOf} obj Optional instance to populate.
* @return {module:model/DictionaryItemResponseAllOf} The populated DictionaryItemResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new DictionaryItemResponseAllOf();
-
if (data.hasOwnProperty('dictionary_id')) {
obj['dictionary_id'] = _ApiClient["default"].convertToType(data['dictionary_id'], 'String');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
}
-
return obj;
}
}]);
-
return DictionaryItemResponseAllOf;
}();
/**
* @member {String} dictionary_id
*/
-
-
DictionaryItemResponseAllOf.prototype['dictionary_id'] = undefined;
+
/**
* @member {String} service_id
*/
-
DictionaryItemResponseAllOf.prototype['service_id'] = undefined;
var _default = DictionaryItemResponseAllOf;
exports["default"] = _default;
@@ -48024,29 +47550,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Dictionary = _interopRequireDefault(__nccwpck_require__(54895));
-
var _DictionaryResponseAllOf = _interopRequireDefault(__nccwpck_require__(96173));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The DictionaryResponse model module.
* @module model/DictionaryResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var DictionaryResponse = /*#__PURE__*/function () {
/**
@@ -48059,27 +47578,22 @@ var DictionaryResponse = /*#__PURE__*/function () {
*/
function DictionaryResponse() {
_classCallCheck(this, DictionaryResponse);
-
_Dictionary["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
_DictionaryResponseAllOf["default"].initialize(this);
-
DictionaryResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(DictionaryResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a DictionaryResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -48087,156 +47601,132 @@ var DictionaryResponse = /*#__PURE__*/function () {
* @param {module:model/DictionaryResponse} obj Optional instance to populate.
* @return {module:model/DictionaryResponse} The populated DictionaryResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new DictionaryResponse();
-
_Dictionary["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_DictionaryResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('write_only')) {
obj['write_only'] = _ApiClient["default"].convertToType(data['write_only'], 'Boolean');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return DictionaryResponse;
}();
/**
* Name for the Dictionary (must start with an alphabetic character and can contain only alphanumeric characters, underscores, and whitespace).
* @member {String} name
*/
-
-
DictionaryResponse.prototype['name'] = undefined;
+
/**
* Determines if items in the dictionary are readable or not.
* @member {Boolean} write_only
* @default false
*/
-
DictionaryResponse.prototype['write_only'] = false;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
DictionaryResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
DictionaryResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
DictionaryResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
DictionaryResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
-
DictionaryResponse.prototype['version'] = undefined;
+
/**
* @member {String} id
*/
+DictionaryResponse.prototype['id'] = undefined;
-DictionaryResponse.prototype['id'] = undefined; // Implement Dictionary interface:
-
+// Implement Dictionary interface:
/**
* Name for the Dictionary (must start with an alphabetic character and can contain only alphanumeric characters, underscores, and whitespace).
* @member {String} name
*/
-
_Dictionary["default"].prototype['name'] = undefined;
/**
* Determines if items in the dictionary are readable or not.
* @member {Boolean} write_only
* @default false
*/
-
-_Dictionary["default"].prototype['write_only'] = false; // Implement Timestamps interface:
-
+_Dictionary["default"].prototype['write_only'] = false;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
-_ServiceIdAndVersion["default"].prototype['version'] = undefined; // Implement DictionaryResponseAllOf interface:
-
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+// Implement DictionaryResponseAllOf interface:
/**
* @member {String} id
*/
-
_DictionaryResponseAllOf["default"].prototype['id'] = undefined;
var _default = DictionaryResponse;
exports["default"] = _default;
@@ -48253,21 +47743,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The DictionaryResponseAllOf model module.
* @module model/DictionaryResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var DictionaryResponseAllOf = /*#__PURE__*/function () {
/**
@@ -48276,19 +47763,18 @@ var DictionaryResponseAllOf = /*#__PURE__*/function () {
*/
function DictionaryResponseAllOf() {
_classCallCheck(this, DictionaryResponseAllOf);
-
DictionaryResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(DictionaryResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a DictionaryResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -48296,29 +47782,23 @@ var DictionaryResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/DictionaryResponseAllOf} obj Optional instance to populate.
* @return {module:model/DictionaryResponseAllOf} The populated DictionaryResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new DictionaryResponseAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return DictionaryResponseAllOf;
}();
/**
* @member {String} id
*/
-
-
DictionaryResponseAllOf.prototype['id'] = undefined;
var _default = DictionaryResponseAllOf;
exports["default"] = _default;
@@ -48335,21 +47815,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The DiffResponse model module.
* @module model/DiffResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var DiffResponse = /*#__PURE__*/function () {
/**
@@ -48358,19 +47835,18 @@ var DiffResponse = /*#__PURE__*/function () {
*/
function DiffResponse() {
_classCallCheck(this, DiffResponse);
-
DiffResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(DiffResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a DiffResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -48378,60 +47854,51 @@ var DiffResponse = /*#__PURE__*/function () {
* @param {module:model/DiffResponse} obj Optional instance to populate.
* @return {module:model/DiffResponse} The populated DiffResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new DiffResponse();
-
if (data.hasOwnProperty('from')) {
obj['from'] = _ApiClient["default"].convertToType(data['from'], 'Number');
}
-
if (data.hasOwnProperty('to')) {
obj['to'] = _ApiClient["default"].convertToType(data['to'], 'Number');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('diff')) {
obj['diff'] = _ApiClient["default"].convertToType(data['diff'], 'String');
}
}
-
return obj;
}
}]);
-
return DiffResponse;
}();
/**
* The version number being diffed from.
* @member {Number} from
*/
-
-
DiffResponse.prototype['from'] = undefined;
+
/**
* The version number being diffed to.
* @member {Number} to
*/
-
DiffResponse.prototype['to'] = undefined;
+
/**
* The format the diff is being returned in (`text`, `html` or `html_simple`).
* @member {String} format
*/
-
DiffResponse.prototype['format'] = undefined;
+
/**
* The differences between two specified service versions. Returns the full config if the version configurations are identical.
* @member {String} diff
*/
-
DiffResponse.prototype['diff'] = undefined;
var _default = DiffResponse;
exports["default"] = _default;
@@ -48448,23 +47915,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Backend = _interopRequireDefault(__nccwpck_require__(36991));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Director model module.
* @module model/Director
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Director = /*#__PURE__*/function () {
/**
@@ -48473,19 +47936,18 @@ var Director = /*#__PURE__*/function () {
*/
function Director() {
_classCallCheck(this, Director);
-
Director.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Director, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Director
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -48493,124 +47955,109 @@ var Director = /*#__PURE__*/function () {
* @param {module:model/Director} obj Optional instance to populate.
* @return {module:model/Director} The populated Director
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Director();
-
if (data.hasOwnProperty('backends')) {
obj['backends'] = _ApiClient["default"].convertToType(data['backends'], [_Backend["default"]]);
}
-
if (data.hasOwnProperty('capacity')) {
obj['capacity'] = _ApiClient["default"].convertToType(data['capacity'], 'Number');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('quorum')) {
obj['quorum'] = _ApiClient["default"].convertToType(data['quorum'], 'Number');
}
-
if (data.hasOwnProperty('shield')) {
obj['shield'] = _ApiClient["default"].convertToType(data['shield'], 'String');
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'Number');
}
-
if (data.hasOwnProperty('retries')) {
obj['retries'] = _ApiClient["default"].convertToType(data['retries'], 'Number');
}
}
-
return obj;
}
}]);
-
return Director;
}();
/**
* List of backends associated to a director.
* @member {Array.type
property.
* @enum {Number}
* @readonly
*/
-
Director['TypeEnum'] = {
/**
* value: 1
* @const
*/
"random": 1,
-
/**
* value: 3
* @const
*/
"hash": 3,
-
/**
* value: 4
* @const
@@ -48632,27 +48079,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _DirectorBackendAllOf = _interopRequireDefault(__nccwpck_require__(48903));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The DirectorBackend model module.
* @module model/DirectorBackend
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var DirectorBackend = /*#__PURE__*/function () {
/**
@@ -48664,25 +48105,21 @@ var DirectorBackend = /*#__PURE__*/function () {
*/
function DirectorBackend() {
_classCallCheck(this, DirectorBackend);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
_DirectorBackendAllOf["default"].initialize(this);
-
DirectorBackend.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(DirectorBackend, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a DirectorBackend
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -48690,137 +48127,116 @@ var DirectorBackend = /*#__PURE__*/function () {
* @param {module:model/DirectorBackend} obj Optional instance to populate.
* @return {module:model/DirectorBackend} The populated DirectorBackend
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new DirectorBackend();
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_DirectorBackendAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('backend_name')) {
obj['backend_name'] = _ApiClient["default"].convertToType(data['backend_name'], 'String');
}
-
if (data.hasOwnProperty('director')) {
obj['director'] = _ApiClient["default"].convertToType(data['director'], 'String');
}
}
-
return obj;
}
}]);
-
return DirectorBackend;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
DirectorBackend.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
DirectorBackend.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
DirectorBackend.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
DirectorBackend.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
-
DirectorBackend.prototype['version'] = undefined;
+
/**
* The name of the backend.
* @member {String} backend_name
*/
-
DirectorBackend.prototype['backend_name'] = undefined;
+
/**
* Name for the Director.
* @member {String} director
*/
+DirectorBackend.prototype['director'] = undefined;
-DirectorBackend.prototype['director'] = undefined; // Implement Timestamps interface:
-
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
-_ServiceIdAndVersion["default"].prototype['version'] = undefined; // Implement DirectorBackendAllOf interface:
-
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+// Implement DirectorBackendAllOf interface:
/**
* The name of the backend.
* @member {String} backend_name
*/
-
_DirectorBackendAllOf["default"].prototype['backend_name'] = undefined;
/**
* Name for the Director.
* @member {String} director
*/
-
_DirectorBackendAllOf["default"].prototype['director'] = undefined;
var _default = DirectorBackend;
exports["default"] = _default;
@@ -48837,21 +48253,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The DirectorBackendAllOf model module.
* @module model/DirectorBackendAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var DirectorBackendAllOf = /*#__PURE__*/function () {
/**
@@ -48860,19 +48273,18 @@ var DirectorBackendAllOf = /*#__PURE__*/function () {
*/
function DirectorBackendAllOf() {
_classCallCheck(this, DirectorBackendAllOf);
-
DirectorBackendAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(DirectorBackendAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a DirectorBackendAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -48880,40 +48292,33 @@ var DirectorBackendAllOf = /*#__PURE__*/function () {
* @param {module:model/DirectorBackendAllOf} obj Optional instance to populate.
* @return {module:model/DirectorBackendAllOf} The populated DirectorBackendAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new DirectorBackendAllOf();
-
if (data.hasOwnProperty('backend_name')) {
obj['backend_name'] = _ApiClient["default"].convertToType(data['backend_name'], 'String');
}
-
if (data.hasOwnProperty('director')) {
obj['director'] = _ApiClient["default"].convertToType(data['director'], 'String');
}
}
-
return obj;
}
}]);
-
return DirectorBackendAllOf;
}();
/**
* The name of the backend.
* @member {String} backend_name
*/
-
-
DirectorBackendAllOf.prototype['backend_name'] = undefined;
+
/**
* Name for the Director.
* @member {String} director
*/
-
DirectorBackendAllOf.prototype['director'] = undefined;
var _default = DirectorBackendAllOf;
exports["default"] = _default;
@@ -48930,29 +48335,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Backend = _interopRequireDefault(__nccwpck_require__(36991));
-
var _Director = _interopRequireDefault(__nccwpck_require__(77380));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The DirectorResponse model module.
* @module model/DirectorResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var DirectorResponse = /*#__PURE__*/function () {
/**
@@ -48964,25 +48362,21 @@ var DirectorResponse = /*#__PURE__*/function () {
*/
function DirectorResponse() {
_classCallCheck(this, DirectorResponse);
-
_Director["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
DirectorResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(DirectorResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a DirectorResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -48990,261 +48384,226 @@ var DirectorResponse = /*#__PURE__*/function () {
* @param {module:model/DirectorResponse} obj Optional instance to populate.
* @return {module:model/DirectorResponse} The populated DirectorResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new DirectorResponse();
-
_Director["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('backends')) {
obj['backends'] = _ApiClient["default"].convertToType(data['backends'], [_Backend["default"]]);
}
-
if (data.hasOwnProperty('capacity')) {
obj['capacity'] = _ApiClient["default"].convertToType(data['capacity'], 'Number');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('quorum')) {
obj['quorum'] = _ApiClient["default"].convertToType(data['quorum'], 'Number');
}
-
if (data.hasOwnProperty('shield')) {
obj['shield'] = _ApiClient["default"].convertToType(data['shield'], 'String');
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'Number');
}
-
if (data.hasOwnProperty('retries')) {
obj['retries'] = _ApiClient["default"].convertToType(data['retries'], 'Number');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
}
-
return obj;
}
}]);
-
return DirectorResponse;
}();
/**
* List of backends associated to a director.
* @member {Array.type
property.
* @enum {Number}
* @readonly
*/
-
DirectorResponse['TypeEnum'] = {
/**
* value: 1
* @const
*/
"random": 1,
-
/**
* value: 3
* @const
*/
"hash": 3,
-
/**
* value: 4
* @const
@@ -49266,21 +48625,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Domain model module.
* @module model/Domain
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Domain = /*#__PURE__*/function () {
/**
@@ -49289,19 +48645,18 @@ var Domain = /*#__PURE__*/function () {
*/
function Domain() {
_classCallCheck(this, Domain);
-
Domain.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Domain, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Domain
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -49309,40 +48664,33 @@ var Domain = /*#__PURE__*/function () {
* @param {module:model/Domain} obj Optional instance to populate.
* @return {module:model/Domain} The populated Domain
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Domain();
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
}
-
return obj;
}
}]);
-
return Domain;
}();
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
-
Domain.prototype['comment'] = undefined;
+
/**
* The name of the domain or domains associated with this service.
* @member {String} name
*/
-
Domain.prototype['name'] = undefined;
var _default = Domain;
exports["default"] = _default;
@@ -49359,21 +48707,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The DomainCheckItem model module.
* @module model/DomainCheckItem
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var DomainCheckItem = /*#__PURE__*/function () {
/**
@@ -49382,19 +48727,18 @@ var DomainCheckItem = /*#__PURE__*/function () {
*/
function DomainCheckItem() {
_classCallCheck(this, DomainCheckItem);
-
DomainCheckItem.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
- */
-
-
+ */
_createClass(DomainCheckItem, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a DomainCheckItem
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -49402,40 +48746,33 @@ var DomainCheckItem = /*#__PURE__*/function () {
* @param {module:model/DomainCheckItem} obj Optional instance to populate.
* @return {module:model/DomainCheckItem} The populated DomainCheckItem
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new DomainCheckItem();
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
}
-
return obj;
}
}]);
-
return DomainCheckItem;
}();
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
-
DomainCheckItem.prototype['comment'] = undefined;
+
/**
* The name of the domain or domains associated with this service.
* @member {String} name
*/
-
DomainCheckItem.prototype['name'] = undefined;
var _default = DomainCheckItem;
exports["default"] = _default;
@@ -49452,27 +48789,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Domain = _interopRequireDefault(__nccwpck_require__(63959));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The DomainResponse model module.
* @module model/DomainResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var DomainResponse = /*#__PURE__*/function () {
/**
@@ -49484,25 +48815,21 @@ var DomainResponse = /*#__PURE__*/function () {
*/
function DomainResponse() {
_classCallCheck(this, DomainResponse);
-
_Domain["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
DomainResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(DomainResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a DomainResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -49510,144 +48837,123 @@ var DomainResponse = /*#__PURE__*/function () {
* @param {module:model/DomainResponse} obj Optional instance to populate.
* @return {module:model/DomainResponse} The populated DomainResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new DomainResponse();
-
_Domain["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
}
-
return obj;
}
}]);
-
return DomainResponse;
}();
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
-
DomainResponse.prototype['comment'] = undefined;
+
/**
* The name of the domain or domains associated with this service.
* @member {String} name
*/
-
DomainResponse.prototype['name'] = undefined;
+
/**
* @member {String} service_id
*/
-
DomainResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
-
DomainResponse.prototype['version'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
DomainResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
DomainResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
+DomainResponse.prototype['updated_at'] = undefined;
-DomainResponse.prototype['updated_at'] = undefined; // Implement Domain interface:
-
+// Implement Domain interface:
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
_Domain["default"].prototype['comment'] = undefined;
/**
* The name of the domain or domains associated with this service.
* @member {String} name
*/
-
-_Domain["default"].prototype['name'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Domain["default"].prototype['name'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
-_ServiceIdAndVersion["default"].prototype['version'] = undefined; // Implement Timestamps interface:
-
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
_Timestamps["default"].prototype['updated_at'] = undefined;
var _default = DomainResponse;
exports["default"] = _default;
/***/ }),
-/***/ 86964:
+/***/ 81715:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -49657,25 +48963,423 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _EnabledProductLinks = _interopRequireDefault(__nccwpck_require__(87495));
+var _EnabledProductProduct = _interopRequireDefault(__nccwpck_require__(16238));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The EnabledProduct model module.
+ * @module model/EnabledProduct
+ * @version v3.1.0
+ */
+var EnabledProduct = /*#__PURE__*/function () {
+ /**
+ * Constructs a new EnabledProduct
.
+ * @alias module:model/EnabledProduct
+ */
+ function EnabledProduct() {
+ _classCallCheck(this, EnabledProduct);
+ EnabledProduct.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(EnabledProduct, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a EnabledProduct
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/EnabledProduct} obj Optional instance to populate.
+ * @return {module:model/EnabledProduct} The populated EnabledProduct
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new EnabledProduct();
+ if (data.hasOwnProperty('product')) {
+ obj['product'] = _EnabledProductProduct["default"].constructFromObject(data['product']);
+ }
+ if (data.hasOwnProperty('service')) {
+ obj['service'] = _EnabledProductProduct["default"].constructFromObject(data['service']);
+ }
+ if (data.hasOwnProperty('_links')) {
+ obj['_links'] = _EnabledProductLinks["default"].constructFromObject(data['_links']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return EnabledProduct;
+}();
+/**
+ * @member {module:model/EnabledProductProduct} product
+ */
+EnabledProduct.prototype['product'] = undefined;
+
+/**
+ * @member {module:model/EnabledProductProduct} service
+ */
+EnabledProduct.prototype['service'] = undefined;
+
+/**
+ * @member {module:model/EnabledProductLinks} _links
+ */
+EnabledProduct.prototype['_links'] = undefined;
+var _default = EnabledProduct;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 87495:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The EnabledProductLinks model module.
+ * @module model/EnabledProductLinks
+ * @version v3.1.0
+ */
+var EnabledProductLinks = /*#__PURE__*/function () {
+ /**
+ * Constructs a new EnabledProductLinks
.
+ * @alias module:model/EnabledProductLinks
+ */
+ function EnabledProductLinks() {
+ _classCallCheck(this, EnabledProductLinks);
+ EnabledProductLinks.initialize(this);
+ }
-var _EventAttributes = _interopRequireDefault(__nccwpck_require__(81857));
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(EnabledProductLinks, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
-var _TypeEvent = _interopRequireDefault(__nccwpck_require__(11430));
+ /**
+ * Constructs a EnabledProductLinks
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/EnabledProductLinks} obj Optional instance to populate.
+ * @return {module:model/EnabledProductLinks} The populated EnabledProductLinks
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new EnabledProductLinks();
+ if (data.hasOwnProperty('self')) {
+ obj['self'] = _ApiClient["default"].convertToType(data['self'], 'String');
+ }
+ if (data.hasOwnProperty('service')) {
+ obj['service'] = _ApiClient["default"].convertToType(data['service'], 'String');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return EnabledProductLinks;
+}();
+/**
+ * @member {String} self
+ */
+EnabledProductLinks.prototype['self'] = undefined;
+
+/**
+ * @member {String} service
+ */
+EnabledProductLinks.prototype['service'] = undefined;
+var _default = EnabledProductLinks;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 16238:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The EnabledProductProduct model module.
+ * @module model/EnabledProductProduct
+ * @version v3.1.0
+ */
+var EnabledProductProduct = /*#__PURE__*/function () {
+ /**
+ * Constructs a new EnabledProductProduct
.
+ * @alias module:model/EnabledProductProduct
+ */
+ function EnabledProductProduct() {
+ _classCallCheck(this, EnabledProductProduct);
+ EnabledProductProduct.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(EnabledProductProduct, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a EnabledProductProduct
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/EnabledProductProduct} obj Optional instance to populate.
+ * @return {module:model/EnabledProductProduct} The populated EnabledProductProduct
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new EnabledProductProduct();
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('object')) {
+ obj['object'] = _ApiClient["default"].convertToType(data['object'], 'String');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return EnabledProductProduct;
+}();
+/**
+ * @member {String} id
+ */
+EnabledProductProduct.prototype['id'] = undefined;
+
+/**
+ * @member {String} object
+ */
+EnabledProductProduct.prototype['object'] = undefined;
+var _default = EnabledProductProduct;
+exports["default"] = _default;
+
+/***/ }),
+/***/ 64552:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _ErrorResponseData = _interopRequireDefault(__nccwpck_require__(47912));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ErrorResponse model module.
+ * @module model/ErrorResponse
+ * @version v3.1.0
+ */
+var ErrorResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ErrorResponse
.
+ * @alias module:model/ErrorResponse
+ */
+ function ErrorResponse() {
+ _classCallCheck(this, ErrorResponse);
+ ErrorResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ErrorResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a ErrorResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ErrorResponse} obj Optional instance to populate.
+ * @return {module:model/ErrorResponse} The populated ErrorResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ErrorResponse();
+ if (data.hasOwnProperty('errors')) {
+ obj['errors'] = _ApiClient["default"].convertToType(data['errors'], [_ErrorResponseData["default"]]);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return ErrorResponse;
+}();
+/**
+ * @member {Array.ErrorResponseData
.
+ * @alias module:model/ErrorResponseData
+ */
+ function ErrorResponseData() {
+ _classCallCheck(this, ErrorResponseData);
+ ErrorResponseData.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ErrorResponseData, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a ErrorResponseData
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ErrorResponseData} obj Optional instance to populate.
+ * @return {module:model/ErrorResponseData} The populated ErrorResponseData
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ErrorResponseData();
+ if (data.hasOwnProperty('title')) {
+ obj['title'] = _ApiClient["default"].convertToType(data['title'], 'String');
+ }
+ if (data.hasOwnProperty('detail')) {
+ obj['detail'] = _ApiClient["default"].convertToType(data['detail'], 'String');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return ErrorResponseData;
+}();
+/**
+ * @member {String} title
+ */
+ErrorResponseData.prototype['title'] = undefined;
+
+/**
+ * @member {String} detail
+ */
+ErrorResponseData.prototype['detail'] = undefined;
+var _default = ErrorResponseData;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 86964:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+"use strict";
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _EventAttributes = _interopRequireDefault(__nccwpck_require__(81857));
+var _TypeEvent = _interopRequireDefault(__nccwpck_require__(11430));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Event model module.
* @module model/Event
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Event = /*#__PURE__*/function () {
/**
@@ -49684,19 +49388,18 @@ var Event = /*#__PURE__*/function () {
*/
function Event() {
_classCallCheck(this, Event);
-
Event.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Event, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Event
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -49704,47 +49407,39 @@ var Event = /*#__PURE__*/function () {
* @param {module:model/Event} obj Optional instance to populate.
* @return {module:model/Event} The populated Event
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Event();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeEvent["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _EventAttributes["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return Event;
}();
/**
* @member {module:model/TypeEvent} type
*/
-
-
Event.prototype['type'] = undefined;
+
/**
* @member {String} id
*/
-
Event.prototype['id'] = undefined;
+
/**
* @member {module:model/EventAttributes} attributes
*/
-
Event.prototype['attributes'] = undefined;
var _default = Event;
exports["default"] = _default;
@@ -49761,21 +49456,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The EventAttributes model module.
* @module model/EventAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var EventAttributes = /*#__PURE__*/function () {
/**
@@ -49784,19 +49476,18 @@ var EventAttributes = /*#__PURE__*/function () {
*/
function EventAttributes() {
_classCallCheck(this, EventAttributes);
-
EventAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(EventAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a EventAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -49804,871 +49495,739 @@ var EventAttributes = /*#__PURE__*/function () {
* @param {module:model/EventAttributes} obj Optional instance to populate.
* @return {module:model/EventAttributes} The populated EventAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new EventAttributes();
-
if (data.hasOwnProperty('admin')) {
obj['admin'] = _ApiClient["default"].convertToType(data['admin'], 'Boolean');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('customer_id')) {
obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
-
if (data.hasOwnProperty('description')) {
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
}
-
if (data.hasOwnProperty('event_type')) {
obj['event_type'] = _ApiClient["default"].convertToType(data['event_type'], 'String');
}
-
if (data.hasOwnProperty('ip')) {
obj['ip'] = _ApiClient["default"].convertToType(data['ip'], 'String');
}
-
if (data.hasOwnProperty('metadata')) {
obj['metadata'] = _ApiClient["default"].convertToType(data['metadata'], Object);
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('user_id')) {
obj['user_id'] = _ApiClient["default"].convertToType(data['user_id'], 'String');
}
+ if (data.hasOwnProperty('token_id')) {
+ obj['token_id'] = _ApiClient["default"].convertToType(data['token_id'], 'String');
+ }
}
-
return obj;
}
}]);
-
return EventAttributes;
}();
/**
* Indicates if event was performed by Fastly.
* @member {Boolean} admin
*/
-
-
EventAttributes.prototype['admin'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
EventAttributes.prototype['created_at'] = undefined;
+
/**
* @member {String} customer_id
*/
-
EventAttributes.prototype['customer_id'] = undefined;
+
/**
* Description of the event.
* @member {String} description
*/
-
EventAttributes.prototype['description'] = undefined;
+
/**
* Type of event. Can be used with `filter[event_type]`
* @member {module:model/EventAttributes.EventTypeEnum} event_type
*/
-
EventAttributes.prototype['event_type'] = undefined;
+
/**
* IP addresses that the event was requested from.
* @member {String} ip
*/
-
EventAttributes.prototype['ip'] = undefined;
+
/**
* Hash of key value pairs of additional information.
* @member {Object} metadata
*/
-
EventAttributes.prototype['metadata'] = undefined;
+
/**
* @member {String} service_id
*/
-
EventAttributes.prototype['service_id'] = undefined;
+
/**
* @member {String} user_id
*/
-
EventAttributes.prototype['user_id'] = undefined;
+
+/**
+ * @member {String} token_id
+ */
+EventAttributes.prototype['token_id'] = undefined;
+
/**
* Allowed values for the event_type
property.
* @enum {String}
* @readonly
*/
-
EventAttributes['EventTypeEnum'] = {
/**
* value: "api_key.create"
* @const
*/
"api_key.create": "api_key.create",
-
/**
* value: "acl.create"
* @const
*/
"acl.create": "acl.create",
-
/**
* value: "acl.delete"
* @const
*/
"acl.delete": "acl.delete",
-
/**
* value: "acl.update"
* @const
*/
"acl.update": "acl.update",
-
/**
* value: "address.create"
* @const
*/
"address.create": "address.create",
-
/**
* value: "address.delete"
* @const
*/
"address.delete": "address.delete",
-
/**
* value: "address.update"
* @const
*/
"address.update": "address.update",
-
/**
* value: "backend.create"
* @const
*/
"backend.create": "backend.create",
-
/**
* value: "backend.delete"
* @const
*/
"backend.delete": "backend.delete",
-
/**
* value: "backend.update"
* @const
*/
"backend.update": "backend.update",
-
/**
* value: "billing.contact_update"
* @const
*/
"billing.contact_update": "billing.contact_update",
-
/**
* value: "cache_settings.create"
* @const
*/
"cache_settings.create": "cache_settings.create",
-
/**
* value: "cache_settings.delete"
* @const
*/
"cache_settings.delete": "cache_settings.delete",
-
/**
* value: "cache_settings.update"
* @const
*/
"cache_settings.update": "cache_settings.update",
-
/**
* value: "customer.create"
* @const
*/
"customer.create": "customer.create",
-
/**
* value: "customer.pricing"
* @const
*/
"customer.pricing": "customer.pricing",
-
/**
* value: "customer.update"
* @const
*/
"customer.update": "customer.update",
-
/**
* value: "customer_feature.create"
* @const
*/
"customer_feature.create": "customer_feature.create",
-
/**
* value: "customer_feature.delete"
* @const
*/
"customer_feature.delete": "customer_feature.delete",
-
/**
* value: "director.create"
* @const
*/
"director.create": "director.create",
-
/**
* value: "director.delete"
* @const
*/
"director.delete": "director.delete",
-
/**
* value: "director.update"
* @const
*/
"director.update": "director.update",
-
/**
* value: "director_backend.create"
* @const
*/
"director_backend.create": "director_backend.create",
-
/**
* value: "director_backend.delete"
* @const
*/
"director_backend.delete": "director_backend.delete",
-
/**
* value: "domain.create"
* @const
*/
"domain.create": "domain.create",
-
/**
* value: "domain.delete"
* @const
*/
"domain.delete": "domain.delete",
-
/**
* value: "domain.update"
* @const
*/
"domain.update": "domain.update",
-
/**
* value: "gzip.create"
* @const
*/
"gzip.create": "gzip.create",
-
/**
* value: "gzip.delete"
* @const
*/
"gzip.delete": "gzip.delete",
-
/**
* value: "gzip.update"
* @const
*/
"gzip.update": "gzip.update",
-
/**
* value: "header.create"
* @const
*/
"header.create": "header.create",
-
/**
* value: "header.delete"
* @const
*/
"header.delete": "header.delete",
-
/**
* value: "header.update"
* @const
*/
"header.update": "header.update",
-
/**
* value: "healthcheck.create"
* @const
*/
"healthcheck.create": "healthcheck.create",
-
/**
* value: "healthcheck.delete"
* @const
*/
"healthcheck.delete": "healthcheck.delete",
-
/**
* value: "healthcheck.update"
* @const
*/
"healthcheck.update": "healthcheck.update",
-
/**
* value: "invitation.accept"
* @const
*/
"invitation.accept": "invitation.accept",
-
/**
* value: "invitation.sent"
* @const
*/
"invitation.sent": "invitation.sent",
-
/**
* value: "invoice.failed_payment"
* @const
*/
"invoice.failed_payment": "invoice.failed_payment",
-
/**
* value: "invoice.payment"
* @const
*/
"invoice.payment": "invoice.payment",
-
/**
* value: "io_settings.create"
* @const
*/
"io_settings.create": "io_settings.create",
-
/**
* value: "io_settings.delete"
* @const
*/
"io_settings.delete": "io_settings.delete",
-
/**
* value: "io_settings.update"
* @const
*/
"io_settings.update": "io_settings.update",
-
/**
* value: "logging.create"
* @const
*/
"logging.create": "logging.create",
-
/**
* value: "logging.delete"
* @const
*/
"logging.delete": "logging.delete",
-
/**
* value: "logging.update"
* @const
*/
"logging.update": "logging.update",
-
/**
* value: "pool.create"
* @const
*/
"pool.create": "pool.create",
-
/**
* value: "pool.delete"
* @const
*/
"pool.delete": "pool.delete",
-
/**
* value: "pool.update"
* @const
*/
"pool.update": "pool.update",
-
/**
* value: "request_settings.create"
* @const
*/
"request_settings.create": "request_settings.create",
-
/**
* value: "request_settings.delete"
* @const
*/
"request_settings.delete": "request_settings.delete",
-
/**
* value: "request_settings.update"
* @const
*/
"request_settings.update": "request_settings.update",
-
/**
* value: "response_object.create"
* @const
*/
"response_object.create": "response_object.create",
-
/**
* value: "response_object.delete"
* @const
*/
"response_object.delete": "response_object.delete",
-
/**
* value: "response_object.update"
* @const
*/
"response_object.update": "response_object.update",
-
/**
* value: "rule_status.update"
* @const
*/
"rule_status.update": "rule_status.update",
-
/**
* value: "rule_status.upsert"
* @const
*/
"rule_status.upsert": "rule_status.upsert",
-
/**
* value: "server.create"
* @const
*/
"server.create": "server.create",
-
/**
* value: "server.delete"
* @const
*/
"server.delete": "server.delete",
-
/**
* value: "server.update"
* @const
*/
"server.update": "server.update",
-
/**
* value: "service.create"
* @const
*/
"service.create": "service.create",
-
/**
* value: "service.delete"
* @const
*/
"service.delete": "service.delete",
-
/**
* value: "service.move"
* @const
*/
"service.move": "service.move",
-
/**
* value: "service.move_destination"
* @const
*/
"service.move_destination": "service.move_destination",
-
/**
* value: "service.move_source"
* @const
*/
"service.move_source": "service.move_source",
-
/**
* value: "service.purge_all"
* @const
*/
"service.purge_all": "service.purge_all",
-
/**
* value: "service.update"
* @const
*/
"service.update": "service.update",
-
/**
* value: "service_authorization.create"
* @const
*/
"service_authorization.create": "service_authorization.create",
-
/**
* value: "service_authorization.delete"
* @const
*/
"service_authorization.delete": "service_authorization.delete",
-
/**
* value: "service_authorization.update"
* @const
*/
"service_authorization.update": "service_authorization.update",
-
/**
* value: "tls.bulk_certificate.create"
* @const
*/
"tls.bulk_certificate.create": "tls.bulk_certificate.create",
-
/**
* value: "tls.bulk_certificate.delete"
* @const
*/
"tls.bulk_certificate.delete": "tls.bulk_certificate.delete",
-
/**
* value: "tls.bulk_certificate.update"
* @const
*/
"tls.bulk_certificate.update": "tls.bulk_certificate.update",
-
/**
* value: "tls.certificate.create"
* @const
*/
"tls.certificate.create": "tls.certificate.create",
-
/**
* value: "tls.certificate.expiration_email"
* @const
*/
"tls.certificate.expiration_email": "tls.certificate.expiration_email",
-
/**
* value: "tls.certificate.update"
* @const
*/
"tls.certificate.update": "tls.certificate.update",
-
/**
* value: "tls.certificate.delete"
* @const
*/
"tls.certificate.delete": "tls.certificate.delete",
-
/**
* value: "tls.configuration.update"
* @const
*/
"tls.configuration.update": "tls.configuration.update",
-
/**
* value: "tls.private_key.create"
* @const
*/
"tls.private_key.create": "tls.private_key.create",
-
/**
* value: "tls.private_key.delete"
* @const
*/
"tls.private_key.delete": "tls.private_key.delete",
-
/**
* value: "tls.activation.enable"
* @const
*/
"tls.activation.enable": "tls.activation.enable",
-
/**
* value: "tls.activation.update"
* @const
*/
"tls.activation.update": "tls.activation.update",
-
/**
* value: "tls.activation.disable"
* @const
*/
"tls.activation.disable": "tls.activation.disable",
-
/**
* value: "tls.globalsign.domain.create"
* @const
*/
"tls.globalsign.domain.create": "tls.globalsign.domain.create",
-
/**
* value: "tls.globalsign.domain.verify"
* @const
*/
"tls.globalsign.domain.verify": "tls.globalsign.domain.verify",
-
/**
* value: "tls.globalsign.domain.delete"
* @const
*/
"tls.globalsign.domain.delete": "tls.globalsign.domain.delete",
-
/**
* value: "tls.subscription.create"
* @const
*/
"tls.subscription.create": "tls.subscription.create",
-
/**
* value: "tls.subscription.delete"
* @const
*/
"tls.subscription.delete": "tls.subscription.delete",
-
/**
* value: "tls.subscription.dns_check_email"
* @const
*/
"tls.subscription.dns_check_email": "tls.subscription.dns_check_email",
-
/**
* value: "token.create"
* @const
*/
"token.create": "token.create",
-
/**
* value: "token.destroy"
* @const
*/
"token.destroy": "token.destroy",
-
/**
* value: "two_factor_auth.disable"
* @const
*/
"two_factor_auth.disable": "two_factor_auth.disable",
-
/**
* value: "two_factor_auth.enable"
* @const
*/
"two_factor_auth.enable": "two_factor_auth.enable",
-
/**
* value: "user.create"
* @const
*/
"user.create": "user.create",
-
/**
* value: "user.destroy"
* @const
*/
"user.destroy": "user.destroy",
-
/**
* value: "user.lock"
* @const
*/
"user.lock": "user.lock",
-
/**
* value: "user.login"
* @const
*/
"user.login": "user.login",
-
/**
* value: "user.login_failure"
* @const
*/
"user.login_failure": "user.login_failure",
-
/**
* value: "user.logout"
* @const
*/
"user.logout": "user.logout",
-
/**
* value: "user.password_update"
* @const
*/
"user.password_update": "user.password_update",
-
/**
* value: "user.unlock"
* @const
*/
"user.unlock": "user.unlock",
-
/**
* value: "user.update"
* @const
*/
"user.update": "user.update",
-
/**
* value: "vcl.create"
* @const
*/
"vcl.create": "vcl.create",
-
/**
* value: "vcl.delete"
* @const
*/
"vcl.delete": "vcl.delete",
-
/**
* value: "vcl.update"
* @const
*/
"vcl.update": "vcl.update",
-
/**
* value: "version.activate"
* @const
*/
"version.activate": "version.activate",
-
/**
* value: "version.clone"
* @const
*/
"version.clone": "version.clone",
-
/**
* value: "version.copy"
* @const
*/
"version.copy": "version.copy",
-
/**
* value: "version.copy_destination"
* @const
*/
"version.copy_destination": "version.copy_destination",
-
/**
* value: "version.copy_source"
* @const
*/
"version.copy_source": "version.copy_source",
-
/**
* value: "version.create"
* @const
*/
"version.create": "version.create",
-
/**
* value: "version.deactivate"
* @const
*/
"version.deactivate": "version.deactivate",
-
/**
* value: "version.lock"
* @const
*/
"version.lock": "version.lock",
-
/**
* value: "version.update"
* @const
*/
"version.update": "version.update",
-
/**
* value: "waf.configuration_set_update"
* @const
*/
"waf.configuration_set_update": "waf.configuration_set_update",
-
/**
* value: "waf.create"
* @const
*/
"waf.create": "waf.create",
-
/**
* value: "waf.delete"
* @const
*/
"waf.delete": "waf.delete",
-
/**
* value: "waf.update"
* @const
*/
"waf.update": "waf.update",
-
/**
* value: "waf.enable"
* @const
*/
"waf.enable": "waf.enable",
-
/**
* value: "waf.disable"
* @const
*/
"waf.disable": "waf.disable",
-
/**
* value: "waf.owasp.create"
* @const
*/
"waf.owasp.create": "waf.owasp.create",
-
/**
* value: "waf.owasp.update"
* @const
*/
"waf.owasp.update": "waf.owasp.update",
-
/**
* value: "waf.ruleset.deploy"
* @const
*/
"waf.ruleset.deploy": "waf.ruleset.deploy",
-
/**
* value: "waf.ruleset.deploy_failure"
* @const
*/
"waf.ruleset.deploy_failure": "waf.ruleset.deploy_failure",
-
/**
* value: "wordpress.create"
* @const
*/
"wordpress.create": "wordpress.create",
-
/**
* value: "wordpress.delete"
* @const
*/
"wordpress.delete": "wordpress.delete",
-
/**
* value: "wordpress.update"
* @const
@@ -50690,23 +50249,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Event = _interopRequireDefault(__nccwpck_require__(86964));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The EventResponse model module.
* @module model/EventResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var EventResponse = /*#__PURE__*/function () {
/**
@@ -50715,19 +50270,18 @@ var EventResponse = /*#__PURE__*/function () {
*/
function EventResponse() {
_classCallCheck(this, EventResponse);
-
EventResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(EventResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a EventResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -50735,29 +50289,23 @@ var EventResponse = /*#__PURE__*/function () {
* @param {module:model/EventResponse} obj Optional instance to populate.
* @return {module:model/EventResponse} The populated EventResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new EventResponse();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _Event["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return EventResponse;
}();
/**
* @member {module:model/Event} data
*/
-
-
EventResponse.prototype['data'] = undefined;
var _default = EventResponse;
exports["default"] = _default;
@@ -50774,31 +50322,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Event = _interopRequireDefault(__nccwpck_require__(86964));
-
var _EventsResponseAllOf = _interopRequireDefault(__nccwpck_require__(67432));
-
var _Pagination = _interopRequireDefault(__nccwpck_require__(89281));
-
var _PaginationLinks = _interopRequireDefault(__nccwpck_require__(97779));
-
var _PaginationMeta = _interopRequireDefault(__nccwpck_require__(93986));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The EventsResponse model module.
* @module model/EventsResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var EventsResponse = /*#__PURE__*/function () {
/**
@@ -50809,23 +50349,20 @@ var EventsResponse = /*#__PURE__*/function () {
*/
function EventsResponse() {
_classCallCheck(this, EventsResponse);
-
_Pagination["default"].initialize(this);
-
_EventsResponseAllOf["default"].initialize(this);
-
EventsResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(EventsResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a EventsResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -50833,68 +50370,56 @@ var EventsResponse = /*#__PURE__*/function () {
* @param {module:model/EventsResponse} obj Optional instance to populate.
* @return {module:model/EventsResponse} The populated EventsResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new EventsResponse();
-
_Pagination["default"].constructFromObject(data, obj);
-
_EventsResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('links')) {
obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_Event["default"]]);
}
}
-
return obj;
}
}]);
-
return EventsResponse;
}();
/**
* @member {module:model/PaginationLinks} links
*/
-
-
EventsResponse.prototype['links'] = undefined;
+
/**
* @member {module:model/PaginationMeta} meta
*/
-
EventsResponse.prototype['meta'] = undefined;
+
/**
* @member {Array.EventsResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -50956,29 +50476,23 @@ var EventsResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/EventsResponseAllOf} obj Optional instance to populate.
* @return {module:model/EventsResponseAllOf} The populated EventsResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new EventsResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_Event["default"]]);
}
}
-
return obj;
}
}]);
-
return EventsResponseAllOf;
}();
/**
* @member {Array.GenericTokenError
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -51038,36 +50548,30 @@ var GenericTokenError = /*#__PURE__*/function () {
* @param {module:model/GenericTokenError} obj Optional instance to populate.
* @return {module:model/GenericTokenError} The populated GenericTokenError
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new GenericTokenError();
-
if (data.hasOwnProperty('msg')) {
obj['msg'] = _ApiClient["default"].convertToType(data['msg'], 'String');
}
}
-
return obj;
}
}]);
-
return GenericTokenError;
}();
/**
* @member {String} msg
*/
-
-
GenericTokenError.prototype['msg'] = undefined;
var _default = GenericTokenError;
exports["default"] = _default;
/***/ }),
-/***/ 39415:
+/***/ 1694:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -51077,21 +50581,183 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
+var _GetStoresResponseMeta = _interopRequireDefault(__nccwpck_require__(85031));
+var _StoreResponse = _interopRequireDefault(__nccwpck_require__(21164));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The GetStoresResponse model module.
+ * @module model/GetStoresResponse
+ * @version v3.1.0
+ */
+var GetStoresResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new GetStoresResponse
.
+ * @alias module:model/GetStoresResponse
+ */
+ function GetStoresResponse() {
+ _classCallCheck(this, GetStoresResponse);
+ GetStoresResponse.initialize(this);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(GetStoresResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a GetStoresResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/GetStoresResponse} obj Optional instance to populate.
+ * @return {module:model/GetStoresResponse} The populated GetStoresResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new GetStoresResponse();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], [_StoreResponse["default"]]);
+ }
+ if (data.hasOwnProperty('meta')) {
+ obj['meta'] = _GetStoresResponseMeta["default"].constructFromObject(data['meta']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return GetStoresResponse;
+}();
+/**
+ * @member {Array.GetStoresResponseMeta
.
+ * Meta for the pagination.
+ * @alias module:model/GetStoresResponseMeta
+ */
+ function GetStoresResponseMeta() {
+ _classCallCheck(this, GetStoresResponseMeta);
+ GetStoresResponseMeta.initialize(this);
+ }
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(GetStoresResponseMeta, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+ /**
+ * Constructs a GetStoresResponseMeta
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/GetStoresResponseMeta} obj Optional instance to populate.
+ * @return {module:model/GetStoresResponseMeta} The populated GetStoresResponseMeta
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new GetStoresResponseMeta();
+ if (data.hasOwnProperty('next_cursor')) {
+ obj['next_cursor'] = _ApiClient["default"].convertToType(data['next_cursor'], 'String');
+ }
+ if (data.hasOwnProperty('limit')) {
+ obj['limit'] = _ApiClient["default"].convertToType(data['limit'], 'Number');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return GetStoresResponseMeta;
+}();
+/**
+ * Cursor for the next page.
+ * @member {String} next_cursor
+ */
+GetStoresResponseMeta.prototype['next_cursor'] = undefined;
+/**
+ * Entries returned.
+ * @member {Number} limit
+ */
+GetStoresResponseMeta.prototype['limit'] = undefined;
+var _default = GetStoresResponseMeta;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 39415:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Gzip model module.
* @module model/Gzip
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Gzip = /*#__PURE__*/function () {
/**
@@ -51100,19 +50766,18 @@ var Gzip = /*#__PURE__*/function () {
*/
function Gzip() {
_classCallCheck(this, Gzip);
-
Gzip.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Gzip, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Gzip
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -51120,60 +50785,51 @@ var Gzip = /*#__PURE__*/function () {
* @param {module:model/Gzip} obj Optional instance to populate.
* @return {module:model/Gzip} The populated Gzip
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Gzip();
-
if (data.hasOwnProperty('cache_condition')) {
obj['cache_condition'] = _ApiClient["default"].convertToType(data['cache_condition'], 'String');
}
-
if (data.hasOwnProperty('content_types')) {
obj['content_types'] = _ApiClient["default"].convertToType(data['content_types'], 'String');
}
-
if (data.hasOwnProperty('extensions')) {
obj['extensions'] = _ApiClient["default"].convertToType(data['extensions'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
}
-
return obj;
}
}]);
-
return Gzip;
}();
/**
* Name of the cache condition controlling when this configuration applies.
* @member {String} cache_condition
*/
-
-
Gzip.prototype['cache_condition'] = undefined;
+
/**
* Space-separated list of content types to compress. If you omit this field a default list will be used.
* @member {String} content_types
*/
-
Gzip.prototype['content_types'] = undefined;
+
/**
* Space-separated list of file extensions to compress. If you omit this field a default list will be used.
* @member {String} extensions
*/
-
Gzip.prototype['extensions'] = undefined;
+
/**
* Name of the gzip configuration.
* @member {String} name
*/
-
Gzip.prototype['name'] = undefined;
var _default = Gzip;
exports["default"] = _default;
@@ -51190,27 +50846,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Gzip = _interopRequireDefault(__nccwpck_require__(39415));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The GzipResponse model module.
* @module model/GzipResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var GzipResponse = /*#__PURE__*/function () {
/**
@@ -51222,25 +50872,21 @@ var GzipResponse = /*#__PURE__*/function () {
*/
function GzipResponse() {
_classCallCheck(this, GzipResponse);
-
_Gzip["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
GzipResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(GzipResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a GzipResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -51248,169 +50894,144 @@ var GzipResponse = /*#__PURE__*/function () {
* @param {module:model/GzipResponse} obj Optional instance to populate.
* @return {module:model/GzipResponse} The populated GzipResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new GzipResponse();
-
_Gzip["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('cache_condition')) {
obj['cache_condition'] = _ApiClient["default"].convertToType(data['cache_condition'], 'String');
}
-
if (data.hasOwnProperty('content_types')) {
obj['content_types'] = _ApiClient["default"].convertToType(data['content_types'], 'String');
}
-
if (data.hasOwnProperty('extensions')) {
obj['extensions'] = _ApiClient["default"].convertToType(data['extensions'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
}
-
return obj;
}
}]);
-
return GzipResponse;
}();
/**
* Name of the cache condition controlling when this configuration applies.
* @member {String} cache_condition
*/
-
-
GzipResponse.prototype['cache_condition'] = undefined;
+
/**
* Space-separated list of content types to compress. If you omit this field a default list will be used.
* @member {String} content_types
*/
-
GzipResponse.prototype['content_types'] = undefined;
+
/**
* Space-separated list of file extensions to compress. If you omit this field a default list will be used.
* @member {String} extensions
*/
-
GzipResponse.prototype['extensions'] = undefined;
+
/**
* Name of the gzip configuration.
* @member {String} name
*/
-
GzipResponse.prototype['name'] = undefined;
+
/**
* @member {String} service_id
*/
-
GzipResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
-
GzipResponse.prototype['version'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
GzipResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
GzipResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
+GzipResponse.prototype['updated_at'] = undefined;
-GzipResponse.prototype['updated_at'] = undefined; // Implement Gzip interface:
-
+// Implement Gzip interface:
/**
* Name of the cache condition controlling when this configuration applies.
* @member {String} cache_condition
*/
-
_Gzip["default"].prototype['cache_condition'] = undefined;
/**
* Space-separated list of content types to compress. If you omit this field a default list will be used.
* @member {String} content_types
*/
-
_Gzip["default"].prototype['content_types'] = undefined;
/**
* Space-separated list of file extensions to compress. If you omit this field a default list will be used.
* @member {String} extensions
*/
-
_Gzip["default"].prototype['extensions'] = undefined;
/**
* Name of the gzip configuration.
* @member {String} name
*/
-
-_Gzip["default"].prototype['name'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Gzip["default"].prototype['name'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
-_ServiceIdAndVersion["default"].prototype['version'] = undefined; // Implement Timestamps interface:
-
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
_Timestamps["default"].prototype['updated_at'] = undefined;
var _default = GzipResponse;
exports["default"] = _default;
@@ -51427,21 +51048,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Header model module.
* @module model/Header
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Header = /*#__PURE__*/function () {
/**
@@ -51450,19 +51068,18 @@ var Header = /*#__PURE__*/function () {
*/
function Header() {
_classCallCheck(this, Header);
-
Header.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Header, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Header
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -51470,198 +51087,175 @@ var Header = /*#__PURE__*/function () {
* @param {module:model/Header} obj Optional instance to populate.
* @return {module:model/Header} The populated Header
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Header();
-
if (data.hasOwnProperty('action')) {
obj['action'] = _ApiClient["default"].convertToType(data['action'], 'String');
}
-
if (data.hasOwnProperty('cache_condition')) {
obj['cache_condition'] = _ApiClient["default"].convertToType(data['cache_condition'], 'String');
}
-
if (data.hasOwnProperty('dst')) {
obj['dst'] = _ApiClient["default"].convertToType(data['dst'], 'String');
}
-
if (data.hasOwnProperty('ignore_if_set')) {
obj['ignore_if_set'] = _ApiClient["default"].convertToType(data['ignore_if_set'], 'Number');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('priority')) {
obj['priority'] = _ApiClient["default"].convertToType(data['priority'], 'Number');
}
-
if (data.hasOwnProperty('regex')) {
obj['regex'] = _ApiClient["default"].convertToType(data['regex'], 'String');
}
-
if (data.hasOwnProperty('request_condition')) {
obj['request_condition'] = _ApiClient["default"].convertToType(data['request_condition'], 'String');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('src')) {
obj['src'] = _ApiClient["default"].convertToType(data['src'], 'String');
}
-
if (data.hasOwnProperty('substitution')) {
obj['substitution'] = _ApiClient["default"].convertToType(data['substitution'], 'String');
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
}
}
-
return obj;
}
}]);
-
return Header;
}();
/**
* Accepts a string value.
* @member {module:model/Header.ActionEnum} action
*/
-
-
Header.prototype['action'] = undefined;
+
/**
* Name of the cache condition controlling when this configuration applies.
* @member {String} cache_condition
*/
-
Header.prototype['cache_condition'] = undefined;
+
/**
* Header to set.
* @member {String} dst
*/
-
Header.prototype['dst'] = undefined;
+
/**
* Don't add the header if it is added already. Only applies to 'set' action.
* @member {Number} ignore_if_set
*/
-
Header.prototype['ignore_if_set'] = undefined;
+
/**
* A handle to refer to this Header object.
* @member {String} name
*/
-
Header.prototype['name'] = undefined;
+
/**
* Priority determines execution order. Lower numbers execute first.
* @member {Number} priority
* @default 100
*/
-
Header.prototype['priority'] = 100;
+
/**
* Regular expression to use. Only applies to `regex` and `regex_repeat` actions.
* @member {String} regex
*/
-
Header.prototype['regex'] = undefined;
+
/**
* Condition which, if met, will select this configuration during a request. Optional.
* @member {String} request_condition
*/
-
Header.prototype['request_condition'] = undefined;
+
/**
* Optional name of a response condition to apply.
* @member {String} response_condition
*/
-
Header.prototype['response_condition'] = undefined;
+
/**
* Variable to be used as a source for the header content. Does not apply to `delete` action.
* @member {String} src
*/
-
Header.prototype['src'] = undefined;
+
/**
* Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions.
* @member {String} substitution
*/
-
Header.prototype['substitution'] = undefined;
+
/**
* Accepts a string value.
* @member {module:model/Header.TypeEnum} type
*/
-
Header.prototype['type'] = undefined;
+
/**
* Allowed values for the action
property.
* @enum {String}
* @readonly
*/
-
Header['ActionEnum'] = {
/**
* value: "set"
* @const
*/
"set": "set",
-
/**
* value: "append"
* @const
*/
"append": "append",
-
/**
* value: "delete"
* @const
*/
"delete": "delete",
-
/**
* value: "regex"
* @const
*/
"regex": "regex",
-
/**
* value: "regex_repeat"
* @const
*/
"regex_repeat": "regex_repeat"
};
+
/**
* Allowed values for the type
property.
* @enum {String}
* @readonly
*/
-
Header['TypeEnum'] = {
/**
* value: "request"
* @const
*/
"request": "request",
-
/**
* value: "cache"
* @const
*/
"cache": "cache",
-
/**
* value: "response"
* @const
@@ -51683,27 +51277,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Header = _interopRequireDefault(__nccwpck_require__(53245));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The HeaderResponse model module.
* @module model/HeaderResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var HeaderResponse = /*#__PURE__*/function () {
/**
@@ -51715,25 +51303,21 @@ var HeaderResponse = /*#__PURE__*/function () {
*/
function HeaderResponse() {
_classCallCheck(this, HeaderResponse);
-
_Header["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
HeaderResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(HeaderResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a HeaderResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -51741,356 +51325,309 @@ var HeaderResponse = /*#__PURE__*/function () {
* @param {module:model/HeaderResponse} obj Optional instance to populate.
* @return {module:model/HeaderResponse} The populated HeaderResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HeaderResponse();
-
_Header["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('action')) {
obj['action'] = _ApiClient["default"].convertToType(data['action'], 'String');
}
-
if (data.hasOwnProperty('cache_condition')) {
obj['cache_condition'] = _ApiClient["default"].convertToType(data['cache_condition'], 'String');
}
-
if (data.hasOwnProperty('dst')) {
obj['dst'] = _ApiClient["default"].convertToType(data['dst'], 'String');
}
-
if (data.hasOwnProperty('ignore_if_set')) {
obj['ignore_if_set'] = _ApiClient["default"].convertToType(data['ignore_if_set'], 'Number');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('priority')) {
obj['priority'] = _ApiClient["default"].convertToType(data['priority'], 'Number');
}
-
if (data.hasOwnProperty('regex')) {
obj['regex'] = _ApiClient["default"].convertToType(data['regex'], 'String');
}
-
if (data.hasOwnProperty('request_condition')) {
obj['request_condition'] = _ApiClient["default"].convertToType(data['request_condition'], 'String');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('src')) {
obj['src'] = _ApiClient["default"].convertToType(data['src'], 'String');
}
-
if (data.hasOwnProperty('substitution')) {
obj['substitution'] = _ApiClient["default"].convertToType(data['substitution'], 'String');
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
}
-
return obj;
}
}]);
-
return HeaderResponse;
}();
/**
* Accepts a string value.
* @member {module:model/HeaderResponse.ActionEnum} action
*/
-
-
HeaderResponse.prototype['action'] = undefined;
+
/**
* Name of the cache condition controlling when this configuration applies.
* @member {String} cache_condition
*/
-
HeaderResponse.prototype['cache_condition'] = undefined;
+
/**
* Header to set.
* @member {String} dst
*/
-
HeaderResponse.prototype['dst'] = undefined;
+
/**
* Don't add the header if it is added already. Only applies to 'set' action.
* @member {Number} ignore_if_set
*/
-
HeaderResponse.prototype['ignore_if_set'] = undefined;
+
/**
* A handle to refer to this Header object.
* @member {String} name
*/
-
HeaderResponse.prototype['name'] = undefined;
+
/**
* Priority determines execution order. Lower numbers execute first.
* @member {Number} priority
* @default 100
*/
-
HeaderResponse.prototype['priority'] = 100;
+
/**
* Regular expression to use. Only applies to `regex` and `regex_repeat` actions.
* @member {String} regex
*/
-
HeaderResponse.prototype['regex'] = undefined;
+
/**
* Condition which, if met, will select this configuration during a request. Optional.
* @member {String} request_condition
*/
-
HeaderResponse.prototype['request_condition'] = undefined;
+
/**
* Optional name of a response condition to apply.
* @member {String} response_condition
*/
-
HeaderResponse.prototype['response_condition'] = undefined;
+
/**
* Variable to be used as a source for the header content. Does not apply to `delete` action.
* @member {String} src
*/
-
HeaderResponse.prototype['src'] = undefined;
+
/**
* Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions.
* @member {String} substitution
*/
-
HeaderResponse.prototype['substitution'] = undefined;
+
/**
* Accepts a string value.
* @member {module:model/HeaderResponse.TypeEnum} type
*/
-
HeaderResponse.prototype['type'] = undefined;
+
/**
* @member {String} service_id
*/
-
HeaderResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
-
HeaderResponse.prototype['version'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
HeaderResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
HeaderResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
+HeaderResponse.prototype['updated_at'] = undefined;
-HeaderResponse.prototype['updated_at'] = undefined; // Implement Header interface:
-
+// Implement Header interface:
/**
* Accepts a string value.
* @member {module:model/Header.ActionEnum} action
*/
-
_Header["default"].prototype['action'] = undefined;
/**
* Name of the cache condition controlling when this configuration applies.
* @member {String} cache_condition
*/
-
_Header["default"].prototype['cache_condition'] = undefined;
/**
* Header to set.
* @member {String} dst
*/
-
_Header["default"].prototype['dst'] = undefined;
/**
* Don't add the header if it is added already. Only applies to 'set' action.
* @member {Number} ignore_if_set
*/
-
_Header["default"].prototype['ignore_if_set'] = undefined;
/**
* A handle to refer to this Header object.
* @member {String} name
*/
-
_Header["default"].prototype['name'] = undefined;
/**
* Priority determines execution order. Lower numbers execute first.
* @member {Number} priority
* @default 100
*/
-
_Header["default"].prototype['priority'] = 100;
/**
* Regular expression to use. Only applies to `regex` and `regex_repeat` actions.
* @member {String} regex
*/
-
_Header["default"].prototype['regex'] = undefined;
/**
* Condition which, if met, will select this configuration during a request. Optional.
* @member {String} request_condition
*/
-
_Header["default"].prototype['request_condition'] = undefined;
/**
* Optional name of a response condition to apply.
* @member {String} response_condition
*/
-
_Header["default"].prototype['response_condition'] = undefined;
/**
* Variable to be used as a source for the header content. Does not apply to `delete` action.
* @member {String} src
*/
-
_Header["default"].prototype['src'] = undefined;
/**
* Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions.
* @member {String} substitution
*/
-
_Header["default"].prototype['substitution'] = undefined;
/**
* Accepts a string value.
* @member {module:model/Header.TypeEnum} type
*/
-
-_Header["default"].prototype['type'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Header["default"].prototype['type'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
-_ServiceIdAndVersion["default"].prototype['version'] = undefined; // Implement Timestamps interface:
-
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
_Timestamps["default"].prototype['updated_at'] = undefined;
+
/**
* Allowed values for the action
property.
* @enum {String}
* @readonly
*/
-
HeaderResponse['ActionEnum'] = {
/**
* value: "set"
* @const
*/
"set": "set",
-
/**
* value: "append"
* @const
*/
"append": "append",
-
/**
* value: "delete"
* @const
*/
"delete": "delete",
-
/**
* value: "regex"
* @const
*/
"regex": "regex",
-
/**
* value: "regex_repeat"
* @const
*/
"regex_repeat": "regex_repeat"
};
+
/**
* Allowed values for the type
property.
* @enum {String}
* @readonly
*/
-
HeaderResponse['TypeEnum'] = {
/**
* value: "request"
* @const
*/
"request": "request",
-
/**
* value: "cache"
* @const
*/
"cache": "cache",
-
/**
* value: "response"
* @const
@@ -52112,21 +51649,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Healthcheck model module.
* @module model/Healthcheck
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Healthcheck = /*#__PURE__*/function () {
/**
@@ -52135,19 +51669,18 @@ var Healthcheck = /*#__PURE__*/function () {
*/
function Healthcheck() {
_classCallCheck(this, Healthcheck);
-
Healthcheck.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Healthcheck, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Healthcheck
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -52155,140 +51688,132 @@ var Healthcheck = /*#__PURE__*/function () {
* @param {module:model/Healthcheck} obj Optional instance to populate.
* @return {module:model/Healthcheck} The populated Healthcheck
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Healthcheck();
-
if (data.hasOwnProperty('check_interval')) {
obj['check_interval'] = _ApiClient["default"].convertToType(data['check_interval'], 'Number');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('expected_response')) {
obj['expected_response'] = _ApiClient["default"].convertToType(data['expected_response'], 'Number');
}
-
+ if (data.hasOwnProperty('headers')) {
+ obj['headers'] = _ApiClient["default"].convertToType(data['headers'], ['String']);
+ }
if (data.hasOwnProperty('host')) {
obj['host'] = _ApiClient["default"].convertToType(data['host'], 'String');
}
-
if (data.hasOwnProperty('http_version')) {
obj['http_version'] = _ApiClient["default"].convertToType(data['http_version'], 'String');
}
-
if (data.hasOwnProperty('initial')) {
obj['initial'] = _ApiClient["default"].convertToType(data['initial'], 'Number');
}
-
if (data.hasOwnProperty('method')) {
obj['method'] = _ApiClient["default"].convertToType(data['method'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('threshold')) {
obj['threshold'] = _ApiClient["default"].convertToType(data['threshold'], 'Number');
}
-
if (data.hasOwnProperty('timeout')) {
obj['timeout'] = _ApiClient["default"].convertToType(data['timeout'], 'Number');
}
-
if (data.hasOwnProperty('window')) {
obj['window'] = _ApiClient["default"].convertToType(data['window'], 'Number');
}
}
-
return obj;
}
}]);
-
return Healthcheck;
}();
/**
- * How often to run the healthcheck in milliseconds.
+ * How often to run the health check in milliseconds.
* @member {Number} check_interval
*/
-
-
Healthcheck.prototype['check_interval'] = undefined;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
Healthcheck.prototype['comment'] = undefined;
+
/**
* The status code expected from the host.
* @member {Number} expected_response
*/
-
Healthcheck.prototype['expected_response'] = undefined;
+
+/**
+ * Array of custom headers that will be added to the health check probes.
+ * @member {Array.HealthcheckResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -52363,297 +51878,270 @@ var HealthcheckResponse = /*#__PURE__*/function () {
* @param {module:model/HealthcheckResponse} obj Optional instance to populate.
* @return {module:model/HealthcheckResponse} The populated HealthcheckResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HealthcheckResponse();
-
_Healthcheck["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('check_interval')) {
obj['check_interval'] = _ApiClient["default"].convertToType(data['check_interval'], 'Number');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('expected_response')) {
obj['expected_response'] = _ApiClient["default"].convertToType(data['expected_response'], 'Number');
}
-
+ if (data.hasOwnProperty('headers')) {
+ obj['headers'] = _ApiClient["default"].convertToType(data['headers'], ['String']);
+ }
if (data.hasOwnProperty('host')) {
obj['host'] = _ApiClient["default"].convertToType(data['host'], 'String');
}
-
if (data.hasOwnProperty('http_version')) {
obj['http_version'] = _ApiClient["default"].convertToType(data['http_version'], 'String');
}
-
if (data.hasOwnProperty('initial')) {
obj['initial'] = _ApiClient["default"].convertToType(data['initial'], 'Number');
}
-
if (data.hasOwnProperty('method')) {
obj['method'] = _ApiClient["default"].convertToType(data['method'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('threshold')) {
obj['threshold'] = _ApiClient["default"].convertToType(data['threshold'], 'Number');
}
-
if (data.hasOwnProperty('timeout')) {
obj['timeout'] = _ApiClient["default"].convertToType(data['timeout'], 'Number');
}
-
if (data.hasOwnProperty('window')) {
obj['window'] = _ApiClient["default"].convertToType(data['window'], 'Number');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
}
-
return obj;
}
}]);
-
return HealthcheckResponse;
}();
/**
- * How often to run the healthcheck in milliseconds.
+ * How often to run the health check in milliseconds.
* @member {Number} check_interval
*/
-
-
HealthcheckResponse.prototype['check_interval'] = undefined;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
HealthcheckResponse.prototype['comment'] = undefined;
+
/**
* The status code expected from the host.
* @member {Number} expected_response
*/
-
HealthcheckResponse.prototype['expected_response'] = undefined;
+
+/**
+ * Array of custom headers that will be added to the health check probes.
+ * @member {Array.Historical
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -52715,49 +52198,41 @@ var Historical = /*#__PURE__*/function () {
* @param {module:model/Historical} obj Optional instance to populate.
* @return {module:model/Historical} The populated Historical
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Historical();
-
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _HistoricalMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('msg')) {
obj['msg'] = _ApiClient["default"].convertToType(data['msg'], 'String');
}
}
-
return obj;
}
}]);
-
return Historical;
}();
/**
* Whether or not we were able to successfully execute the query.
* @member {String} status
*/
-
-
Historical.prototype['status'] = undefined;
+
/**
* @member {module:model/HistoricalMeta} meta
*/
-
Historical.prototype['meta'] = undefined;
+
/**
* If the query was not successful, this will provide a string that explains why.
* @member {String} msg
*/
-
Historical.prototype['msg'] = undefined;
var _default = Historical;
exports["default"] = _default;
@@ -52774,29 +52249,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Historical = _interopRequireDefault(__nccwpck_require__(54226));
-
var _HistoricalAggregateResponseAllOf = _interopRequireDefault(__nccwpck_require__(88843));
-
var _HistoricalMeta = _interopRequireDefault(__nccwpck_require__(62407));
-
var _Results = _interopRequireDefault(__nccwpck_require__(37457));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The HistoricalAggregateResponse model module.
* @module model/HistoricalAggregateResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var HistoricalAggregateResponse = /*#__PURE__*/function () {
/**
@@ -52807,23 +52275,20 @@ var HistoricalAggregateResponse = /*#__PURE__*/function () {
*/
function HistoricalAggregateResponse() {
_classCallCheck(this, HistoricalAggregateResponse);
-
_Historical["default"].initialize(this);
-
_HistoricalAggregateResponseAllOf["default"].initialize(this);
-
HistoricalAggregateResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(HistoricalAggregateResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a HistoricalAggregateResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -52831,86 +52296,72 @@ var HistoricalAggregateResponse = /*#__PURE__*/function () {
* @param {module:model/HistoricalAggregateResponse} obj Optional instance to populate.
* @return {module:model/HistoricalAggregateResponse} The populated HistoricalAggregateResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalAggregateResponse();
-
_Historical["default"].constructFromObject(data, obj);
-
_HistoricalAggregateResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _HistoricalMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('msg')) {
obj['msg'] = _ApiClient["default"].convertToType(data['msg'], 'String');
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_Results["default"]]);
}
}
-
return obj;
}
}]);
-
return HistoricalAggregateResponse;
}();
/**
* Whether or not we were able to successfully execute the query.
* @member {String} status
*/
-
-
HistoricalAggregateResponse.prototype['status'] = undefined;
+
/**
* @member {module:model/HistoricalMeta} meta
*/
-
HistoricalAggregateResponse.prototype['meta'] = undefined;
+
/**
* If the query was not successful, this will provide a string that explains why.
* @member {String} msg
*/
-
HistoricalAggregateResponse.prototype['msg'] = undefined;
+
/**
* @member {Array.HistoricalAggregateResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -52972,29 +52418,23 @@ var HistoricalAggregateResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/HistoricalAggregateResponseAllOf} obj Optional instance to populate.
* @return {module:model/HistoricalAggregateResponseAllOf} The populated HistoricalAggregateResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalAggregateResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_Results["default"]]);
}
}
-
return obj;
}
}]);
-
return HistoricalAggregateResponseAllOf;
}();
/**
* @member {Array.HistoricalFieldAggregateResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -53066,88 +52497,74 @@ var HistoricalFieldAggregateResponse = /*#__PURE__*/function () {
* @param {module:model/HistoricalFieldAggregateResponse} obj Optional instance to populate.
* @return {module:model/HistoricalFieldAggregateResponse} The populated HistoricalFieldAggregateResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalFieldAggregateResponse();
-
_Historical["default"].constructFromObject(data, obj);
-
_HistoricalFieldAggregateResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _HistoricalMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('msg')) {
obj['msg'] = _ApiClient["default"].convertToType(data['msg'], 'String');
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [{
'String': 'String'
}]);
}
}
-
return obj;
}
}]);
-
return HistoricalFieldAggregateResponse;
}();
/**
* Whether or not we were able to successfully execute the query.
* @member {String} status
*/
-
-
HistoricalFieldAggregateResponse.prototype['status'] = undefined;
+
/**
* @member {module:model/HistoricalMeta} meta
*/
-
HistoricalFieldAggregateResponse.prototype['meta'] = undefined;
+
/**
* If the query was not successful, this will provide a string that explains why.
* @member {String} msg
*/
-
HistoricalFieldAggregateResponse.prototype['msg'] = undefined;
+
/**
* @member {Array.HistoricalFieldAggregateResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -53207,31 +52620,25 @@ var HistoricalFieldAggregateResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/HistoricalFieldAggregateResponseAllOf} obj Optional instance to populate.
* @return {module:model/HistoricalFieldAggregateResponseAllOf} The populated HistoricalFieldAggregateResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalFieldAggregateResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [{
'String': 'String'
}]);
}
}
-
return obj;
}
}]);
-
return HistoricalFieldAggregateResponseAllOf;
}();
/**
* @member {Array.HistoricalFieldResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -53303,88 +52701,74 @@ var HistoricalFieldResponse = /*#__PURE__*/function () {
* @param {module:model/HistoricalFieldResponse} obj Optional instance to populate.
* @return {module:model/HistoricalFieldResponse} The populated HistoricalFieldResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalFieldResponse();
-
_Historical["default"].constructFromObject(data, obj);
-
_HistoricalFieldResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _HistoricalMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('msg')) {
obj['msg'] = _ApiClient["default"].convertToType(data['msg'], 'String');
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], {
'String': Array
});
}
}
-
return obj;
}
}]);
-
return HistoricalFieldResponse;
}();
/**
* Whether or not we were able to successfully execute the query.
* @member {String} status
*/
-
-
HistoricalFieldResponse.prototype['status'] = undefined;
+
/**
* @member {module:model/HistoricalMeta} meta
*/
-
HistoricalFieldResponse.prototype['meta'] = undefined;
+
/**
* If the query was not successful, this will provide a string that explains why.
* @member {String} msg
*/
-
HistoricalFieldResponse.prototype['msg'] = undefined;
+
/**
* @member {Object.HistoricalFieldResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -53444,31 +52824,25 @@ var HistoricalFieldResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/HistoricalFieldResponseAllOf} obj Optional instance to populate.
* @return {module:model/HistoricalFieldResponseAllOf} The populated HistoricalFieldResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalFieldResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], {
'String': Array
});
}
}
-
return obj;
}
}]);
-
return HistoricalFieldResponseAllOf;
}();
/**
* @member {Object.HistoricalMeta
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -53529,56 +52899,47 @@ var HistoricalMeta = /*#__PURE__*/function () {
* @param {module:model/HistoricalMeta} obj Optional instance to populate.
* @return {module:model/HistoricalMeta} The populated HistoricalMeta
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalMeta();
-
if (data.hasOwnProperty('to')) {
obj['to'] = _ApiClient["default"].convertToType(data['to'], 'String');
}
-
if (data.hasOwnProperty('from')) {
obj['from'] = _ApiClient["default"].convertToType(data['from'], 'String');
}
-
if (data.hasOwnProperty('by')) {
obj['by'] = _ApiClient["default"].convertToType(data['by'], 'String');
}
-
if (data.hasOwnProperty('region')) {
obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
}
}
-
return obj;
}
}]);
-
return HistoricalMeta;
}();
/**
* @member {String} to
*/
-
-
HistoricalMeta.prototype['to'] = undefined;
+
/**
* @member {String} from
*/
-
HistoricalMeta.prototype['from'] = undefined;
+
/**
* @member {String} by
*/
-
HistoricalMeta.prototype['by'] = undefined;
+
/**
* @member {String} region
*/
-
HistoricalMeta.prototype['region'] = undefined;
var _default = HistoricalMeta;
exports["default"] = _default;
@@ -53595,27 +52956,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Historical = _interopRequireDefault(__nccwpck_require__(54226));
-
var _HistoricalMeta = _interopRequireDefault(__nccwpck_require__(62407));
-
var _HistoricalRegionsResponseAllOf = _interopRequireDefault(__nccwpck_require__(15315));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The HistoricalRegionsResponse model module.
* @module model/HistoricalRegionsResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var HistoricalRegionsResponse = /*#__PURE__*/function () {
/**
@@ -53626,23 +52981,20 @@ var HistoricalRegionsResponse = /*#__PURE__*/function () {
*/
function HistoricalRegionsResponse() {
_classCallCheck(this, HistoricalRegionsResponse);
-
_Historical["default"].initialize(this);
-
_HistoricalRegionsResponseAllOf["default"].initialize(this);
-
HistoricalRegionsResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(HistoricalRegionsResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a HistoricalRegionsResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -53650,86 +53002,72 @@ var HistoricalRegionsResponse = /*#__PURE__*/function () {
* @param {module:model/HistoricalRegionsResponse} obj Optional instance to populate.
* @return {module:model/HistoricalRegionsResponse} The populated HistoricalRegionsResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalRegionsResponse();
-
_Historical["default"].constructFromObject(data, obj);
-
_HistoricalRegionsResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _HistoricalMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('msg')) {
obj['msg'] = _ApiClient["default"].convertToType(data['msg'], 'String');
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], ['String']);
}
}
-
return obj;
}
}]);
-
return HistoricalRegionsResponse;
}();
/**
* Whether or not we were able to successfully execute the query.
* @member {String} status
*/
-
-
HistoricalRegionsResponse.prototype['status'] = undefined;
+
/**
* @member {module:model/HistoricalMeta} meta
*/
-
HistoricalRegionsResponse.prototype['meta'] = undefined;
+
/**
* If the query was not successful, this will provide a string that explains why.
* @member {String} msg
*/
-
HistoricalRegionsResponse.prototype['msg'] = undefined;
+
/**
* @member {Array.HistoricalRegionsResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -53789,29 +53123,23 @@ var HistoricalRegionsResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/HistoricalRegionsResponseAllOf} obj Optional instance to populate.
* @return {module:model/HistoricalRegionsResponseAllOf} The populated HistoricalRegionsResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalRegionsResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], ['String']);
}
}
-
return obj;
}
}]);
-
return HistoricalRegionsResponseAllOf;
}();
/**
* @member {Array.HistoricalResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -53885,88 +53203,76 @@ var HistoricalResponse = /*#__PURE__*/function () {
* @param {module:model/HistoricalResponse} obj Optional instance to populate.
* @return {module:model/HistoricalResponse} The populated HistoricalResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalResponse();
-
_Historical["default"].constructFromObject(data, obj);
-
_HistoricalResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _HistoricalMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('msg')) {
obj['msg'] = _ApiClient["default"].convertToType(data['msg'], 'String');
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], {
'String': Array
});
}
}
-
return obj;
}
}]);
-
return HistoricalResponse;
}();
/**
* Whether or not we were able to successfully execute the query.
* @member {String} status
*/
-
-
HistoricalResponse.prototype['status'] = undefined;
+
/**
* @member {module:model/HistoricalMeta} meta
*/
-
HistoricalResponse.prototype['meta'] = undefined;
+
/**
* If the query was not successful, this will provide a string that explains why.
* @member {String} msg
*/
-
HistoricalResponse.prototype['msg'] = undefined;
+
/**
+ * Contains the results of the query, organized by *service ID*, into arrays where each element describes one service over a *time span*.
* @member {Object.HistoricalResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -54028,31 +53329,26 @@ var HistoricalResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/HistoricalResponseAllOf} obj Optional instance to populate.
* @return {module:model/HistoricalResponseAllOf} The populated HistoricalResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], {
'String': Array
});
}
}
-
return obj;
}
}]);
-
return HistoricalResponseAllOf;
}();
/**
+ * Contains the results of the query, organized by *service ID*, into arrays where each element describes one service over a *time span*.
* @member {Object.HistoricalUsageAggregateResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -54126,86 +53412,72 @@ var HistoricalUsageAggregateResponse = /*#__PURE__*/function () {
* @param {module:model/HistoricalUsageAggregateResponse} obj Optional instance to populate.
* @return {module:model/HistoricalUsageAggregateResponse} The populated HistoricalUsageAggregateResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalUsageAggregateResponse();
-
_Historical["default"].constructFromObject(data, obj);
-
_HistoricalUsageServiceResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _HistoricalMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('msg')) {
obj['msg'] = _ApiClient["default"].convertToType(data['msg'], 'String');
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _HistoricalUsageResults["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return HistoricalUsageAggregateResponse;
}();
/**
* Whether or not we were able to successfully execute the query.
* @member {String} status
*/
-
-
HistoricalUsageAggregateResponse.prototype['status'] = undefined;
+
/**
* @member {module:model/HistoricalMeta} meta
*/
-
HistoricalUsageAggregateResponse.prototype['meta'] = undefined;
+
/**
* If the query was not successful, this will provide a string that explains why.
* @member {String} msg
*/
-
HistoricalUsageAggregateResponse.prototype['msg'] = undefined;
+
/**
* @member {module:model/HistoricalUsageResults} data
*/
+HistoricalUsageAggregateResponse.prototype['data'] = undefined;
-HistoricalUsageAggregateResponse.prototype['data'] = undefined; // Implement Historical interface:
-
+// Implement Historical interface:
/**
* Whether or not we were able to successfully execute the query.
* @member {String} status
*/
-
_Historical["default"].prototype['status'] = undefined;
/**
* @member {module:model/HistoricalMeta} meta
*/
-
_Historical["default"].prototype['meta'] = undefined;
/**
* If the query was not successful, this will provide a string that explains why.
* @member {String} msg
*/
-
-_Historical["default"].prototype['msg'] = undefined; // Implement HistoricalUsageServiceResponseAllOf interface:
-
+_Historical["default"].prototype['msg'] = undefined;
+// Implement HistoricalUsageServiceResponseAllOf interface:
/**
* @member {module:model/HistoricalUsageResults} data
*/
-
_HistoricalUsageServiceResponseAllOf["default"].prototype['data'] = undefined;
var _default = HistoricalUsageAggregateResponse;
exports["default"] = _default;
@@ -54222,29 +53494,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Historical = _interopRequireDefault(__nccwpck_require__(54226));
-
var _HistoricalMeta = _interopRequireDefault(__nccwpck_require__(62407));
-
var _HistoricalUsageMonthResponseAllOf = _interopRequireDefault(__nccwpck_require__(81536));
-
var _HistoricalUsageMonthResponseAllOfData = _interopRequireDefault(__nccwpck_require__(42467));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The HistoricalUsageMonthResponse model module.
* @module model/HistoricalUsageMonthResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var HistoricalUsageMonthResponse = /*#__PURE__*/function () {
/**
@@ -54255,23 +53520,20 @@ var HistoricalUsageMonthResponse = /*#__PURE__*/function () {
*/
function HistoricalUsageMonthResponse() {
_classCallCheck(this, HistoricalUsageMonthResponse);
-
_Historical["default"].initialize(this);
-
_HistoricalUsageMonthResponseAllOf["default"].initialize(this);
-
HistoricalUsageMonthResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(HistoricalUsageMonthResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a HistoricalUsageMonthResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -54279,86 +53541,72 @@ var HistoricalUsageMonthResponse = /*#__PURE__*/function () {
* @param {module:model/HistoricalUsageMonthResponse} obj Optional instance to populate.
* @return {module:model/HistoricalUsageMonthResponse} The populated HistoricalUsageMonthResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalUsageMonthResponse();
-
_Historical["default"].constructFromObject(data, obj);
-
_HistoricalUsageMonthResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _HistoricalMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('msg')) {
obj['msg'] = _ApiClient["default"].convertToType(data['msg'], 'String');
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _HistoricalUsageMonthResponseAllOfData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return HistoricalUsageMonthResponse;
}();
/**
* Whether or not we were able to successfully execute the query.
* @member {String} status
*/
-
-
HistoricalUsageMonthResponse.prototype['status'] = undefined;
+
/**
* @member {module:model/HistoricalMeta} meta
*/
-
HistoricalUsageMonthResponse.prototype['meta'] = undefined;
+
/**
* If the query was not successful, this will provide a string that explains why.
* @member {String} msg
*/
-
HistoricalUsageMonthResponse.prototype['msg'] = undefined;
+
/**
* @member {module:model/HistoricalUsageMonthResponseAllOfData} data
*/
+HistoricalUsageMonthResponse.prototype['data'] = undefined;
-HistoricalUsageMonthResponse.prototype['data'] = undefined; // Implement Historical interface:
-
+// Implement Historical interface:
/**
* Whether or not we were able to successfully execute the query.
* @member {String} status
*/
-
_Historical["default"].prototype['status'] = undefined;
/**
* @member {module:model/HistoricalMeta} meta
*/
-
_Historical["default"].prototype['meta'] = undefined;
/**
* If the query was not successful, this will provide a string that explains why.
* @member {String} msg
*/
-
-_Historical["default"].prototype['msg'] = undefined; // Implement HistoricalUsageMonthResponseAllOf interface:
-
+_Historical["default"].prototype['msg'] = undefined;
+// Implement HistoricalUsageMonthResponseAllOf interface:
/**
* @member {module:model/HistoricalUsageMonthResponseAllOfData} data
*/
-
_HistoricalUsageMonthResponseAllOf["default"].prototype['data'] = undefined;
var _default = HistoricalUsageMonthResponse;
exports["default"] = _default;
@@ -54375,23 +53623,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _HistoricalUsageMonthResponseAllOfData = _interopRequireDefault(__nccwpck_require__(42467));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The HistoricalUsageMonthResponseAllOf model module.
* @module model/HistoricalUsageMonthResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var HistoricalUsageMonthResponseAllOf = /*#__PURE__*/function () {
/**
@@ -54400,19 +53644,18 @@ var HistoricalUsageMonthResponseAllOf = /*#__PURE__*/function () {
*/
function HistoricalUsageMonthResponseAllOf() {
_classCallCheck(this, HistoricalUsageMonthResponseAllOf);
-
HistoricalUsageMonthResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(HistoricalUsageMonthResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a HistoricalUsageMonthResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -54420,29 +53663,23 @@ var HistoricalUsageMonthResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/HistoricalUsageMonthResponseAllOf} obj Optional instance to populate.
* @return {module:model/HistoricalUsageMonthResponseAllOf} The populated HistoricalUsageMonthResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalUsageMonthResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _HistoricalUsageMonthResponseAllOfData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return HistoricalUsageMonthResponseAllOf;
}();
/**
* @member {module:model/HistoricalUsageMonthResponseAllOfData} data
*/
-
-
HistoricalUsageMonthResponseAllOf.prototype['data'] = undefined;
var _default = HistoricalUsageMonthResponseAllOf;
exports["default"] = _default;
@@ -54459,23 +53696,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _HistoricalUsageResults = _interopRequireDefault(__nccwpck_require__(16797));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The HistoricalUsageMonthResponseAllOfData model module.
* @module model/HistoricalUsageMonthResponseAllOfData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var HistoricalUsageMonthResponseAllOfData = /*#__PURE__*/function () {
/**
@@ -54484,19 +53717,18 @@ var HistoricalUsageMonthResponseAllOfData = /*#__PURE__*/function () {
*/
function HistoricalUsageMonthResponseAllOfData() {
_classCallCheck(this, HistoricalUsageMonthResponseAllOfData);
-
HistoricalUsageMonthResponseAllOfData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(HistoricalUsageMonthResponseAllOfData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a HistoricalUsageMonthResponseAllOfData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -54504,17 +53736,14 @@ var HistoricalUsageMonthResponseAllOfData = /*#__PURE__*/function () {
* @param {module:model/HistoricalUsageMonthResponseAllOfData} obj Optional instance to populate.
* @return {module:model/HistoricalUsageMonthResponseAllOfData} The populated HistoricalUsageMonthResponseAllOfData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalUsageMonthResponseAllOfData();
-
if (data.hasOwnProperty('customer_id')) {
obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
-
if (data.hasOwnProperty('services')) {
obj['services'] = _ApiClient["default"].convertToType(data['services'], {
'String': {
@@ -54522,33 +53751,28 @@ var HistoricalUsageMonthResponseAllOfData = /*#__PURE__*/function () {
}
});
}
-
if (data.hasOwnProperty('total')) {
obj['total'] = _HistoricalUsageResults["default"].constructFromObject(data['total']);
}
}
-
return obj;
}
}]);
-
return HistoricalUsageMonthResponseAllOfData;
}();
/**
* @member {String} customer_id
*/
-
-
HistoricalUsageMonthResponseAllOfData.prototype['customer_id'] = undefined;
+
/**
* @member {Object.HistoricalUsageResults
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -54608,47 +53828,39 @@ var HistoricalUsageResults = /*#__PURE__*/function () {
* @param {module:model/HistoricalUsageResults} obj Optional instance to populate.
* @return {module:model/HistoricalUsageResults} The populated HistoricalUsageResults
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalUsageResults();
-
if (data.hasOwnProperty('bandwidth')) {
obj['bandwidth'] = _ApiClient["default"].convertToType(data['bandwidth'], 'Number');
}
-
if (data.hasOwnProperty('requests')) {
obj['requests'] = _ApiClient["default"].convertToType(data['requests'], 'Number');
}
-
if (data.hasOwnProperty('compute_requests')) {
obj['compute_requests'] = _ApiClient["default"].convertToType(data['compute_requests'], 'Number');
}
}
-
return obj;
}
}]);
-
return HistoricalUsageResults;
}();
/**
* @member {Number} bandwidth
*/
-
-
HistoricalUsageResults.prototype['bandwidth'] = undefined;
+
/**
* @member {Number} requests
*/
-
HistoricalUsageResults.prototype['requests'] = undefined;
+
/**
* @member {Number} compute_requests
*/
-
HistoricalUsageResults.prototype['compute_requests'] = undefined;
var _default = HistoricalUsageResults;
exports["default"] = _default;
@@ -54665,29 +53877,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Historical = _interopRequireDefault(__nccwpck_require__(54226));
-
var _HistoricalMeta = _interopRequireDefault(__nccwpck_require__(62407));
-
var _HistoricalUsageResults = _interopRequireDefault(__nccwpck_require__(16797));
-
var _HistoricalUsageServiceResponseAllOf = _interopRequireDefault(__nccwpck_require__(90054));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The HistoricalUsageServiceResponse model module.
* @module model/HistoricalUsageServiceResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var HistoricalUsageServiceResponse = /*#__PURE__*/function () {
/**
@@ -54698,23 +53903,20 @@ var HistoricalUsageServiceResponse = /*#__PURE__*/function () {
*/
function HistoricalUsageServiceResponse() {
_classCallCheck(this, HistoricalUsageServiceResponse);
-
_Historical["default"].initialize(this);
-
_HistoricalUsageServiceResponseAllOf["default"].initialize(this);
-
HistoricalUsageServiceResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(HistoricalUsageServiceResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a HistoricalUsageServiceResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -54722,86 +53924,72 @@ var HistoricalUsageServiceResponse = /*#__PURE__*/function () {
* @param {module:model/HistoricalUsageServiceResponse} obj Optional instance to populate.
* @return {module:model/HistoricalUsageServiceResponse} The populated HistoricalUsageServiceResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalUsageServiceResponse();
-
_Historical["default"].constructFromObject(data, obj);
-
_HistoricalUsageServiceResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _HistoricalMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('msg')) {
obj['msg'] = _ApiClient["default"].convertToType(data['msg'], 'String');
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _HistoricalUsageResults["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return HistoricalUsageServiceResponse;
}();
/**
* Whether or not we were able to successfully execute the query.
* @member {String} status
*/
-
-
HistoricalUsageServiceResponse.prototype['status'] = undefined;
+
/**
* @member {module:model/HistoricalMeta} meta
*/
-
HistoricalUsageServiceResponse.prototype['meta'] = undefined;
+
/**
* If the query was not successful, this will provide a string that explains why.
* @member {String} msg
*/
-
HistoricalUsageServiceResponse.prototype['msg'] = undefined;
+
/**
* @member {module:model/HistoricalUsageResults} data
*/
+HistoricalUsageServiceResponse.prototype['data'] = undefined;
-HistoricalUsageServiceResponse.prototype['data'] = undefined; // Implement Historical interface:
-
+// Implement Historical interface:
/**
* Whether or not we were able to successfully execute the query.
* @member {String} status
*/
-
_Historical["default"].prototype['status'] = undefined;
/**
* @member {module:model/HistoricalMeta} meta
*/
-
_Historical["default"].prototype['meta'] = undefined;
/**
* If the query was not successful, this will provide a string that explains why.
* @member {String} msg
*/
-
-_Historical["default"].prototype['msg'] = undefined; // Implement HistoricalUsageServiceResponseAllOf interface:
-
+_Historical["default"].prototype['msg'] = undefined;
+// Implement HistoricalUsageServiceResponseAllOf interface:
/**
* @member {module:model/HistoricalUsageResults} data
*/
-
_HistoricalUsageServiceResponseAllOf["default"].prototype['data'] = undefined;
var _default = HistoricalUsageServiceResponse;
exports["default"] = _default;
@@ -54818,23 +54006,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _HistoricalUsageResults = _interopRequireDefault(__nccwpck_require__(16797));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The HistoricalUsageServiceResponseAllOf model module.
* @module model/HistoricalUsageServiceResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var HistoricalUsageServiceResponseAllOf = /*#__PURE__*/function () {
/**
@@ -54843,19 +54027,18 @@ var HistoricalUsageServiceResponseAllOf = /*#__PURE__*/function () {
*/
function HistoricalUsageServiceResponseAllOf() {
_classCallCheck(this, HistoricalUsageServiceResponseAllOf);
-
HistoricalUsageServiceResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(HistoricalUsageServiceResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a HistoricalUsageServiceResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -54863,29 +54046,23 @@ var HistoricalUsageServiceResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/HistoricalUsageServiceResponseAllOf} obj Optional instance to populate.
* @return {module:model/HistoricalUsageServiceResponseAllOf} The populated HistoricalUsageServiceResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new HistoricalUsageServiceResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _HistoricalUsageResults["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return HistoricalUsageServiceResponseAllOf;
}();
/**
* @member {module:model/HistoricalUsageResults} data
*/
-
-
HistoricalUsageServiceResponseAllOf.prototype['data'] = undefined;
var _default = HistoricalUsageServiceResponseAllOf;
exports["default"] = _default;
@@ -54902,27 +54079,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Http3AllOf = _interopRequireDefault(__nccwpck_require__(31374));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Http3 model module.
* @module model/Http3
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Http3 = /*#__PURE__*/function () {
/**
@@ -54934,25 +54105,21 @@ var Http3 = /*#__PURE__*/function () {
*/
function Http3() {
_classCallCheck(this, Http3);
-
_ServiceIdAndVersion["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_Http3AllOf["default"].initialize(this);
-
Http3.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Http3, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Http3
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -54960,121 +54127,102 @@ var Http3 = /*#__PURE__*/function () {
* @param {module:model/Http3} obj Optional instance to populate.
* @return {module:model/Http3} The populated Http3
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Http3();
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_Http3AllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('feature_revision')) {
obj['feature_revision'] = _ApiClient["default"].convertToType(data['feature_revision'], 'Number');
}
}
-
return obj;
}
}]);
-
return Http3;
}();
/**
* @member {String} service_id
*/
-
-
Http3.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
-
Http3.prototype['version'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
Http3.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
Http3.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
Http3.prototype['updated_at'] = undefined;
+
/**
* Revision number of the HTTP/3 feature implementation. Defaults to the most recent revision.
* @member {Number} feature_revision
*/
+Http3.prototype['feature_revision'] = undefined;
-Http3.prototype['feature_revision'] = undefined; // Implement ServiceIdAndVersion interface:
-
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
-_ServiceIdAndVersion["default"].prototype['version'] = undefined; // Implement Timestamps interface:
-
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement Http3AllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement Http3AllOf interface:
/**
* Revision number of the HTTP/3 feature implementation. Defaults to the most recent revision.
* @member {Number} feature_revision
*/
-
_Http3AllOf["default"].prototype['feature_revision'] = undefined;
var _default = Http3;
exports["default"] = _default;
@@ -55091,21 +54239,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Http3AllOf model module.
* @module model/Http3AllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Http3AllOf = /*#__PURE__*/function () {
/**
@@ -55114,19 +54259,18 @@ var Http3AllOf = /*#__PURE__*/function () {
*/
function Http3AllOf() {
_classCallCheck(this, Http3AllOf);
-
Http3AllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Http3AllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Http3AllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -55134,37 +54278,31 @@ var Http3AllOf = /*#__PURE__*/function () {
* @param {module:model/Http3AllOf} obj Optional instance to populate.
* @return {module:model/Http3AllOf} The populated Http3AllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Http3AllOf();
-
if (data.hasOwnProperty('feature_revision')) {
obj['feature_revision'] = _ApiClient["default"].convertToType(data['feature_revision'], 'Number');
}
}
-
return obj;
}
}]);
-
return Http3AllOf;
}();
/**
* Revision number of the HTTP/3 feature implementation. Defaults to the most recent revision.
* @member {Number} feature_revision
*/
-
-
Http3AllOf.prototype['feature_revision'] = undefined;
var _default = Http3AllOf;
exports["default"] = _default;
/***/ }),
-/***/ 61239:
+/***/ 82571:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -55174,21 +54312,214 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The HttpResponseFormat model module.
+ * @module model/HttpResponseFormat
+ * @version v3.1.0
+ */
+var HttpResponseFormat = /*#__PURE__*/function () {
+ /**
+ * Constructs a new HttpResponseFormat
.
+ * Payload format for delivering to subscribers of whole HTTP responses (`response` hold mode). One of `body` or `body-bin` must be specified.
+ * @alias module:model/HttpResponseFormat
+ */
+ function HttpResponseFormat() {
+ _classCallCheck(this, HttpResponseFormat);
+ HttpResponseFormat.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(HttpResponseFormat, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a HttpResponseFormat
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/HttpResponseFormat} obj Optional instance to populate.
+ * @return {module:model/HttpResponseFormat} The populated HttpResponseFormat
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new HttpResponseFormat();
+ if (data.hasOwnProperty('code')) {
+ obj['code'] = _ApiClient["default"].convertToType(data['code'], 'Number');
+ }
+ if (data.hasOwnProperty('reason')) {
+ obj['reason'] = _ApiClient["default"].convertToType(data['reason'], 'String');
+ }
+ if (data.hasOwnProperty('headers')) {
+ obj['headers'] = _ApiClient["default"].convertToType(data['headers'], {
+ 'String': 'String'
+ });
+ }
+ if (data.hasOwnProperty('body')) {
+ obj['body'] = _ApiClient["default"].convertToType(data['body'], 'String');
+ }
+ if (data.hasOwnProperty('body-bin')) {
+ obj['body-bin'] = _ApiClient["default"].convertToType(data['body-bin'], 'String');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return HttpResponseFormat;
+}();
+/**
+ * The HTTP status code.
+ * @member {Number} code
+ * @default 200
+ */
+HttpResponseFormat.prototype['code'] = 200;
+
+/**
+ * The HTTP status string. Defaults to a string appropriate for `code`.
+ * @member {String} reason
+ */
+HttpResponseFormat.prototype['reason'] = undefined;
+/**
+ * A map of arbitrary HTTP response headers to include in the response.
+ * @member {Object.HttpStreamFormat
.
+ * Payload format for delivering to subscribers of HTTP streaming response bodies (`stream` hold mode). One of `content` or `content-bin` must be specified.
+ * @alias module:model/HttpStreamFormat
+ */
+ function HttpStreamFormat() {
+ _classCallCheck(this, HttpStreamFormat);
+ HttpStreamFormat.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(HttpStreamFormat, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a HttpStreamFormat
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/HttpStreamFormat} obj Optional instance to populate.
+ * @return {module:model/HttpStreamFormat} The populated HttpStreamFormat
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new HttpStreamFormat();
+ if (data.hasOwnProperty('content')) {
+ obj['content'] = _ApiClient["default"].convertToType(data['content'], 'String');
+ }
+ if (data.hasOwnProperty('content-bin')) {
+ obj['content-bin'] = _ApiClient["default"].convertToType(data['content-bin'], 'String');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return HttpStreamFormat;
+}();
+/**
+ * A fragment of body data as a string.
+ * @member {String} content
+ */
+HttpStreamFormat.prototype['content'] = undefined;
+
+/**
+ * A fragment of body data as a base64-encoded binary blob.
+ * @member {String} content-bin
+ */
+HttpStreamFormat.prototype['content-bin'] = undefined;
+var _default = HttpStreamFormat;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 61239:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+"use strict";
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The IamPermission model module.
* @module model/IamPermission
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var IamPermission = /*#__PURE__*/function () {
/**
@@ -55197,19 +54528,18 @@ var IamPermission = /*#__PURE__*/function () {
*/
function IamPermission() {
_classCallCheck(this, IamPermission);
-
IamPermission.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(IamPermission, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a IamPermission
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -55217,90 +54547,78 @@ var IamPermission = /*#__PURE__*/function () {
* @param {module:model/IamPermission} obj Optional instance to populate.
* @return {module:model/IamPermission} The populated IamPermission
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new IamPermission();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('object')) {
obj['object'] = _ApiClient["default"].convertToType(data['object'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('description')) {
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
}
-
if (data.hasOwnProperty('resource_name')) {
obj['resource_name'] = _ApiClient["default"].convertToType(data['resource_name'], 'String');
}
-
if (data.hasOwnProperty('resource_description')) {
obj['resource_description'] = _ApiClient["default"].convertToType(data['resource_description'], 'String');
}
-
if (data.hasOwnProperty('scope')) {
obj['scope'] = _ApiClient["default"].convertToType(data['scope'], 'String');
}
}
-
return obj;
}
}]);
-
return IamPermission;
}();
/**
* Alphanumeric string identifying the permission.
* @member {String} id
*/
-
-
IamPermission.prototype['id'] = undefined;
+
/**
* The type of the object.
* @member {String} object
*/
-
IamPermission.prototype['object'] = undefined;
+
/**
* Name of the permission.
* @member {String} name
*/
-
IamPermission.prototype['name'] = undefined;
+
/**
* The description of the permission.
* @member {String} description
*/
-
IamPermission.prototype['description'] = undefined;
+
/**
* The name of the resource the operation will be performed on.
* @member {String} resource_name
*/
-
IamPermission.prototype['resource_name'] = undefined;
+
/**
* The description of the resource.
* @member {String} resource_description
*/
-
IamPermission.prototype['resource_description'] = undefined;
+
/**
* Permissions are either \"service\" level or \"account\" level.
* @member {String} scope
*/
-
IamPermission.prototype['scope'] = undefined;
var _default = IamPermission;
exports["default"] = _default;
@@ -55317,25 +54635,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _IamRoleAllOf = _interopRequireDefault(__nccwpck_require__(40529));
-
var _TimestampsNoDelete = _interopRequireDefault(__nccwpck_require__(72431));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The IamRole model module.
* @module model/IamRole
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var IamRole = /*#__PURE__*/function () {
/**
@@ -55346,23 +54659,20 @@ var IamRole = /*#__PURE__*/function () {
*/
function IamRole() {
_classCallCheck(this, IamRole);
-
_TimestampsNoDelete["default"].initialize(this);
-
_IamRoleAllOf["default"].initialize(this);
-
IamRole.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(IamRole, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a IamRole
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -55370,154 +54680,132 @@ var IamRole = /*#__PURE__*/function () {
* @param {module:model/IamRole} obj Optional instance to populate.
* @return {module:model/IamRole} The populated IamRole
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new IamRole();
-
_TimestampsNoDelete["default"].constructFromObject(data, obj);
-
_IamRoleAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('object')) {
obj['object'] = _ApiClient["default"].convertToType(data['object'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('description')) {
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
}
-
if (data.hasOwnProperty('custom')) {
obj['custom'] = _ApiClient["default"].convertToType(data['custom'], 'Boolean');
}
-
if (data.hasOwnProperty('permissions_count')) {
obj['permissions_count'] = _ApiClient["default"].convertToType(data['permissions_count'], 'Number');
}
}
-
return obj;
}
}]);
-
return IamRole;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
IamRole.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
IamRole.prototype['updated_at'] = undefined;
+
/**
* Alphanumeric string identifying the role.
* @member {String} id
*/
-
IamRole.prototype['id'] = undefined;
+
/**
* The type of the object.
* @member {String} object
*/
-
IamRole.prototype['object'] = undefined;
+
/**
* Name of the role.
* @member {String} name
*/
-
IamRole.prototype['name'] = undefined;
+
/**
* Description of the role.
* @member {String} description
*/
-
IamRole.prototype['description'] = undefined;
+
/**
* This attribute is set to `true` if the role is managed by the customer. It is set to `false` if the role was created by Fastly.
* @member {Boolean} custom
*/
-
IamRole.prototype['custom'] = undefined;
+
/**
* Number of permissions assigned to the role.
* @member {Number} permissions_count
*/
+IamRole.prototype['permissions_count'] = undefined;
-IamRole.prototype['permissions_count'] = undefined; // Implement TimestampsNoDelete interface:
-
+// Implement TimestampsNoDelete interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_TimestampsNoDelete["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_TimestampsNoDelete["default"].prototype['updated_at'] = undefined; // Implement IamRoleAllOf interface:
-
+_TimestampsNoDelete["default"].prototype['updated_at'] = undefined;
+// Implement IamRoleAllOf interface:
/**
* Alphanumeric string identifying the role.
* @member {String} id
*/
-
_IamRoleAllOf["default"].prototype['id'] = undefined;
/**
* The type of the object.
* @member {String} object
*/
-
_IamRoleAllOf["default"].prototype['object'] = undefined;
/**
* Name of the role.
* @member {String} name
*/
-
_IamRoleAllOf["default"].prototype['name'] = undefined;
/**
* Description of the role.
* @member {String} description
*/
-
_IamRoleAllOf["default"].prototype['description'] = undefined;
/**
* This attribute is set to `true` if the role is managed by the customer. It is set to `false` if the role was created by Fastly.
* @member {Boolean} custom
*/
-
_IamRoleAllOf["default"].prototype['custom'] = undefined;
/**
* Number of permissions assigned to the role.
* @member {Number} permissions_count
*/
-
_IamRoleAllOf["default"].prototype['permissions_count'] = undefined;
var _default = IamRole;
exports["default"] = _default;
@@ -55534,21 +54822,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The IamRoleAllOf model module.
* @module model/IamRoleAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var IamRoleAllOf = /*#__PURE__*/function () {
/**
@@ -55557,19 +54842,18 @@ var IamRoleAllOf = /*#__PURE__*/function () {
*/
function IamRoleAllOf() {
_classCallCheck(this, IamRoleAllOf);
-
IamRoleAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(IamRoleAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a IamRoleAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -55577,80 +54861,69 @@ var IamRoleAllOf = /*#__PURE__*/function () {
* @param {module:model/IamRoleAllOf} obj Optional instance to populate.
* @return {module:model/IamRoleAllOf} The populated IamRoleAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new IamRoleAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('object')) {
obj['object'] = _ApiClient["default"].convertToType(data['object'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('description')) {
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
}
-
if (data.hasOwnProperty('custom')) {
obj['custom'] = _ApiClient["default"].convertToType(data['custom'], 'Boolean');
}
-
if (data.hasOwnProperty('permissions_count')) {
obj['permissions_count'] = _ApiClient["default"].convertToType(data['permissions_count'], 'Number');
}
}
-
return obj;
}
}]);
-
return IamRoleAllOf;
}();
/**
* Alphanumeric string identifying the role.
* @member {String} id
*/
-
-
IamRoleAllOf.prototype['id'] = undefined;
+
/**
* The type of the object.
* @member {String} object
*/
-
IamRoleAllOf.prototype['object'] = undefined;
+
/**
* Name of the role.
* @member {String} name
*/
-
IamRoleAllOf.prototype['name'] = undefined;
+
/**
* Description of the role.
* @member {String} description
*/
-
IamRoleAllOf.prototype['description'] = undefined;
+
/**
* This attribute is set to `true` if the role is managed by the customer. It is set to `false` if the role was created by Fastly.
* @member {Boolean} custom
*/
-
IamRoleAllOf.prototype['custom'] = undefined;
+
/**
* Number of permissions assigned to the role.
* @member {Number} permissions_count
*/
-
IamRoleAllOf.prototype['permissions_count'] = undefined;
var _default = IamRoleAllOf;
exports["default"] = _default;
@@ -55667,25 +54940,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _IamServiceGroupAllOf = _interopRequireDefault(__nccwpck_require__(55712));
-
var _TimestampsNoDelete = _interopRequireDefault(__nccwpck_require__(72431));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The IamServiceGroup model module.
* @module model/IamServiceGroup
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var IamServiceGroup = /*#__PURE__*/function () {
/**
@@ -55696,23 +54964,20 @@ var IamServiceGroup = /*#__PURE__*/function () {
*/
function IamServiceGroup() {
_classCallCheck(this, IamServiceGroup);
-
_TimestampsNoDelete["default"].initialize(this);
-
_IamServiceGroupAllOf["default"].initialize(this);
-
IamServiceGroup.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(IamServiceGroup, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a IamServiceGroup
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -55720,138 +54985,118 @@ var IamServiceGroup = /*#__PURE__*/function () {
* @param {module:model/IamServiceGroup} obj Optional instance to populate.
* @return {module:model/IamServiceGroup} The populated IamServiceGroup
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new IamServiceGroup();
-
_TimestampsNoDelete["default"].constructFromObject(data, obj);
-
_IamServiceGroupAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('object')) {
obj['object'] = _ApiClient["default"].convertToType(data['object'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('description')) {
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
}
-
if (data.hasOwnProperty('services_count')) {
obj['services_count'] = _ApiClient["default"].convertToType(data['services_count'], 'Number');
}
}
-
return obj;
}
}]);
-
return IamServiceGroup;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
IamServiceGroup.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
IamServiceGroup.prototype['updated_at'] = undefined;
+
/**
* Alphanumeric string identifying the service group.
* @member {String} id
*/
-
IamServiceGroup.prototype['id'] = undefined;
+
/**
* The type of the object.
* @member {String} object
*/
-
IamServiceGroup.prototype['object'] = undefined;
+
/**
* Name of the service group.
* @member {String} name
*/
-
IamServiceGroup.prototype['name'] = undefined;
+
/**
* Description of the service group.
* @member {String} description
*/
-
IamServiceGroup.prototype['description'] = undefined;
+
/**
* Number of services in the service group.
* @member {Number} services_count
*/
+IamServiceGroup.prototype['services_count'] = undefined;
-IamServiceGroup.prototype['services_count'] = undefined; // Implement TimestampsNoDelete interface:
-
+// Implement TimestampsNoDelete interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_TimestampsNoDelete["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_TimestampsNoDelete["default"].prototype['updated_at'] = undefined; // Implement IamServiceGroupAllOf interface:
-
+_TimestampsNoDelete["default"].prototype['updated_at'] = undefined;
+// Implement IamServiceGroupAllOf interface:
/**
* Alphanumeric string identifying the service group.
* @member {String} id
*/
-
_IamServiceGroupAllOf["default"].prototype['id'] = undefined;
/**
* The type of the object.
* @member {String} object
*/
-
_IamServiceGroupAllOf["default"].prototype['object'] = undefined;
/**
* Name of the service group.
* @member {String} name
*/
-
_IamServiceGroupAllOf["default"].prototype['name'] = undefined;
/**
* Description of the service group.
* @member {String} description
*/
-
_IamServiceGroupAllOf["default"].prototype['description'] = undefined;
/**
* Number of services in the service group.
* @member {Number} services_count
*/
-
_IamServiceGroupAllOf["default"].prototype['services_count'] = undefined;
var _default = IamServiceGroup;
exports["default"] = _default;
@@ -55868,21 +55113,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The IamServiceGroupAllOf model module.
* @module model/IamServiceGroupAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var IamServiceGroupAllOf = /*#__PURE__*/function () {
/**
@@ -55891,19 +55133,18 @@ var IamServiceGroupAllOf = /*#__PURE__*/function () {
*/
function IamServiceGroupAllOf() {
_classCallCheck(this, IamServiceGroupAllOf);
-
IamServiceGroupAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(IamServiceGroupAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a IamServiceGroupAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -55911,70 +55152,60 @@ var IamServiceGroupAllOf = /*#__PURE__*/function () {
* @param {module:model/IamServiceGroupAllOf} obj Optional instance to populate.
* @return {module:model/IamServiceGroupAllOf} The populated IamServiceGroupAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new IamServiceGroupAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('object')) {
obj['object'] = _ApiClient["default"].convertToType(data['object'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('description')) {
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
}
-
if (data.hasOwnProperty('services_count')) {
obj['services_count'] = _ApiClient["default"].convertToType(data['services_count'], 'Number');
}
}
-
return obj;
}
}]);
-
return IamServiceGroupAllOf;
}();
/**
* Alphanumeric string identifying the service group.
* @member {String} id
*/
-
-
IamServiceGroupAllOf.prototype['id'] = undefined;
+
/**
* The type of the object.
* @member {String} object
*/
-
IamServiceGroupAllOf.prototype['object'] = undefined;
+
/**
* Name of the service group.
* @member {String} name
*/
-
IamServiceGroupAllOf.prototype['name'] = undefined;
+
/**
* Description of the service group.
* @member {String} description
*/
-
IamServiceGroupAllOf.prototype['description'] = undefined;
+
/**
* Number of services in the service group.
* @member {Number} services_count
*/
-
IamServiceGroupAllOf.prototype['services_count'] = undefined;
var _default = IamServiceGroupAllOf;
exports["default"] = _default;
@@ -55991,25 +55222,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _IamUserGroupAllOf = _interopRequireDefault(__nccwpck_require__(55754));
-
var _TimestampsNoDelete = _interopRequireDefault(__nccwpck_require__(72431));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The IamUserGroup model module.
* @module model/IamUserGroup
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var IamUserGroup = /*#__PURE__*/function () {
/**
@@ -56020,23 +55246,20 @@ var IamUserGroup = /*#__PURE__*/function () {
*/
function IamUserGroup() {
_classCallCheck(this, IamUserGroup);
-
_TimestampsNoDelete["default"].initialize(this);
-
_IamUserGroupAllOf["default"].initialize(this);
-
IamUserGroup.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(IamUserGroup, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a IamUserGroup
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -56044,154 +55267,132 @@ var IamUserGroup = /*#__PURE__*/function () {
* @param {module:model/IamUserGroup} obj Optional instance to populate.
* @return {module:model/IamUserGroup} The populated IamUserGroup
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new IamUserGroup();
-
_TimestampsNoDelete["default"].constructFromObject(data, obj);
-
_IamUserGroupAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('description')) {
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
}
-
if (data.hasOwnProperty('invitations_count')) {
obj['invitations_count'] = _ApiClient["default"].convertToType(data['invitations_count'], 'Number');
}
-
if (data.hasOwnProperty('users_count')) {
obj['users_count'] = _ApiClient["default"].convertToType(data['users_count'], 'Number');
}
-
if (data.hasOwnProperty('roles_count')) {
obj['roles_count'] = _ApiClient["default"].convertToType(data['roles_count'], 'Number');
}
}
-
return obj;
}
}]);
-
return IamUserGroup;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
IamUserGroup.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
IamUserGroup.prototype['updated_at'] = undefined;
+
/**
* Alphanumeric string identifying the user group.
* @member {String} id
*/
-
IamUserGroup.prototype['id'] = undefined;
+
/**
* Name of the user group.
* @member {String} name
*/
-
IamUserGroup.prototype['name'] = undefined;
+
/**
* Description of the user group.
* @member {String} description
*/
-
IamUserGroup.prototype['description'] = undefined;
+
/**
* Number of invitations added to the user group.
* @member {Number} invitations_count
*/
-
IamUserGroup.prototype['invitations_count'] = undefined;
+
/**
* Number of users added to the user group.
* @member {Number} users_count
*/
-
IamUserGroup.prototype['users_count'] = undefined;
+
/**
* Number of roles added to the user group.
* @member {Number} roles_count
*/
+IamUserGroup.prototype['roles_count'] = undefined;
-IamUserGroup.prototype['roles_count'] = undefined; // Implement TimestampsNoDelete interface:
-
+// Implement TimestampsNoDelete interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_TimestampsNoDelete["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_TimestampsNoDelete["default"].prototype['updated_at'] = undefined; // Implement IamUserGroupAllOf interface:
-
+_TimestampsNoDelete["default"].prototype['updated_at'] = undefined;
+// Implement IamUserGroupAllOf interface:
/**
* Alphanumeric string identifying the user group.
* @member {String} id
*/
-
_IamUserGroupAllOf["default"].prototype['id'] = undefined;
/**
* Name of the user group.
* @member {String} name
*/
-
_IamUserGroupAllOf["default"].prototype['name'] = undefined;
/**
* Description of the user group.
* @member {String} description
*/
-
_IamUserGroupAllOf["default"].prototype['description'] = undefined;
/**
* Number of invitations added to the user group.
* @member {Number} invitations_count
*/
-
_IamUserGroupAllOf["default"].prototype['invitations_count'] = undefined;
/**
* Number of users added to the user group.
* @member {Number} users_count
*/
-
_IamUserGroupAllOf["default"].prototype['users_count'] = undefined;
/**
* Number of roles added to the user group.
* @member {Number} roles_count
*/
-
_IamUserGroupAllOf["default"].prototype['roles_count'] = undefined;
var _default = IamUserGroup;
exports["default"] = _default;
@@ -56208,21 +55409,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The IamUserGroupAllOf model module.
* @module model/IamUserGroupAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var IamUserGroupAllOf = /*#__PURE__*/function () {
/**
@@ -56231,19 +55429,18 @@ var IamUserGroupAllOf = /*#__PURE__*/function () {
*/
function IamUserGroupAllOf() {
_classCallCheck(this, IamUserGroupAllOf);
-
IamUserGroupAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(IamUserGroupAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a IamUserGroupAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -56251,80 +55448,69 @@ var IamUserGroupAllOf = /*#__PURE__*/function () {
* @param {module:model/IamUserGroupAllOf} obj Optional instance to populate.
* @return {module:model/IamUserGroupAllOf} The populated IamUserGroupAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new IamUserGroupAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('description')) {
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
}
-
if (data.hasOwnProperty('invitations_count')) {
obj['invitations_count'] = _ApiClient["default"].convertToType(data['invitations_count'], 'Number');
}
-
if (data.hasOwnProperty('users_count')) {
obj['users_count'] = _ApiClient["default"].convertToType(data['users_count'], 'Number');
}
-
if (data.hasOwnProperty('roles_count')) {
obj['roles_count'] = _ApiClient["default"].convertToType(data['roles_count'], 'Number');
}
}
-
return obj;
}
}]);
-
return IamUserGroupAllOf;
}();
/**
* Alphanumeric string identifying the user group.
* @member {String} id
*/
-
-
IamUserGroupAllOf.prototype['id'] = undefined;
+
/**
* Name of the user group.
* @member {String} name
*/
-
IamUserGroupAllOf.prototype['name'] = undefined;
+
/**
* Description of the user group.
* @member {String} description
*/
-
IamUserGroupAllOf.prototype['description'] = undefined;
+
/**
* Number of invitations added to the user group.
* @member {Number} invitations_count
*/
-
IamUserGroupAllOf.prototype['invitations_count'] = undefined;
+
/**
* Number of users added to the user group.
* @member {Number} users_count
*/
-
IamUserGroupAllOf.prototype['users_count'] = undefined;
+
/**
* Number of roles added to the user group.
* @member {Number} roles_count
*/
-
IamUserGroupAllOf.prototype['roles_count'] = undefined;
var _default = IamUserGroupAllOf;
exports["default"] = _default;
@@ -56341,31 +55527,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _SchemasWafFirewallVersion = _interopRequireDefault(__nccwpck_require__(29895));
-
var _SchemasWafFirewallVersionData = _interopRequireDefault(__nccwpck_require__(6335));
-
var _TypeWafRuleRevision = _interopRequireDefault(__nccwpck_require__(51085));
-
var _WafRuleRevision = _interopRequireDefault(__nccwpck_require__(10856));
-
var _WafRuleRevisionAttributes = _interopRequireDefault(__nccwpck_require__(49729));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The IncludedWithWafActiveRuleItem model module.
* @module model/IncludedWithWafActiveRuleItem
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var IncludedWithWafActiveRuleItem = /*#__PURE__*/function () {
/**
@@ -56376,23 +55554,20 @@ var IncludedWithWafActiveRuleItem = /*#__PURE__*/function () {
*/
function IncludedWithWafActiveRuleItem() {
_classCallCheck(this, IncludedWithWafActiveRuleItem);
-
_SchemasWafFirewallVersion["default"].initialize(this);
-
_WafRuleRevision["default"].initialize(this);
-
IncludedWithWafActiveRuleItem.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(IncludedWithWafActiveRuleItem, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a IncludedWithWafActiveRuleItem
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -56400,84 +55575,70 @@ var IncludedWithWafActiveRuleItem = /*#__PURE__*/function () {
* @param {module:model/IncludedWithWafActiveRuleItem} obj Optional instance to populate.
* @return {module:model/IncludedWithWafActiveRuleItem} The populated IncludedWithWafActiveRuleItem
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new IncludedWithWafActiveRuleItem();
-
_SchemasWafFirewallVersion["default"].constructFromObject(data, obj);
-
_WafRuleRevision["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('data')) {
obj['data'] = _SchemasWafFirewallVersionData["default"].constructFromObject(data['data']);
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafRuleRevision["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _WafRuleRevisionAttributes["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return IncludedWithWafActiveRuleItem;
}();
/**
* @member {module:model/SchemasWafFirewallVersionData} data
*/
-
-
IncludedWithWafActiveRuleItem.prototype['data'] = undefined;
+
/**
* @member {module:model/TypeWafRuleRevision} type
*/
-
IncludedWithWafActiveRuleItem.prototype['type'] = undefined;
+
/**
* Alphanumeric string identifying a WAF rule revision.
* @member {String} id
*/
-
IncludedWithWafActiveRuleItem.prototype['id'] = undefined;
+
/**
* @member {module:model/WafRuleRevisionAttributes} attributes
*/
+IncludedWithWafActiveRuleItem.prototype['attributes'] = undefined;
-IncludedWithWafActiveRuleItem.prototype['attributes'] = undefined; // Implement SchemasWafFirewallVersion interface:
-
+// Implement SchemasWafFirewallVersion interface:
/**
* @member {module:model/SchemasWafFirewallVersionData} data
*/
-
-_SchemasWafFirewallVersion["default"].prototype['data'] = undefined; // Implement WafRuleRevision interface:
-
+_SchemasWafFirewallVersion["default"].prototype['data'] = undefined;
+// Implement WafRuleRevision interface:
/**
* @member {module:model/TypeWafRuleRevision} type
*/
-
_WafRuleRevision["default"].prototype['type'] = undefined;
/**
* Alphanumeric string identifying a WAF rule revision.
* @member {String} id
*/
-
_WafRuleRevision["default"].prototype['id'] = undefined;
/**
* @member {module:model/WafRuleRevisionAttributes} attributes
*/
-
_WafRuleRevision["default"].prototype['attributes'] = undefined;
var _default = IncludedWithWafActiveRuleItem;
exports["default"] = _default;
@@ -56494,29 +55655,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeWafRuleRevision = _interopRequireDefault(__nccwpck_require__(51085));
-
var _WafRule = _interopRequireDefault(__nccwpck_require__(21517));
-
var _WafRuleRevision = _interopRequireDefault(__nccwpck_require__(10856));
-
var _WafRuleRevisionAttributes = _interopRequireDefault(__nccwpck_require__(49729));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The IncludedWithWafExclusionItem model module.
* @module model/IncludedWithWafExclusionItem
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var IncludedWithWafExclusionItem = /*#__PURE__*/function () {
/**
@@ -56527,23 +55681,20 @@ var IncludedWithWafExclusionItem = /*#__PURE__*/function () {
*/
function IncludedWithWafExclusionItem() {
_classCallCheck(this, IncludedWithWafExclusionItem);
-
_WafRule["default"].initialize(this);
-
_WafRuleRevision["default"].initialize(this);
-
IncludedWithWafExclusionItem.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(IncludedWithWafExclusionItem, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a IncludedWithWafExclusionItem
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -56551,85 +55702,70 @@ var IncludedWithWafExclusionItem = /*#__PURE__*/function () {
* @param {module:model/IncludedWithWafExclusionItem} obj Optional instance to populate.
* @return {module:model/IncludedWithWafExclusionItem} The populated IncludedWithWafExclusionItem
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new IncludedWithWafExclusionItem();
-
_WafRule["default"].constructFromObject(data, obj);
-
_WafRuleRevision["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafRuleRevision["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _WafRuleRevisionAttributes["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return IncludedWithWafExclusionItem;
}();
/**
* @member {module:model/TypeWafRuleRevision} type
*/
-
-
IncludedWithWafExclusionItem.prototype['type'] = undefined;
+
/**
* Alphanumeric string identifying a WAF rule revision.
* @member {String} id
*/
-
IncludedWithWafExclusionItem.prototype['id'] = undefined;
+
/**
* @member {module:model/WafRuleRevisionAttributes} attributes
*/
+IncludedWithWafExclusionItem.prototype['attributes'] = undefined;
-IncludedWithWafExclusionItem.prototype['attributes'] = undefined; // Implement WafRule interface:
-
+// Implement WafRule interface:
/**
* @member {module:model/TypeWafRule} type
*/
-
_WafRule["default"].prototype['type'] = undefined;
/**
* @member {String} id
*/
-
_WafRule["default"].prototype['id'] = undefined;
/**
* @member {module:model/WafRuleAttributes} attributes
*/
-
-_WafRule["default"].prototype['attributes'] = undefined; // Implement WafRuleRevision interface:
-
+_WafRule["default"].prototype['attributes'] = undefined;
+// Implement WafRuleRevision interface:
/**
* @member {module:model/TypeWafRuleRevision} type
*/
-
_WafRuleRevision["default"].prototype['type'] = undefined;
/**
* Alphanumeric string identifying a WAF rule revision.
* @member {String} id
*/
-
_WafRuleRevision["default"].prototype['id'] = undefined;
/**
* @member {module:model/WafRuleRevisionAttributes} attributes
*/
-
_WafRuleRevision["default"].prototype['attributes'] = undefined;
var _default = IncludedWithWafExclusionItem;
exports["default"] = _default;
@@ -56646,27 +55782,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _SchemasWafFirewallVersion = _interopRequireDefault(__nccwpck_require__(29895));
-
var _WafActiveRule = _interopRequireDefault(__nccwpck_require__(55049));
-
var _WafActiveRuleData = _interopRequireDefault(__nccwpck_require__(79136));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The IncludedWithWafFirewallVersionItem model module.
* @module model/IncludedWithWafFirewallVersionItem
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var IncludedWithWafFirewallVersionItem = /*#__PURE__*/function () {
/**
@@ -56677,23 +55807,20 @@ var IncludedWithWafFirewallVersionItem = /*#__PURE__*/function () {
*/
function IncludedWithWafFirewallVersionItem() {
_classCallCheck(this, IncludedWithWafFirewallVersionItem);
-
_SchemasWafFirewallVersion["default"].initialize(this);
-
_WafActiveRule["default"].initialize(this);
-
IncludedWithWafFirewallVersionItem.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(IncludedWithWafFirewallVersionItem, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a IncludedWithWafFirewallVersionItem
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -56701,45 +55828,36 @@ var IncludedWithWafFirewallVersionItem = /*#__PURE__*/function () {
* @param {module:model/IncludedWithWafFirewallVersionItem} obj Optional instance to populate.
* @return {module:model/IncludedWithWafFirewallVersionItem} The populated IncludedWithWafFirewallVersionItem
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new IncludedWithWafFirewallVersionItem();
-
_SchemasWafFirewallVersion["default"].constructFromObject(data, obj);
-
_WafActiveRule["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('data')) {
obj['data'] = _WafActiveRuleData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return IncludedWithWafFirewallVersionItem;
}();
/**
* @member {module:model/WafActiveRuleData} data
*/
+IncludedWithWafFirewallVersionItem.prototype['data'] = undefined;
-
-IncludedWithWafFirewallVersionItem.prototype['data'] = undefined; // Implement SchemasWafFirewallVersion interface:
-
+// Implement SchemasWafFirewallVersion interface:
/**
* @member {module:model/SchemasWafFirewallVersionData} data
*/
-
-_SchemasWafFirewallVersion["default"].prototype['data'] = undefined; // Implement WafActiveRule interface:
-
+_SchemasWafFirewallVersion["default"].prototype['data'] = undefined;
+// Implement WafActiveRule interface:
/**
* @member {module:model/WafActiveRuleData} data
*/
-
_WafActiveRule["default"].prototype['data'] = undefined;
var _default = IncludedWithWafFirewallVersionItem;
exports["default"] = _default;
@@ -56756,29 +55874,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeWafRuleRevision = _interopRequireDefault(__nccwpck_require__(51085));
-
var _WafRuleRevision = _interopRequireDefault(__nccwpck_require__(10856));
-
var _WafRuleRevisionAttributes = _interopRequireDefault(__nccwpck_require__(49729));
-
var _WafTag = _interopRequireDefault(__nccwpck_require__(94809));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The IncludedWithWafRuleItem model module.
* @module model/IncludedWithWafRuleItem
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var IncludedWithWafRuleItem = /*#__PURE__*/function () {
/**
@@ -56789,23 +55900,20 @@ var IncludedWithWafRuleItem = /*#__PURE__*/function () {
*/
function IncludedWithWafRuleItem() {
_classCallCheck(this, IncludedWithWafRuleItem);
-
_WafTag["default"].initialize(this);
-
_WafRuleRevision["default"].initialize(this);
-
IncludedWithWafRuleItem.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(IncludedWithWafRuleItem, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a IncludedWithWafRuleItem
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -56813,86 +55921,71 @@ var IncludedWithWafRuleItem = /*#__PURE__*/function () {
* @param {module:model/IncludedWithWafRuleItem} obj Optional instance to populate.
* @return {module:model/IncludedWithWafRuleItem} The populated IncludedWithWafRuleItem
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new IncludedWithWafRuleItem();
-
_WafTag["default"].constructFromObject(data, obj);
-
_WafRuleRevision["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafRuleRevision["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _WafRuleRevisionAttributes["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return IncludedWithWafRuleItem;
}();
/**
* @member {module:model/TypeWafRuleRevision} type
*/
-
-
IncludedWithWafRuleItem.prototype['type'] = undefined;
+
/**
* Alphanumeric string identifying a WAF rule revision.
* @member {String} id
*/
-
IncludedWithWafRuleItem.prototype['id'] = undefined;
+
/**
* @member {module:model/WafRuleRevisionAttributes} attributes
*/
+IncludedWithWafRuleItem.prototype['attributes'] = undefined;
-IncludedWithWafRuleItem.prototype['attributes'] = undefined; // Implement WafTag interface:
-
+// Implement WafTag interface:
/**
* @member {module:model/TypeWafTag} type
*/
-
_WafTag["default"].prototype['type'] = undefined;
/**
* Alphanumeric string identifying a WAF tag.
* @member {String} id
*/
-
_WafTag["default"].prototype['id'] = undefined;
/**
* @member {module:model/WafTagAttributes} attributes
*/
-
-_WafTag["default"].prototype['attributes'] = undefined; // Implement WafRuleRevision interface:
-
+_WafTag["default"].prototype['attributes'] = undefined;
+// Implement WafRuleRevision interface:
/**
* @member {module:model/TypeWafRuleRevision} type
*/
-
_WafRuleRevision["default"].prototype['type'] = undefined;
/**
* Alphanumeric string identifying a WAF rule revision.
* @member {String} id
*/
-
_WafRuleRevision["default"].prototype['id'] = undefined;
/**
* @member {module:model/WafRuleRevisionAttributes} attributes
*/
-
_WafRuleRevision["default"].prototype['attributes'] = undefined;
var _default = IncludedWithWafRuleItem;
exports["default"] = _default;
@@ -56909,21 +56002,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The InlineResponse200 model module.
* @module model/InlineResponse200
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var InlineResponse200 = /*#__PURE__*/function () {
/**
@@ -56932,19 +56022,18 @@ var InlineResponse200 = /*#__PURE__*/function () {
*/
function InlineResponse200() {
_classCallCheck(this, InlineResponse200);
-
InlineResponse200.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(InlineResponse200, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a InlineResponse200
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -56952,30 +56041,24 @@ var InlineResponse200 = /*#__PURE__*/function () {
* @param {module:model/InlineResponse200} obj Optional instance to populate.
* @return {module:model/InlineResponse200} The populated InlineResponse200
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new InlineResponse200();
-
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
}
}
-
return obj;
}
}]);
-
return InlineResponse200;
}();
/**
* ok
* @member {String} status
*/
-
-
InlineResponse200.prototype['status'] = undefined;
var _default = InlineResponse200;
exports["default"] = _default;
@@ -56992,21 +56075,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The InlineResponse2001 model module.
* @module model/InlineResponse2001
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var InlineResponse2001 = /*#__PURE__*/function () {
/**
@@ -57015,19 +56095,18 @@ var InlineResponse2001 = /*#__PURE__*/function () {
*/
function InlineResponse2001() {
_classCallCheck(this, InlineResponse2001);
-
InlineResponse2001.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(InlineResponse2001, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a InlineResponse2001
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -57035,31 +56114,25 @@ var InlineResponse2001 = /*#__PURE__*/function () {
* @param {module:model/InlineResponse2001} obj Optional instance to populate.
* @return {module:model/InlineResponse2001} The populated InlineResponse2001
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new InlineResponse2001();
-
- if (data.hasOwnProperty('expires_at')) {
- obj['expires_at'] = _ApiClient["default"].convertToType(data['expires_at'], 'String');
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], ['String']);
}
}
-
return obj;
}
}]);
-
return InlineResponse2001;
}();
/**
- * Time-stamp (GMT) when the domain_ownership validation will expire.
- * @member {String} expires_at
+ * The service IDs of the services the token will have access to. Separate service IDs with a space.
+ * @member {Array.Invitation
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -57120,29 +56188,23 @@ var Invitation = /*#__PURE__*/function () {
* @param {module:model/Invitation} obj Optional instance to populate.
* @return {module:model/Invitation} The populated Invitation
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Invitation();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _InvitationData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return Invitation;
}();
/**
* @member {module:model/InvitationData} data
*/
-
-
Invitation.prototype['data'] = undefined;
var _default = Invitation;
exports["default"] = _default;
@@ -57159,27 +56221,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _InvitationDataAttributes = _interopRequireDefault(__nccwpck_require__(96669));
-
var _RelationshipServiceInvitationsCreate = _interopRequireDefault(__nccwpck_require__(70905));
-
var _TypeInvitation = _interopRequireDefault(__nccwpck_require__(75470));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The InvitationData model module.
* @module model/InvitationData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var InvitationData = /*#__PURE__*/function () {
/**
@@ -57188,19 +56244,18 @@ var InvitationData = /*#__PURE__*/function () {
*/
function InvitationData() {
_classCallCheck(this, InvitationData);
-
InvitationData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(InvitationData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a InvitationData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -57208,47 +56263,39 @@ var InvitationData = /*#__PURE__*/function () {
* @param {module:model/InvitationData} obj Optional instance to populate.
* @return {module:model/InvitationData} The populated InvitationData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new InvitationData();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeInvitation["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _InvitationDataAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipServiceInvitationsCreate["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return InvitationData;
}();
/**
* @member {module:model/TypeInvitation} type
*/
-
-
InvitationData.prototype['type'] = undefined;
+
/**
* @member {module:model/InvitationDataAttributes} attributes
*/
-
InvitationData.prototype['attributes'] = undefined;
+
/**
* @member {module:model/RelationshipServiceInvitationsCreate} relationships
*/
-
InvitationData.prototype['relationships'] = undefined;
var _default = InvitationData;
exports["default"] = _default;
@@ -57265,23 +56312,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RoleUser = _interopRequireDefault(__nccwpck_require__(51858));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The InvitationDataAttributes model module.
* @module model/InvitationDataAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var InvitationDataAttributes = /*#__PURE__*/function () {
/**
@@ -57290,19 +56333,18 @@ var InvitationDataAttributes = /*#__PURE__*/function () {
*/
function InvitationDataAttributes() {
_classCallCheck(this, InvitationDataAttributes);
-
InvitationDataAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(InvitationDataAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a InvitationDataAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -57310,73 +56352,63 @@ var InvitationDataAttributes = /*#__PURE__*/function () {
* @param {module:model/InvitationDataAttributes} obj Optional instance to populate.
* @return {module:model/InvitationDataAttributes} The populated InvitationDataAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new InvitationDataAttributes();
-
if (data.hasOwnProperty('email')) {
obj['email'] = _ApiClient["default"].convertToType(data['email'], 'String');
}
-
if (data.hasOwnProperty('limit_services')) {
obj['limit_services'] = _ApiClient["default"].convertToType(data['limit_services'], 'Boolean');
}
-
if (data.hasOwnProperty('role')) {
obj['role'] = _RoleUser["default"].constructFromObject(data['role']);
}
-
if (data.hasOwnProperty('status_code')) {
obj['status_code'] = _ApiClient["default"].convertToType(data['status_code'], 'Number');
}
}
-
return obj;
}
}]);
-
return InvitationDataAttributes;
}();
/**
* The email address of the invitee.
* @member {String} email
*/
-
-
InvitationDataAttributes.prototype['email'] = undefined;
+
/**
* Indicates the user has limited access to the customer's services.
* @member {Boolean} limit_services
*/
-
InvitationDataAttributes.prototype['limit_services'] = undefined;
+
/**
* @member {module:model/RoleUser} role
*/
-
InvitationDataAttributes.prototype['role'] = undefined;
+
/**
* Indicates whether or not the invitation is active.
* @member {module:model/InvitationDataAttributes.StatusCodeEnum} status_code
*/
-
InvitationDataAttributes.prototype['status_code'] = undefined;
+
/**
* Allowed values for the status_code
property.
* @enum {Number}
* @readonly
*/
-
InvitationDataAttributes['StatusCodeEnum'] = {
/**
* value: 0
* @const
*/
"inactive": 0,
-
/**
* value: 1
* @const
@@ -57398,27 +56430,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Invitation = _interopRequireDefault(__nccwpck_require__(53914));
-
var _InvitationResponseAllOf = _interopRequireDefault(__nccwpck_require__(5894));
-
var _InvitationResponseData = _interopRequireDefault(__nccwpck_require__(34948));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The InvitationResponse model module.
* @module model/InvitationResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var InvitationResponse = /*#__PURE__*/function () {
/**
@@ -57429,23 +56455,20 @@ var InvitationResponse = /*#__PURE__*/function () {
*/
function InvitationResponse() {
_classCallCheck(this, InvitationResponse);
-
_Invitation["default"].initialize(this);
-
_InvitationResponseAllOf["default"].initialize(this);
-
InvitationResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(InvitationResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a InvitationResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -57453,45 +56476,36 @@ var InvitationResponse = /*#__PURE__*/function () {
* @param {module:model/InvitationResponse} obj Optional instance to populate.
* @return {module:model/InvitationResponse} The populated InvitationResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new InvitationResponse();
-
_Invitation["default"].constructFromObject(data, obj);
-
_InvitationResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('data')) {
obj['data'] = _InvitationResponseData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return InvitationResponse;
}();
/**
* @member {module:model/InvitationResponseData} data
*/
+InvitationResponse.prototype['data'] = undefined;
-
-InvitationResponse.prototype['data'] = undefined; // Implement Invitation interface:
-
+// Implement Invitation interface:
/**
* @member {module:model/InvitationData} data
*/
-
-_Invitation["default"].prototype['data'] = undefined; // Implement InvitationResponseAllOf interface:
-
+_Invitation["default"].prototype['data'] = undefined;
+// Implement InvitationResponseAllOf interface:
/**
* @member {module:model/InvitationResponseData} data
*/
-
_InvitationResponseAllOf["default"].prototype['data'] = undefined;
var _default = InvitationResponse;
exports["default"] = _default;
@@ -57508,23 +56522,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _InvitationResponseData = _interopRequireDefault(__nccwpck_require__(34948));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The InvitationResponseAllOf model module.
* @module model/InvitationResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var InvitationResponseAllOf = /*#__PURE__*/function () {
/**
@@ -57533,19 +56543,18 @@ var InvitationResponseAllOf = /*#__PURE__*/function () {
*/
function InvitationResponseAllOf() {
_classCallCheck(this, InvitationResponseAllOf);
-
InvitationResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(InvitationResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a InvitationResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -57553,29 +56562,23 @@ var InvitationResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/InvitationResponseAllOf} obj Optional instance to populate.
* @return {module:model/InvitationResponseAllOf} The populated InvitationResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new InvitationResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _InvitationResponseData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return InvitationResponseAllOf;
}();
/**
* @member {module:model/InvitationResponseData} data
*/
-
-
InvitationResponseAllOf.prototype['data'] = undefined;
var _default = InvitationResponseAllOf;
exports["default"] = _default;
@@ -57592,31 +56595,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _InvitationData = _interopRequireDefault(__nccwpck_require__(48415));
-
var _InvitationResponseDataAllOf = _interopRequireDefault(__nccwpck_require__(86098));
-
var _RelationshipsForInvitation = _interopRequireDefault(__nccwpck_require__(51131));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
var _TypeInvitation = _interopRequireDefault(__nccwpck_require__(75470));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The InvitationResponseData model module.
* @module model/InvitationResponseData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var InvitationResponseData = /*#__PURE__*/function () {
/**
@@ -57627,23 +56622,20 @@ var InvitationResponseData = /*#__PURE__*/function () {
*/
function InvitationResponseData() {
_classCallCheck(this, InvitationResponseData);
-
_InvitationData["default"].initialize(this);
-
_InvitationResponseDataAllOf["default"].initialize(this);
-
InvitationResponseData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(InvitationResponseData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a InvitationResponseData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -57651,92 +56643,76 @@ var InvitationResponseData = /*#__PURE__*/function () {
* @param {module:model/InvitationResponseData} obj Optional instance to populate.
* @return {module:model/InvitationResponseData} The populated InvitationResponseData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new InvitationResponseData();
-
_InvitationData["default"].constructFromObject(data, obj);
-
_InvitationResponseDataAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeInvitation["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _Timestamps["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipsForInvitation["default"].constructFromObject(data['relationships']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return InvitationResponseData;
}();
/**
* @member {module:model/TypeInvitation} type
*/
-
-
InvitationResponseData.prototype['type'] = undefined;
+
/**
* @member {module:model/Timestamps} attributes
*/
-
InvitationResponseData.prototype['attributes'] = undefined;
+
/**
* @member {module:model/RelationshipsForInvitation} relationships
*/
-
InvitationResponseData.prototype['relationships'] = undefined;
+
/**
* @member {String} id
*/
+InvitationResponseData.prototype['id'] = undefined;
-InvitationResponseData.prototype['id'] = undefined; // Implement InvitationData interface:
-
+// Implement InvitationData interface:
/**
* @member {module:model/TypeInvitation} type
*/
-
_InvitationData["default"].prototype['type'] = undefined;
/**
* @member {module:model/InvitationDataAttributes} attributes
*/
-
_InvitationData["default"].prototype['attributes'] = undefined;
/**
* @member {module:model/RelationshipServiceInvitationsCreate} relationships
*/
-
-_InvitationData["default"].prototype['relationships'] = undefined; // Implement InvitationResponseDataAllOf interface:
-
+_InvitationData["default"].prototype['relationships'] = undefined;
+// Implement InvitationResponseDataAllOf interface:
/**
* @member {String} id
*/
-
_InvitationResponseDataAllOf["default"].prototype['id'] = undefined;
/**
* @member {module:model/Timestamps} attributes
*/
-
_InvitationResponseDataAllOf["default"].prototype['attributes'] = undefined;
/**
* @member {module:model/RelationshipsForInvitation} relationships
*/
-
_InvitationResponseDataAllOf["default"].prototype['relationships'] = undefined;
var _default = InvitationResponseData;
exports["default"] = _default;
@@ -57753,25 +56729,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipsForInvitation = _interopRequireDefault(__nccwpck_require__(51131));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The InvitationResponseDataAllOf model module.
* @module model/InvitationResponseDataAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var InvitationResponseDataAllOf = /*#__PURE__*/function () {
/**
@@ -57780,19 +56751,18 @@ var InvitationResponseDataAllOf = /*#__PURE__*/function () {
*/
function InvitationResponseDataAllOf() {
_classCallCheck(this, InvitationResponseDataAllOf);
-
InvitationResponseDataAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(InvitationResponseDataAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a InvitationResponseDataAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -57800,47 +56770,39 @@ var InvitationResponseDataAllOf = /*#__PURE__*/function () {
* @param {module:model/InvitationResponseDataAllOf} obj Optional instance to populate.
* @return {module:model/InvitationResponseDataAllOf} The populated InvitationResponseDataAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new InvitationResponseDataAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _Timestamps["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipsForInvitation["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return InvitationResponseDataAllOf;
}();
/**
* @member {String} id
*/
-
-
InvitationResponseDataAllOf.prototype['id'] = undefined;
+
/**
* @member {module:model/Timestamps} attributes
*/
-
InvitationResponseDataAllOf.prototype['attributes'] = undefined;
+
/**
* @member {module:model/RelationshipsForInvitation} relationships
*/
-
InvitationResponseDataAllOf.prototype['relationships'] = undefined;
var _default = InvitationResponseDataAllOf;
exports["default"] = _default;
@@ -57857,31 +56819,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _InvitationResponseData = _interopRequireDefault(__nccwpck_require__(34948));
-
var _InvitationsResponseAllOf = _interopRequireDefault(__nccwpck_require__(19296));
-
var _Pagination = _interopRequireDefault(__nccwpck_require__(89281));
-
var _PaginationLinks = _interopRequireDefault(__nccwpck_require__(97779));
-
var _PaginationMeta = _interopRequireDefault(__nccwpck_require__(93986));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The InvitationsResponse model module.
* @module model/InvitationsResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var InvitationsResponse = /*#__PURE__*/function () {
/**
@@ -57892,23 +56846,20 @@ var InvitationsResponse = /*#__PURE__*/function () {
*/
function InvitationsResponse() {
_classCallCheck(this, InvitationsResponse);
-
_Pagination["default"].initialize(this);
-
_InvitationsResponseAllOf["default"].initialize(this);
-
InvitationsResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(InvitationsResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a InvitationsResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -57916,68 +56867,56 @@ var InvitationsResponse = /*#__PURE__*/function () {
* @param {module:model/InvitationsResponse} obj Optional instance to populate.
* @return {module:model/InvitationsResponse} The populated InvitationsResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new InvitationsResponse();
-
_Pagination["default"].constructFromObject(data, obj);
-
_InvitationsResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('links')) {
obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_InvitationResponseData["default"]]);
}
}
-
return obj;
}
}]);
-
return InvitationsResponse;
}();
/**
* @member {module:model/PaginationLinks} links
*/
-
-
InvitationsResponse.prototype['links'] = undefined;
+
/**
* @member {module:model/PaginationMeta} meta
*/
-
InvitationsResponse.prototype['meta'] = undefined;
+
/**
* @member {Array.InvitationsResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -58039,36 +56973,30 @@ var InvitationsResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/InvitationsResponseAllOf} obj Optional instance to populate.
* @return {module:model/InvitationsResponseAllOf} The populated InvitationsResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new InvitationsResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_InvitationResponseData["default"]]);
}
}
-
return obj;
}
}]);
-
return InvitationsResponseAllOf;
}();
/**
* @member {Array.KeyResponse
.
+ * @alias module:model/KeyResponse
+ */
+ function KeyResponse() {
+ _classCallCheck(this, KeyResponse);
+ KeyResponse.initialize(this);
+ }
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(KeyResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+ /**
+ * Constructs a KeyResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/KeyResponse} obj Optional instance to populate.
+ * @return {module:model/KeyResponse} The populated KeyResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new KeyResponse();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], ['String']);
+ }
+ if (data.hasOwnProperty('meta')) {
+ obj['meta'] = _GetStoresResponseMeta["default"].constructFromObject(data['meta']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return KeyResponse;
+}();
+/**
+ * @member {Array.LoggingAddressAndPort
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -58121,41 +57126,34 @@ var LoggingAddressAndPort = /*#__PURE__*/function () {
* @param {module:model/LoggingAddressAndPort} obj Optional instance to populate.
* @return {module:model/LoggingAddressAndPort} The populated LoggingAddressAndPort
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingAddressAndPort();
-
if (data.hasOwnProperty('address')) {
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
}
-
if (data.hasOwnProperty('port')) {
obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingAddressAndPort;
}();
/**
* A hostname or IPv4 address.
* @member {String} address
*/
-
-
LoggingAddressAndPort.prototype['address'] = undefined;
+
/**
* The port number.
* @member {Number} port
* @default 514
*/
-
LoggingAddressAndPort.prototype['port'] = 514;
var _default = LoggingAddressAndPort;
exports["default"] = _default;
@@ -58172,27 +57170,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingAzureblobAllOf = _interopRequireDefault(__nccwpck_require__(89334));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingGenericCommon = _interopRequireDefault(__nccwpck_require__(50838));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingAzureblob model module.
* @module model/LoggingAzureblob
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingAzureblob = /*#__PURE__*/function () {
/**
@@ -58204,25 +57196,21 @@ var LoggingAzureblob = /*#__PURE__*/function () {
*/
function LoggingAzureblob() {
_classCallCheck(this, LoggingAzureblob);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingGenericCommon["default"].initialize(this);
-
_LoggingAzureblobAllOf["default"].initialize(this);
-
LoggingAzureblob.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingAzureblob, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingAzureblob
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -58230,394 +57218,347 @@ var LoggingAzureblob = /*#__PURE__*/function () {
* @param {module:model/LoggingAzureblob} obj Optional instance to populate.
* @return {module:model/LoggingAzureblob} The populated LoggingAzureblob
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingAzureblob();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingGenericCommon["default"].constructFromObject(data, obj);
-
_LoggingAzureblobAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
}
-
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = _ApiClient["default"].convertToType(data['timestamp_format'], 'String');
}
-
if (data.hasOwnProperty('period')) {
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Number');
}
-
if (data.hasOwnProperty('gzip_level')) {
obj['gzip_level'] = _ApiClient["default"].convertToType(data['gzip_level'], 'Number');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('account_name')) {
obj['account_name'] = _ApiClient["default"].convertToType(data['account_name'], 'String');
}
-
if (data.hasOwnProperty('container')) {
obj['container'] = _ApiClient["default"].convertToType(data['container'], 'String');
}
-
if (data.hasOwnProperty('sas_token')) {
obj['sas_token'] = _ApiClient["default"].convertToType(data['sas_token'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('file_max_bytes')) {
obj['file_max_bytes'] = _ApiClient["default"].convertToType(data['file_max_bytes'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingAzureblob;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingAzureblob.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingAzureblob.PlacementEnum} placement
*/
-
LoggingAzureblob.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingAzureblob.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingAzureblob.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingAzureblob.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingAzureblob.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* How the message should be formatted.
* @member {module:model/LoggingAzureblob.MessageTypeEnum} message_type
* @default 'classic'
*/
-
LoggingAzureblob.prototype['message_type'] = undefined;
+
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
LoggingAzureblob.prototype['timestamp_format'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
LoggingAzureblob.prototype['period'] = 3600;
+
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
LoggingAzureblob.prototype['gzip_level'] = 0;
+
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingAzureblob.CompressionCodecEnum} compression_codec
*/
-
LoggingAzureblob.prototype['compression_codec'] = undefined;
+
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
LoggingAzureblob.prototype['path'] = 'null';
+
/**
* The unique Azure Blob Storage namespace in which your data objects are stored. Required.
* @member {String} account_name
*/
-
LoggingAzureblob.prototype['account_name'] = undefined;
+
/**
* The name of the Azure Blob Storage container in which to store logs. Required.
* @member {String} container
*/
-
LoggingAzureblob.prototype['container'] = undefined;
+
/**
* The Azure shared access signature providing write access to the blob service objects. Be sure to update your token before it expires or the logging functionality will not work. Required.
* @member {String} sas_token
*/
-
LoggingAzureblob.prototype['sas_token'] = undefined;
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingAzureblob.prototype['public_key'] = 'null';
+
/**
* The maximum number of bytes for each uploaded file. A value of 0 can be used to indicate there is no limit on the size of uploaded files, otherwise the minimum value is 1048576 bytes (1 MiB.)
* @member {Number} file_max_bytes
*/
+LoggingAzureblob.prototype['file_max_bytes'] = undefined;
-LoggingAzureblob.prototype['file_max_bytes'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingGenericCommon interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingGenericCommon interface:
/**
* How the message should be formatted.
* @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
* @default 'classic'
*/
-
_LoggingGenericCommon["default"].prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
_LoggingGenericCommon["default"].prototype['timestamp_format'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
_LoggingGenericCommon["default"].prototype['period'] = 3600;
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
_LoggingGenericCommon["default"].prototype['gzip_level'] = 0;
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
*/
-
-_LoggingGenericCommon["default"].prototype['compression_codec'] = undefined; // Implement LoggingAzureblobAllOf interface:
-
+_LoggingGenericCommon["default"].prototype['compression_codec'] = undefined;
+// Implement LoggingAzureblobAllOf interface:
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
_LoggingAzureblobAllOf["default"].prototype['path'] = 'null';
/**
* The unique Azure Blob Storage namespace in which your data objects are stored. Required.
* @member {String} account_name
*/
-
_LoggingAzureblobAllOf["default"].prototype['account_name'] = undefined;
/**
* The name of the Azure Blob Storage container in which to store logs. Required.
* @member {String} container
*/
-
_LoggingAzureblobAllOf["default"].prototype['container'] = undefined;
/**
* The Azure shared access signature providing write access to the blob service objects. Be sure to update your token before it expires or the logging functionality will not work. Required.
* @member {String} sas_token
*/
-
_LoggingAzureblobAllOf["default"].prototype['sas_token'] = undefined;
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
_LoggingAzureblobAllOf["default"].prototype['public_key'] = 'null';
/**
* The maximum number of bytes for each uploaded file. A value of 0 can be used to indicate there is no limit on the size of uploaded files, otherwise the minimum value is 1048576 bytes (1 MiB.)
* @member {Number} file_max_bytes
*/
-
_LoggingAzureblobAllOf["default"].prototype['file_max_bytes'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingAzureblob['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingAzureblob['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the message_type
property.
* @enum {String}
* @readonly
*/
-
LoggingAzureblob['MessageTypeEnum'] = {
/**
* value: "classic"
* @const
*/
"classic": "classic",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logplex"
* @const
*/
"logplex": "logplex",
-
/**
* value: "blank"
* @const
*/
"blank": "blank"
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingAzureblob['CompressionCodecEnum'] = {
/**
* value: "zstd"
* @const
*/
"zstd": "zstd",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "gzip"
* @const
@@ -58639,21 +57580,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingAzureblobAllOf model module.
* @module model/LoggingAzureblobAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingAzureblobAllOf = /*#__PURE__*/function () {
/**
@@ -58662,19 +57600,18 @@ var LoggingAzureblobAllOf = /*#__PURE__*/function () {
*/
function LoggingAzureblobAllOf() {
_classCallCheck(this, LoggingAzureblobAllOf);
-
LoggingAzureblobAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingAzureblobAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingAzureblobAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -58682,42 +57619,33 @@ var LoggingAzureblobAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingAzureblobAllOf} obj Optional instance to populate.
* @return {module:model/LoggingAzureblobAllOf} The populated LoggingAzureblobAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingAzureblobAllOf();
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('account_name')) {
obj['account_name'] = _ApiClient["default"].convertToType(data['account_name'], 'String');
}
-
if (data.hasOwnProperty('container')) {
obj['container'] = _ApiClient["default"].convertToType(data['container'], 'String');
}
-
if (data.hasOwnProperty('sas_token')) {
obj['sas_token'] = _ApiClient["default"].convertToType(data['sas_token'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('file_max_bytes')) {
obj['file_max_bytes'] = _ApiClient["default"].convertToType(data['file_max_bytes'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingAzureblobAllOf;
}();
/**
@@ -58725,39 +57653,37 @@ var LoggingAzureblobAllOf = /*#__PURE__*/function () {
* @member {String} path
* @default 'null'
*/
-
-
LoggingAzureblobAllOf.prototype['path'] = 'null';
+
/**
* The unique Azure Blob Storage namespace in which your data objects are stored. Required.
* @member {String} account_name
*/
-
LoggingAzureblobAllOf.prototype['account_name'] = undefined;
+
/**
* The name of the Azure Blob Storage container in which to store logs. Required.
* @member {String} container
*/
-
LoggingAzureblobAllOf.prototype['container'] = undefined;
+
/**
* The Azure shared access signature providing write access to the blob service objects. Be sure to update your token before it expires or the logging functionality will not work. Required.
* @member {String} sas_token
*/
-
LoggingAzureblobAllOf.prototype['sas_token'] = undefined;
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingAzureblobAllOf.prototype['public_key'] = 'null';
+
/**
* The maximum number of bytes for each uploaded file. A value of 0 can be used to indicate there is no limit on the size of uploaded files, otherwise the minimum value is 1048576 bytes (1 MiB.)
* @member {Number} file_max_bytes
*/
-
LoggingAzureblobAllOf.prototype['file_max_bytes'] = undefined;
var _default = LoggingAzureblobAllOf;
exports["default"] = _default;
@@ -58774,27 +57700,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingAzureblob = _interopRequireDefault(__nccwpck_require__(39154));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingAzureblobResponse model module.
* @module model/LoggingAzureblobResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingAzureblobResponse = /*#__PURE__*/function () {
/**
@@ -58806,25 +57726,21 @@ var LoggingAzureblobResponse = /*#__PURE__*/function () {
*/
function LoggingAzureblobResponse() {
_classCallCheck(this, LoggingAzureblobResponse);
-
_LoggingAzureblob["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingAzureblobResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingAzureblobResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingAzureblobResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -58832,470 +57748,413 @@ var LoggingAzureblobResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingAzureblobResponse} obj Optional instance to populate.
* @return {module:model/LoggingAzureblobResponse} The populated LoggingAzureblobResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingAzureblobResponse();
-
_LoggingAzureblob["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
}
-
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = _ApiClient["default"].convertToType(data['timestamp_format'], 'String');
}
-
if (data.hasOwnProperty('period')) {
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Number');
}
-
if (data.hasOwnProperty('gzip_level')) {
obj['gzip_level'] = _ApiClient["default"].convertToType(data['gzip_level'], 'Number');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('account_name')) {
obj['account_name'] = _ApiClient["default"].convertToType(data['account_name'], 'String');
}
-
if (data.hasOwnProperty('container')) {
obj['container'] = _ApiClient["default"].convertToType(data['container'], 'String');
}
-
if (data.hasOwnProperty('sas_token')) {
obj['sas_token'] = _ApiClient["default"].convertToType(data['sas_token'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('file_max_bytes')) {
obj['file_max_bytes'] = _ApiClient["default"].convertToType(data['file_max_bytes'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingAzureblobResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingAzureblobResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingAzureblobResponse.PlacementEnum} placement
*/
-
LoggingAzureblobResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingAzureblobResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingAzureblobResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingAzureblobResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingAzureblobResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* How the message should be formatted.
* @member {module:model/LoggingAzureblobResponse.MessageTypeEnum} message_type
* @default 'classic'
*/
-
LoggingAzureblobResponse.prototype['message_type'] = undefined;
+
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
LoggingAzureblobResponse.prototype['timestamp_format'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
LoggingAzureblobResponse.prototype['period'] = 3600;
+
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
LoggingAzureblobResponse.prototype['gzip_level'] = 0;
+
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingAzureblobResponse.CompressionCodecEnum} compression_codec
*/
-
LoggingAzureblobResponse.prototype['compression_codec'] = undefined;
+
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
LoggingAzureblobResponse.prototype['path'] = 'null';
+
/**
* The unique Azure Blob Storage namespace in which your data objects are stored. Required.
* @member {String} account_name
*/
-
LoggingAzureblobResponse.prototype['account_name'] = undefined;
+
/**
* The name of the Azure Blob Storage container in which to store logs. Required.
* @member {String} container
*/
-
LoggingAzureblobResponse.prototype['container'] = undefined;
+
/**
* The Azure shared access signature providing write access to the blob service objects. Be sure to update your token before it expires or the logging functionality will not work. Required.
* @member {String} sas_token
*/
-
LoggingAzureblobResponse.prototype['sas_token'] = undefined;
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingAzureblobResponse.prototype['public_key'] = 'null';
+
/**
* The maximum number of bytes for each uploaded file. A value of 0 can be used to indicate there is no limit on the size of uploaded files, otherwise the minimum value is 1048576 bytes (1 MiB.)
* @member {Number} file_max_bytes
*/
-
LoggingAzureblobResponse.prototype['file_max_bytes'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingAzureblobResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingAzureblobResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingAzureblobResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingAzureblobResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingAzureblobResponse.prototype['version'] = undefined;
-LoggingAzureblobResponse.prototype['version'] = undefined; // Implement LoggingAzureblob interface:
-
+// Implement LoggingAzureblob interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingAzureblob["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingAzureblob.PlacementEnum} placement
*/
-
_LoggingAzureblob["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingAzureblob.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingAzureblob["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingAzureblob["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingAzureblob["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* How the message should be formatted.
* @member {module:model/LoggingAzureblob.MessageTypeEnum} message_type
* @default 'classic'
*/
-
_LoggingAzureblob["default"].prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
_LoggingAzureblob["default"].prototype['timestamp_format'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
_LoggingAzureblob["default"].prototype['period'] = 3600;
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
_LoggingAzureblob["default"].prototype['gzip_level'] = 0;
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingAzureblob.CompressionCodecEnum} compression_codec
*/
-
_LoggingAzureblob["default"].prototype['compression_codec'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
_LoggingAzureblob["default"].prototype['path'] = 'null';
/**
* The unique Azure Blob Storage namespace in which your data objects are stored. Required.
* @member {String} account_name
*/
-
_LoggingAzureblob["default"].prototype['account_name'] = undefined;
/**
* The name of the Azure Blob Storage container in which to store logs. Required.
* @member {String} container
*/
-
_LoggingAzureblob["default"].prototype['container'] = undefined;
/**
* The Azure shared access signature providing write access to the blob service objects. Be sure to update your token before it expires or the logging functionality will not work. Required.
* @member {String} sas_token
*/
-
_LoggingAzureblob["default"].prototype['sas_token'] = undefined;
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
_LoggingAzureblob["default"].prototype['public_key'] = 'null';
/**
* The maximum number of bytes for each uploaded file. A value of 0 can be used to indicate there is no limit on the size of uploaded files, otherwise the minimum value is 1048576 bytes (1 MiB.)
* @member {Number} file_max_bytes
*/
-
-_LoggingAzureblob["default"].prototype['file_max_bytes'] = undefined; // Implement Timestamps interface:
-
+_LoggingAzureblob["default"].prototype['file_max_bytes'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingAzureblobResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingAzureblobResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the message_type
property.
* @enum {String}
* @readonly
*/
-
LoggingAzureblobResponse['MessageTypeEnum'] = {
/**
* value: "classic"
* @const
*/
"classic": "classic",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logplex"
* @const
*/
"logplex": "logplex",
-
/**
* value: "blank"
* @const
*/
"blank": "blank"
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingAzureblobResponse['CompressionCodecEnum'] = {
/**
* value: "zstd"
* @const
*/
"zstd": "zstd",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "gzip"
* @const
@@ -59317,27 +58176,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingBigqueryAllOf = _interopRequireDefault(__nccwpck_require__(59267));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingGcsCommon = _interopRequireDefault(__nccwpck_require__(25487));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingBigquery model module.
* @module model/LoggingBigquery
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingBigquery = /*#__PURE__*/function () {
/**
@@ -59349,25 +58202,21 @@ var LoggingBigquery = /*#__PURE__*/function () {
*/
function LoggingBigquery() {
_classCallCheck(this, LoggingBigquery);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingGcsCommon["default"].initialize(this);
-
_LoggingBigqueryAllOf["default"].initialize(this);
-
LoggingBigquery.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingBigquery, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingBigquery
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -59375,259 +58224,239 @@ var LoggingBigquery = /*#__PURE__*/function () {
* @param {module:model/LoggingBigquery} obj Optional instance to populate.
* @return {module:model/LoggingBigquery} The populated LoggingBigquery
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingBigquery();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingGcsCommon["default"].constructFromObject(data, obj);
-
_LoggingBigqueryAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
-
+ if (data.hasOwnProperty('account_name')) {
+ obj['account_name'] = _ApiClient["default"].convertToType(data['account_name'], 'String');
+ }
if (data.hasOwnProperty('dataset')) {
obj['dataset'] = _ApiClient["default"].convertToType(data['dataset'], 'String');
}
-
if (data.hasOwnProperty('table')) {
obj['table'] = _ApiClient["default"].convertToType(data['table'], 'String');
}
-
if (data.hasOwnProperty('template_suffix')) {
obj['template_suffix'] = _ApiClient["default"].convertToType(data['template_suffix'], 'String');
}
-
if (data.hasOwnProperty('project_id')) {
obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingBigquery;
}();
/**
* The name of the BigQuery logging object. Used as a primary key for API access.
* @member {String} name
*/
-
-
LoggingBigquery.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingBigquery.PlacementEnum} placement
*/
-
LoggingBigquery.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingBigquery.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingBigquery.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingBigquery.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table.
* @member {String} format
*/
-
LoggingBigquery.prototype['format'] = undefined;
+
/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
*/
-
LoggingBigquery.prototype['user'] = undefined;
+
/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} secret_key
*/
-
LoggingBigquery.prototype['secret_key'] = undefined;
+
+/**
+ * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
+ * @member {String} account_name
+ */
+LoggingBigquery.prototype['account_name'] = undefined;
+
/**
* Your BigQuery dataset.
* @member {String} dataset
*/
-
LoggingBigquery.prototype['dataset'] = undefined;
+
/**
* Your BigQuery table.
* @member {String} table
*/
-
LoggingBigquery.prototype['table'] = undefined;
+
/**
* BigQuery table name suffix template. Optional.
* @member {String} template_suffix
*/
-
LoggingBigquery.prototype['template_suffix'] = undefined;
+
/**
* Your Google Cloud Platform project ID. Required
* @member {String} project_id
*/
+LoggingBigquery.prototype['project_id'] = undefined;
-LoggingBigquery.prototype['project_id'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingGcsCommon interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingGcsCommon interface:
/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
*/
-
_LoggingGcsCommon["default"].prototype['user'] = undefined;
/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} secret_key
*/
-
-_LoggingGcsCommon["default"].prototype['secret_key'] = undefined; // Implement LoggingBigqueryAllOf interface:
-
+_LoggingGcsCommon["default"].prototype['secret_key'] = undefined;
+/**
+ * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
+ * @member {String} account_name
+ */
+_LoggingGcsCommon["default"].prototype['account_name'] = undefined;
+// Implement LoggingBigqueryAllOf interface:
/**
* The name of the BigQuery logging object. Used as a primary key for API access.
* @member {String} name
*/
-
_LoggingBigqueryAllOf["default"].prototype['name'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table.
* @member {String} format
*/
-
_LoggingBigqueryAllOf["default"].prototype['format'] = undefined;
/**
* Your BigQuery dataset.
* @member {String} dataset
*/
-
_LoggingBigqueryAllOf["default"].prototype['dataset'] = undefined;
/**
* Your BigQuery table.
* @member {String} table
*/
-
_LoggingBigqueryAllOf["default"].prototype['table'] = undefined;
/**
* BigQuery table name suffix template. Optional.
* @member {String} template_suffix
*/
-
_LoggingBigqueryAllOf["default"].prototype['template_suffix'] = undefined;
/**
* Your Google Cloud Platform project ID. Required
* @member {String} project_id
*/
-
_LoggingBigqueryAllOf["default"].prototype['project_id'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingBigquery['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingBigquery['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -59649,21 +58478,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingBigqueryAllOf model module.
* @module model/LoggingBigqueryAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingBigqueryAllOf = /*#__PURE__*/function () {
/**
@@ -59672,19 +58498,18 @@ var LoggingBigqueryAllOf = /*#__PURE__*/function () {
*/
function LoggingBigqueryAllOf() {
_classCallCheck(this, LoggingBigqueryAllOf);
-
LoggingBigqueryAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingBigqueryAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingBigqueryAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -59692,80 +58517,69 @@ var LoggingBigqueryAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingBigqueryAllOf} obj Optional instance to populate.
* @return {module:model/LoggingBigqueryAllOf} The populated LoggingBigqueryAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingBigqueryAllOf();
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('dataset')) {
obj['dataset'] = _ApiClient["default"].convertToType(data['dataset'], 'String');
}
-
if (data.hasOwnProperty('table')) {
obj['table'] = _ApiClient["default"].convertToType(data['table'], 'String');
}
-
if (data.hasOwnProperty('template_suffix')) {
obj['template_suffix'] = _ApiClient["default"].convertToType(data['template_suffix'], 'String');
}
-
if (data.hasOwnProperty('project_id')) {
obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingBigqueryAllOf;
}();
/**
* The name of the BigQuery logging object. Used as a primary key for API access.
* @member {String} name
*/
-
-
LoggingBigqueryAllOf.prototype['name'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table.
* @member {String} format
*/
-
LoggingBigqueryAllOf.prototype['format'] = undefined;
+
/**
* Your BigQuery dataset.
* @member {String} dataset
*/
-
LoggingBigqueryAllOf.prototype['dataset'] = undefined;
+
/**
* Your BigQuery table.
* @member {String} table
*/
-
LoggingBigqueryAllOf.prototype['table'] = undefined;
+
/**
* BigQuery table name suffix template. Optional.
* @member {String} template_suffix
*/
-
LoggingBigqueryAllOf.prototype['template_suffix'] = undefined;
+
/**
* Your Google Cloud Platform project ID. Required
* @member {String} project_id
*/
-
LoggingBigqueryAllOf.prototype['project_id'] = undefined;
var _default = LoggingBigqueryAllOf;
exports["default"] = _default;
@@ -59782,27 +58596,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingBigquery = _interopRequireDefault(__nccwpck_require__(62173));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingBigqueryResponse model module.
* @module model/LoggingBigqueryResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingBigqueryResponse = /*#__PURE__*/function () {
/**
@@ -59814,25 +58622,21 @@ var LoggingBigqueryResponse = /*#__PURE__*/function () {
*/
function LoggingBigqueryResponse() {
_classCallCheck(this, LoggingBigqueryResponse);
-
_LoggingBigquery["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingBigqueryResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingBigqueryResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingBigqueryResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -59840,322 +58644,294 @@ var LoggingBigqueryResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingBigqueryResponse} obj Optional instance to populate.
* @return {module:model/LoggingBigqueryResponse} The populated LoggingBigqueryResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingBigqueryResponse();
-
_LoggingBigquery["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
-
+ if (data.hasOwnProperty('account_name')) {
+ obj['account_name'] = _ApiClient["default"].convertToType(data['account_name'], 'String');
+ }
if (data.hasOwnProperty('dataset')) {
obj['dataset'] = _ApiClient["default"].convertToType(data['dataset'], 'String');
}
-
if (data.hasOwnProperty('table')) {
obj['table'] = _ApiClient["default"].convertToType(data['table'], 'String');
}
-
if (data.hasOwnProperty('template_suffix')) {
obj['template_suffix'] = _ApiClient["default"].convertToType(data['template_suffix'], 'String');
}
-
if (data.hasOwnProperty('project_id')) {
obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingBigqueryResponse;
}();
/**
* The name of the BigQuery logging object. Used as a primary key for API access.
* @member {String} name
*/
-
-
LoggingBigqueryResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingBigqueryResponse.PlacementEnum} placement
*/
-
LoggingBigqueryResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingBigqueryResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingBigqueryResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingBigqueryResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table.
* @member {String} format
*/
-
LoggingBigqueryResponse.prototype['format'] = undefined;
+
/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
*/
-
LoggingBigqueryResponse.prototype['user'] = undefined;
+
/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} secret_key
*/
-
LoggingBigqueryResponse.prototype['secret_key'] = undefined;
+
+/**
+ * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
+ * @member {String} account_name
+ */
+LoggingBigqueryResponse.prototype['account_name'] = undefined;
+
/**
* Your BigQuery dataset.
* @member {String} dataset
*/
-
LoggingBigqueryResponse.prototype['dataset'] = undefined;
+
/**
* Your BigQuery table.
* @member {String} table
*/
-
LoggingBigqueryResponse.prototype['table'] = undefined;
+
/**
* BigQuery table name suffix template. Optional.
* @member {String} template_suffix
*/
-
LoggingBigqueryResponse.prototype['template_suffix'] = undefined;
+
/**
* Your Google Cloud Platform project ID. Required
* @member {String} project_id
*/
-
LoggingBigqueryResponse.prototype['project_id'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingBigqueryResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingBigqueryResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingBigqueryResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingBigqueryResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingBigqueryResponse.prototype['version'] = undefined;
-LoggingBigqueryResponse.prototype['version'] = undefined; // Implement LoggingBigquery interface:
-
+// Implement LoggingBigquery interface:
/**
* The name of the BigQuery logging object. Used as a primary key for API access.
* @member {String} name
*/
-
_LoggingBigquery["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingBigquery.PlacementEnum} placement
*/
-
_LoggingBigquery["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingBigquery.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingBigquery["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingBigquery["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table.
* @member {String} format
*/
-
_LoggingBigquery["default"].prototype['format'] = undefined;
/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
*/
-
_LoggingBigquery["default"].prototype['user'] = undefined;
/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} secret_key
*/
-
_LoggingBigquery["default"].prototype['secret_key'] = undefined;
+/**
+ * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
+ * @member {String} account_name
+ */
+_LoggingBigquery["default"].prototype['account_name'] = undefined;
/**
* Your BigQuery dataset.
* @member {String} dataset
*/
-
_LoggingBigquery["default"].prototype['dataset'] = undefined;
/**
* Your BigQuery table.
* @member {String} table
*/
-
_LoggingBigquery["default"].prototype['table'] = undefined;
/**
* BigQuery table name suffix template. Optional.
* @member {String} template_suffix
*/
-
_LoggingBigquery["default"].prototype['template_suffix'] = undefined;
/**
* Your Google Cloud Platform project ID. Required
* @member {String} project_id
*/
-
-_LoggingBigquery["default"].prototype['project_id'] = undefined; // Implement Timestamps interface:
-
+_LoggingBigquery["default"].prototype['project_id'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingBigqueryResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingBigqueryResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -60177,27 +58953,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCloudfilesAllOf = _interopRequireDefault(__nccwpck_require__(88817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingGenericCommon = _interopRequireDefault(__nccwpck_require__(50838));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingCloudfiles model module.
* @module model/LoggingCloudfiles
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingCloudfiles = /*#__PURE__*/function () {
/**
@@ -60209,25 +58979,21 @@ var LoggingCloudfiles = /*#__PURE__*/function () {
*/
function LoggingCloudfiles() {
_classCallCheck(this, LoggingCloudfiles);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingGenericCommon["default"].initialize(this);
-
_LoggingCloudfilesAllOf["default"].initialize(this);
-
LoggingCloudfiles.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingCloudfiles, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingCloudfiles
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -60235,443 +59001,390 @@ var LoggingCloudfiles = /*#__PURE__*/function () {
* @param {module:model/LoggingCloudfiles} obj Optional instance to populate.
* @return {module:model/LoggingCloudfiles} The populated LoggingCloudfiles
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingCloudfiles();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingGenericCommon["default"].constructFromObject(data, obj);
-
_LoggingCloudfilesAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
}
-
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = _ApiClient["default"].convertToType(data['timestamp_format'], 'String');
}
-
if (data.hasOwnProperty('period')) {
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Number');
}
-
if (data.hasOwnProperty('gzip_level')) {
obj['gzip_level'] = _ApiClient["default"].convertToType(data['gzip_level'], 'Number');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = _ApiClient["default"].convertToType(data['access_key'], 'String');
}
-
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = _ApiClient["default"].convertToType(data['bucket_name'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('region')) {
obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingCloudfiles;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingCloudfiles.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCloudfiles.PlacementEnum} placement
*/
-
LoggingCloudfiles.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCloudfiles.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingCloudfiles.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingCloudfiles.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingCloudfiles.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* How the message should be formatted.
* @member {module:model/LoggingCloudfiles.MessageTypeEnum} message_type
* @default 'classic'
*/
-
LoggingCloudfiles.prototype['message_type'] = undefined;
+
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
LoggingCloudfiles.prototype['timestamp_format'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
LoggingCloudfiles.prototype['period'] = 3600;
+
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
LoggingCloudfiles.prototype['gzip_level'] = 0;
+
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingCloudfiles.CompressionCodecEnum} compression_codec
*/
-
LoggingCloudfiles.prototype['compression_codec'] = undefined;
+
/**
* Your Cloud Files account access key.
* @member {String} access_key
*/
-
LoggingCloudfiles.prototype['access_key'] = undefined;
+
/**
* The name of your Cloud Files container.
* @member {String} bucket_name
*/
-
LoggingCloudfiles.prototype['bucket_name'] = undefined;
+
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
LoggingCloudfiles.prototype['path'] = 'null';
+
/**
* The region to stream logs to.
* @member {module:model/LoggingCloudfiles.RegionEnum} region
*/
-
LoggingCloudfiles.prototype['region'] = undefined;
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingCloudfiles.prototype['public_key'] = 'null';
+
/**
* The username for your Cloud Files account.
* @member {String} user
*/
+LoggingCloudfiles.prototype['user'] = undefined;
-LoggingCloudfiles.prototype['user'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingGenericCommon interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingGenericCommon interface:
/**
* How the message should be formatted.
* @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
* @default 'classic'
*/
-
_LoggingGenericCommon["default"].prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
_LoggingGenericCommon["default"].prototype['timestamp_format'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
_LoggingGenericCommon["default"].prototype['period'] = 3600;
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
_LoggingGenericCommon["default"].prototype['gzip_level'] = 0;
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
*/
-
-_LoggingGenericCommon["default"].prototype['compression_codec'] = undefined; // Implement LoggingCloudfilesAllOf interface:
-
+_LoggingGenericCommon["default"].prototype['compression_codec'] = undefined;
+// Implement LoggingCloudfilesAllOf interface:
/**
* Your Cloud Files account access key.
* @member {String} access_key
*/
-
_LoggingCloudfilesAllOf["default"].prototype['access_key'] = undefined;
/**
* The name of your Cloud Files container.
* @member {String} bucket_name
*/
-
_LoggingCloudfilesAllOf["default"].prototype['bucket_name'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
_LoggingCloudfilesAllOf["default"].prototype['path'] = 'null';
/**
* The region to stream logs to.
* @member {module:model/LoggingCloudfilesAllOf.RegionEnum} region
*/
-
_LoggingCloudfilesAllOf["default"].prototype['region'] = undefined;
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
_LoggingCloudfilesAllOf["default"].prototype['public_key'] = 'null';
/**
* The username for your Cloud Files account.
* @member {String} user
*/
-
_LoggingCloudfilesAllOf["default"].prototype['user'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingCloudfiles['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingCloudfiles['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the message_type
property.
* @enum {String}
* @readonly
*/
-
LoggingCloudfiles['MessageTypeEnum'] = {
/**
* value: "classic"
* @const
*/
"classic": "classic",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logplex"
* @const
*/
"logplex": "logplex",
-
/**
* value: "blank"
* @const
*/
"blank": "blank"
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingCloudfiles['CompressionCodecEnum'] = {
/**
* value: "zstd"
* @const
*/
"zstd": "zstd",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "gzip"
* @const
*/
"gzip": "gzip"
};
+
/**
* Allowed values for the region
property.
* @enum {String}
* @readonly
*/
-
LoggingCloudfiles['RegionEnum'] = {
/**
* value: "DFW"
* @const
*/
"DFW": "DFW",
-
/**
* value: "ORD"
* @const
*/
"ORD": "ORD",
-
/**
* value: "IAD"
* @const
*/
"IAD": "IAD",
-
/**
* value: "LON"
* @const
*/
"LON": "LON",
-
/**
* value: "SYD"
* @const
*/
"SYD": "SYD",
-
/**
* value: "HKG"
* @const
*/
"HKG": "HKG",
-
/**
* value: "null"
* @const
@@ -60693,21 +59406,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingCloudfilesAllOf model module.
* @module model/LoggingCloudfilesAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingCloudfilesAllOf = /*#__PURE__*/function () {
/**
@@ -60716,19 +59426,18 @@ var LoggingCloudfilesAllOf = /*#__PURE__*/function () {
*/
function LoggingCloudfilesAllOf() {
_classCallCheck(this, LoggingCloudfilesAllOf);
-
LoggingCloudfilesAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingCloudfilesAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingCloudfilesAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -60736,126 +59445,109 @@ var LoggingCloudfilesAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingCloudfilesAllOf} obj Optional instance to populate.
* @return {module:model/LoggingCloudfilesAllOf} The populated LoggingCloudfilesAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingCloudfilesAllOf();
-
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = _ApiClient["default"].convertToType(data['access_key'], 'String');
}
-
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = _ApiClient["default"].convertToType(data['bucket_name'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('region')) {
obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingCloudfilesAllOf;
}();
/**
* Your Cloud Files account access key.
* @member {String} access_key
*/
-
-
LoggingCloudfilesAllOf.prototype['access_key'] = undefined;
+
/**
* The name of your Cloud Files container.
* @member {String} bucket_name
*/
-
LoggingCloudfilesAllOf.prototype['bucket_name'] = undefined;
+
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
LoggingCloudfilesAllOf.prototype['path'] = 'null';
+
/**
* The region to stream logs to.
* @member {module:model/LoggingCloudfilesAllOf.RegionEnum} region
*/
-
LoggingCloudfilesAllOf.prototype['region'] = undefined;
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingCloudfilesAllOf.prototype['public_key'] = 'null';
+
/**
* The username for your Cloud Files account.
* @member {String} user
*/
-
LoggingCloudfilesAllOf.prototype['user'] = undefined;
+
/**
* Allowed values for the region
property.
* @enum {String}
* @readonly
*/
-
LoggingCloudfilesAllOf['RegionEnum'] = {
/**
* value: "DFW"
* @const
*/
"DFW": "DFW",
-
/**
* value: "ORD"
* @const
*/
"ORD": "ORD",
-
/**
* value: "IAD"
* @const
*/
"IAD": "IAD",
-
/**
* value: "LON"
* @const
*/
"LON": "LON",
-
/**
* value: "SYD"
* @const
*/
"SYD": "SYD",
-
/**
* value: "HKG"
* @const
*/
"HKG": "HKG",
-
/**
* value: "null"
* @const
@@ -60877,27 +59569,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCloudfiles = _interopRequireDefault(__nccwpck_require__(41443));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingCloudfilesResponse model module.
* @module model/LoggingCloudfilesResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingCloudfilesResponse = /*#__PURE__*/function () {
/**
@@ -60909,25 +59595,21 @@ var LoggingCloudfilesResponse = /*#__PURE__*/function () {
*/
function LoggingCloudfilesResponse() {
_classCallCheck(this, LoggingCloudfilesResponse);
-
_LoggingCloudfiles["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingCloudfilesResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingCloudfilesResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingCloudfilesResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -60935,519 +59617,456 @@ var LoggingCloudfilesResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingCloudfilesResponse} obj Optional instance to populate.
* @return {module:model/LoggingCloudfilesResponse} The populated LoggingCloudfilesResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingCloudfilesResponse();
-
_LoggingCloudfiles["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
}
-
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = _ApiClient["default"].convertToType(data['timestamp_format'], 'String');
}
-
if (data.hasOwnProperty('period')) {
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Number');
}
-
if (data.hasOwnProperty('gzip_level')) {
obj['gzip_level'] = _ApiClient["default"].convertToType(data['gzip_level'], 'Number');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = _ApiClient["default"].convertToType(data['access_key'], 'String');
}
-
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = _ApiClient["default"].convertToType(data['bucket_name'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('region')) {
obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingCloudfilesResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingCloudfilesResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCloudfilesResponse.PlacementEnum} placement
*/
-
LoggingCloudfilesResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCloudfilesResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingCloudfilesResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingCloudfilesResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingCloudfilesResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* How the message should be formatted.
* @member {module:model/LoggingCloudfilesResponse.MessageTypeEnum} message_type
* @default 'classic'
*/
-
LoggingCloudfilesResponse.prototype['message_type'] = undefined;
+
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
LoggingCloudfilesResponse.prototype['timestamp_format'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
LoggingCloudfilesResponse.prototype['period'] = 3600;
+
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
LoggingCloudfilesResponse.prototype['gzip_level'] = 0;
+
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingCloudfilesResponse.CompressionCodecEnum} compression_codec
*/
-
LoggingCloudfilesResponse.prototype['compression_codec'] = undefined;
+
/**
* Your Cloud Files account access key.
* @member {String} access_key
*/
-
LoggingCloudfilesResponse.prototype['access_key'] = undefined;
+
/**
* The name of your Cloud Files container.
* @member {String} bucket_name
*/
-
LoggingCloudfilesResponse.prototype['bucket_name'] = undefined;
+
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
LoggingCloudfilesResponse.prototype['path'] = 'null';
+
/**
* The region to stream logs to.
* @member {module:model/LoggingCloudfilesResponse.RegionEnum} region
*/
-
LoggingCloudfilesResponse.prototype['region'] = undefined;
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingCloudfilesResponse.prototype['public_key'] = 'null';
+
/**
* The username for your Cloud Files account.
* @member {String} user
*/
-
LoggingCloudfilesResponse.prototype['user'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingCloudfilesResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingCloudfilesResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingCloudfilesResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingCloudfilesResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingCloudfilesResponse.prototype['version'] = undefined;
-LoggingCloudfilesResponse.prototype['version'] = undefined; // Implement LoggingCloudfiles interface:
-
+// Implement LoggingCloudfiles interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCloudfiles["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCloudfiles.PlacementEnum} placement
*/
-
_LoggingCloudfiles["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCloudfiles.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCloudfiles["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCloudfiles["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingCloudfiles["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* How the message should be formatted.
* @member {module:model/LoggingCloudfiles.MessageTypeEnum} message_type
* @default 'classic'
*/
-
_LoggingCloudfiles["default"].prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
_LoggingCloudfiles["default"].prototype['timestamp_format'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
_LoggingCloudfiles["default"].prototype['period'] = 3600;
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
_LoggingCloudfiles["default"].prototype['gzip_level'] = 0;
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingCloudfiles.CompressionCodecEnum} compression_codec
*/
-
_LoggingCloudfiles["default"].prototype['compression_codec'] = undefined;
/**
* Your Cloud Files account access key.
* @member {String} access_key
*/
-
_LoggingCloudfiles["default"].prototype['access_key'] = undefined;
/**
* The name of your Cloud Files container.
* @member {String} bucket_name
*/
-
_LoggingCloudfiles["default"].prototype['bucket_name'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
_LoggingCloudfiles["default"].prototype['path'] = 'null';
/**
* The region to stream logs to.
* @member {module:model/LoggingCloudfiles.RegionEnum} region
*/
-
_LoggingCloudfiles["default"].prototype['region'] = undefined;
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
_LoggingCloudfiles["default"].prototype['public_key'] = 'null';
/**
* The username for your Cloud Files account.
* @member {String} user
*/
-
-_LoggingCloudfiles["default"].prototype['user'] = undefined; // Implement Timestamps interface:
-
+_LoggingCloudfiles["default"].prototype['user'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingCloudfilesResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingCloudfilesResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the message_type
property.
* @enum {String}
* @readonly
*/
-
LoggingCloudfilesResponse['MessageTypeEnum'] = {
/**
* value: "classic"
* @const
*/
"classic": "classic",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logplex"
* @const
*/
"logplex": "logplex",
-
/**
* value: "blank"
* @const
*/
"blank": "blank"
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingCloudfilesResponse['CompressionCodecEnum'] = {
/**
* value: "zstd"
* @const
*/
"zstd": "zstd",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "gzip"
* @const
*/
"gzip": "gzip"
};
+
/**
* Allowed values for the region
property.
* @enum {String}
* @readonly
*/
-
LoggingCloudfilesResponse['RegionEnum'] = {
/**
* value: "DFW"
* @const
*/
"DFW": "DFW",
-
/**
* value: "ORD"
* @const
*/
"ORD": "ORD",
-
/**
* value: "IAD"
* @const
*/
"IAD": "IAD",
-
/**
* value: "LON"
* @const
*/
"LON": "LON",
-
/**
* value: "SYD"
* @const
*/
"SYD": "SYD",
-
/**
* value: "HKG"
* @const
*/
"HKG": "HKG",
-
/**
* value: "null"
* @const
@@ -61469,21 +60088,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingCommon model module.
* @module model/LoggingCommon
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingCommon = /*#__PURE__*/function () {
/**
@@ -61492,19 +60108,18 @@ var LoggingCommon = /*#__PURE__*/function () {
*/
function LoggingCommon() {
_classCallCheck(this, LoggingCommon);
-
LoggingCommon.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingCommon, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingCommon
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -61512,111 +60127,98 @@ var LoggingCommon = /*#__PURE__*/function () {
* @param {module:model/LoggingCommon} obj Optional instance to populate.
* @return {module:model/LoggingCommon} The populated LoggingCommon
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingCommon();
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingCommon;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingCommon.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
LoggingCommon.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingCommon.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingCommon.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingCommon.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingCommon['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingCommon['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -61638,25 +60240,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingDatadogAllOf = _interopRequireDefault(__nccwpck_require__(35061));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingDatadog model module.
* @module model/LoggingDatadog
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingDatadog = /*#__PURE__*/function () {
/**
@@ -61667,23 +60264,20 @@ var LoggingDatadog = /*#__PURE__*/function () {
*/
function LoggingDatadog() {
_classCallCheck(this, LoggingDatadog);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingDatadogAllOf["default"].initialize(this);
-
LoggingDatadog.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingDatadog, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingDatadog
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -61691,209 +60285,184 @@ var LoggingDatadog = /*#__PURE__*/function () {
* @param {module:model/LoggingDatadog} obj Optional instance to populate.
* @return {module:model/LoggingDatadog} The populated LoggingDatadog
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingDatadog();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingDatadogAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('region')) {
obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingDatadog;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingDatadog.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingDatadog.PlacementEnum} placement
*/
-
LoggingDatadog.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingDatadog.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingDatadog.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingDatadog.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest.
* @member {String} format
* @default '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}'
*/
-
LoggingDatadog.prototype['format'] = '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}';
+
/**
* The region that log data will be sent to.
* @member {module:model/LoggingDatadog.RegionEnum} region
* @default 'US'
*/
-
LoggingDatadog.prototype['region'] = undefined;
+
/**
* The API key from your Datadog account. Required.
* @member {String} token
*/
+LoggingDatadog.prototype['token'] = undefined;
-LoggingDatadog.prototype['token'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingDatadogAllOf interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingDatadogAllOf interface:
/**
* The region that log data will be sent to.
* @member {module:model/LoggingDatadogAllOf.RegionEnum} region
* @default 'US'
*/
-
_LoggingDatadogAllOf["default"].prototype['region'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest.
* @member {String} format
* @default '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}'
*/
-
_LoggingDatadogAllOf["default"].prototype['format'] = '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}';
/**
* The API key from your Datadog account. Required.
* @member {String} token
*/
-
_LoggingDatadogAllOf["default"].prototype['token'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingDatadog['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingDatadog['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the region
property.
* @enum {String}
* @readonly
*/
-
LoggingDatadog['RegionEnum'] = {
/**
* value: "US"
* @const
*/
"US": "US",
-
/**
* value: "EU"
* @const
@@ -61915,21 +60484,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingDatadogAllOf model module.
* @module model/LoggingDatadogAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingDatadogAllOf = /*#__PURE__*/function () {
/**
@@ -61938,19 +60504,18 @@ var LoggingDatadogAllOf = /*#__PURE__*/function () {
*/
function LoggingDatadogAllOf() {
_classCallCheck(this, LoggingDatadogAllOf);
-
LoggingDatadogAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingDatadogAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingDatadogAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -61958,30 +60523,24 @@ var LoggingDatadogAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingDatadogAllOf} obj Optional instance to populate.
* @return {module:model/LoggingDatadogAllOf} The populated LoggingDatadogAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingDatadogAllOf();
-
if (data.hasOwnProperty('region')) {
obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingDatadogAllOf;
}();
/**
@@ -61989,35 +60548,32 @@ var LoggingDatadogAllOf = /*#__PURE__*/function () {
* @member {module:model/LoggingDatadogAllOf.RegionEnum} region
* @default 'US'
*/
-
-
LoggingDatadogAllOf.prototype['region'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest.
* @member {String} format
* @default '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}'
*/
-
LoggingDatadogAllOf.prototype['format'] = '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}';
+
/**
* The API key from your Datadog account. Required.
* @member {String} token
*/
-
LoggingDatadogAllOf.prototype['token'] = undefined;
+
/**
* Allowed values for the region
property.
* @enum {String}
* @readonly
*/
-
LoggingDatadogAllOf['RegionEnum'] = {
/**
* value: "US"
* @const
*/
"US": "US",
-
/**
* value: "EU"
* @const
@@ -62039,27 +60595,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingDatadog = _interopRequireDefault(__nccwpck_require__(30324));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingDatadogResponse model module.
* @module model/LoggingDatadogResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingDatadogResponse = /*#__PURE__*/function () {
/**
@@ -62071,25 +60621,21 @@ var LoggingDatadogResponse = /*#__PURE__*/function () {
*/
function LoggingDatadogResponse() {
_classCallCheck(this, LoggingDatadogResponse);
-
_LoggingDatadog["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingDatadogResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingDatadogResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingDatadogResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -62097,281 +60643,246 @@ var LoggingDatadogResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingDatadogResponse} obj Optional instance to populate.
* @return {module:model/LoggingDatadogResponse} The populated LoggingDatadogResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingDatadogResponse();
-
_LoggingDatadog["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('region')) {
obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingDatadogResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingDatadogResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingDatadogResponse.PlacementEnum} placement
*/
-
LoggingDatadogResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingDatadogResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingDatadogResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingDatadogResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest.
* @member {String} format
* @default '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}'
*/
-
LoggingDatadogResponse.prototype['format'] = '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}';
+
/**
* The region that log data will be sent to.
* @member {module:model/LoggingDatadogResponse.RegionEnum} region
* @default 'US'
*/
-
LoggingDatadogResponse.prototype['region'] = undefined;
+
/**
* The API key from your Datadog account. Required.
* @member {String} token
*/
-
LoggingDatadogResponse.prototype['token'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingDatadogResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingDatadogResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingDatadogResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingDatadogResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingDatadogResponse.prototype['version'] = undefined;
-LoggingDatadogResponse.prototype['version'] = undefined; // Implement LoggingDatadog interface:
-
+// Implement LoggingDatadog interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingDatadog["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingDatadog.PlacementEnum} placement
*/
-
_LoggingDatadog["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingDatadog.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingDatadog["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingDatadog["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Datadog can ingest.
* @member {String} format
* @default '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}'
*/
-
_LoggingDatadog["default"].prototype['format'] = '{"ddsource":"fastly","service":"%{req.service_id}V","date":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_start":"%{begin:%Y-%m-%dT%H:%M:%S%Z}t","time_end":"%{end:%Y-%m-%dT%H:%M:%S%Z}t","http":{"request_time_ms":"%D","method":"%m","url":"%{json.escape(req.url)}V","useragent":"%{User-Agent}i","referer":"%{Referer}i","protocol":"%H","request_x_forwarded_for":"%{X-Forwarded-For}i","status_code":"%s"},"network":{"client":{"ip":"%h","name":"%{client.as.name}V","number":"%{client.as.number}V","connection_speed":"%{client.geo.conn_speed}V"},"destination":{"ip":"%A"},"geoip":{"geo_city":"%{client.geo.city.utf8}V","geo_country_code":"%{client.geo.country_code}V","geo_continent_code":"%{client.geo.continent_code}V","geo_region":"%{client.geo.region}V"},"bytes_written":"%B","bytes_read":"%{req.body_bytes_read}V"},"host":"%{Fastly-Orig-Host}i","origin_host":"%v","is_ipv6":"%{if(req.is_ipv6, \"true\", \"false\")}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","tls_client_protocol":"%{json.escape(tls.client.protocol)}V","tls_client_servername":"%{json.escape(tls.client.servername)}V","tls_client_cipher":"%{json.escape(tls.client.cipher)}V","tls_client_cipher_sha":"%{json.escape(tls.client.ciphers_sha)}V","tls_client_tlsexts_sha":"%{json.escape(tls.client.tlsexts_sha)}V","is_h2":"%{if(fastly_info.is_h2, \"true\", \"false\")}V","is_h2_push":"%{if(fastly_info.h2.is_push, \"true\", \"false\")}V","h2_stream_id":"%{fastly_info.h2.stream_id}V","request_accept_content":"%{Accept}i","request_accept_language":"%{Accept-Language}i","request_accept_encoding":"%{Accept-Encoding}i","request_accept_charset":"%{Accept-Charset}i","request_connection":"%{Connection}i","request_dnt":"%{DNT}i","request_forwarded":"%{Forwarded}i","request_via":"%{Via}i","request_cache_control":"%{Cache-Control}i","request_x_requested_with":"%{X-Requested-With}i","request_x_att_device_id":"%{X-ATT-Device-Id}i","content_type":"%{Content-Type}o","is_cacheable":"%{if(fastly_info.state~\"^(HIT|MISS)$\", \"true\", \"false\")}V","response_age":"%{Age}o","response_cache_control":"%{Cache-Control}o","response_expires":"%{Expires}o","response_last_modified":"%{Last-Modified}o","response_tsv":"%{TSV}o","server_datacenter":"%{server.datacenter}V","req_header_size":"%{req.header_bytes_read}V","resp_header_size":"%{resp.header_bytes_written}V","socket_cwnd":"%{client.socket.cwnd}V","socket_nexthop":"%{client.socket.nexthop}V","socket_tcpi_rcv_mss":"%{client.socket.tcpi_rcv_mss}V","socket_tcpi_snd_mss":"%{client.socket.tcpi_snd_mss}V","socket_tcpi_rtt":"%{client.socket.tcpi_rtt}V","socket_tcpi_rttvar":"%{client.socket.tcpi_rttvar}V","socket_tcpi_rcv_rtt":"%{client.socket.tcpi_rcv_rtt}V","socket_tcpi_rcv_space":"%{client.socket.tcpi_rcv_space}V","socket_tcpi_last_data_sent":"%{client.socket.tcpi_last_data_sent}V","socket_tcpi_total_retrans":"%{client.socket.tcpi_total_retrans}V","socket_tcpi_delta_retrans":"%{client.socket.tcpi_delta_retrans}V","socket_ploss":"%{client.socket.ploss}V"}';
/**
* The region that log data will be sent to.
* @member {module:model/LoggingDatadog.RegionEnum} region
* @default 'US'
*/
-
_LoggingDatadog["default"].prototype['region'] = undefined;
/**
* The API key from your Datadog account. Required.
* @member {String} token
*/
-
-_LoggingDatadog["default"].prototype['token'] = undefined; // Implement Timestamps interface:
-
+_LoggingDatadog["default"].prototype['token'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingDatadogResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingDatadogResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the region
property.
* @enum {String}
* @readonly
*/
-
LoggingDatadogResponse['RegionEnum'] = {
/**
* value: "US"
* @const
*/
"US": "US",
-
/**
* value: "EU"
* @const
@@ -62393,27 +60904,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingDigitaloceanAllOf = _interopRequireDefault(__nccwpck_require__(38914));
-
var _LoggingGenericCommon = _interopRequireDefault(__nccwpck_require__(50838));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingDigitalocean model module.
* @module model/LoggingDigitalocean
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingDigitalocean = /*#__PURE__*/function () {
/**
@@ -62425,25 +60930,21 @@ var LoggingDigitalocean = /*#__PURE__*/function () {
*/
function LoggingDigitalocean() {
_classCallCheck(this, LoggingDigitalocean);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingGenericCommon["default"].initialize(this);
-
_LoggingDigitaloceanAllOf["default"].initialize(this);
-
LoggingDigitalocean.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingDigitalocean, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingDigitalocean
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -62451,396 +60952,349 @@ var LoggingDigitalocean = /*#__PURE__*/function () {
* @param {module:model/LoggingDigitalocean} obj Optional instance to populate.
* @return {module:model/LoggingDigitalocean} The populated LoggingDigitalocean
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingDigitalocean();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingGenericCommon["default"].constructFromObject(data, obj);
-
_LoggingDigitaloceanAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
}
-
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = _ApiClient["default"].convertToType(data['timestamp_format'], 'String');
}
-
if (data.hasOwnProperty('period')) {
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Number');
}
-
if (data.hasOwnProperty('gzip_level')) {
obj['gzip_level'] = _ApiClient["default"].convertToType(data['gzip_level'], 'Number');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = _ApiClient["default"].convertToType(data['bucket_name'], 'String');
}
-
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = _ApiClient["default"].convertToType(data['access_key'], 'String');
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
-
if (data.hasOwnProperty('domain')) {
obj['domain'] = _ApiClient["default"].convertToType(data['domain'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingDigitalocean;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingDigitalocean.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingDigitalocean.PlacementEnum} placement
*/
-
LoggingDigitalocean.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingDigitalocean.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingDigitalocean.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingDigitalocean.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingDigitalocean.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* How the message should be formatted.
* @member {module:model/LoggingDigitalocean.MessageTypeEnum} message_type
* @default 'classic'
*/
-
LoggingDigitalocean.prototype['message_type'] = undefined;
+
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
LoggingDigitalocean.prototype['timestamp_format'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
LoggingDigitalocean.prototype['period'] = 3600;
+
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
LoggingDigitalocean.prototype['gzip_level'] = 0;
+
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingDigitalocean.CompressionCodecEnum} compression_codec
*/
-
LoggingDigitalocean.prototype['compression_codec'] = undefined;
+
/**
* The name of the DigitalOcean Space.
* @member {String} bucket_name
*/
-
LoggingDigitalocean.prototype['bucket_name'] = undefined;
+
/**
* Your DigitalOcean Spaces account access key.
* @member {String} access_key
*/
-
LoggingDigitalocean.prototype['access_key'] = undefined;
+
/**
* Your DigitalOcean Spaces account secret key.
* @member {String} secret_key
*/
-
LoggingDigitalocean.prototype['secret_key'] = undefined;
+
/**
* The domain of the DigitalOcean Spaces endpoint.
* @member {String} domain
* @default 'nyc3.digitaloceanspaces.com'
*/
-
LoggingDigitalocean.prototype['domain'] = 'nyc3.digitaloceanspaces.com';
+
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
LoggingDigitalocean.prototype['path'] = 'null';
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
+LoggingDigitalocean.prototype['public_key'] = 'null';
-LoggingDigitalocean.prototype['public_key'] = 'null'; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingGenericCommon interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingGenericCommon interface:
/**
* How the message should be formatted.
* @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
* @default 'classic'
*/
-
_LoggingGenericCommon["default"].prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
_LoggingGenericCommon["default"].prototype['timestamp_format'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
_LoggingGenericCommon["default"].prototype['period'] = 3600;
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
_LoggingGenericCommon["default"].prototype['gzip_level'] = 0;
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
*/
-
-_LoggingGenericCommon["default"].prototype['compression_codec'] = undefined; // Implement LoggingDigitaloceanAllOf interface:
-
+_LoggingGenericCommon["default"].prototype['compression_codec'] = undefined;
+// Implement LoggingDigitaloceanAllOf interface:
/**
* The name of the DigitalOcean Space.
* @member {String} bucket_name
*/
-
_LoggingDigitaloceanAllOf["default"].prototype['bucket_name'] = undefined;
/**
* Your DigitalOcean Spaces account access key.
* @member {String} access_key
*/
-
_LoggingDigitaloceanAllOf["default"].prototype['access_key'] = undefined;
/**
* Your DigitalOcean Spaces account secret key.
* @member {String} secret_key
*/
-
_LoggingDigitaloceanAllOf["default"].prototype['secret_key'] = undefined;
/**
* The domain of the DigitalOcean Spaces endpoint.
* @member {String} domain
* @default 'nyc3.digitaloceanspaces.com'
*/
-
_LoggingDigitaloceanAllOf["default"].prototype['domain'] = 'nyc3.digitaloceanspaces.com';
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
_LoggingDigitaloceanAllOf["default"].prototype['path'] = 'null';
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
_LoggingDigitaloceanAllOf["default"].prototype['public_key'] = 'null';
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingDigitalocean['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingDigitalocean['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the message_type
property.
* @enum {String}
* @readonly
*/
-
LoggingDigitalocean['MessageTypeEnum'] = {
/**
* value: "classic"
* @const
*/
"classic": "classic",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logplex"
* @const
*/
"logplex": "logplex",
-
/**
* value: "blank"
* @const
*/
"blank": "blank"
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingDigitalocean['CompressionCodecEnum'] = {
/**
* value: "zstd"
* @const
*/
"zstd": "zstd",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "gzip"
* @const
@@ -62862,21 +61316,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingDigitaloceanAllOf model module.
* @module model/LoggingDigitaloceanAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingDigitaloceanAllOf = /*#__PURE__*/function () {
/**
@@ -62885,19 +61336,18 @@ var LoggingDigitaloceanAllOf = /*#__PURE__*/function () {
*/
function LoggingDigitaloceanAllOf() {
_classCallCheck(this, LoggingDigitaloceanAllOf);
-
LoggingDigitaloceanAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingDigitaloceanAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingDigitaloceanAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -62905,83 +61355,72 @@ var LoggingDigitaloceanAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingDigitaloceanAllOf} obj Optional instance to populate.
* @return {module:model/LoggingDigitaloceanAllOf} The populated LoggingDigitaloceanAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingDigitaloceanAllOf();
-
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = _ApiClient["default"].convertToType(data['bucket_name'], 'String');
}
-
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = _ApiClient["default"].convertToType(data['access_key'], 'String');
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
-
if (data.hasOwnProperty('domain')) {
obj['domain'] = _ApiClient["default"].convertToType(data['domain'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingDigitaloceanAllOf;
}();
/**
* The name of the DigitalOcean Space.
* @member {String} bucket_name
*/
-
-
LoggingDigitaloceanAllOf.prototype['bucket_name'] = undefined;
+
/**
* Your DigitalOcean Spaces account access key.
* @member {String} access_key
*/
-
LoggingDigitaloceanAllOf.prototype['access_key'] = undefined;
+
/**
* Your DigitalOcean Spaces account secret key.
* @member {String} secret_key
*/
-
LoggingDigitaloceanAllOf.prototype['secret_key'] = undefined;
+
/**
* The domain of the DigitalOcean Spaces endpoint.
* @member {String} domain
* @default 'nyc3.digitaloceanspaces.com'
*/
-
LoggingDigitaloceanAllOf.prototype['domain'] = 'nyc3.digitaloceanspaces.com';
+
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
LoggingDigitaloceanAllOf.prototype['path'] = 'null';
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingDigitaloceanAllOf.prototype['public_key'] = 'null';
var _default = LoggingDigitaloceanAllOf;
exports["default"] = _default;
@@ -62998,27 +61437,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingDigitalocean = _interopRequireDefault(__nccwpck_require__(98813));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingDigitaloceanResponse model module.
* @module model/LoggingDigitaloceanResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingDigitaloceanResponse = /*#__PURE__*/function () {
/**
@@ -63030,25 +61463,21 @@ var LoggingDigitaloceanResponse = /*#__PURE__*/function () {
*/
function LoggingDigitaloceanResponse() {
_classCallCheck(this, LoggingDigitaloceanResponse);
-
_LoggingDigitalocean["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingDigitaloceanResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingDigitaloceanResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingDigitaloceanResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -63056,472 +61485,415 @@ var LoggingDigitaloceanResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingDigitaloceanResponse} obj Optional instance to populate.
* @return {module:model/LoggingDigitaloceanResponse} The populated LoggingDigitaloceanResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingDigitaloceanResponse();
-
_LoggingDigitalocean["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
}
-
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = _ApiClient["default"].convertToType(data['timestamp_format'], 'String');
}
-
if (data.hasOwnProperty('period')) {
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Number');
}
-
if (data.hasOwnProperty('gzip_level')) {
obj['gzip_level'] = _ApiClient["default"].convertToType(data['gzip_level'], 'Number');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = _ApiClient["default"].convertToType(data['bucket_name'], 'String');
}
-
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = _ApiClient["default"].convertToType(data['access_key'], 'String');
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
-
if (data.hasOwnProperty('domain')) {
obj['domain'] = _ApiClient["default"].convertToType(data['domain'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingDigitaloceanResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingDigitaloceanResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingDigitaloceanResponse.PlacementEnum} placement
*/
-
LoggingDigitaloceanResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingDigitaloceanResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingDigitaloceanResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingDigitaloceanResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingDigitaloceanResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* How the message should be formatted.
* @member {module:model/LoggingDigitaloceanResponse.MessageTypeEnum} message_type
* @default 'classic'
*/
-
LoggingDigitaloceanResponse.prototype['message_type'] = undefined;
+
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
LoggingDigitaloceanResponse.prototype['timestamp_format'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
LoggingDigitaloceanResponse.prototype['period'] = 3600;
+
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
LoggingDigitaloceanResponse.prototype['gzip_level'] = 0;
+
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingDigitaloceanResponse.CompressionCodecEnum} compression_codec
*/
-
LoggingDigitaloceanResponse.prototype['compression_codec'] = undefined;
+
/**
* The name of the DigitalOcean Space.
* @member {String} bucket_name
*/
-
LoggingDigitaloceanResponse.prototype['bucket_name'] = undefined;
+
/**
* Your DigitalOcean Spaces account access key.
* @member {String} access_key
*/
-
LoggingDigitaloceanResponse.prototype['access_key'] = undefined;
+
/**
* Your DigitalOcean Spaces account secret key.
* @member {String} secret_key
*/
-
LoggingDigitaloceanResponse.prototype['secret_key'] = undefined;
+
/**
* The domain of the DigitalOcean Spaces endpoint.
* @member {String} domain
* @default 'nyc3.digitaloceanspaces.com'
*/
-
LoggingDigitaloceanResponse.prototype['domain'] = 'nyc3.digitaloceanspaces.com';
+
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
LoggingDigitaloceanResponse.prototype['path'] = 'null';
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingDigitaloceanResponse.prototype['public_key'] = 'null';
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingDigitaloceanResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingDigitaloceanResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingDigitaloceanResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingDigitaloceanResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingDigitaloceanResponse.prototype['version'] = undefined;
-LoggingDigitaloceanResponse.prototype['version'] = undefined; // Implement LoggingDigitalocean interface:
-
+// Implement LoggingDigitalocean interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingDigitalocean["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingDigitalocean.PlacementEnum} placement
*/
-
_LoggingDigitalocean["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingDigitalocean.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingDigitalocean["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingDigitalocean["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingDigitalocean["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* How the message should be formatted.
* @member {module:model/LoggingDigitalocean.MessageTypeEnum} message_type
* @default 'classic'
*/
-
_LoggingDigitalocean["default"].prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
_LoggingDigitalocean["default"].prototype['timestamp_format'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
_LoggingDigitalocean["default"].prototype['period'] = 3600;
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
_LoggingDigitalocean["default"].prototype['gzip_level'] = 0;
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingDigitalocean.CompressionCodecEnum} compression_codec
*/
-
_LoggingDigitalocean["default"].prototype['compression_codec'] = undefined;
/**
* The name of the DigitalOcean Space.
* @member {String} bucket_name
*/
-
_LoggingDigitalocean["default"].prototype['bucket_name'] = undefined;
/**
* Your DigitalOcean Spaces account access key.
* @member {String} access_key
*/
-
_LoggingDigitalocean["default"].prototype['access_key'] = undefined;
/**
* Your DigitalOcean Spaces account secret key.
* @member {String} secret_key
*/
-
_LoggingDigitalocean["default"].prototype['secret_key'] = undefined;
/**
* The domain of the DigitalOcean Spaces endpoint.
* @member {String} domain
* @default 'nyc3.digitaloceanspaces.com'
*/
-
_LoggingDigitalocean["default"].prototype['domain'] = 'nyc3.digitaloceanspaces.com';
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
_LoggingDigitalocean["default"].prototype['path'] = 'null';
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
-_LoggingDigitalocean["default"].prototype['public_key'] = 'null'; // Implement Timestamps interface:
-
+_LoggingDigitalocean["default"].prototype['public_key'] = 'null';
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingDigitaloceanResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingDigitaloceanResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the message_type
property.
* @enum {String}
* @readonly
*/
-
LoggingDigitaloceanResponse['MessageTypeEnum'] = {
/**
* value: "classic"
* @const
*/
"classic": "classic",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logplex"
* @const
*/
"logplex": "logplex",
-
/**
* value: "blank"
* @const
*/
"blank": "blank"
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingDigitaloceanResponse['CompressionCodecEnum'] = {
/**
* value: "zstd"
* @const
*/
"zstd": "zstd",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "gzip"
* @const
@@ -63543,29 +61915,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingElasticsearchAllOf = _interopRequireDefault(__nccwpck_require__(72362));
-
var _LoggingRequestCapsCommon = _interopRequireDefault(__nccwpck_require__(8048));
-
var _LoggingTlsCommon = _interopRequireDefault(__nccwpck_require__(28232));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingElasticsearch model module.
* @module model/LoggingElasticsearch
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingElasticsearch = /*#__PURE__*/function () {
/**
@@ -63578,27 +61943,22 @@ var LoggingElasticsearch = /*#__PURE__*/function () {
*/
function LoggingElasticsearch() {
_classCallCheck(this, LoggingElasticsearch);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingTlsCommon["default"].initialize(this);
-
_LoggingRequestCapsCommon["default"].initialize(this);
-
_LoggingElasticsearchAllOf["default"].initialize(this);
-
LoggingElasticsearch.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingElasticsearch, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingElasticsearch
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -63606,348 +61966,304 @@ var LoggingElasticsearch = /*#__PURE__*/function () {
* @param {module:model/LoggingElasticsearch} obj Optional instance to populate.
* @return {module:model/LoggingElasticsearch} The populated LoggingElasticsearch
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingElasticsearch();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingTlsCommon["default"].constructFromObject(data, obj);
-
_LoggingRequestCapsCommon["default"].constructFromObject(data, obj);
-
_LoggingElasticsearchAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = _ApiClient["default"].convertToType(data['tls_ca_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_cert')) {
obj['tls_client_cert'] = _ApiClient["default"].convertToType(data['tls_client_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_key')) {
obj['tls_client_key'] = _ApiClient["default"].convertToType(data['tls_client_key'], 'String');
}
-
if (data.hasOwnProperty('tls_hostname')) {
obj['tls_hostname'] = _ApiClient["default"].convertToType(data['tls_hostname'], 'String');
}
-
if (data.hasOwnProperty('request_max_entries')) {
obj['request_max_entries'] = _ApiClient["default"].convertToType(data['request_max_entries'], 'Number');
}
-
if (data.hasOwnProperty('request_max_bytes')) {
obj['request_max_bytes'] = _ApiClient["default"].convertToType(data['request_max_bytes'], 'Number');
}
-
if (data.hasOwnProperty('index')) {
obj['index'] = _ApiClient["default"].convertToType(data['index'], 'String');
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
-
if (data.hasOwnProperty('pipeline')) {
obj['pipeline'] = _ApiClient["default"].convertToType(data['pipeline'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
-
if (data.hasOwnProperty('password')) {
obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingElasticsearch;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingElasticsearch.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingElasticsearch.PlacementEnum} placement
*/
-
LoggingElasticsearch.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingElasticsearch.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingElasticsearch.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingElasticsearch.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest.
* @member {String} format
*/
-
LoggingElasticsearch.prototype['format'] = undefined;
+
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
LoggingElasticsearch.prototype['tls_ca_cert'] = 'null';
+
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
LoggingElasticsearch.prototype['tls_client_cert'] = 'null';
+
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
LoggingElasticsearch.prototype['tls_client_key'] = 'null';
+
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-
LoggingElasticsearch.prototype['tls_hostname'] = 'null';
+
/**
* The maximum number of logs sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_entries
* @default 0
*/
-
LoggingElasticsearch.prototype['request_max_entries'] = 0;
+
/**
* The maximum number of bytes sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_bytes
* @default 0
*/
-
LoggingElasticsearch.prototype['request_max_bytes'] = 0;
+
/**
* The name of the Elasticsearch index to send documents (logs) to. The index must follow the Elasticsearch [index format rules](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html). We support [strftime](https://www.man7.org/linux/man-pages/man3/strftime.3.html) interpolated variables inside braces prefixed with a pound symbol. For example, `#{%F}` will interpolate as `YYYY-MM-DD` with today's date.
* @member {String} index
*/
-
LoggingElasticsearch.prototype['index'] = undefined;
+
/**
* The URL to stream logs to. Must use HTTPS.
* @member {String} url
*/
-
LoggingElasticsearch.prototype['url'] = undefined;
+
/**
* The ID of the Elasticsearch ingest pipeline to apply pre-process transformations to before indexing. Learn more about creating a pipeline in the [Elasticsearch docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest.html).
* @member {String} pipeline
*/
-
LoggingElasticsearch.prototype['pipeline'] = undefined;
+
/**
* Basic Auth username.
* @member {String} user
*/
-
LoggingElasticsearch.prototype['user'] = undefined;
+
/**
* Basic Auth password.
* @member {String} password
*/
+LoggingElasticsearch.prototype['password'] = undefined;
-LoggingElasticsearch.prototype['password'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingTlsCommon interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingTlsCommon interface:
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
_LoggingTlsCommon["default"].prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
_LoggingTlsCommon["default"].prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
_LoggingTlsCommon["default"].prototype['tls_client_key'] = 'null';
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-
-_LoggingTlsCommon["default"].prototype['tls_hostname'] = 'null'; // Implement LoggingRequestCapsCommon interface:
-
+_LoggingTlsCommon["default"].prototype['tls_hostname'] = 'null';
+// Implement LoggingRequestCapsCommon interface:
/**
* The maximum number of logs sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_entries
* @default 0
*/
-
_LoggingRequestCapsCommon["default"].prototype['request_max_entries'] = 0;
/**
* The maximum number of bytes sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_bytes
* @default 0
*/
-
-_LoggingRequestCapsCommon["default"].prototype['request_max_bytes'] = 0; // Implement LoggingElasticsearchAllOf interface:
-
+_LoggingRequestCapsCommon["default"].prototype['request_max_bytes'] = 0;
+// Implement LoggingElasticsearchAllOf interface:
/**
* The name of the Elasticsearch index to send documents (logs) to. The index must follow the Elasticsearch [index format rules](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html). We support [strftime](https://www.man7.org/linux/man-pages/man3/strftime.3.html) interpolated variables inside braces prefixed with a pound symbol. For example, `#{%F}` will interpolate as `YYYY-MM-DD` with today's date.
* @member {String} index
*/
-
_LoggingElasticsearchAllOf["default"].prototype['index'] = undefined;
/**
* The URL to stream logs to. Must use HTTPS.
* @member {String} url
*/
-
_LoggingElasticsearchAllOf["default"].prototype['url'] = undefined;
/**
* The ID of the Elasticsearch ingest pipeline to apply pre-process transformations to before indexing. Learn more about creating a pipeline in the [Elasticsearch docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest.html).
* @member {String} pipeline
*/
-
_LoggingElasticsearchAllOf["default"].prototype['pipeline'] = undefined;
/**
* Basic Auth username.
* @member {String} user
*/
-
_LoggingElasticsearchAllOf["default"].prototype['user'] = undefined;
/**
* Basic Auth password.
* @member {String} password
*/
-
_LoggingElasticsearchAllOf["default"].prototype['password'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest.
* @member {String} format
*/
-
_LoggingElasticsearchAllOf["default"].prototype['format'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingElasticsearch['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingElasticsearch['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -63969,21 +62285,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingElasticsearchAllOf model module.
* @module model/LoggingElasticsearchAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingElasticsearchAllOf = /*#__PURE__*/function () {
/**
@@ -63992,19 +62305,18 @@ var LoggingElasticsearchAllOf = /*#__PURE__*/function () {
*/
function LoggingElasticsearchAllOf() {
_classCallCheck(this, LoggingElasticsearchAllOf);
-
LoggingElasticsearchAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingElasticsearchAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingElasticsearchAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -64012,80 +62324,69 @@ var LoggingElasticsearchAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingElasticsearchAllOf} obj Optional instance to populate.
* @return {module:model/LoggingElasticsearchAllOf} The populated LoggingElasticsearchAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingElasticsearchAllOf();
-
if (data.hasOwnProperty('index')) {
obj['index'] = _ApiClient["default"].convertToType(data['index'], 'String');
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
-
if (data.hasOwnProperty('pipeline')) {
obj['pipeline'] = _ApiClient["default"].convertToType(data['pipeline'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
-
if (data.hasOwnProperty('password')) {
obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingElasticsearchAllOf;
}();
/**
* The name of the Elasticsearch index to send documents (logs) to. The index must follow the Elasticsearch [index format rules](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html). We support [strftime](https://www.man7.org/linux/man-pages/man3/strftime.3.html) interpolated variables inside braces prefixed with a pound symbol. For example, `#{%F}` will interpolate as `YYYY-MM-DD` with today's date.
* @member {String} index
*/
-
-
LoggingElasticsearchAllOf.prototype['index'] = undefined;
+
/**
* The URL to stream logs to. Must use HTTPS.
* @member {String} url
*/
-
LoggingElasticsearchAllOf.prototype['url'] = undefined;
+
/**
* The ID of the Elasticsearch ingest pipeline to apply pre-process transformations to before indexing. Learn more about creating a pipeline in the [Elasticsearch docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest.html).
* @member {String} pipeline
*/
-
LoggingElasticsearchAllOf.prototype['pipeline'] = undefined;
+
/**
* Basic Auth username.
* @member {String} user
*/
-
LoggingElasticsearchAllOf.prototype['user'] = undefined;
+
/**
* Basic Auth password.
* @member {String} password
*/
-
LoggingElasticsearchAllOf.prototype['password'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest.
* @member {String} format
*/
-
LoggingElasticsearchAllOf.prototype['format'] = undefined;
var _default = LoggingElasticsearchAllOf;
exports["default"] = _default;
@@ -64102,27 +62403,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingElasticsearch = _interopRequireDefault(__nccwpck_require__(46159));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingElasticsearchResponse model module.
* @module model/LoggingElasticsearchResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingElasticsearchResponse = /*#__PURE__*/function () {
/**
@@ -64134,25 +62429,21 @@ var LoggingElasticsearchResponse = /*#__PURE__*/function () {
*/
function LoggingElasticsearchResponse() {
_classCallCheck(this, LoggingElasticsearchResponse);
-
_LoggingElasticsearch["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingElasticsearchResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingElasticsearchResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingElasticsearchResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -64160,414 +62451,362 @@ var LoggingElasticsearchResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingElasticsearchResponse} obj Optional instance to populate.
* @return {module:model/LoggingElasticsearchResponse} The populated LoggingElasticsearchResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingElasticsearchResponse();
-
_LoggingElasticsearch["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = _ApiClient["default"].convertToType(data['tls_ca_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_cert')) {
obj['tls_client_cert'] = _ApiClient["default"].convertToType(data['tls_client_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_key')) {
obj['tls_client_key'] = _ApiClient["default"].convertToType(data['tls_client_key'], 'String');
}
-
if (data.hasOwnProperty('tls_hostname')) {
obj['tls_hostname'] = _ApiClient["default"].convertToType(data['tls_hostname'], 'String');
}
-
if (data.hasOwnProperty('request_max_entries')) {
obj['request_max_entries'] = _ApiClient["default"].convertToType(data['request_max_entries'], 'Number');
}
-
if (data.hasOwnProperty('request_max_bytes')) {
obj['request_max_bytes'] = _ApiClient["default"].convertToType(data['request_max_bytes'], 'Number');
}
-
if (data.hasOwnProperty('index')) {
obj['index'] = _ApiClient["default"].convertToType(data['index'], 'String');
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
-
if (data.hasOwnProperty('pipeline')) {
obj['pipeline'] = _ApiClient["default"].convertToType(data['pipeline'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
-
if (data.hasOwnProperty('password')) {
obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingElasticsearchResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingElasticsearchResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingElasticsearchResponse.PlacementEnum} placement
*/
-
LoggingElasticsearchResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingElasticsearchResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingElasticsearchResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingElasticsearchResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest.
* @member {String} format
*/
-
LoggingElasticsearchResponse.prototype['format'] = undefined;
+
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
LoggingElasticsearchResponse.prototype['tls_ca_cert'] = 'null';
+
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
LoggingElasticsearchResponse.prototype['tls_client_cert'] = 'null';
+
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
LoggingElasticsearchResponse.prototype['tls_client_key'] = 'null';
+
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-
LoggingElasticsearchResponse.prototype['tls_hostname'] = 'null';
+
/**
* The maximum number of logs sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_entries
* @default 0
*/
-
LoggingElasticsearchResponse.prototype['request_max_entries'] = 0;
+
/**
* The maximum number of bytes sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_bytes
* @default 0
*/
-
LoggingElasticsearchResponse.prototype['request_max_bytes'] = 0;
+
/**
* The name of the Elasticsearch index to send documents (logs) to. The index must follow the Elasticsearch [index format rules](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html). We support [strftime](https://www.man7.org/linux/man-pages/man3/strftime.3.html) interpolated variables inside braces prefixed with a pound symbol. For example, `#{%F}` will interpolate as `YYYY-MM-DD` with today's date.
* @member {String} index
*/
-
LoggingElasticsearchResponse.prototype['index'] = undefined;
+
/**
* The URL to stream logs to. Must use HTTPS.
* @member {String} url
*/
-
LoggingElasticsearchResponse.prototype['url'] = undefined;
+
/**
* The ID of the Elasticsearch ingest pipeline to apply pre-process transformations to before indexing. Learn more about creating a pipeline in the [Elasticsearch docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest.html).
* @member {String} pipeline
*/
-
LoggingElasticsearchResponse.prototype['pipeline'] = undefined;
+
/**
* Basic Auth username.
* @member {String} user
*/
-
LoggingElasticsearchResponse.prototype['user'] = undefined;
+
/**
* Basic Auth password.
* @member {String} password
*/
-
LoggingElasticsearchResponse.prototype['password'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingElasticsearchResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingElasticsearchResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingElasticsearchResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingElasticsearchResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingElasticsearchResponse.prototype['version'] = undefined;
-LoggingElasticsearchResponse.prototype['version'] = undefined; // Implement LoggingElasticsearch interface:
-
+// Implement LoggingElasticsearch interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingElasticsearch["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingElasticsearch.PlacementEnum} placement
*/
-
_LoggingElasticsearch["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingElasticsearch.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingElasticsearch["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingElasticsearch["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Elasticsearch can ingest.
* @member {String} format
*/
-
_LoggingElasticsearch["default"].prototype['format'] = undefined;
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
_LoggingElasticsearch["default"].prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
_LoggingElasticsearch["default"].prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
_LoggingElasticsearch["default"].prototype['tls_client_key'] = 'null';
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-
_LoggingElasticsearch["default"].prototype['tls_hostname'] = 'null';
/**
* The maximum number of logs sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_entries
* @default 0
*/
-
_LoggingElasticsearch["default"].prototype['request_max_entries'] = 0;
/**
* The maximum number of bytes sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_bytes
* @default 0
*/
-
_LoggingElasticsearch["default"].prototype['request_max_bytes'] = 0;
/**
* The name of the Elasticsearch index to send documents (logs) to. The index must follow the Elasticsearch [index format rules](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html). We support [strftime](https://www.man7.org/linux/man-pages/man3/strftime.3.html) interpolated variables inside braces prefixed with a pound symbol. For example, `#{%F}` will interpolate as `YYYY-MM-DD` with today's date.
* @member {String} index
*/
-
_LoggingElasticsearch["default"].prototype['index'] = undefined;
/**
* The URL to stream logs to. Must use HTTPS.
* @member {String} url
*/
-
_LoggingElasticsearch["default"].prototype['url'] = undefined;
/**
* The ID of the Elasticsearch ingest pipeline to apply pre-process transformations to before indexing. Learn more about creating a pipeline in the [Elasticsearch docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest.html).
* @member {String} pipeline
*/
-
_LoggingElasticsearch["default"].prototype['pipeline'] = undefined;
/**
* Basic Auth username.
* @member {String} user
*/
-
_LoggingElasticsearch["default"].prototype['user'] = undefined;
/**
* Basic Auth password.
* @member {String} password
*/
-
-_LoggingElasticsearch["default"].prototype['password'] = undefined; // Implement Timestamps interface:
-
+_LoggingElasticsearch["default"].prototype['password'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingElasticsearchResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingElasticsearchResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -64589,19 +62828,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class LoggingFormatVersion.
* @enum {}
@@ -64610,12 +62845,9 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var LoggingFormatVersion = /*#__PURE__*/function () {
function LoggingFormatVersion() {
_classCallCheck(this, LoggingFormatVersion);
-
_defineProperty(this, "v1", 1);
-
_defineProperty(this, "v2", 2);
}
-
_createClass(LoggingFormatVersion, null, [{
key: "constructFromObject",
value:
@@ -64628,10 +62860,8 @@ var LoggingFormatVersion = /*#__PURE__*/function () {
return object;
}
}]);
-
return LoggingFormatVersion;
}();
-
exports["default"] = LoggingFormatVersion;
/***/ }),
@@ -64646,27 +62876,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingFtpAllOf = _interopRequireDefault(__nccwpck_require__(52369));
-
var _LoggingGenericCommon = _interopRequireDefault(__nccwpck_require__(50838));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingFtp model module.
* @module model/LoggingFtp
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingFtp = /*#__PURE__*/function () {
/**
@@ -64678,25 +62902,21 @@ var LoggingFtp = /*#__PURE__*/function () {
*/
function LoggingFtp() {
_classCallCheck(this, LoggingFtp);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingGenericCommon["default"].initialize(this);
-
_LoggingFtpAllOf["default"].initialize(this);
-
LoggingFtp.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingFtp, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingFtp
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -64704,426 +62924,375 @@ var LoggingFtp = /*#__PURE__*/function () {
* @param {module:model/LoggingFtp} obj Optional instance to populate.
* @return {module:model/LoggingFtp} The populated LoggingFtp
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingFtp();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingGenericCommon["default"].constructFromObject(data, obj);
-
_LoggingFtpAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
}
-
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = _ApiClient["default"].convertToType(data['timestamp_format'], 'String');
}
-
if (data.hasOwnProperty('period')) {
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Number');
}
-
if (data.hasOwnProperty('gzip_level')) {
obj['gzip_level'] = _ApiClient["default"].convertToType(data['gzip_level'], 'Number');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('address')) {
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
}
-
if (data.hasOwnProperty('hostname')) {
obj['hostname'] = _ApiClient["default"].convertToType(data['hostname'], 'String');
}
-
if (data.hasOwnProperty('ipv4')) {
obj['ipv4'] = _ApiClient["default"].convertToType(data['ipv4'], 'String');
}
-
if (data.hasOwnProperty('password')) {
obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('port')) {
obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingFtp;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingFtp.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingFtp.PlacementEnum} placement
*/
-
LoggingFtp.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingFtp.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingFtp.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingFtp.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingFtp.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* How the message should be formatted.
* @member {module:model/LoggingFtp.MessageTypeEnum} message_type
* @default 'classic'
*/
-
LoggingFtp.prototype['message_type'] = undefined;
+
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
LoggingFtp.prototype['timestamp_format'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
LoggingFtp.prototype['period'] = 3600;
+
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
LoggingFtp.prototype['gzip_level'] = 0;
+
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingFtp.CompressionCodecEnum} compression_codec
*/
-
LoggingFtp.prototype['compression_codec'] = undefined;
+
/**
* An hostname or IPv4 address.
* @member {String} address
*/
-
LoggingFtp.prototype['address'] = undefined;
+
/**
* Hostname used.
* @member {String} hostname
*/
-
LoggingFtp.prototype['hostname'] = undefined;
+
/**
* IPv4 address of the host.
* @member {String} ipv4
*/
-
LoggingFtp.prototype['ipv4'] = undefined;
+
/**
* The password for the server. For anonymous use an email address.
* @member {String} password
*/
-
LoggingFtp.prototype['password'] = undefined;
+
/**
* The path to upload log files to. If the path ends in `/` then it is treated as a directory.
* @member {String} path
*/
-
LoggingFtp.prototype['path'] = undefined;
+
/**
* The port number.
* @member {Number} port
* @default 21
*/
-
LoggingFtp.prototype['port'] = 21;
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingFtp.prototype['public_key'] = 'null';
+
/**
* The username for the server. Can be anonymous.
* @member {String} user
*/
+LoggingFtp.prototype['user'] = undefined;
-LoggingFtp.prototype['user'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingGenericCommon interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingGenericCommon interface:
/**
* How the message should be formatted.
* @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
* @default 'classic'
*/
-
_LoggingGenericCommon["default"].prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
_LoggingGenericCommon["default"].prototype['timestamp_format'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
_LoggingGenericCommon["default"].prototype['period'] = 3600;
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
_LoggingGenericCommon["default"].prototype['gzip_level'] = 0;
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
*/
-
-_LoggingGenericCommon["default"].prototype['compression_codec'] = undefined; // Implement LoggingFtpAllOf interface:
-
+_LoggingGenericCommon["default"].prototype['compression_codec'] = undefined;
+// Implement LoggingFtpAllOf interface:
/**
* An hostname or IPv4 address.
* @member {String} address
*/
-
_LoggingFtpAllOf["default"].prototype['address'] = undefined;
/**
* Hostname used.
* @member {String} hostname
*/
-
_LoggingFtpAllOf["default"].prototype['hostname'] = undefined;
/**
* IPv4 address of the host.
* @member {String} ipv4
*/
-
_LoggingFtpAllOf["default"].prototype['ipv4'] = undefined;
/**
* The password for the server. For anonymous use an email address.
* @member {String} password
*/
-
_LoggingFtpAllOf["default"].prototype['password'] = undefined;
/**
* The path to upload log files to. If the path ends in `/` then it is treated as a directory.
* @member {String} path
*/
-
_LoggingFtpAllOf["default"].prototype['path'] = undefined;
/**
* The port number.
* @member {Number} port
* @default 21
*/
-
_LoggingFtpAllOf["default"].prototype['port'] = 21;
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
_LoggingFtpAllOf["default"].prototype['public_key'] = 'null';
/**
* The username for the server. Can be anonymous.
* @member {String} user
*/
-
_LoggingFtpAllOf["default"].prototype['user'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingFtp['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingFtp['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the message_type
property.
* @enum {String}
* @readonly
*/
-
LoggingFtp['MessageTypeEnum'] = {
/**
* value: "classic"
* @const
*/
"classic": "classic",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logplex"
* @const
*/
"logplex": "logplex",
-
/**
* value: "blank"
* @const
*/
"blank": "blank"
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingFtp['CompressionCodecEnum'] = {
/**
* value: "zstd"
* @const
*/
"zstd": "zstd",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "gzip"
* @const
@@ -65145,21 +63314,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingFtpAllOf model module.
* @module model/LoggingFtpAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingFtpAllOf = /*#__PURE__*/function () {
/**
@@ -65168,19 +63334,18 @@ var LoggingFtpAllOf = /*#__PURE__*/function () {
*/
function LoggingFtpAllOf() {
_classCallCheck(this, LoggingFtpAllOf);
-
LoggingFtpAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingFtpAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingFtpAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -65188,102 +63353,89 @@ var LoggingFtpAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingFtpAllOf} obj Optional instance to populate.
* @return {module:model/LoggingFtpAllOf} The populated LoggingFtpAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingFtpAllOf();
-
if (data.hasOwnProperty('address')) {
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
}
-
if (data.hasOwnProperty('hostname')) {
obj['hostname'] = _ApiClient["default"].convertToType(data['hostname'], 'String');
}
-
if (data.hasOwnProperty('ipv4')) {
obj['ipv4'] = _ApiClient["default"].convertToType(data['ipv4'], 'String');
}
-
if (data.hasOwnProperty('password')) {
obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('port')) {
obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingFtpAllOf;
}();
/**
* An hostname or IPv4 address.
* @member {String} address
*/
-
-
LoggingFtpAllOf.prototype['address'] = undefined;
+
/**
* Hostname used.
* @member {String} hostname
*/
-
LoggingFtpAllOf.prototype['hostname'] = undefined;
+
/**
* IPv4 address of the host.
* @member {String} ipv4
*/
-
LoggingFtpAllOf.prototype['ipv4'] = undefined;
+
/**
* The password for the server. For anonymous use an email address.
* @member {String} password
*/
-
LoggingFtpAllOf.prototype['password'] = undefined;
+
/**
* The path to upload log files to. If the path ends in `/` then it is treated as a directory.
* @member {String} path
*/
-
LoggingFtpAllOf.prototype['path'] = undefined;
+
/**
* The port number.
* @member {Number} port
* @default 21
*/
-
LoggingFtpAllOf.prototype['port'] = 21;
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingFtpAllOf.prototype['public_key'] = 'null';
+
/**
* The username for the server. Can be anonymous.
* @member {String} user
*/
-
LoggingFtpAllOf.prototype['user'] = undefined;
var _default = LoggingFtpAllOf;
exports["default"] = _default;
@@ -65300,27 +63452,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingFtp = _interopRequireDefault(__nccwpck_require__(2137));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingFtpResponse model module.
* @module model/LoggingFtpResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingFtpResponse = /*#__PURE__*/function () {
/**
@@ -65332,25 +63478,21 @@ var LoggingFtpResponse = /*#__PURE__*/function () {
*/
function LoggingFtpResponse() {
_classCallCheck(this, LoggingFtpResponse);
-
_LoggingFtp["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingFtpResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingFtpResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingFtpResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -65358,502 +63500,441 @@ var LoggingFtpResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingFtpResponse} obj Optional instance to populate.
* @return {module:model/LoggingFtpResponse} The populated LoggingFtpResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingFtpResponse();
-
_LoggingFtp["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
}
-
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = _ApiClient["default"].convertToType(data['timestamp_format'], 'String');
}
-
if (data.hasOwnProperty('period')) {
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Number');
}
-
if (data.hasOwnProperty('gzip_level')) {
obj['gzip_level'] = _ApiClient["default"].convertToType(data['gzip_level'], 'Number');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('address')) {
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
}
-
if (data.hasOwnProperty('hostname')) {
obj['hostname'] = _ApiClient["default"].convertToType(data['hostname'], 'String');
}
-
if (data.hasOwnProperty('ipv4')) {
obj['ipv4'] = _ApiClient["default"].convertToType(data['ipv4'], 'String');
}
-
if (data.hasOwnProperty('password')) {
obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('port')) {
obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingFtpResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingFtpResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingFtpResponse.PlacementEnum} placement
*/
-
LoggingFtpResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingFtpResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingFtpResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingFtpResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingFtpResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* How the message should be formatted.
* @member {module:model/LoggingFtpResponse.MessageTypeEnum} message_type
* @default 'classic'
*/
-
LoggingFtpResponse.prototype['message_type'] = undefined;
+
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
LoggingFtpResponse.prototype['timestamp_format'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
LoggingFtpResponse.prototype['period'] = 3600;
+
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
LoggingFtpResponse.prototype['gzip_level'] = 0;
+
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingFtpResponse.CompressionCodecEnum} compression_codec
*/
-
LoggingFtpResponse.prototype['compression_codec'] = undefined;
+
/**
* An hostname or IPv4 address.
* @member {String} address
*/
-
LoggingFtpResponse.prototype['address'] = undefined;
+
/**
* Hostname used.
* @member {String} hostname
*/
-
LoggingFtpResponse.prototype['hostname'] = undefined;
+
/**
* IPv4 address of the host.
* @member {String} ipv4
*/
-
LoggingFtpResponse.prototype['ipv4'] = undefined;
+
/**
* The password for the server. For anonymous use an email address.
* @member {String} password
*/
-
LoggingFtpResponse.prototype['password'] = undefined;
+
/**
* The path to upload log files to. If the path ends in `/` then it is treated as a directory.
* @member {String} path
*/
-
LoggingFtpResponse.prototype['path'] = undefined;
+
/**
* The port number.
* @member {Number} port
* @default 21
*/
-
LoggingFtpResponse.prototype['port'] = 21;
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingFtpResponse.prototype['public_key'] = 'null';
+
/**
* The username for the server. Can be anonymous.
* @member {String} user
*/
-
LoggingFtpResponse.prototype['user'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingFtpResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingFtpResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingFtpResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingFtpResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingFtpResponse.prototype['version'] = undefined;
-LoggingFtpResponse.prototype['version'] = undefined; // Implement LoggingFtp interface:
-
+// Implement LoggingFtp interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingFtp["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingFtp.PlacementEnum} placement
*/
-
_LoggingFtp["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingFtp.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingFtp["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingFtp["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingFtp["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* How the message should be formatted.
* @member {module:model/LoggingFtp.MessageTypeEnum} message_type
* @default 'classic'
*/
-
_LoggingFtp["default"].prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
_LoggingFtp["default"].prototype['timestamp_format'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
_LoggingFtp["default"].prototype['period'] = 3600;
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
_LoggingFtp["default"].prototype['gzip_level'] = 0;
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingFtp.CompressionCodecEnum} compression_codec
*/
-
_LoggingFtp["default"].prototype['compression_codec'] = undefined;
/**
* An hostname or IPv4 address.
* @member {String} address
*/
-
_LoggingFtp["default"].prototype['address'] = undefined;
/**
* Hostname used.
* @member {String} hostname
*/
-
_LoggingFtp["default"].prototype['hostname'] = undefined;
/**
* IPv4 address of the host.
* @member {String} ipv4
*/
-
_LoggingFtp["default"].prototype['ipv4'] = undefined;
/**
* The password for the server. For anonymous use an email address.
* @member {String} password
*/
-
_LoggingFtp["default"].prototype['password'] = undefined;
/**
* The path to upload log files to. If the path ends in `/` then it is treated as a directory.
* @member {String} path
*/
-
_LoggingFtp["default"].prototype['path'] = undefined;
/**
* The port number.
* @member {Number} port
* @default 21
*/
-
_LoggingFtp["default"].prototype['port'] = 21;
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
_LoggingFtp["default"].prototype['public_key'] = 'null';
/**
* The username for the server. Can be anonymous.
* @member {String} user
*/
-
-_LoggingFtp["default"].prototype['user'] = undefined; // Implement Timestamps interface:
-
+_LoggingFtp["default"].prototype['user'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingFtpResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingFtpResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the message_type
property.
* @enum {String}
* @readonly
*/
-
LoggingFtpResponse['MessageTypeEnum'] = {
/**
* value: "classic"
* @const
*/
"classic": "classic",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logplex"
* @const
*/
"logplex": "logplex",
-
/**
* value: "blank"
* @const
*/
"blank": "blank"
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingFtpResponse['CompressionCodecEnum'] = {
/**
* value: "zstd"
* @const
*/
"zstd": "zstd",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "gzip"
* @const
@@ -65875,29 +63956,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingGcsAllOf = _interopRequireDefault(__nccwpck_require__(36055));
-
var _LoggingGcsCommon = _interopRequireDefault(__nccwpck_require__(25487));
-
var _LoggingGenericCommon = _interopRequireDefault(__nccwpck_require__(50838));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingGcs model module.
* @module model/LoggingGcs
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingGcs = /*#__PURE__*/function () {
/**
@@ -65910,27 +63984,22 @@ var LoggingGcs = /*#__PURE__*/function () {
*/
function LoggingGcs() {
_classCallCheck(this, LoggingGcs);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingGenericCommon["default"].initialize(this);
-
_LoggingGcsCommon["default"].initialize(this);
-
_LoggingGcsAllOf["default"].initialize(this);
-
LoggingGcs.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingGcs, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingGcs
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -65938,379 +64007,361 @@ var LoggingGcs = /*#__PURE__*/function () {
* @param {module:model/LoggingGcs} obj Optional instance to populate.
* @return {module:model/LoggingGcs} The populated LoggingGcs
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingGcs();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingGenericCommon["default"].constructFromObject(data, obj);
-
_LoggingGcsCommon["default"].constructFromObject(data, obj);
-
_LoggingGcsAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
}
-
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = _ApiClient["default"].convertToType(data['timestamp_format'], 'String');
}
-
if (data.hasOwnProperty('period')) {
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Number');
}
-
if (data.hasOwnProperty('gzip_level')) {
obj['gzip_level'] = _ApiClient["default"].convertToType(data['gzip_level'], 'Number');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
-
+ if (data.hasOwnProperty('account_name')) {
+ obj['account_name'] = _ApiClient["default"].convertToType(data['account_name'], 'String');
+ }
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = _ApiClient["default"].convertToType(data['bucket_name'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
+ if (data.hasOwnProperty('project_id')) {
+ obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
+ }
}
-
return obj;
}
}]);
-
return LoggingGcs;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingGcs.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingGcs.PlacementEnum} placement
*/
-
LoggingGcs.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingGcs.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingGcs.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingGcs.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingGcs.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* How the message should be formatted.
* @member {module:model/LoggingGcs.MessageTypeEnum} message_type
* @default 'classic'
*/
-
LoggingGcs.prototype['message_type'] = undefined;
+
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
LoggingGcs.prototype['timestamp_format'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
LoggingGcs.prototype['period'] = 3600;
+
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
LoggingGcs.prototype['gzip_level'] = 0;
+
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingGcs.CompressionCodecEnum} compression_codec
*/
-
LoggingGcs.prototype['compression_codec'] = undefined;
+
/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
*/
-
LoggingGcs.prototype['user'] = undefined;
+
/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} secret_key
*/
-
LoggingGcs.prototype['secret_key'] = undefined;
+
+/**
+ * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
+ * @member {String} account_name
+ */
+LoggingGcs.prototype['account_name'] = undefined;
+
/**
* The name of the GCS bucket.
* @member {String} bucket_name
*/
-
LoggingGcs.prototype['bucket_name'] = undefined;
+
/**
* The path to upload logs to.
* @member {String} path
*/
-
LoggingGcs.prototype['path'] = undefined;
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
+LoggingGcs.prototype['public_key'] = 'null';
-LoggingGcs.prototype['public_key'] = 'null'; // Implement LoggingCommon interface:
+/**
+ * Your Google Cloud Platform project ID. Required
+ * @member {String} project_id
+ */
+LoggingGcs.prototype['project_id'] = undefined;
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingGenericCommon interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingGenericCommon interface:
/**
* How the message should be formatted.
* @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
* @default 'classic'
*/
-
_LoggingGenericCommon["default"].prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
_LoggingGenericCommon["default"].prototype['timestamp_format'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
_LoggingGenericCommon["default"].prototype['period'] = 3600;
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
_LoggingGenericCommon["default"].prototype['gzip_level'] = 0;
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
*/
-
-_LoggingGenericCommon["default"].prototype['compression_codec'] = undefined; // Implement LoggingGcsCommon interface:
-
+_LoggingGenericCommon["default"].prototype['compression_codec'] = undefined;
+// Implement LoggingGcsCommon interface:
/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
*/
-
_LoggingGcsCommon["default"].prototype['user'] = undefined;
/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} secret_key
*/
-
-_LoggingGcsCommon["default"].prototype['secret_key'] = undefined; // Implement LoggingGcsAllOf interface:
-
+_LoggingGcsCommon["default"].prototype['secret_key'] = undefined;
+/**
+ * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
+ * @member {String} account_name
+ */
+_LoggingGcsCommon["default"].prototype['account_name'] = undefined;
+// Implement LoggingGcsAllOf interface:
/**
* The name of the GCS bucket.
* @member {String} bucket_name
*/
-
_LoggingGcsAllOf["default"].prototype['bucket_name'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
*/
-
_LoggingGcsAllOf["default"].prototype['path'] = undefined;
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
_LoggingGcsAllOf["default"].prototype['public_key'] = 'null';
+/**
+ * Your Google Cloud Platform project ID. Required
+ * @member {String} project_id
+ */
+_LoggingGcsAllOf["default"].prototype['project_id'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingGcs['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingGcs['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the message_type
property.
* @enum {String}
* @readonly
*/
-
LoggingGcs['MessageTypeEnum'] = {
/**
* value: "classic"
* @const
*/
"classic": "classic",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logplex"
* @const
*/
"logplex": "logplex",
-
/**
* value: "blank"
* @const
*/
"blank": "blank"
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingGcs['CompressionCodecEnum'] = {
/**
* value: "zstd"
* @const
*/
"zstd": "zstd",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "gzip"
* @const
@@ -66332,21 +64383,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingGcsAllOf model module.
* @module model/LoggingGcsAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingGcsAllOf = /*#__PURE__*/function () {
/**
@@ -66355,19 +64403,18 @@ var LoggingGcsAllOf = /*#__PURE__*/function () {
*/
function LoggingGcsAllOf() {
_classCallCheck(this, LoggingGcsAllOf);
-
LoggingGcsAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingGcsAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingGcsAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -66375,52 +64422,53 @@ var LoggingGcsAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingGcsAllOf} obj Optional instance to populate.
* @return {module:model/LoggingGcsAllOf} The populated LoggingGcsAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingGcsAllOf();
-
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = _ApiClient["default"].convertToType(data['bucket_name'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
+ if (data.hasOwnProperty('project_id')) {
+ obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
+ }
}
-
return obj;
}
}]);
-
return LoggingGcsAllOf;
}();
/**
* The name of the GCS bucket.
* @member {String} bucket_name
*/
-
-
LoggingGcsAllOf.prototype['bucket_name'] = undefined;
+
/**
* The path to upload logs to.
* @member {String} path
*/
-
LoggingGcsAllOf.prototype['path'] = undefined;
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingGcsAllOf.prototype['public_key'] = 'null';
+
+/**
+ * Your Google Cloud Platform project ID. Required
+ * @member {String} project_id
+ */
+LoggingGcsAllOf.prototype['project_id'] = undefined;
var _default = LoggingGcsAllOf;
exports["default"] = _default;
@@ -66436,21 +64484,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingGcsCommon model module.
* @module model/LoggingGcsCommon
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingGcsCommon = /*#__PURE__*/function () {
/**
@@ -66459,19 +64504,18 @@ var LoggingGcsCommon = /*#__PURE__*/function () {
*/
function LoggingGcsCommon() {
_classCallCheck(this, LoggingGcsCommon);
-
LoggingGcsCommon.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingGcsCommon, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingGcsCommon
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -66479,41 +64523,43 @@ var LoggingGcsCommon = /*#__PURE__*/function () {
* @param {module:model/LoggingGcsCommon} obj Optional instance to populate.
* @return {module:model/LoggingGcsCommon} The populated LoggingGcsCommon
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingGcsCommon();
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
+ if (data.hasOwnProperty('account_name')) {
+ obj['account_name'] = _ApiClient["default"].convertToType(data['account_name'], 'String');
+ }
}
-
return obj;
}
}]);
-
return LoggingGcsCommon;
}();
/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
*/
-
-
LoggingGcsCommon.prototype['user'] = undefined;
+
/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} secret_key
*/
-
LoggingGcsCommon.prototype['secret_key'] = undefined;
+
+/**
+ * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
+ * @member {String} account_name
+ */
+LoggingGcsCommon.prototype['account_name'] = undefined;
var _default = LoggingGcsCommon;
exports["default"] = _default;
@@ -66529,27 +64575,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingGcs = _interopRequireDefault(__nccwpck_require__(52702));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingGcsResponse model module.
* @module model/LoggingGcsResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingGcsResponse = /*#__PURE__*/function () {
/**
@@ -66561,25 +64601,21 @@ var LoggingGcsResponse = /*#__PURE__*/function () {
*/
function LoggingGcsResponse() {
_classCallCheck(this, LoggingGcsResponse);
-
_LoggingGcs["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingGcsResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingGcsResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingGcsResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -66587,452 +64623,425 @@ var LoggingGcsResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingGcsResponse} obj Optional instance to populate.
* @return {module:model/LoggingGcsResponse} The populated LoggingGcsResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingGcsResponse();
-
_LoggingGcs["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
}
-
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = _ApiClient["default"].convertToType(data['timestamp_format'], 'String');
}
-
if (data.hasOwnProperty('period')) {
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Number');
}
-
if (data.hasOwnProperty('gzip_level')) {
obj['gzip_level'] = _ApiClient["default"].convertToType(data['gzip_level'], 'Number');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
-
+ if (data.hasOwnProperty('account_name')) {
+ obj['account_name'] = _ApiClient["default"].convertToType(data['account_name'], 'String');
+ }
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = _ApiClient["default"].convertToType(data['bucket_name'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
+ if (data.hasOwnProperty('project_id')) {
+ obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
+ }
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingGcsResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingGcsResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingGcsResponse.PlacementEnum} placement
*/
-
LoggingGcsResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingGcsResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingGcsResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingGcsResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingGcsResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* How the message should be formatted.
* @member {module:model/LoggingGcsResponse.MessageTypeEnum} message_type
* @default 'classic'
*/
-
LoggingGcsResponse.prototype['message_type'] = undefined;
+
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
LoggingGcsResponse.prototype['timestamp_format'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
LoggingGcsResponse.prototype['period'] = 3600;
+
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
LoggingGcsResponse.prototype['gzip_level'] = 0;
+
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingGcsResponse.CompressionCodecEnum} compression_codec
*/
-
LoggingGcsResponse.prototype['compression_codec'] = undefined;
+
/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
*/
-
LoggingGcsResponse.prototype['user'] = undefined;
+
/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} secret_key
*/
-
LoggingGcsResponse.prototype['secret_key'] = undefined;
+
+/**
+ * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
+ * @member {String} account_name
+ */
+LoggingGcsResponse.prototype['account_name'] = undefined;
+
/**
* The name of the GCS bucket.
* @member {String} bucket_name
*/
-
LoggingGcsResponse.prototype['bucket_name'] = undefined;
+
/**
* The path to upload logs to.
* @member {String} path
*/
-
LoggingGcsResponse.prototype['path'] = undefined;
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingGcsResponse.prototype['public_key'] = 'null';
+
+/**
+ * Your Google Cloud Platform project ID. Required
+ * @member {String} project_id
+ */
+LoggingGcsResponse.prototype['project_id'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingGcsResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingGcsResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingGcsResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingGcsResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingGcsResponse.prototype['version'] = undefined;
-LoggingGcsResponse.prototype['version'] = undefined; // Implement LoggingGcs interface:
-
+// Implement LoggingGcs interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingGcs["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingGcs.PlacementEnum} placement
*/
-
_LoggingGcs["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingGcs.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingGcs["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingGcs["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingGcs["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* How the message should be formatted.
* @member {module:model/LoggingGcs.MessageTypeEnum} message_type
* @default 'classic'
*/
-
_LoggingGcs["default"].prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
_LoggingGcs["default"].prototype['timestamp_format'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
_LoggingGcs["default"].prototype['period'] = 3600;
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
_LoggingGcs["default"].prototype['gzip_level'] = 0;
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingGcs.CompressionCodecEnum} compression_codec
*/
-
_LoggingGcs["default"].prototype['compression_codec'] = undefined;
/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
*/
-
_LoggingGcs["default"].prototype['user'] = undefined;
/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} secret_key
*/
-
_LoggingGcs["default"].prototype['secret_key'] = undefined;
+/**
+ * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
+ * @member {String} account_name
+ */
+_LoggingGcs["default"].prototype['account_name'] = undefined;
/**
* The name of the GCS bucket.
* @member {String} bucket_name
*/
-
_LoggingGcs["default"].prototype['bucket_name'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
*/
-
_LoggingGcs["default"].prototype['path'] = undefined;
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
-_LoggingGcs["default"].prototype['public_key'] = 'null'; // Implement Timestamps interface:
-
+_LoggingGcs["default"].prototype['public_key'] = 'null';
+/**
+ * Your Google Cloud Platform project ID. Required
+ * @member {String} project_id
+ */
+_LoggingGcs["default"].prototype['project_id'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingGcsResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingGcsResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the message_type
property.
* @enum {String}
* @readonly
*/
-
LoggingGcsResponse['MessageTypeEnum'] = {
/**
* value: "classic"
* @const
*/
"classic": "classic",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logplex"
* @const
*/
"logplex": "logplex",
-
/**
* value: "blank"
* @const
*/
"blank": "blank"
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingGcsResponse['CompressionCodecEnum'] = {
/**
* value: "zstd"
* @const
*/
"zstd": "zstd",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "gzip"
* @const
@@ -67054,21 +65063,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingGenericCommon model module.
* @module model/LoggingGenericCommon
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingGenericCommon = /*#__PURE__*/function () {
/**
@@ -67077,19 +65083,18 @@ var LoggingGenericCommon = /*#__PURE__*/function () {
*/
function LoggingGenericCommon() {
_classCallCheck(this, LoggingGenericCommon);
-
LoggingGenericCommon.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingGenericCommon, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingGenericCommon
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -67097,38 +65102,30 @@ var LoggingGenericCommon = /*#__PURE__*/function () {
* @param {module:model/LoggingGenericCommon} obj Optional instance to populate.
* @return {module:model/LoggingGenericCommon} The populated LoggingGenericCommon
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingGenericCommon();
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
}
-
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = _ApiClient["default"].convertToType(data['timestamp_format'], 'String');
}
-
if (data.hasOwnProperty('period')) {
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Number');
}
-
if (data.hasOwnProperty('gzip_level')) {
obj['gzip_level'] = _ApiClient["default"].convertToType(data['gzip_level'], 'Number');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingGenericCommon;
}();
/**
@@ -67136,85 +65133,78 @@ var LoggingGenericCommon = /*#__PURE__*/function () {
* @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
* @default 'classic'
*/
-
-
LoggingGenericCommon.prototype['message_type'] = undefined;
+
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
LoggingGenericCommon.prototype['timestamp_format'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
LoggingGenericCommon.prototype['period'] = 3600;
+
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
LoggingGenericCommon.prototype['gzip_level'] = 0;
+
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
*/
-
LoggingGenericCommon.prototype['compression_codec'] = undefined;
+
/**
* Allowed values for the message_type
property.
* @enum {String}
* @readonly
*/
-
LoggingGenericCommon['MessageTypeEnum'] = {
/**
* value: "classic"
* @const
*/
"classic": "classic",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logplex"
* @const
*/
"logplex": "logplex",
-
/**
* value: "blank"
* @const
*/
"blank": "blank"
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingGenericCommon['CompressionCodecEnum'] = {
/**
* value: "zstd"
* @const
*/
"zstd": "zstd",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "gzip"
* @const
@@ -67236,27 +65226,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingGcsCommon = _interopRequireDefault(__nccwpck_require__(25487));
-
var _LoggingGooglePubsubAllOf = _interopRequireDefault(__nccwpck_require__(7774));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingGooglePubsub model module.
* @module model/LoggingGooglePubsub
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingGooglePubsub = /*#__PURE__*/function () {
/**
@@ -67268,25 +65252,21 @@ var LoggingGooglePubsub = /*#__PURE__*/function () {
*/
function LoggingGooglePubsub() {
_classCallCheck(this, LoggingGooglePubsub);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingGcsCommon["default"].initialize(this);
-
_LoggingGooglePubsubAllOf["default"].initialize(this);
-
LoggingGooglePubsub.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingGooglePubsub, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingGooglePubsub
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -67294,223 +65274,208 @@ var LoggingGooglePubsub = /*#__PURE__*/function () {
* @param {module:model/LoggingGooglePubsub} obj Optional instance to populate.
* @return {module:model/LoggingGooglePubsub} The populated LoggingGooglePubsub
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingGooglePubsub();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingGcsCommon["default"].constructFromObject(data, obj);
-
_LoggingGooglePubsubAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
-
+ if (data.hasOwnProperty('account_name')) {
+ obj['account_name'] = _ApiClient["default"].convertToType(data['account_name'], 'String');
+ }
if (data.hasOwnProperty('topic')) {
obj['topic'] = _ApiClient["default"].convertToType(data['topic'], 'String');
}
-
if (data.hasOwnProperty('project_id')) {
obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingGooglePubsub;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingGooglePubsub.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingGooglePubsub.PlacementEnum} placement
*/
-
LoggingGooglePubsub.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingGooglePubsub.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingGooglePubsub.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingGooglePubsub.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingGooglePubsub.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
*/
-
LoggingGooglePubsub.prototype['user'] = undefined;
+
/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} secret_key
*/
-
LoggingGooglePubsub.prototype['secret_key'] = undefined;
+
+/**
+ * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
+ * @member {String} account_name
+ */
+LoggingGooglePubsub.prototype['account_name'] = undefined;
+
/**
* The Google Cloud Pub/Sub topic to which logs will be published. Required.
* @member {String} topic
*/
-
LoggingGooglePubsub.prototype['topic'] = undefined;
+
/**
* Your Google Cloud Platform project ID. Required
* @member {String} project_id
*/
+LoggingGooglePubsub.prototype['project_id'] = undefined;
-LoggingGooglePubsub.prototype['project_id'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingGcsCommon interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingGcsCommon interface:
/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
*/
-
_LoggingGcsCommon["default"].prototype['user'] = undefined;
/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} secret_key
*/
-
-_LoggingGcsCommon["default"].prototype['secret_key'] = undefined; // Implement LoggingGooglePubsubAllOf interface:
-
+_LoggingGcsCommon["default"].prototype['secret_key'] = undefined;
+/**
+ * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
+ * @member {String} account_name
+ */
+_LoggingGcsCommon["default"].prototype['account_name'] = undefined;
+// Implement LoggingGooglePubsubAllOf interface:
/**
* The Google Cloud Pub/Sub topic to which logs will be published. Required.
* @member {String} topic
*/
-
_LoggingGooglePubsubAllOf["default"].prototype['topic'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingGooglePubsubAllOf["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* Your Google Cloud Platform project ID. Required
* @member {String} project_id
*/
-
_LoggingGooglePubsubAllOf["default"].prototype['project_id'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingGooglePubsub['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingGooglePubsub['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -67532,21 +65497,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingGooglePubsubAllOf model module.
* @module model/LoggingGooglePubsubAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingGooglePubsubAllOf = /*#__PURE__*/function () {
/**
@@ -67555,19 +65517,18 @@ var LoggingGooglePubsubAllOf = /*#__PURE__*/function () {
*/
function LoggingGooglePubsubAllOf() {
_classCallCheck(this, LoggingGooglePubsubAllOf);
-
LoggingGooglePubsubAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingGooglePubsubAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingGooglePubsubAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -67575,51 +65536,43 @@ var LoggingGooglePubsubAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingGooglePubsubAllOf} obj Optional instance to populate.
* @return {module:model/LoggingGooglePubsubAllOf} The populated LoggingGooglePubsubAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingGooglePubsubAllOf();
-
if (data.hasOwnProperty('topic')) {
obj['topic'] = _ApiClient["default"].convertToType(data['topic'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('project_id')) {
obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingGooglePubsubAllOf;
}();
/**
* The Google Cloud Pub/Sub topic to which logs will be published. Required.
* @member {String} topic
*/
-
-
LoggingGooglePubsubAllOf.prototype['topic'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingGooglePubsubAllOf.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* Your Google Cloud Platform project ID. Required
* @member {String} project_id
*/
-
LoggingGooglePubsubAllOf.prototype['project_id'] = undefined;
var _default = LoggingGooglePubsubAllOf;
exports["default"] = _default;
@@ -67636,27 +65589,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingGooglePubsub = _interopRequireDefault(__nccwpck_require__(78410));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingGooglePubsubResponse model module.
* @module model/LoggingGooglePubsubResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingGooglePubsubResponse = /*#__PURE__*/function () {
/**
@@ -67668,25 +65615,21 @@ var LoggingGooglePubsubResponse = /*#__PURE__*/function () {
*/
function LoggingGooglePubsubResponse() {
_classCallCheck(this, LoggingGooglePubsubResponse);
-
_LoggingGooglePubsub["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingGooglePubsubResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingGooglePubsubResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingGooglePubsubResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -67694,292 +65637,268 @@ var LoggingGooglePubsubResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingGooglePubsubResponse} obj Optional instance to populate.
* @return {module:model/LoggingGooglePubsubResponse} The populated LoggingGooglePubsubResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingGooglePubsubResponse();
-
_LoggingGooglePubsub["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
-
+ if (data.hasOwnProperty('account_name')) {
+ obj['account_name'] = _ApiClient["default"].convertToType(data['account_name'], 'String');
+ }
if (data.hasOwnProperty('topic')) {
obj['topic'] = _ApiClient["default"].convertToType(data['topic'], 'String');
}
-
if (data.hasOwnProperty('project_id')) {
obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingGooglePubsubResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingGooglePubsubResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingGooglePubsubResponse.PlacementEnum} placement
*/
-
LoggingGooglePubsubResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingGooglePubsubResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingGooglePubsubResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingGooglePubsubResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingGooglePubsubResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
*/
-
LoggingGooglePubsubResponse.prototype['user'] = undefined;
+
/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} secret_key
*/
-
LoggingGooglePubsubResponse.prototype['secret_key'] = undefined;
+
+/**
+ * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
+ * @member {String} account_name
+ */
+LoggingGooglePubsubResponse.prototype['account_name'] = undefined;
+
/**
* The Google Cloud Pub/Sub topic to which logs will be published. Required.
* @member {String} topic
*/
-
LoggingGooglePubsubResponse.prototype['topic'] = undefined;
+
/**
* Your Google Cloud Platform project ID. Required
* @member {String} project_id
*/
-
LoggingGooglePubsubResponse.prototype['project_id'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingGooglePubsubResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingGooglePubsubResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingGooglePubsubResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingGooglePubsubResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingGooglePubsubResponse.prototype['version'] = undefined;
-LoggingGooglePubsubResponse.prototype['version'] = undefined; // Implement LoggingGooglePubsub interface:
-
+// Implement LoggingGooglePubsub interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingGooglePubsub["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingGooglePubsub.PlacementEnum} placement
*/
-
_LoggingGooglePubsub["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingGooglePubsub.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingGooglePubsub["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingGooglePubsub["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingGooglePubsub["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
- * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} user
*/
-
_LoggingGooglePubsub["default"].prototype['user'] = undefined;
/**
- * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Required.
+ * Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
* @member {String} secret_key
*/
-
_LoggingGooglePubsub["default"].prototype['secret_key'] = undefined;
+/**
+ * The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
+ * @member {String} account_name
+ */
+_LoggingGooglePubsub["default"].prototype['account_name'] = undefined;
/**
* The Google Cloud Pub/Sub topic to which logs will be published. Required.
* @member {String} topic
*/
-
_LoggingGooglePubsub["default"].prototype['topic'] = undefined;
/**
* Your Google Cloud Platform project ID. Required
* @member {String} project_id
*/
-
-_LoggingGooglePubsub["default"].prototype['project_id'] = undefined; // Implement Timestamps interface:
-
+_LoggingGooglePubsub["default"].prototype['project_id'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingGooglePubsubResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingGooglePubsubResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -68001,25 +65920,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingHerokuAllOf = _interopRequireDefault(__nccwpck_require__(17364));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingHeroku model module.
* @module model/LoggingHeroku
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingHeroku = /*#__PURE__*/function () {
/**
@@ -68030,23 +65944,20 @@ var LoggingHeroku = /*#__PURE__*/function () {
*/
function LoggingHeroku() {
_classCallCheck(this, LoggingHeroku);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingHerokuAllOf["default"].initialize(this);
-
LoggingHeroku.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingHeroku, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingHeroku
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -68054,181 +65965,158 @@ var LoggingHeroku = /*#__PURE__*/function () {
* @param {module:model/LoggingHeroku} obj Optional instance to populate.
* @return {module:model/LoggingHeroku} The populated LoggingHeroku
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingHeroku();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingHerokuAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingHeroku;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingHeroku.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingHeroku.PlacementEnum} placement
*/
-
LoggingHeroku.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingHeroku.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingHeroku.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingHeroku.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingHeroku.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* The token to use for authentication ([https://devcenter.heroku.com/articles/add-on-partner-log-integration](https://devcenter.heroku.com/articles/add-on-partner-log-integration)).
* @member {String} token
*/
-
LoggingHeroku.prototype['token'] = undefined;
+
/**
* The URL to stream logs to.
* @member {String} url
*/
+LoggingHeroku.prototype['url'] = undefined;
-LoggingHeroku.prototype['url'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingHerokuAllOf interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingHerokuAllOf interface:
/**
* The token to use for authentication ([https://devcenter.heroku.com/articles/add-on-partner-log-integration](https://devcenter.heroku.com/articles/add-on-partner-log-integration)).
* @member {String} token
*/
-
_LoggingHerokuAllOf["default"].prototype['token'] = undefined;
/**
* The URL to stream logs to.
* @member {String} url
*/
-
_LoggingHerokuAllOf["default"].prototype['url'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingHeroku['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingHeroku['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -68250,21 +66138,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingHerokuAllOf model module.
* @module model/LoggingHerokuAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingHerokuAllOf = /*#__PURE__*/function () {
/**
@@ -68273,19 +66158,18 @@ var LoggingHerokuAllOf = /*#__PURE__*/function () {
*/
function LoggingHerokuAllOf() {
_classCallCheck(this, LoggingHerokuAllOf);
-
LoggingHerokuAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingHerokuAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingHerokuAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -68293,40 +66177,33 @@ var LoggingHerokuAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingHerokuAllOf} obj Optional instance to populate.
* @return {module:model/LoggingHerokuAllOf} The populated LoggingHerokuAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingHerokuAllOf();
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingHerokuAllOf;
}();
/**
* The token to use for authentication ([https://devcenter.heroku.com/articles/add-on-partner-log-integration](https://devcenter.heroku.com/articles/add-on-partner-log-integration)).
* @member {String} token
*/
-
-
LoggingHerokuAllOf.prototype['token'] = undefined;
+
/**
* The URL to stream logs to.
* @member {String} url
*/
-
LoggingHerokuAllOf.prototype['url'] = undefined;
var _default = LoggingHerokuAllOf;
exports["default"] = _default;
@@ -68343,27 +66220,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingHeroku = _interopRequireDefault(__nccwpck_require__(51261));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingHerokuResponse model module.
* @module model/LoggingHerokuResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingHerokuResponse = /*#__PURE__*/function () {
/**
@@ -68375,25 +66246,21 @@ var LoggingHerokuResponse = /*#__PURE__*/function () {
*/
function LoggingHerokuResponse() {
_classCallCheck(this, LoggingHerokuResponse);
-
_LoggingHeroku["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingHerokuResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingHerokuResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingHerokuResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -68401,260 +66268,226 @@ var LoggingHerokuResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingHerokuResponse} obj Optional instance to populate.
* @return {module:model/LoggingHerokuResponse} The populated LoggingHerokuResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingHerokuResponse();
-
_LoggingHeroku["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingHerokuResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingHerokuResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingHerokuResponse.PlacementEnum} placement
*/
-
LoggingHerokuResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingHerokuResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingHerokuResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingHerokuResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingHerokuResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* The token to use for authentication ([https://devcenter.heroku.com/articles/add-on-partner-log-integration](https://devcenter.heroku.com/articles/add-on-partner-log-integration)).
* @member {String} token
*/
-
LoggingHerokuResponse.prototype['token'] = undefined;
+
/**
* The URL to stream logs to.
* @member {String} url
*/
-
LoggingHerokuResponse.prototype['url'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingHerokuResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingHerokuResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingHerokuResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingHerokuResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingHerokuResponse.prototype['version'] = undefined;
-LoggingHerokuResponse.prototype['version'] = undefined; // Implement LoggingHeroku interface:
-
+// Implement LoggingHeroku interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingHeroku["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingHeroku.PlacementEnum} placement
*/
-
_LoggingHeroku["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingHeroku.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingHeroku["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingHeroku["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingHeroku["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* The token to use for authentication ([https://devcenter.heroku.com/articles/add-on-partner-log-integration](https://devcenter.heroku.com/articles/add-on-partner-log-integration)).
* @member {String} token
*/
-
_LoggingHeroku["default"].prototype['token'] = undefined;
/**
* The URL to stream logs to.
* @member {String} url
*/
-
-_LoggingHeroku["default"].prototype['url'] = undefined; // Implement Timestamps interface:
-
+_LoggingHeroku["default"].prototype['url'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingHerokuResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingHerokuResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -68676,25 +66509,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingHoneycombAllOf = _interopRequireDefault(__nccwpck_require__(97507));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingHoneycomb model module.
* @module model/LoggingHoneycomb
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingHoneycomb = /*#__PURE__*/function () {
/**
@@ -68705,23 +66533,20 @@ var LoggingHoneycomb = /*#__PURE__*/function () {
*/
function LoggingHoneycomb() {
_classCallCheck(this, LoggingHoneycomb);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingHoneycombAllOf["default"].initialize(this);
-
LoggingHoneycomb.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingHoneycomb, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingHoneycomb
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -68729,186 +66554,162 @@ var LoggingHoneycomb = /*#__PURE__*/function () {
* @param {module:model/LoggingHoneycomb} obj Optional instance to populate.
* @return {module:model/LoggingHoneycomb} The populated LoggingHoneycomb
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingHoneycomb();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingHoneycombAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('dataset')) {
obj['dataset'] = _ApiClient["default"].convertToType(data['dataset'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingHoneycomb;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingHoneycomb.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingHoneycomb.PlacementEnum} placement
*/
-
LoggingHoneycomb.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingHoneycomb.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingHoneycomb.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingHoneycomb.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest.
* @member {String} format
*/
-
LoggingHoneycomb.prototype['format'] = undefined;
+
/**
* The Honeycomb Dataset you want to log to.
* @member {String} dataset
*/
-
LoggingHoneycomb.prototype['dataset'] = undefined;
+
/**
* The Write Key from the Account page of your Honeycomb account.
* @member {String} token
*/
+LoggingHoneycomb.prototype['token'] = undefined;
-LoggingHoneycomb.prototype['token'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingHoneycombAllOf interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingHoneycombAllOf interface:
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest.
* @member {String} format
*/
-
_LoggingHoneycombAllOf["default"].prototype['format'] = undefined;
/**
* The Honeycomb Dataset you want to log to.
* @member {String} dataset
*/
-
_LoggingHoneycombAllOf["default"].prototype['dataset'] = undefined;
/**
* The Write Key from the Account page of your Honeycomb account.
* @member {String} token
*/
-
_LoggingHoneycombAllOf["default"].prototype['token'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingHoneycomb['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingHoneycomb['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -68930,21 +66731,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingHoneycombAllOf model module.
* @module model/LoggingHoneycombAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingHoneycombAllOf = /*#__PURE__*/function () {
/**
@@ -68953,19 +66751,18 @@ var LoggingHoneycombAllOf = /*#__PURE__*/function () {
*/
function LoggingHoneycombAllOf() {
_classCallCheck(this, LoggingHoneycombAllOf);
-
LoggingHoneycombAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingHoneycombAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingHoneycombAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -68973,50 +66770,42 @@ var LoggingHoneycombAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingHoneycombAllOf} obj Optional instance to populate.
* @return {module:model/LoggingHoneycombAllOf} The populated LoggingHoneycombAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingHoneycombAllOf();
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('dataset')) {
obj['dataset'] = _ApiClient["default"].convertToType(data['dataset'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingHoneycombAllOf;
}();
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest.
* @member {String} format
*/
-
-
LoggingHoneycombAllOf.prototype['format'] = undefined;
+
/**
* The Honeycomb Dataset you want to log to.
* @member {String} dataset
*/
-
LoggingHoneycombAllOf.prototype['dataset'] = undefined;
+
/**
* The Write Key from the Account page of your Honeycomb account.
* @member {String} token
*/
-
LoggingHoneycombAllOf.prototype['token'] = undefined;
var _default = LoggingHoneycombAllOf;
exports["default"] = _default;
@@ -69033,27 +66822,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingHoneycomb = _interopRequireDefault(__nccwpck_require__(33549));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingHoneycombResponse model module.
* @module model/LoggingHoneycombResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingHoneycombResponse = /*#__PURE__*/function () {
/**
@@ -69065,25 +66848,21 @@ var LoggingHoneycombResponse = /*#__PURE__*/function () {
*/
function LoggingHoneycombResponse() {
_classCallCheck(this, LoggingHoneycombResponse);
-
_LoggingHoneycomb["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingHoneycombResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingHoneycombResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingHoneycombResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -69091,258 +66870,224 @@ var LoggingHoneycombResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingHoneycombResponse} obj Optional instance to populate.
* @return {module:model/LoggingHoneycombResponse} The populated LoggingHoneycombResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingHoneycombResponse();
-
_LoggingHoneycomb["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('dataset')) {
obj['dataset'] = _ApiClient["default"].convertToType(data['dataset'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingHoneycombResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingHoneycombResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingHoneycombResponse.PlacementEnum} placement
*/
-
LoggingHoneycombResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingHoneycombResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingHoneycombResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingHoneycombResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest.
* @member {String} format
*/
-
LoggingHoneycombResponse.prototype['format'] = undefined;
+
/**
* The Honeycomb Dataset you want to log to.
* @member {String} dataset
*/
-
LoggingHoneycombResponse.prototype['dataset'] = undefined;
+
/**
* The Write Key from the Account page of your Honeycomb account.
* @member {String} token
*/
-
LoggingHoneycombResponse.prototype['token'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingHoneycombResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingHoneycombResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingHoneycombResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingHoneycombResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingHoneycombResponse.prototype['version'] = undefined;
-LoggingHoneycombResponse.prototype['version'] = undefined; // Implement LoggingHoneycomb interface:
-
+// Implement LoggingHoneycomb interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingHoneycomb["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingHoneycomb.PlacementEnum} placement
*/
-
_LoggingHoneycomb["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingHoneycomb.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingHoneycomb["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingHoneycomb["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest.
* @member {String} format
*/
-
_LoggingHoneycomb["default"].prototype['format'] = undefined;
/**
* The Honeycomb Dataset you want to log to.
* @member {String} dataset
*/
-
_LoggingHoneycomb["default"].prototype['dataset'] = undefined;
/**
* The Write Key from the Account page of your Honeycomb account.
* @member {String} token
*/
-
-_LoggingHoneycomb["default"].prototype['token'] = undefined; // Implement Timestamps interface:
-
+_LoggingHoneycomb["default"].prototype['token'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingHoneycombResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingHoneycombResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -69364,31 +67109,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingHttpsAllOf = _interopRequireDefault(__nccwpck_require__(6266));
-
var _LoggingMessageType = _interopRequireDefault(__nccwpck_require__(13389));
-
var _LoggingRequestCapsCommon = _interopRequireDefault(__nccwpck_require__(8048));
-
var _LoggingTlsCommon = _interopRequireDefault(__nccwpck_require__(28232));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingHttps model module.
* @module model/LoggingHttps
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingHttps = /*#__PURE__*/function () {
/**
@@ -69401,27 +67138,22 @@ var LoggingHttps = /*#__PURE__*/function () {
*/
function LoggingHttps() {
_classCallCheck(this, LoggingHttps);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingTlsCommon["default"].initialize(this);
-
_LoggingRequestCapsCommon["default"].initialize(this);
-
_LoggingHttpsAllOf["default"].initialize(this);
-
LoggingHttps.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingHttps, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingHttps
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -69429,446 +67161,393 @@ var LoggingHttps = /*#__PURE__*/function () {
* @param {module:model/LoggingHttps} obj Optional instance to populate.
* @return {module:model/LoggingHttps} The populated LoggingHttps
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingHttps();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingTlsCommon["default"].constructFromObject(data, obj);
-
_LoggingRequestCapsCommon["default"].constructFromObject(data, obj);
-
_LoggingHttpsAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = _ApiClient["default"].convertToType(data['tls_ca_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_cert')) {
obj['tls_client_cert'] = _ApiClient["default"].convertToType(data['tls_client_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_key')) {
obj['tls_client_key'] = _ApiClient["default"].convertToType(data['tls_client_key'], 'String');
}
-
if (data.hasOwnProperty('tls_hostname')) {
obj['tls_hostname'] = _ApiClient["default"].convertToType(data['tls_hostname'], 'String');
}
-
if (data.hasOwnProperty('request_max_entries')) {
obj['request_max_entries'] = _ApiClient["default"].convertToType(data['request_max_entries'], 'Number');
}
-
if (data.hasOwnProperty('request_max_bytes')) {
obj['request_max_bytes'] = _ApiClient["default"].convertToType(data['request_max_bytes'], 'Number');
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
-
if (data.hasOwnProperty('content_type')) {
obj['content_type'] = _ApiClient["default"].convertToType(data['content_type'], 'String');
}
-
if (data.hasOwnProperty('header_name')) {
obj['header_name'] = _ApiClient["default"].convertToType(data['header_name'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _LoggingMessageType["default"].constructFromObject(data['message_type']);
}
-
if (data.hasOwnProperty('header_value')) {
obj['header_value'] = _ApiClient["default"].convertToType(data['header_value'], 'String');
}
-
if (data.hasOwnProperty('method')) {
obj['method'] = _ApiClient["default"].convertToType(data['method'], 'String');
}
-
if (data.hasOwnProperty('json_format')) {
obj['json_format'] = _ApiClient["default"].convertToType(data['json_format'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingHttps;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingHttps.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingHttps.PlacementEnum} placement
*/
-
LoggingHttps.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingHttps.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingHttps.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingHttps.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingHttps.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
LoggingHttps.prototype['tls_ca_cert'] = 'null';
+
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
LoggingHttps.prototype['tls_client_cert'] = 'null';
+
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
LoggingHttps.prototype['tls_client_key'] = 'null';
+
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-
LoggingHttps.prototype['tls_hostname'] = 'null';
+
/**
- * The maximum number of logs sent in one request. Defaults `0` (no limit).
+ * The maximum number of logs sent in one request. Defaults `0` (10k).
* @member {Number} request_max_entries
* @default 0
*/
-
LoggingHttps.prototype['request_max_entries'] = 0;
+
/**
- * The maximum number of bytes sent in one request. Defaults `0` (no limit).
+ * The maximum number of bytes sent in one request. Defaults `0` (100MB).
* @member {Number} request_max_bytes
* @default 0
*/
-
LoggingHttps.prototype['request_max_bytes'] = 0;
+
/**
* The URL to send logs to. Must use HTTPS. Required.
* @member {String} url
*/
-
LoggingHttps.prototype['url'] = undefined;
+
/**
* Content type of the header sent with the request.
* @member {String} content_type
* @default 'null'
*/
-
LoggingHttps.prototype['content_type'] = 'null';
+
/**
* Name of the custom header sent with the request.
* @member {String} header_name
* @default 'null'
*/
-
LoggingHttps.prototype['header_name'] = 'null';
+
/**
* @member {module:model/LoggingMessageType} message_type
*/
-
LoggingHttps.prototype['message_type'] = undefined;
+
/**
* Value of the custom header sent with the request.
* @member {String} header_value
* @default 'null'
*/
-
LoggingHttps.prototype['header_value'] = 'null';
+
/**
* HTTP method used for request.
* @member {module:model/LoggingHttps.MethodEnum} method
* @default 'POST'
*/
-
LoggingHttps.prototype['method'] = undefined;
+
/**
* Enforces valid JSON formatting for log entries.
* @member {module:model/LoggingHttps.JsonFormatEnum} json_format
*/
+LoggingHttps.prototype['json_format'] = undefined;
-LoggingHttps.prototype['json_format'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingTlsCommon interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingTlsCommon interface:
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
_LoggingTlsCommon["default"].prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
_LoggingTlsCommon["default"].prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
_LoggingTlsCommon["default"].prototype['tls_client_key'] = 'null';
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-
-_LoggingTlsCommon["default"].prototype['tls_hostname'] = 'null'; // Implement LoggingRequestCapsCommon interface:
-
+_LoggingTlsCommon["default"].prototype['tls_hostname'] = 'null';
+// Implement LoggingRequestCapsCommon interface:
/**
* The maximum number of logs sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_entries
* @default 0
*/
-
_LoggingRequestCapsCommon["default"].prototype['request_max_entries'] = 0;
/**
* The maximum number of bytes sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_bytes
* @default 0
*/
-
-_LoggingRequestCapsCommon["default"].prototype['request_max_bytes'] = 0; // Implement LoggingHttpsAllOf interface:
-
+_LoggingRequestCapsCommon["default"].prototype['request_max_bytes'] = 0;
+// Implement LoggingHttpsAllOf interface:
/**
* The URL to send logs to. Must use HTTPS. Required.
* @member {String} url
*/
-
_LoggingHttpsAllOf["default"].prototype['url'] = undefined;
/**
- * The maximum number of logs sent in one request. Defaults `0` (no limit).
+ * The maximum number of logs sent in one request. Defaults `0` (10k).
* @member {Number} request_max_entries
* @default 0
*/
-
_LoggingHttpsAllOf["default"].prototype['request_max_entries'] = 0;
/**
- * The maximum number of bytes sent in one request. Defaults `0` (no limit).
+ * The maximum number of bytes sent in one request. Defaults `0` (100MB).
* @member {Number} request_max_bytes
* @default 0
*/
-
_LoggingHttpsAllOf["default"].prototype['request_max_bytes'] = 0;
/**
* Content type of the header sent with the request.
* @member {String} content_type
* @default 'null'
*/
-
_LoggingHttpsAllOf["default"].prototype['content_type'] = 'null';
/**
* Name of the custom header sent with the request.
* @member {String} header_name
* @default 'null'
*/
-
_LoggingHttpsAllOf["default"].prototype['header_name'] = 'null';
/**
* @member {module:model/LoggingMessageType} message_type
*/
-
_LoggingHttpsAllOf["default"].prototype['message_type'] = undefined;
/**
* Value of the custom header sent with the request.
* @member {String} header_value
* @default 'null'
*/
-
_LoggingHttpsAllOf["default"].prototype['header_value'] = 'null';
/**
* HTTP method used for request.
* @member {module:model/LoggingHttpsAllOf.MethodEnum} method
* @default 'POST'
*/
-
_LoggingHttpsAllOf["default"].prototype['method'] = undefined;
/**
* Enforces valid JSON formatting for log entries.
* @member {module:model/LoggingHttpsAllOf.JsonFormatEnum} json_format
*/
-
_LoggingHttpsAllOf["default"].prototype['json_format'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingHttpsAllOf["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingHttps['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingHttps['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the method
property.
* @enum {String}
* @readonly
*/
-
LoggingHttps['MethodEnum'] = {
/**
* value: "POST"
* @const
*/
"POST": "POST",
-
/**
* value: "PUT"
* @const
*/
"PUT": "PUT"
};
+
/**
* Allowed values for the json_format
property.
* @enum {String}
* @readonly
*/
-
LoggingHttps['JsonFormatEnum'] = {
/**
* value: "0"
* @const
*/
"disabled": "0",
-
/**
* value: "1"
* @const
*/
"json_array": "1",
-
/**
* value: "2"
* @const
@@ -69890,23 +67569,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingMessageType = _interopRequireDefault(__nccwpck_require__(13389));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingHttpsAllOf model module.
* @module model/LoggingHttpsAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingHttpsAllOf = /*#__PURE__*/function () {
/**
@@ -69915,19 +67590,18 @@ var LoggingHttpsAllOf = /*#__PURE__*/function () {
*/
function LoggingHttpsAllOf() {
_classCallCheck(this, LoggingHttpsAllOf);
-
LoggingHttpsAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingHttpsAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingHttpsAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -69935,165 +67609,147 @@ var LoggingHttpsAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingHttpsAllOf} obj Optional instance to populate.
* @return {module:model/LoggingHttpsAllOf} The populated LoggingHttpsAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingHttpsAllOf();
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
-
if (data.hasOwnProperty('request_max_entries')) {
obj['request_max_entries'] = _ApiClient["default"].convertToType(data['request_max_entries'], 'Number');
}
-
if (data.hasOwnProperty('request_max_bytes')) {
obj['request_max_bytes'] = _ApiClient["default"].convertToType(data['request_max_bytes'], 'Number');
}
-
if (data.hasOwnProperty('content_type')) {
obj['content_type'] = _ApiClient["default"].convertToType(data['content_type'], 'String');
}
-
if (data.hasOwnProperty('header_name')) {
obj['header_name'] = _ApiClient["default"].convertToType(data['header_name'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _LoggingMessageType["default"].constructFromObject(data['message_type']);
}
-
if (data.hasOwnProperty('header_value')) {
obj['header_value'] = _ApiClient["default"].convertToType(data['header_value'], 'String');
}
-
if (data.hasOwnProperty('method')) {
obj['method'] = _ApiClient["default"].convertToType(data['method'], 'String');
}
-
if (data.hasOwnProperty('json_format')) {
obj['json_format'] = _ApiClient["default"].convertToType(data['json_format'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingHttpsAllOf;
}();
/**
* The URL to send logs to. Must use HTTPS. Required.
* @member {String} url
*/
-
-
LoggingHttpsAllOf.prototype['url'] = undefined;
+
/**
- * The maximum number of logs sent in one request. Defaults `0` (no limit).
+ * The maximum number of logs sent in one request. Defaults `0` (10k).
* @member {Number} request_max_entries
* @default 0
*/
-
LoggingHttpsAllOf.prototype['request_max_entries'] = 0;
+
/**
- * The maximum number of bytes sent in one request. Defaults `0` (no limit).
+ * The maximum number of bytes sent in one request. Defaults `0` (100MB).
* @member {Number} request_max_bytes
* @default 0
*/
-
LoggingHttpsAllOf.prototype['request_max_bytes'] = 0;
+
/**
* Content type of the header sent with the request.
* @member {String} content_type
* @default 'null'
*/
-
LoggingHttpsAllOf.prototype['content_type'] = 'null';
+
/**
* Name of the custom header sent with the request.
* @member {String} header_name
* @default 'null'
*/
-
LoggingHttpsAllOf.prototype['header_name'] = 'null';
+
/**
* @member {module:model/LoggingMessageType} message_type
*/
-
LoggingHttpsAllOf.prototype['message_type'] = undefined;
+
/**
* Value of the custom header sent with the request.
* @member {String} header_value
* @default 'null'
*/
-
LoggingHttpsAllOf.prototype['header_value'] = 'null';
+
/**
* HTTP method used for request.
* @member {module:model/LoggingHttpsAllOf.MethodEnum} method
* @default 'POST'
*/
-
LoggingHttpsAllOf.prototype['method'] = undefined;
+
/**
* Enforces valid JSON formatting for log entries.
* @member {module:model/LoggingHttpsAllOf.JsonFormatEnum} json_format
*/
-
LoggingHttpsAllOf.prototype['json_format'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingHttpsAllOf.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* Allowed values for the method
property.
* @enum {String}
* @readonly
*/
-
LoggingHttpsAllOf['MethodEnum'] = {
/**
* value: "POST"
* @const
*/
"POST": "POST",
-
/**
* value: "PUT"
* @const
*/
"PUT": "PUT"
};
+
/**
* Allowed values for the json_format
property.
* @enum {String}
* @readonly
*/
-
LoggingHttpsAllOf['JsonFormatEnum'] = {
/**
* value: "0"
* @const
*/
"disabled": "0",
-
/**
* value: "1"
* @const
*/
"json_array": "1",
-
/**
* value: "2"
* @const
@@ -70115,29 +67771,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingHttps = _interopRequireDefault(__nccwpck_require__(25003));
-
var _LoggingMessageType = _interopRequireDefault(__nccwpck_require__(13389));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingHttpsResponse model module.
* @module model/LoggingHttpsResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingHttpsResponse = /*#__PURE__*/function () {
/**
@@ -70149,25 +67798,21 @@ var LoggingHttpsResponse = /*#__PURE__*/function () {
*/
function LoggingHttpsResponse() {
_classCallCheck(this, LoggingHttpsResponse);
-
_LoggingHttps["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingHttpsResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingHttpsResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingHttpsResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -70175,498 +67820,439 @@ var LoggingHttpsResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingHttpsResponse} obj Optional instance to populate.
* @return {module:model/LoggingHttpsResponse} The populated LoggingHttpsResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingHttpsResponse();
-
_LoggingHttps["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = _ApiClient["default"].convertToType(data['tls_ca_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_cert')) {
obj['tls_client_cert'] = _ApiClient["default"].convertToType(data['tls_client_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_key')) {
obj['tls_client_key'] = _ApiClient["default"].convertToType(data['tls_client_key'], 'String');
}
-
if (data.hasOwnProperty('tls_hostname')) {
obj['tls_hostname'] = _ApiClient["default"].convertToType(data['tls_hostname'], 'String');
}
-
if (data.hasOwnProperty('request_max_entries')) {
obj['request_max_entries'] = _ApiClient["default"].convertToType(data['request_max_entries'], 'Number');
}
-
if (data.hasOwnProperty('request_max_bytes')) {
obj['request_max_bytes'] = _ApiClient["default"].convertToType(data['request_max_bytes'], 'Number');
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
-
if (data.hasOwnProperty('content_type')) {
obj['content_type'] = _ApiClient["default"].convertToType(data['content_type'], 'String');
}
-
if (data.hasOwnProperty('header_name')) {
obj['header_name'] = _ApiClient["default"].convertToType(data['header_name'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _LoggingMessageType["default"].constructFromObject(data['message_type']);
}
-
if (data.hasOwnProperty('header_value')) {
obj['header_value'] = _ApiClient["default"].convertToType(data['header_value'], 'String');
}
-
if (data.hasOwnProperty('method')) {
obj['method'] = _ApiClient["default"].convertToType(data['method'], 'String');
}
-
if (data.hasOwnProperty('json_format')) {
obj['json_format'] = _ApiClient["default"].convertToType(data['json_format'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingHttpsResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingHttpsResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingHttpsResponse.PlacementEnum} placement
*/
-
LoggingHttpsResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingHttpsResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingHttpsResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingHttpsResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingHttpsResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
LoggingHttpsResponse.prototype['tls_ca_cert'] = 'null';
+
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
LoggingHttpsResponse.prototype['tls_client_cert'] = 'null';
+
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
LoggingHttpsResponse.prototype['tls_client_key'] = 'null';
+
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-
LoggingHttpsResponse.prototype['tls_hostname'] = 'null';
+
/**
- * The maximum number of logs sent in one request. Defaults `0` (no limit).
+ * The maximum number of logs sent in one request. Defaults `0` (10k).
* @member {Number} request_max_entries
* @default 0
*/
-
LoggingHttpsResponse.prototype['request_max_entries'] = 0;
+
/**
- * The maximum number of bytes sent in one request. Defaults `0` (no limit).
+ * The maximum number of bytes sent in one request. Defaults `0` (100MB).
* @member {Number} request_max_bytes
* @default 0
*/
-
LoggingHttpsResponse.prototype['request_max_bytes'] = 0;
+
/**
* The URL to send logs to. Must use HTTPS. Required.
* @member {String} url
*/
-
LoggingHttpsResponse.prototype['url'] = undefined;
+
/**
* Content type of the header sent with the request.
* @member {String} content_type
* @default 'null'
*/
-
LoggingHttpsResponse.prototype['content_type'] = 'null';
+
/**
* Name of the custom header sent with the request.
* @member {String} header_name
* @default 'null'
*/
-
LoggingHttpsResponse.prototype['header_name'] = 'null';
+
/**
* @member {module:model/LoggingMessageType} message_type
*/
-
LoggingHttpsResponse.prototype['message_type'] = undefined;
+
/**
* Value of the custom header sent with the request.
* @member {String} header_value
* @default 'null'
*/
-
LoggingHttpsResponse.prototype['header_value'] = 'null';
+
/**
* HTTP method used for request.
* @member {module:model/LoggingHttpsResponse.MethodEnum} method
* @default 'POST'
*/
-
LoggingHttpsResponse.prototype['method'] = undefined;
+
/**
* Enforces valid JSON formatting for log entries.
* @member {module:model/LoggingHttpsResponse.JsonFormatEnum} json_format
*/
-
LoggingHttpsResponse.prototype['json_format'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingHttpsResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingHttpsResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingHttpsResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingHttpsResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingHttpsResponse.prototype['version'] = undefined;
-LoggingHttpsResponse.prototype['version'] = undefined; // Implement LoggingHttps interface:
-
+// Implement LoggingHttps interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingHttps["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingHttps.PlacementEnum} placement
*/
-
_LoggingHttps["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingHttps.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingHttps["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingHttps["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingHttps["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
_LoggingHttps["default"].prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
_LoggingHttps["default"].prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
_LoggingHttps["default"].prototype['tls_client_key'] = 'null';
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-
_LoggingHttps["default"].prototype['tls_hostname'] = 'null';
/**
- * The maximum number of logs sent in one request. Defaults `0` (no limit).
+ * The maximum number of logs sent in one request. Defaults `0` (10k).
* @member {Number} request_max_entries
* @default 0
*/
-
_LoggingHttps["default"].prototype['request_max_entries'] = 0;
/**
- * The maximum number of bytes sent in one request. Defaults `0` (no limit).
+ * The maximum number of bytes sent in one request. Defaults `0` (100MB).
* @member {Number} request_max_bytes
* @default 0
*/
-
_LoggingHttps["default"].prototype['request_max_bytes'] = 0;
/**
* The URL to send logs to. Must use HTTPS. Required.
* @member {String} url
*/
-
_LoggingHttps["default"].prototype['url'] = undefined;
/**
* Content type of the header sent with the request.
* @member {String} content_type
* @default 'null'
*/
-
_LoggingHttps["default"].prototype['content_type'] = 'null';
/**
* Name of the custom header sent with the request.
* @member {String} header_name
* @default 'null'
*/
-
_LoggingHttps["default"].prototype['header_name'] = 'null';
/**
* @member {module:model/LoggingMessageType} message_type
*/
-
_LoggingHttps["default"].prototype['message_type'] = undefined;
/**
* Value of the custom header sent with the request.
* @member {String} header_value
* @default 'null'
*/
-
_LoggingHttps["default"].prototype['header_value'] = 'null';
/**
* HTTP method used for request.
* @member {module:model/LoggingHttps.MethodEnum} method
* @default 'POST'
*/
-
_LoggingHttps["default"].prototype['method'] = undefined;
/**
* Enforces valid JSON formatting for log entries.
* @member {module:model/LoggingHttps.JsonFormatEnum} json_format
*/
-
-_LoggingHttps["default"].prototype['json_format'] = undefined; // Implement Timestamps interface:
-
+_LoggingHttps["default"].prototype['json_format'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingHttpsResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingHttpsResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the method
property.
* @enum {String}
* @readonly
*/
-
LoggingHttpsResponse['MethodEnum'] = {
/**
* value: "POST"
* @const
*/
"POST": "POST",
-
/**
* value: "PUT"
* @const
*/
"PUT": "PUT"
};
+
/**
* Allowed values for the json_format
property.
* @enum {String}
* @readonly
*/
-
LoggingHttpsResponse['JsonFormatEnum'] = {
/**
* value: "0"
* @const
*/
"disabled": "0",
-
/**
* value: "1"
* @const
*/
"json_array": "1",
-
/**
* value: "2"
* @const
@@ -70688,29 +68274,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingKafkaAllOf = _interopRequireDefault(__nccwpck_require__(91265));
-
var _LoggingTlsCommon = _interopRequireDefault(__nccwpck_require__(28232));
-
var _LoggingUseTls = _interopRequireDefault(__nccwpck_require__(59444));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingKafka model module.
* @module model/LoggingKafka
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingKafka = /*#__PURE__*/function () {
/**
@@ -70722,25 +68301,21 @@ var LoggingKafka = /*#__PURE__*/function () {
*/
function LoggingKafka() {
_classCallCheck(this, LoggingKafka);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingTlsCommon["default"].initialize(this);
-
_LoggingKafkaAllOf["default"].initialize(this);
-
LoggingKafka.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingKafka, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingKafka
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -70748,467 +68323,412 @@ var LoggingKafka = /*#__PURE__*/function () {
* @param {module:model/LoggingKafka} obj Optional instance to populate.
* @return {module:model/LoggingKafka} The populated LoggingKafka
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingKafka();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingTlsCommon["default"].constructFromObject(data, obj);
-
_LoggingKafkaAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = _ApiClient["default"].convertToType(data['tls_ca_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_cert')) {
obj['tls_client_cert'] = _ApiClient["default"].convertToType(data['tls_client_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_key')) {
obj['tls_client_key'] = _ApiClient["default"].convertToType(data['tls_client_key'], 'String');
}
-
if (data.hasOwnProperty('tls_hostname')) {
obj['tls_hostname'] = _ApiClient["default"].convertToType(data['tls_hostname'], 'String');
}
-
if (data.hasOwnProperty('topic')) {
obj['topic'] = _ApiClient["default"].convertToType(data['topic'], 'String');
}
-
if (data.hasOwnProperty('brokers')) {
obj['brokers'] = _ApiClient["default"].convertToType(data['brokers'], 'String');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('required_acks')) {
obj['required_acks'] = _ApiClient["default"].convertToType(data['required_acks'], 'Number');
}
-
if (data.hasOwnProperty('request_max_bytes')) {
obj['request_max_bytes'] = _ApiClient["default"].convertToType(data['request_max_bytes'], 'Number');
}
-
if (data.hasOwnProperty('parse_log_keyvals')) {
obj['parse_log_keyvals'] = _ApiClient["default"].convertToType(data['parse_log_keyvals'], 'Boolean');
}
-
if (data.hasOwnProperty('auth_method')) {
obj['auth_method'] = _ApiClient["default"].convertToType(data['auth_method'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
-
if (data.hasOwnProperty('password')) {
obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
}
-
if (data.hasOwnProperty('use_tls')) {
obj['use_tls'] = _LoggingUseTls["default"].constructFromObject(data['use_tls']);
}
}
-
return obj;
}
}]);
-
return LoggingKafka;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingKafka.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingKafka.PlacementEnum} placement
*/
-
LoggingKafka.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingKafka.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingKafka.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingKafka.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingKafka.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
LoggingKafka.prototype['tls_ca_cert'] = 'null';
+
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
LoggingKafka.prototype['tls_client_cert'] = 'null';
+
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
LoggingKafka.prototype['tls_client_key'] = 'null';
+
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-
LoggingKafka.prototype['tls_hostname'] = 'null';
+
/**
* The Kafka topic to send logs to. Required.
* @member {String} topic
*/
-
LoggingKafka.prototype['topic'] = undefined;
+
/**
* A comma-separated list of IP addresses or hostnames of Kafka brokers. Required.
* @member {String} brokers
*/
-
LoggingKafka.prototype['brokers'] = undefined;
+
/**
* The codec used for compression of your logs.
* @member {module:model/LoggingKafka.CompressionCodecEnum} compression_codec
*/
-
LoggingKafka.prototype['compression_codec'] = undefined;
+
/**
* The number of acknowledgements a leader must receive before a write is considered successful.
* @member {module:model/LoggingKafka.RequiredAcksEnum} required_acks
* @default RequiredAcksEnum.one
*/
-
LoggingKafka.prototype['required_acks'] = undefined;
+
/**
* The maximum number of bytes sent in one request. Defaults `0` (no limit).
* @member {Number} request_max_bytes
* @default 0
*/
-
LoggingKafka.prototype['request_max_bytes'] = 0;
+
/**
* Enables parsing of key=value tuples from the beginning of a logline, turning them into [record headers](https://cwiki.apache.org/confluence/display/KAFKA/KIP-82+-+Add+Record+Headers).
* @member {Boolean} parse_log_keyvals
*/
-
LoggingKafka.prototype['parse_log_keyvals'] = undefined;
+
/**
* SASL authentication method.
* @member {module:model/LoggingKafka.AuthMethodEnum} auth_method
*/
-
LoggingKafka.prototype['auth_method'] = undefined;
+
/**
* SASL user.
* @member {String} user
*/
-
LoggingKafka.prototype['user'] = undefined;
+
/**
* SASL password.
* @member {String} password
*/
-
LoggingKafka.prototype['password'] = undefined;
+
/**
* @member {module:model/LoggingUseTls} use_tls
*/
+LoggingKafka.prototype['use_tls'] = undefined;
-LoggingKafka.prototype['use_tls'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingTlsCommon interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingTlsCommon interface:
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
_LoggingTlsCommon["default"].prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
_LoggingTlsCommon["default"].prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
_LoggingTlsCommon["default"].prototype['tls_client_key'] = 'null';
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-
-_LoggingTlsCommon["default"].prototype['tls_hostname'] = 'null'; // Implement LoggingKafkaAllOf interface:
-
+_LoggingTlsCommon["default"].prototype['tls_hostname'] = 'null';
+// Implement LoggingKafkaAllOf interface:
/**
* The Kafka topic to send logs to. Required.
* @member {String} topic
*/
-
_LoggingKafkaAllOf["default"].prototype['topic'] = undefined;
/**
* A comma-separated list of IP addresses or hostnames of Kafka brokers. Required.
* @member {String} brokers
*/
-
_LoggingKafkaAllOf["default"].prototype['brokers'] = undefined;
/**
* The codec used for compression of your logs.
* @member {module:model/LoggingKafkaAllOf.CompressionCodecEnum} compression_codec
*/
-
_LoggingKafkaAllOf["default"].prototype['compression_codec'] = undefined;
/**
* The number of acknowledgements a leader must receive before a write is considered successful.
* @member {module:model/LoggingKafkaAllOf.RequiredAcksEnum} required_acks
* @default RequiredAcksEnum.one
*/
-
_LoggingKafkaAllOf["default"].prototype['required_acks'] = undefined;
/**
* The maximum number of bytes sent in one request. Defaults `0` (no limit).
* @member {Number} request_max_bytes
* @default 0
*/
-
_LoggingKafkaAllOf["default"].prototype['request_max_bytes'] = 0;
/**
* Enables parsing of key=value tuples from the beginning of a logline, turning them into [record headers](https://cwiki.apache.org/confluence/display/KAFKA/KIP-82+-+Add+Record+Headers).
* @member {Boolean} parse_log_keyvals
*/
-
_LoggingKafkaAllOf["default"].prototype['parse_log_keyvals'] = undefined;
/**
* SASL authentication method.
* @member {module:model/LoggingKafkaAllOf.AuthMethodEnum} auth_method
*/
-
_LoggingKafkaAllOf["default"].prototype['auth_method'] = undefined;
/**
* SASL user.
* @member {String} user
*/
-
_LoggingKafkaAllOf["default"].prototype['user'] = undefined;
/**
* SASL password.
* @member {String} password
*/
-
_LoggingKafkaAllOf["default"].prototype['password'] = undefined;
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-
_LoggingKafkaAllOf["default"].prototype['use_tls'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingKafka['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingKafka['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingKafka['CompressionCodecEnum'] = {
/**
* value: "gzip"
* @const
*/
"gzip": "gzip",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "lz4"
* @const
*/
"lz4": "lz4",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the required_acks
property.
* @enum {Number}
* @readonly
*/
-
LoggingKafka['RequiredAcksEnum'] = {
/**
* value: 1
* @const
*/
"one": 1,
-
/**
* value: 0
* @const
*/
"none": 0,
-
/**
* value: -1
* @const
*/
"all": -1
};
+
/**
* Allowed values for the auth_method
property.
* @enum {String}
* @readonly
*/
-
LoggingKafka['AuthMethodEnum'] = {
/**
* value: "plain"
* @const
*/
"plain": "plain",
-
/**
* value: "scram-sha-256"
* @const
*/
"scram-sha-256": "scram-sha-256",
-
/**
* value: "scram-sha-512"
* @const
@@ -71230,23 +68750,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingUseTls = _interopRequireDefault(__nccwpck_require__(59444));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingKafkaAllOf model module.
* @module model/LoggingKafkaAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingKafkaAllOf = /*#__PURE__*/function () {
/**
@@ -71255,19 +68771,18 @@ var LoggingKafkaAllOf = /*#__PURE__*/function () {
*/
function LoggingKafkaAllOf() {
_classCallCheck(this, LoggingKafkaAllOf);
-
LoggingKafkaAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingKafkaAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingKafkaAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -71275,197 +68790,175 @@ var LoggingKafkaAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingKafkaAllOf} obj Optional instance to populate.
* @return {module:model/LoggingKafkaAllOf} The populated LoggingKafkaAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingKafkaAllOf();
-
if (data.hasOwnProperty('topic')) {
obj['topic'] = _ApiClient["default"].convertToType(data['topic'], 'String');
}
-
if (data.hasOwnProperty('brokers')) {
obj['brokers'] = _ApiClient["default"].convertToType(data['brokers'], 'String');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('required_acks')) {
obj['required_acks'] = _ApiClient["default"].convertToType(data['required_acks'], 'Number');
}
-
if (data.hasOwnProperty('request_max_bytes')) {
obj['request_max_bytes'] = _ApiClient["default"].convertToType(data['request_max_bytes'], 'Number');
}
-
if (data.hasOwnProperty('parse_log_keyvals')) {
obj['parse_log_keyvals'] = _ApiClient["default"].convertToType(data['parse_log_keyvals'], 'Boolean');
}
-
if (data.hasOwnProperty('auth_method')) {
obj['auth_method'] = _ApiClient["default"].convertToType(data['auth_method'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
-
if (data.hasOwnProperty('password')) {
obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
}
-
if (data.hasOwnProperty('use_tls')) {
obj['use_tls'] = _LoggingUseTls["default"].constructFromObject(data['use_tls']);
}
}
-
return obj;
}
}]);
-
return LoggingKafkaAllOf;
}();
/**
* The Kafka topic to send logs to. Required.
* @member {String} topic
*/
-
-
LoggingKafkaAllOf.prototype['topic'] = undefined;
+
/**
* A comma-separated list of IP addresses or hostnames of Kafka brokers. Required.
* @member {String} brokers
*/
-
LoggingKafkaAllOf.prototype['brokers'] = undefined;
+
/**
* The codec used for compression of your logs.
* @member {module:model/LoggingKafkaAllOf.CompressionCodecEnum} compression_codec
*/
-
LoggingKafkaAllOf.prototype['compression_codec'] = undefined;
+
/**
* The number of acknowledgements a leader must receive before a write is considered successful.
* @member {module:model/LoggingKafkaAllOf.RequiredAcksEnum} required_acks
* @default RequiredAcksEnum.one
*/
-
LoggingKafkaAllOf.prototype['required_acks'] = undefined;
+
/**
* The maximum number of bytes sent in one request. Defaults `0` (no limit).
* @member {Number} request_max_bytes
* @default 0
*/
-
LoggingKafkaAllOf.prototype['request_max_bytes'] = 0;
+
/**
* Enables parsing of key=value tuples from the beginning of a logline, turning them into [record headers](https://cwiki.apache.org/confluence/display/KAFKA/KIP-82+-+Add+Record+Headers).
* @member {Boolean} parse_log_keyvals
*/
-
LoggingKafkaAllOf.prototype['parse_log_keyvals'] = undefined;
+
/**
* SASL authentication method.
* @member {module:model/LoggingKafkaAllOf.AuthMethodEnum} auth_method
*/
-
LoggingKafkaAllOf.prototype['auth_method'] = undefined;
+
/**
* SASL user.
* @member {String} user
*/
-
LoggingKafkaAllOf.prototype['user'] = undefined;
+
/**
* SASL password.
* @member {String} password
*/
-
LoggingKafkaAllOf.prototype['password'] = undefined;
+
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-
LoggingKafkaAllOf.prototype['use_tls'] = undefined;
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingKafkaAllOf['CompressionCodecEnum'] = {
/**
* value: "gzip"
* @const
*/
"gzip": "gzip",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "lz4"
* @const
*/
"lz4": "lz4",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the required_acks
property.
* @enum {Number}
* @readonly
*/
-
LoggingKafkaAllOf['RequiredAcksEnum'] = {
/**
* value: 1
* @const
*/
"one": 1,
-
/**
* value: 0
* @const
*/
"none": 0,
-
/**
* value: -1
* @const
*/
"all": -1
};
+
/**
* Allowed values for the auth_method
property.
* @enum {String}
* @readonly
*/
-
LoggingKafkaAllOf['AuthMethodEnum'] = {
/**
* value: "plain"
* @const
*/
"plain": "plain",
-
/**
* value: "scram-sha-256"
* @const
*/
"scram-sha-256": "scram-sha-256",
-
/**
* value: "scram-sha-512"
* @const
@@ -71487,29 +68980,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingKafka = _interopRequireDefault(__nccwpck_require__(6689));
-
var _LoggingUseTls = _interopRequireDefault(__nccwpck_require__(59444));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingKafkaResponse model module.
* @module model/LoggingKafkaResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingKafkaResponse = /*#__PURE__*/function () {
/**
@@ -71521,25 +69007,21 @@ var LoggingKafkaResponse = /*#__PURE__*/function () {
*/
function LoggingKafkaResponse() {
_classCallCheck(this, LoggingKafkaResponse);
-
_LoggingKafka["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingKafkaResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingKafkaResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingKafkaResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -71547,543 +69029,478 @@ var LoggingKafkaResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingKafkaResponse} obj Optional instance to populate.
* @return {module:model/LoggingKafkaResponse} The populated LoggingKafkaResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingKafkaResponse();
-
_LoggingKafka["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = _ApiClient["default"].convertToType(data['tls_ca_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_cert')) {
obj['tls_client_cert'] = _ApiClient["default"].convertToType(data['tls_client_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_key')) {
obj['tls_client_key'] = _ApiClient["default"].convertToType(data['tls_client_key'], 'String');
}
-
if (data.hasOwnProperty('tls_hostname')) {
obj['tls_hostname'] = _ApiClient["default"].convertToType(data['tls_hostname'], 'String');
}
-
if (data.hasOwnProperty('topic')) {
obj['topic'] = _ApiClient["default"].convertToType(data['topic'], 'String');
}
-
if (data.hasOwnProperty('brokers')) {
obj['brokers'] = _ApiClient["default"].convertToType(data['brokers'], 'String');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('required_acks')) {
obj['required_acks'] = _ApiClient["default"].convertToType(data['required_acks'], 'Number');
}
-
if (data.hasOwnProperty('request_max_bytes')) {
obj['request_max_bytes'] = _ApiClient["default"].convertToType(data['request_max_bytes'], 'Number');
}
-
if (data.hasOwnProperty('parse_log_keyvals')) {
obj['parse_log_keyvals'] = _ApiClient["default"].convertToType(data['parse_log_keyvals'], 'Boolean');
}
-
if (data.hasOwnProperty('auth_method')) {
obj['auth_method'] = _ApiClient["default"].convertToType(data['auth_method'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
-
if (data.hasOwnProperty('password')) {
obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
}
-
if (data.hasOwnProperty('use_tls')) {
obj['use_tls'] = _LoggingUseTls["default"].constructFromObject(data['use_tls']);
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingKafkaResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingKafkaResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingKafkaResponse.PlacementEnum} placement
*/
-
LoggingKafkaResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingKafkaResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingKafkaResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingKafkaResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingKafkaResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
LoggingKafkaResponse.prototype['tls_ca_cert'] = 'null';
+
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
LoggingKafkaResponse.prototype['tls_client_cert'] = 'null';
+
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
LoggingKafkaResponse.prototype['tls_client_key'] = 'null';
+
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-
LoggingKafkaResponse.prototype['tls_hostname'] = 'null';
+
/**
* The Kafka topic to send logs to. Required.
* @member {String} topic
*/
-
LoggingKafkaResponse.prototype['topic'] = undefined;
+
/**
* A comma-separated list of IP addresses or hostnames of Kafka brokers. Required.
* @member {String} brokers
*/
-
LoggingKafkaResponse.prototype['brokers'] = undefined;
+
/**
* The codec used for compression of your logs.
* @member {module:model/LoggingKafkaResponse.CompressionCodecEnum} compression_codec
*/
-
LoggingKafkaResponse.prototype['compression_codec'] = undefined;
+
/**
* The number of acknowledgements a leader must receive before a write is considered successful.
* @member {module:model/LoggingKafkaResponse.RequiredAcksEnum} required_acks
* @default RequiredAcksEnum.one
*/
-
LoggingKafkaResponse.prototype['required_acks'] = undefined;
+
/**
* The maximum number of bytes sent in one request. Defaults `0` (no limit).
* @member {Number} request_max_bytes
* @default 0
*/
-
LoggingKafkaResponse.prototype['request_max_bytes'] = 0;
+
/**
* Enables parsing of key=value tuples from the beginning of a logline, turning them into [record headers](https://cwiki.apache.org/confluence/display/KAFKA/KIP-82+-+Add+Record+Headers).
* @member {Boolean} parse_log_keyvals
*/
-
LoggingKafkaResponse.prototype['parse_log_keyvals'] = undefined;
+
/**
* SASL authentication method.
* @member {module:model/LoggingKafkaResponse.AuthMethodEnum} auth_method
*/
-
LoggingKafkaResponse.prototype['auth_method'] = undefined;
+
/**
* SASL user.
* @member {String} user
*/
-
LoggingKafkaResponse.prototype['user'] = undefined;
+
/**
* SASL password.
* @member {String} password
*/
-
LoggingKafkaResponse.prototype['password'] = undefined;
+
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-
LoggingKafkaResponse.prototype['use_tls'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingKafkaResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingKafkaResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingKafkaResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingKafkaResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingKafkaResponse.prototype['version'] = undefined;
-LoggingKafkaResponse.prototype['version'] = undefined; // Implement LoggingKafka interface:
-
+// Implement LoggingKafka interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingKafka["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingKafka.PlacementEnum} placement
*/
-
_LoggingKafka["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingKafka.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingKafka["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingKafka["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingKafka["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
_LoggingKafka["default"].prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
_LoggingKafka["default"].prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
_LoggingKafka["default"].prototype['tls_client_key'] = 'null';
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-
_LoggingKafka["default"].prototype['tls_hostname'] = 'null';
/**
* The Kafka topic to send logs to. Required.
* @member {String} topic
*/
-
_LoggingKafka["default"].prototype['topic'] = undefined;
/**
* A comma-separated list of IP addresses or hostnames of Kafka brokers. Required.
* @member {String} brokers
*/
-
_LoggingKafka["default"].prototype['brokers'] = undefined;
/**
* The codec used for compression of your logs.
* @member {module:model/LoggingKafka.CompressionCodecEnum} compression_codec
*/
-
_LoggingKafka["default"].prototype['compression_codec'] = undefined;
/**
* The number of acknowledgements a leader must receive before a write is considered successful.
* @member {module:model/LoggingKafka.RequiredAcksEnum} required_acks
* @default RequiredAcksEnum.one
*/
-
_LoggingKafka["default"].prototype['required_acks'] = undefined;
/**
* The maximum number of bytes sent in one request. Defaults `0` (no limit).
* @member {Number} request_max_bytes
* @default 0
*/
-
_LoggingKafka["default"].prototype['request_max_bytes'] = 0;
/**
* Enables parsing of key=value tuples from the beginning of a logline, turning them into [record headers](https://cwiki.apache.org/confluence/display/KAFKA/KIP-82+-+Add+Record+Headers).
* @member {Boolean} parse_log_keyvals
*/
-
_LoggingKafka["default"].prototype['parse_log_keyvals'] = undefined;
/**
* SASL authentication method.
* @member {module:model/LoggingKafka.AuthMethodEnum} auth_method
*/
-
_LoggingKafka["default"].prototype['auth_method'] = undefined;
/**
* SASL user.
* @member {String} user
*/
-
_LoggingKafka["default"].prototype['user'] = undefined;
/**
* SASL password.
* @member {String} password
*/
-
_LoggingKafka["default"].prototype['password'] = undefined;
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-
-_LoggingKafka["default"].prototype['use_tls'] = undefined; // Implement Timestamps interface:
-
+_LoggingKafka["default"].prototype['use_tls'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingKafkaResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingKafkaResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingKafkaResponse['CompressionCodecEnum'] = {
/**
* value: "gzip"
* @const
*/
"gzip": "gzip",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "lz4"
* @const
*/
"lz4": "lz4",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the required_acks
property.
* @enum {Number}
* @readonly
*/
-
LoggingKafkaResponse['RequiredAcksEnum'] = {
/**
* value: 1
* @const
*/
"one": 1,
-
/**
* value: 0
* @const
*/
"none": 0,
-
/**
* value: -1
* @const
*/
"all": -1
};
+
/**
* Allowed values for the auth_method
property.
* @enum {String}
* @readonly
*/
-
LoggingKafkaResponse['AuthMethodEnum'] = {
/**
* value: "plain"
* @const
*/
"plain": "plain",
-
/**
* value: "scram-sha-256"
* @const
*/
"scram-sha-256": "scram-sha-256",
-
/**
* value: "scram-sha-512"
* @const
@@ -72105,25 +69522,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
+var _AwsRegion = _interopRequireDefault(__nccwpck_require__(34205));
var _LoggingFormatVersion = _interopRequireDefault(__nccwpck_require__(13367));
-
var _LoggingPlacement = _interopRequireDefault(__nccwpck_require__(45049));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingKinesis model module.
* @module model/LoggingKinesis
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingKinesis = /*#__PURE__*/function () {
/**
@@ -72132,19 +69545,18 @@ var LoggingKinesis = /*#__PURE__*/function () {
*/
function LoggingKinesis() {
_classCallCheck(this, LoggingKinesis);
-
LoggingKinesis.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingKinesis, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingKinesis
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -72152,255 +69564,95 @@ var LoggingKinesis = /*#__PURE__*/function () {
* @param {module:model/LoggingKinesis} obj Optional instance to populate.
* @return {module:model/LoggingKinesis} The populated LoggingKinesis
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingKinesis();
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _LoggingPlacement["default"].constructFromObject(data['placement']);
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _LoggingFormatVersion["default"].constructFromObject(data['format_version']);
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('topic')) {
obj['topic'] = _ApiClient["default"].convertToType(data['topic'], 'String');
}
-
if (data.hasOwnProperty('region')) {
- obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
+ obj['region'] = _AwsRegion["default"].constructFromObject(data['region']);
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
-
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = _ApiClient["default"].convertToType(data['access_key'], 'String');
}
-
if (data.hasOwnProperty('iam_role')) {
obj['iam_role'] = _ApiClient["default"].convertToType(data['iam_role'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingKinesis;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingKinesis.prototype['name'] = undefined;
+
/**
* @member {module:model/LoggingPlacement} placement
*/
-
LoggingKinesis.prototype['placement'] = undefined;
+
/**
* @member {module:model/LoggingFormatVersion} format_version
*/
-
LoggingKinesis.prototype['format_version'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Kinesis can ingest.
* @member {String} format
* @default '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}'
*/
-
LoggingKinesis.prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
+
/**
* The Amazon Kinesis stream to send logs to. Required.
* @member {String} topic
*/
-
LoggingKinesis.prototype['topic'] = undefined;
+
/**
- * The [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints) to stream logs to.
- * @member {module:model/LoggingKinesis.RegionEnum} region
+ * @member {module:model/AwsRegion} region
*/
-
LoggingKinesis.prototype['region'] = undefined;
+
/**
* The secret key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified.
* @member {String} secret_key
*/
-
LoggingKinesis.prototype['secret_key'] = undefined;
+
/**
* The access key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified.
* @member {String} access_key
*/
-
LoggingKinesis.prototype['access_key'] = undefined;
+
/**
* The ARN for an IAM role granting Fastly access to the target Amazon Kinesis stream. Not required if `access_key` and `secret_key` are provided.
* @member {String} iam_role
*/
-
LoggingKinesis.prototype['iam_role'] = undefined;
-/**
- * Allowed values for the region
property.
- * @enum {String}
- * @readonly
- */
-
-LoggingKinesis['RegionEnum'] = {
- /**
- * value: "us-east-1"
- * @const
- */
- "us-east-1": "us-east-1",
-
- /**
- * value: "us-east-2"
- * @const
- */
- "us-east-2": "us-east-2",
-
- /**
- * value: "us-west-1"
- * @const
- */
- "us-west-1": "us-west-1",
-
- /**
- * value: "us-west-2"
- * @const
- */
- "us-west-2": "us-west-2",
-
- /**
- * value: "af-south-1"
- * @const
- */
- "af-south-1": "af-south-1",
-
- /**
- * value: "ap-east-1"
- * @const
- */
- "ap-east-1": "ap-east-1",
-
- /**
- * value: "ap-south-1"
- * @const
- */
- "ap-south-1": "ap-south-1",
-
- /**
- * value: "ap-northeast-3"
- * @const
- */
- "ap-northeast-3": "ap-northeast-3",
-
- /**
- * value: "ap-northeast-2"
- * @const
- */
- "ap-northeast-2": "ap-northeast-2",
-
- /**
- * value: "ap-southeast-1"
- * @const
- */
- "ap-southeast-1": "ap-southeast-1",
-
- /**
- * value: "ap-southeast-2"
- * @const
- */
- "ap-southeast-2": "ap-southeast-2",
-
- /**
- * value: "ap-northeast-1"
- * @const
- */
- "ap-northeast-1": "ap-northeast-1",
-
- /**
- * value: "ca-central-1"
- * @const
- */
- "ca-central-1": "ca-central-1",
-
- /**
- * value: "cn-north-1"
- * @const
- */
- "cn-north-1": "cn-north-1",
-
- /**
- * value: "cn-northwest-1"
- * @const
- */
- "cn-northwest-1": "cn-northwest-1",
-
- /**
- * value: "eu-central-1"
- * @const
- */
- "eu-central-1": "eu-central-1",
-
- /**
- * value: "eu-west-1"
- * @const
- */
- "eu-west-1": "eu-west-1",
-
- /**
- * value: "eu-west-2"
- * @const
- */
- "eu-west-2": "eu-west-2",
-
- /**
- * value: "eu-south-1"
- * @const
- */
- "eu-south-1": "eu-south-1",
-
- /**
- * value: "eu-west-3"
- * @const
- */
- "eu-west-3": "eu-west-3",
-
- /**
- * value: "eu-north-1"
- * @const
- */
- "eu-north-1": "eu-north-1",
-
- /**
- * value: "me-south-1"
- * @const
- */
- "me-south-1": "me-south-1",
-
- /**
- * value: "sa-east-1"
- * @const
- */
- "sa-east-1": "sa-east-1"
-};
var _default = LoggingKinesis;
exports["default"] = _default;
@@ -72416,31 +69668,24 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
+var _AwsRegion = _interopRequireDefault(__nccwpck_require__(34205));
var _LoggingFormatVersion = _interopRequireDefault(__nccwpck_require__(13367));
-
var _LoggingKinesis = _interopRequireDefault(__nccwpck_require__(95384));
-
var _LoggingPlacement = _interopRequireDefault(__nccwpck_require__(45049));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingKinesisResponse model module.
* @module model/LoggingKinesisResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingKinesisResponse = /*#__PURE__*/function () {
/**
@@ -72452,25 +69697,21 @@ var LoggingKinesisResponse = /*#__PURE__*/function () {
*/
function LoggingKinesisResponse() {
_classCallCheck(this, LoggingKinesisResponse);
-
_LoggingKinesis["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingKinesisResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingKinesisResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingKinesisResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -72478,393 +69719,211 @@ var LoggingKinesisResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingKinesisResponse} obj Optional instance to populate.
* @return {module:model/LoggingKinesisResponse} The populated LoggingKinesisResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingKinesisResponse();
-
_LoggingKinesis["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _LoggingPlacement["default"].constructFromObject(data['placement']);
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _LoggingFormatVersion["default"].constructFromObject(data['format_version']);
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('topic')) {
obj['topic'] = _ApiClient["default"].convertToType(data['topic'], 'String');
}
-
if (data.hasOwnProperty('region')) {
- obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
+ obj['region'] = _AwsRegion["default"].constructFromObject(data['region']);
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
-
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = _ApiClient["default"].convertToType(data['access_key'], 'String');
}
-
if (data.hasOwnProperty('iam_role')) {
obj['iam_role'] = _ApiClient["default"].convertToType(data['iam_role'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingKinesisResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingKinesisResponse.prototype['name'] = undefined;
+
/**
* @member {module:model/LoggingPlacement} placement
*/
-
LoggingKinesisResponse.prototype['placement'] = undefined;
+
/**
* @member {module:model/LoggingFormatVersion} format_version
*/
-
LoggingKinesisResponse.prototype['format_version'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Kinesis can ingest.
* @member {String} format
* @default '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}'
*/
-
LoggingKinesisResponse.prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
+
/**
* The Amazon Kinesis stream to send logs to. Required.
* @member {String} topic
*/
-
LoggingKinesisResponse.prototype['topic'] = undefined;
+
/**
- * The [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints) to stream logs to.
- * @member {module:model/LoggingKinesisResponse.RegionEnum} region
+ * @member {module:model/AwsRegion} region
*/
-
LoggingKinesisResponse.prototype['region'] = undefined;
+
/**
* The secret key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified.
* @member {String} secret_key
*/
-
LoggingKinesisResponse.prototype['secret_key'] = undefined;
+
/**
* The access key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified.
* @member {String} access_key
*/
-
LoggingKinesisResponse.prototype['access_key'] = undefined;
+
/**
* The ARN for an IAM role granting Fastly access to the target Amazon Kinesis stream. Not required if `access_key` and `secret_key` are provided.
* @member {String} iam_role
*/
-
LoggingKinesisResponse.prototype['iam_role'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingKinesisResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingKinesisResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingKinesisResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingKinesisResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingKinesisResponse.prototype['version'] = undefined;
-LoggingKinesisResponse.prototype['version'] = undefined; // Implement LoggingKinesis interface:
-
+// Implement LoggingKinesis interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingKinesis["default"].prototype['name'] = undefined;
/**
* @member {module:model/LoggingPlacement} placement
*/
-
_LoggingKinesis["default"].prototype['placement'] = undefined;
/**
* @member {module:model/LoggingFormatVersion} format_version
*/
-
_LoggingKinesis["default"].prototype['format_version'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Kinesis can ingest.
* @member {String} format
* @default '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}'
*/
-
_LoggingKinesis["default"].prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
/**
* The Amazon Kinesis stream to send logs to. Required.
* @member {String} topic
*/
-
_LoggingKinesis["default"].prototype['topic'] = undefined;
/**
- * The [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints) to stream logs to.
- * @member {module:model/LoggingKinesis.RegionEnum} region
+ * @member {module:model/AwsRegion} region
*/
-
_LoggingKinesis["default"].prototype['region'] = undefined;
/**
* The secret key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified.
* @member {String} secret_key
*/
-
_LoggingKinesis["default"].prototype['secret_key'] = undefined;
/**
* The access key associated with the target Amazon Kinesis stream. Not required if `iam_role` is specified.
* @member {String} access_key
*/
-
_LoggingKinesis["default"].prototype['access_key'] = undefined;
/**
* The ARN for an IAM role granting Fastly access to the target Amazon Kinesis stream. Not required if `access_key` and `secret_key` are provided.
* @member {String} iam_role
*/
-
-_LoggingKinesis["default"].prototype['iam_role'] = undefined; // Implement Timestamps interface:
-
+_LoggingKinesis["default"].prototype['iam_role'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
-/**
- * Allowed values for the region
property.
- * @enum {String}
- * @readonly
- */
-
-LoggingKinesisResponse['RegionEnum'] = {
- /**
- * value: "us-east-1"
- * @const
- */
- "us-east-1": "us-east-1",
-
- /**
- * value: "us-east-2"
- * @const
- */
- "us-east-2": "us-east-2",
-
- /**
- * value: "us-west-1"
- * @const
- */
- "us-west-1": "us-west-1",
-
- /**
- * value: "us-west-2"
- * @const
- */
- "us-west-2": "us-west-2",
-
- /**
- * value: "af-south-1"
- * @const
- */
- "af-south-1": "af-south-1",
-
- /**
- * value: "ap-east-1"
- * @const
- */
- "ap-east-1": "ap-east-1",
-
- /**
- * value: "ap-south-1"
- * @const
- */
- "ap-south-1": "ap-south-1",
-
- /**
- * value: "ap-northeast-3"
- * @const
- */
- "ap-northeast-3": "ap-northeast-3",
-
- /**
- * value: "ap-northeast-2"
- * @const
- */
- "ap-northeast-2": "ap-northeast-2",
-
- /**
- * value: "ap-southeast-1"
- * @const
- */
- "ap-southeast-1": "ap-southeast-1",
-
- /**
- * value: "ap-southeast-2"
- * @const
- */
- "ap-southeast-2": "ap-southeast-2",
-
- /**
- * value: "ap-northeast-1"
- * @const
- */
- "ap-northeast-1": "ap-northeast-1",
-
- /**
- * value: "ca-central-1"
- * @const
- */
- "ca-central-1": "ca-central-1",
-
- /**
- * value: "cn-north-1"
- * @const
- */
- "cn-north-1": "cn-north-1",
-
- /**
- * value: "cn-northwest-1"
- * @const
- */
- "cn-northwest-1": "cn-northwest-1",
-
- /**
- * value: "eu-central-1"
- * @const
- */
- "eu-central-1": "eu-central-1",
-
- /**
- * value: "eu-west-1"
- * @const
- */
- "eu-west-1": "eu-west-1",
-
- /**
- * value: "eu-west-2"
- * @const
- */
- "eu-west-2": "eu-west-2",
-
- /**
- * value: "eu-south-1"
- * @const
- */
- "eu-south-1": "eu-south-1",
-
- /**
- * value: "eu-west-3"
- * @const
- */
- "eu-west-3": "eu-west-3",
-
- /**
- * value: "eu-north-1"
- * @const
- */
- "eu-north-1": "eu-north-1",
-
- /**
- * value: "me-south-1"
- * @const
- */
- "me-south-1": "me-south-1",
-
- /**
- * value: "sa-east-1"
- * @const
- */
- "sa-east-1": "sa-east-1"
-};
var _default = LoggingKinesisResponse;
exports["default"] = _default;
@@ -72880,27 +69939,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingLogentriesAllOf = _interopRequireDefault(__nccwpck_require__(12069));
-
var _LoggingUseTls = _interopRequireDefault(__nccwpck_require__(59444));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingLogentries model module.
* @module model/LoggingLogentries
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingLogentries = /*#__PURE__*/function () {
/**
@@ -72911,23 +69964,20 @@ var LoggingLogentries = /*#__PURE__*/function () {
*/
function LoggingLogentries() {
_classCallCheck(this, LoggingLogentries);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingLogentriesAllOf["default"].initialize(this);
-
LoggingLogentries.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingLogentries, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingLogentries
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -72935,262 +69985,229 @@ var LoggingLogentries = /*#__PURE__*/function () {
* @param {module:model/LoggingLogentries} obj Optional instance to populate.
* @return {module:model/LoggingLogentries} The populated LoggingLogentries
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingLogentries();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingLogentriesAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('port')) {
obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('use_tls')) {
obj['use_tls'] = _LoggingUseTls["default"].constructFromObject(data['use_tls']);
}
-
if (data.hasOwnProperty('region')) {
obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingLogentries;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingLogentries.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingLogentries.PlacementEnum} placement
*/
-
LoggingLogentries.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingLogentries.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingLogentries.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingLogentries.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingLogentries.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* The port number.
* @member {Number} port
* @default 20000
*/
-
LoggingLogentries.prototype['port'] = 20000;
+
/**
* Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)).
* @member {String} token
*/
-
LoggingLogentries.prototype['token'] = undefined;
+
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-
LoggingLogentries.prototype['use_tls'] = undefined;
+
/**
* The region to which to stream logs.
* @member {module:model/LoggingLogentries.RegionEnum} region
*/
+LoggingLogentries.prototype['region'] = undefined;
-LoggingLogentries.prototype['region'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingLogentriesAllOf interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingLogentriesAllOf interface:
/**
* The port number.
* @member {Number} port
* @default 20000
*/
-
_LoggingLogentriesAllOf["default"].prototype['port'] = 20000;
/**
* Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)).
* @member {String} token
*/
-
_LoggingLogentriesAllOf["default"].prototype['token'] = undefined;
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-
_LoggingLogentriesAllOf["default"].prototype['use_tls'] = undefined;
/**
* The region to which to stream logs.
* @member {module:model/LoggingLogentriesAllOf.RegionEnum} region
*/
-
_LoggingLogentriesAllOf["default"].prototype['region'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingLogentries['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingLogentries['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the region
property.
* @enum {String}
* @readonly
*/
-
LoggingLogentries['RegionEnum'] = {
/**
* value: "US"
* @const
*/
"US": "US",
-
/**
* value: "US-2"
* @const
*/
"US-2": "US-2",
-
/**
* value: "US-3"
* @const
*/
"US-3": "US-3",
-
/**
* value: "EU"
* @const
*/
"EU": "EU",
-
/**
* value: "CA"
* @const
*/
"CA": "CA",
-
/**
* value: "AU"
* @const
*/
"AU": "AU",
-
/**
* value: "AP"
* @const
@@ -73212,23 +70229,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingUseTls = _interopRequireDefault(__nccwpck_require__(59444));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingLogentriesAllOf model module.
* @module model/LoggingLogentriesAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingLogentriesAllOf = /*#__PURE__*/function () {
/**
@@ -73237,19 +70250,18 @@ var LoggingLogentriesAllOf = /*#__PURE__*/function () {
*/
function LoggingLogentriesAllOf() {
_classCallCheck(this, LoggingLogentriesAllOf);
-
LoggingLogentriesAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingLogentriesAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingLogentriesAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -73257,34 +70269,27 @@ var LoggingLogentriesAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingLogentriesAllOf} obj Optional instance to populate.
* @return {module:model/LoggingLogentriesAllOf} The populated LoggingLogentriesAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingLogentriesAllOf();
-
if (data.hasOwnProperty('port')) {
obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('use_tls')) {
obj['use_tls'] = _LoggingUseTls["default"].constructFromObject(data['use_tls']);
}
-
if (data.hasOwnProperty('region')) {
obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingLogentriesAllOf;
}();
/**
@@ -73292,69 +70297,61 @@ var LoggingLogentriesAllOf = /*#__PURE__*/function () {
* @member {Number} port
* @default 20000
*/
-
-
LoggingLogentriesAllOf.prototype['port'] = 20000;
+
/**
* Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)).
* @member {String} token
*/
-
LoggingLogentriesAllOf.prototype['token'] = undefined;
+
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-
LoggingLogentriesAllOf.prototype['use_tls'] = undefined;
+
/**
* The region to which to stream logs.
* @member {module:model/LoggingLogentriesAllOf.RegionEnum} region
*/
-
LoggingLogentriesAllOf.prototype['region'] = undefined;
+
/**
* Allowed values for the region
property.
* @enum {String}
* @readonly
*/
-
LoggingLogentriesAllOf['RegionEnum'] = {
/**
* value: "US"
* @const
*/
"US": "US",
-
/**
* value: "US-2"
* @const
*/
"US-2": "US-2",
-
/**
* value: "US-3"
* @const
*/
"US-3": "US-3",
-
/**
* value: "EU"
* @const
*/
"EU": "EU",
-
/**
* value: "CA"
* @const
*/
"CA": "CA",
-
/**
* value: "AU"
* @const
*/
"AU": "AU",
-
/**
* value: "AP"
* @const
@@ -73376,29 +70373,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingLogentries = _interopRequireDefault(__nccwpck_require__(49599));
-
var _LoggingUseTls = _interopRequireDefault(__nccwpck_require__(59444));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingLogentriesResponse model module.
* @module model/LoggingLogentriesResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingLogentriesResponse = /*#__PURE__*/function () {
/**
@@ -73410,25 +70400,21 @@ var LoggingLogentriesResponse = /*#__PURE__*/function () {
*/
function LoggingLogentriesResponse() {
_classCallCheck(this, LoggingLogentriesResponse);
-
_LoggingLogentries["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingLogentriesResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingLogentriesResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingLogentriesResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -73436,341 +70422,297 @@ var LoggingLogentriesResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingLogentriesResponse} obj Optional instance to populate.
* @return {module:model/LoggingLogentriesResponse} The populated LoggingLogentriesResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingLogentriesResponse();
-
_LoggingLogentries["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('port')) {
obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('use_tls')) {
obj['use_tls'] = _LoggingUseTls["default"].constructFromObject(data['use_tls']);
}
-
if (data.hasOwnProperty('region')) {
obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingLogentriesResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingLogentriesResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingLogentriesResponse.PlacementEnum} placement
*/
-
LoggingLogentriesResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingLogentriesResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingLogentriesResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingLogentriesResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingLogentriesResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* The port number.
* @member {Number} port
* @default 20000
*/
-
LoggingLogentriesResponse.prototype['port'] = 20000;
+
/**
* Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)).
* @member {String} token
*/
-
LoggingLogentriesResponse.prototype['token'] = undefined;
+
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-
LoggingLogentriesResponse.prototype['use_tls'] = undefined;
+
/**
* The region to which to stream logs.
* @member {module:model/LoggingLogentriesResponse.RegionEnum} region
*/
-
LoggingLogentriesResponse.prototype['region'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingLogentriesResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingLogentriesResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingLogentriesResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingLogentriesResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingLogentriesResponse.prototype['version'] = undefined;
-LoggingLogentriesResponse.prototype['version'] = undefined; // Implement LoggingLogentries interface:
-
+// Implement LoggingLogentries interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingLogentries["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingLogentries.PlacementEnum} placement
*/
-
_LoggingLogentries["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingLogentries.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingLogentries["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingLogentries["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingLogentries["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* The port number.
* @member {Number} port
* @default 20000
*/
-
_LoggingLogentries["default"].prototype['port'] = 20000;
/**
* Use token based authentication ([https://logentries.com/doc/input-token/](https://logentries.com/doc/input-token/)).
* @member {String} token
*/
-
_LoggingLogentries["default"].prototype['token'] = undefined;
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-
_LoggingLogentries["default"].prototype['use_tls'] = undefined;
/**
* The region to which to stream logs.
* @member {module:model/LoggingLogentries.RegionEnum} region
*/
-
-_LoggingLogentries["default"].prototype['region'] = undefined; // Implement Timestamps interface:
-
+_LoggingLogentries["default"].prototype['region'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingLogentriesResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingLogentriesResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the region
property.
* @enum {String}
* @readonly
*/
-
LoggingLogentriesResponse['RegionEnum'] = {
/**
* value: "US"
* @const
*/
"US": "US",
-
/**
* value: "US-2"
* @const
*/
"US-2": "US-2",
-
/**
* value: "US-3"
* @const
*/
"US-3": "US-3",
-
/**
* value: "EU"
* @const
*/
"EU": "EU",
-
/**
* value: "CA"
* @const
*/
"CA": "CA",
-
/**
* value: "AU"
* @const
*/
"AU": "AU",
-
/**
* value: "AP"
* @const
@@ -73792,25 +70734,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingLogglyAllOf = _interopRequireDefault(__nccwpck_require__(83267));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingLoggly model module.
* @module model/LoggingLoggly
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingLoggly = /*#__PURE__*/function () {
/**
@@ -73821,23 +70758,20 @@ var LoggingLoggly = /*#__PURE__*/function () {
*/
function LoggingLoggly() {
_classCallCheck(this, LoggingLoggly);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingLogglyAllOf["default"].initialize(this);
-
LoggingLoggly.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingLoggly, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingLoggly
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -73845,165 +70779,144 @@ var LoggingLoggly = /*#__PURE__*/function () {
* @param {module:model/LoggingLoggly} obj Optional instance to populate.
* @return {module:model/LoggingLoggly} The populated LoggingLoggly
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingLoggly();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingLogglyAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingLoggly;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingLoggly.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingLoggly.PlacementEnum} placement
*/
-
LoggingLoggly.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingLoggly.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingLoggly.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingLoggly.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingLoggly.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)).
* @member {String} token
*/
+LoggingLoggly.prototype['token'] = undefined;
-LoggingLoggly.prototype['token'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingLogglyAllOf interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingLogglyAllOf interface:
/**
* The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)).
* @member {String} token
*/
-
_LoggingLogglyAllOf["default"].prototype['token'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingLoggly['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingLoggly['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -74025,21 +70938,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingLogglyAllOf model module.
* @module model/LoggingLogglyAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingLogglyAllOf = /*#__PURE__*/function () {
/**
@@ -74048,19 +70958,18 @@ var LoggingLogglyAllOf = /*#__PURE__*/function () {
*/
function LoggingLogglyAllOf() {
_classCallCheck(this, LoggingLogglyAllOf);
-
LoggingLogglyAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingLogglyAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingLogglyAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -74068,30 +70977,24 @@ var LoggingLogglyAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingLogglyAllOf} obj Optional instance to populate.
* @return {module:model/LoggingLogglyAllOf} The populated LoggingLogglyAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingLogglyAllOf();
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingLogglyAllOf;
}();
/**
* The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)).
* @member {String} token
*/
-
-
LoggingLogglyAllOf.prototype['token'] = undefined;
var _default = LoggingLogglyAllOf;
exports["default"] = _default;
@@ -74108,27 +71011,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingLoggly = _interopRequireDefault(__nccwpck_require__(2652));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingLogglyResponse model module.
* @module model/LoggingLogglyResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingLogglyResponse = /*#__PURE__*/function () {
/**
@@ -74140,25 +71037,21 @@ var LoggingLogglyResponse = /*#__PURE__*/function () {
*/
function LoggingLogglyResponse() {
_classCallCheck(this, LoggingLogglyResponse);
-
_LoggingLoggly["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingLogglyResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingLogglyResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingLogglyResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -74166,244 +71059,212 @@ var LoggingLogglyResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingLogglyResponse} obj Optional instance to populate.
* @return {module:model/LoggingLogglyResponse} The populated LoggingLogglyResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingLogglyResponse();
-
_LoggingLoggly["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingLogglyResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingLogglyResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingLogglyResponse.PlacementEnum} placement
*/
-
LoggingLogglyResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingLogglyResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingLogglyResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingLogglyResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingLogglyResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)).
* @member {String} token
*/
-
LoggingLogglyResponse.prototype['token'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingLogglyResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingLogglyResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingLogglyResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingLogglyResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingLogglyResponse.prototype['version'] = undefined;
-LoggingLogglyResponse.prototype['version'] = undefined; // Implement LoggingLoggly interface:
-
+// Implement LoggingLoggly interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingLoggly["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingLoggly.PlacementEnum} placement
*/
-
_LoggingLoggly["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingLoggly.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingLoggly["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingLoggly["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingLoggly["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* The token to use for authentication ([https://www.loggly.com/docs/customer-token-authentication-token/](https://www.loggly.com/docs/customer-token-authentication-token/)).
* @member {String} token
*/
-
-_LoggingLoggly["default"].prototype['token'] = undefined; // Implement Timestamps interface:
-
+_LoggingLoggly["default"].prototype['token'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingLogglyResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingLogglyResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -74425,25 +71286,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingLogshuttleAllOf = _interopRequireDefault(__nccwpck_require__(29907));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingLogshuttle model module.
* @module model/LoggingLogshuttle
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingLogshuttle = /*#__PURE__*/function () {
/**
@@ -74454,23 +71310,20 @@ var LoggingLogshuttle = /*#__PURE__*/function () {
*/
function LoggingLogshuttle() {
_classCallCheck(this, LoggingLogshuttle);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingLogshuttleAllOf["default"].initialize(this);
-
LoggingLogshuttle.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingLogshuttle, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingLogshuttle
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -74478,181 +71331,158 @@ var LoggingLogshuttle = /*#__PURE__*/function () {
* @param {module:model/LoggingLogshuttle} obj Optional instance to populate.
* @return {module:model/LoggingLogshuttle} The populated LoggingLogshuttle
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingLogshuttle();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingLogshuttleAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingLogshuttle;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingLogshuttle.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingLogshuttle.PlacementEnum} placement
*/
-
LoggingLogshuttle.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingLogshuttle.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingLogshuttle.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingLogshuttle.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingLogshuttle.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* The data authentication token associated with this endpoint.
* @member {String} token
*/
-
LoggingLogshuttle.prototype['token'] = undefined;
+
/**
* The URL to stream logs to.
* @member {String} url
*/
+LoggingLogshuttle.prototype['url'] = undefined;
-LoggingLogshuttle.prototype['url'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingLogshuttleAllOf interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingLogshuttleAllOf interface:
/**
* The data authentication token associated with this endpoint.
* @member {String} token
*/
-
_LoggingLogshuttleAllOf["default"].prototype['token'] = undefined;
/**
* The URL to stream logs to.
* @member {String} url
*/
-
_LoggingLogshuttleAllOf["default"].prototype['url'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingLogshuttle['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingLogshuttle['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -74674,21 +71504,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingLogshuttleAllOf model module.
* @module model/LoggingLogshuttleAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingLogshuttleAllOf = /*#__PURE__*/function () {
/**
@@ -74697,19 +71524,18 @@ var LoggingLogshuttleAllOf = /*#__PURE__*/function () {
*/
function LoggingLogshuttleAllOf() {
_classCallCheck(this, LoggingLogshuttleAllOf);
-
LoggingLogshuttleAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingLogshuttleAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingLogshuttleAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -74717,40 +71543,33 @@ var LoggingLogshuttleAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingLogshuttleAllOf} obj Optional instance to populate.
* @return {module:model/LoggingLogshuttleAllOf} The populated LoggingLogshuttleAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingLogshuttleAllOf();
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingLogshuttleAllOf;
}();
/**
* The data authentication token associated with this endpoint.
* @member {String} token
*/
-
-
LoggingLogshuttleAllOf.prototype['token'] = undefined;
+
/**
* The URL to stream logs to.
* @member {String} url
*/
-
LoggingLogshuttleAllOf.prototype['url'] = undefined;
var _default = LoggingLogshuttleAllOf;
exports["default"] = _default;
@@ -74767,27 +71586,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingLogshuttle = _interopRequireDefault(__nccwpck_require__(27046));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingLogshuttleResponse model module.
* @module model/LoggingLogshuttleResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingLogshuttleResponse = /*#__PURE__*/function () {
/**
@@ -74799,25 +71612,21 @@ var LoggingLogshuttleResponse = /*#__PURE__*/function () {
*/
function LoggingLogshuttleResponse() {
_classCallCheck(this, LoggingLogshuttleResponse);
-
_LoggingLogshuttle["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingLogshuttleResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingLogshuttleResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingLogshuttleResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -74825,260 +71634,226 @@ var LoggingLogshuttleResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingLogshuttleResponse} obj Optional instance to populate.
* @return {module:model/LoggingLogshuttleResponse} The populated LoggingLogshuttleResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingLogshuttleResponse();
-
_LoggingLogshuttle["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingLogshuttleResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingLogshuttleResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingLogshuttleResponse.PlacementEnum} placement
*/
-
LoggingLogshuttleResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingLogshuttleResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingLogshuttleResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingLogshuttleResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingLogshuttleResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* The data authentication token associated with this endpoint.
* @member {String} token
*/
-
LoggingLogshuttleResponse.prototype['token'] = undefined;
+
/**
* The URL to stream logs to.
* @member {String} url
*/
-
LoggingLogshuttleResponse.prototype['url'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingLogshuttleResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingLogshuttleResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingLogshuttleResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingLogshuttleResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingLogshuttleResponse.prototype['version'] = undefined;
-LoggingLogshuttleResponse.prototype['version'] = undefined; // Implement LoggingLogshuttle interface:
-
+// Implement LoggingLogshuttle interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingLogshuttle["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingLogshuttle.PlacementEnum} placement
*/
-
_LoggingLogshuttle["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingLogshuttle.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingLogshuttle["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingLogshuttle["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingLogshuttle["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* The data authentication token associated with this endpoint.
* @member {String} token
*/
-
_LoggingLogshuttle["default"].prototype['token'] = undefined;
/**
* The URL to stream logs to.
* @member {String} url
*/
-
-_LoggingLogshuttle["default"].prototype['url'] = undefined; // Implement Timestamps interface:
-
+_LoggingLogshuttle["default"].prototype['url'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingLogshuttleResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingLogshuttleResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -75100,19 +71875,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class LoggingMessageType.
* @enum {}
@@ -75121,16 +71892,11 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var LoggingMessageType = /*#__PURE__*/function () {
function LoggingMessageType() {
_classCallCheck(this, LoggingMessageType);
-
_defineProperty(this, "classic", "classic");
-
_defineProperty(this, "loggly", "loggly");
-
_defineProperty(this, "logplex", "logplex");
-
_defineProperty(this, "blank", "blank");
}
-
_createClass(LoggingMessageType, null, [{
key: "constructFromObject",
value:
@@ -75143,10 +71909,8 @@ var LoggingMessageType = /*#__PURE__*/function () {
return object;
}
}]);
-
return LoggingMessageType;
}();
-
exports["default"] = LoggingMessageType;
/***/ }),
@@ -75161,25 +71925,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingNewrelicAllOf = _interopRequireDefault(__nccwpck_require__(37475));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingNewrelic model module.
* @module model/LoggingNewrelic
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingNewrelic = /*#__PURE__*/function () {
/**
@@ -75190,23 +71949,20 @@ var LoggingNewrelic = /*#__PURE__*/function () {
*/
function LoggingNewrelic() {
_classCallCheck(this, LoggingNewrelic);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingNewrelicAllOf["default"].initialize(this);
-
LoggingNewrelic.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingNewrelic, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingNewrelic
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -75214,207 +71970,184 @@ var LoggingNewrelic = /*#__PURE__*/function () {
* @param {module:model/LoggingNewrelic} obj Optional instance to populate.
* @return {module:model/LoggingNewrelic} The populated LoggingNewrelic
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingNewrelic();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingNewrelicAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
- obj['format'] = _ApiClient["default"].convertToType(data['format'], Object);
+ obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('region')) {
obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingNewrelic;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingNewrelic.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingNewrelic.PlacementEnum} placement
*/
-
LoggingNewrelic.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingNewrelic.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingNewrelic.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingNewrelic.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that New Relic Logs can ingest.
- * @member {Object} format
+ * @member {String} format
+ * @default '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}'
*/
+LoggingNewrelic.prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
-LoggingNewrelic.prototype['format'] = undefined;
/**
* The Insert API key from the Account page of your New Relic account. Required.
* @member {String} token
*/
-
LoggingNewrelic.prototype['token'] = undefined;
+
/**
* The region to which to stream logs.
* @member {module:model/LoggingNewrelic.RegionEnum} region
* @default 'US'
*/
+LoggingNewrelic.prototype['region'] = undefined;
-LoggingNewrelic.prototype['region'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingNewrelicAllOf interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingNewrelicAllOf interface:
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that New Relic Logs can ingest.
- * @member {Object} format
+ * @member {String} format
+ * @default '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}'
*/
-
-_LoggingNewrelicAllOf["default"].prototype['format'] = undefined;
+_LoggingNewrelicAllOf["default"].prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
/**
* The Insert API key from the Account page of your New Relic account. Required.
* @member {String} token
*/
-
_LoggingNewrelicAllOf["default"].prototype['token'] = undefined;
/**
* The region to which to stream logs.
* @member {module:model/LoggingNewrelicAllOf.RegionEnum} region
* @default 'US'
*/
-
_LoggingNewrelicAllOf["default"].prototype['region'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingNewrelic['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingNewrelic['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the region
property.
* @enum {String}
* @readonly
*/
-
LoggingNewrelic['RegionEnum'] = {
/**
* value: "US"
* @const
*/
"US": "US",
-
/**
* value: "EU"
* @const
@@ -75436,21 +72169,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingNewrelicAllOf model module.
* @module model/LoggingNewrelicAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingNewrelicAllOf = /*#__PURE__*/function () {
/**
@@ -75459,19 +72189,18 @@ var LoggingNewrelicAllOf = /*#__PURE__*/function () {
*/
function LoggingNewrelicAllOf() {
_classCallCheck(this, LoggingNewrelicAllOf);
-
LoggingNewrelicAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingNewrelicAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingNewrelicAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -75479,65 +72208,57 @@ var LoggingNewrelicAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingNewrelicAllOf} obj Optional instance to populate.
* @return {module:model/LoggingNewrelicAllOf} The populated LoggingNewrelicAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingNewrelicAllOf();
-
if (data.hasOwnProperty('format')) {
- obj['format'] = _ApiClient["default"].convertToType(data['format'], Object);
+ obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('region')) {
obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingNewrelicAllOf;
}();
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that New Relic Logs can ingest.
- * @member {Object} format
+ * @member {String} format
+ * @default '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}'
*/
+LoggingNewrelicAllOf.prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
-
-LoggingNewrelicAllOf.prototype['format'] = undefined;
/**
* The Insert API key from the Account page of your New Relic account. Required.
* @member {String} token
*/
-
LoggingNewrelicAllOf.prototype['token'] = undefined;
+
/**
* The region to which to stream logs.
* @member {module:model/LoggingNewrelicAllOf.RegionEnum} region
* @default 'US'
*/
-
LoggingNewrelicAllOf.prototype['region'] = undefined;
+
/**
* Allowed values for the region
property.
* @enum {String}
* @readonly
*/
-
LoggingNewrelicAllOf['RegionEnum'] = {
/**
* value: "US"
* @const
*/
"US": "US",
-
/**
* value: "EU"
* @const
@@ -75559,27 +72280,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingNewrelic = _interopRequireDefault(__nccwpck_require__(58634));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingNewrelicResponse model module.
* @module model/LoggingNewrelicResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingNewrelicResponse = /*#__PURE__*/function () {
/**
@@ -75591,25 +72306,21 @@ var LoggingNewrelicResponse = /*#__PURE__*/function () {
*/
function LoggingNewrelicResponse() {
_classCallCheck(this, LoggingNewrelicResponse);
-
_LoggingNewrelic["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingNewrelicResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingNewrelicResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingNewrelicResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -75617,279 +72328,246 @@ var LoggingNewrelicResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingNewrelicResponse} obj Optional instance to populate.
* @return {module:model/LoggingNewrelicResponse} The populated LoggingNewrelicResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingNewrelicResponse();
-
_LoggingNewrelic["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
- obj['format'] = _ApiClient["default"].convertToType(data['format'], Object);
+ obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('region')) {
obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingNewrelicResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingNewrelicResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingNewrelicResponse.PlacementEnum} placement
*/
-
LoggingNewrelicResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingNewrelicResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingNewrelicResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingNewrelicResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that New Relic Logs can ingest.
- * @member {Object} format
+ * @member {String} format
+ * @default '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}'
*/
+LoggingNewrelicResponse.prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
-LoggingNewrelicResponse.prototype['format'] = undefined;
/**
* The Insert API key from the Account page of your New Relic account. Required.
* @member {String} token
*/
-
LoggingNewrelicResponse.prototype['token'] = undefined;
+
/**
* The region to which to stream logs.
* @member {module:model/LoggingNewrelicResponse.RegionEnum} region
* @default 'US'
*/
-
LoggingNewrelicResponse.prototype['region'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingNewrelicResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingNewrelicResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingNewrelicResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingNewrelicResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingNewrelicResponse.prototype['version'] = undefined;
-LoggingNewrelicResponse.prototype['version'] = undefined; // Implement LoggingNewrelic interface:
-
+// Implement LoggingNewrelic interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingNewrelic["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingNewrelic.PlacementEnum} placement
*/
-
_LoggingNewrelic["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingNewrelic.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingNewrelic["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingNewrelic["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that New Relic Logs can ingest.
- * @member {Object} format
+ * @member {String} format
+ * @default '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}'
*/
-
-_LoggingNewrelic["default"].prototype['format'] = undefined;
+_LoggingNewrelic["default"].prototype['format'] = '{"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, \"true\", \"false\")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, \"^(HIT-(SYNTH)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\", \"\\2\\3\") }V"}';
/**
* The Insert API key from the Account page of your New Relic account. Required.
* @member {String} token
*/
-
_LoggingNewrelic["default"].prototype['token'] = undefined;
/**
* The region to which to stream logs.
* @member {module:model/LoggingNewrelic.RegionEnum} region
* @default 'US'
*/
-
-_LoggingNewrelic["default"].prototype['region'] = undefined; // Implement Timestamps interface:
-
+_LoggingNewrelic["default"].prototype['region'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingNewrelicResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingNewrelicResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the region
property.
* @enum {String}
* @readonly
*/
-
LoggingNewrelicResponse['RegionEnum'] = {
/**
* value: "US"
* @const
*/
"US": "US",
-
/**
* value: "EU"
* @const
@@ -75911,27 +72589,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingGenericCommon = _interopRequireDefault(__nccwpck_require__(50838));
-
var _LoggingOpenstackAllOf = _interopRequireDefault(__nccwpck_require__(8553));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingOpenstack model module.
* @module model/LoggingOpenstack
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingOpenstack = /*#__PURE__*/function () {
/**
@@ -75943,25 +72615,21 @@ var LoggingOpenstack = /*#__PURE__*/function () {
*/
function LoggingOpenstack() {
_classCallCheck(this, LoggingOpenstack);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingGenericCommon["default"].initialize(this);
-
_LoggingOpenstackAllOf["default"].initialize(this);
-
LoggingOpenstack.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingOpenstack, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingOpenstack
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -75969,394 +72637,347 @@ var LoggingOpenstack = /*#__PURE__*/function () {
* @param {module:model/LoggingOpenstack} obj Optional instance to populate.
* @return {module:model/LoggingOpenstack} The populated LoggingOpenstack
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingOpenstack();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingGenericCommon["default"].constructFromObject(data, obj);
-
_LoggingOpenstackAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
}
-
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = _ApiClient["default"].convertToType(data['timestamp_format'], 'String');
}
-
if (data.hasOwnProperty('period')) {
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Number');
}
-
if (data.hasOwnProperty('gzip_level')) {
obj['gzip_level'] = _ApiClient["default"].convertToType(data['gzip_level'], 'Number');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = _ApiClient["default"].convertToType(data['access_key'], 'String');
}
-
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = _ApiClient["default"].convertToType(data['bucket_name'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingOpenstack;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingOpenstack.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingOpenstack.PlacementEnum} placement
*/
-
LoggingOpenstack.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingOpenstack.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingOpenstack.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingOpenstack.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingOpenstack.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* How the message should be formatted.
* @member {module:model/LoggingOpenstack.MessageTypeEnum} message_type
* @default 'classic'
*/
-
LoggingOpenstack.prototype['message_type'] = undefined;
+
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
LoggingOpenstack.prototype['timestamp_format'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
LoggingOpenstack.prototype['period'] = 3600;
+
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
LoggingOpenstack.prototype['gzip_level'] = 0;
+
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingOpenstack.CompressionCodecEnum} compression_codec
*/
-
LoggingOpenstack.prototype['compression_codec'] = undefined;
+
/**
* Your OpenStack account access key.
* @member {String} access_key
*/
-
LoggingOpenstack.prototype['access_key'] = undefined;
+
/**
* The name of your OpenStack container.
* @member {String} bucket_name
*/
-
LoggingOpenstack.prototype['bucket_name'] = undefined;
+
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
LoggingOpenstack.prototype['path'] = 'null';
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingOpenstack.prototype['public_key'] = 'null';
+
/**
* Your OpenStack auth url.
* @member {String} url
*/
-
LoggingOpenstack.prototype['url'] = undefined;
+
/**
* The username for your OpenStack account.
* @member {String} user
*/
+LoggingOpenstack.prototype['user'] = undefined;
-LoggingOpenstack.prototype['user'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingGenericCommon interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingGenericCommon interface:
/**
* How the message should be formatted.
* @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
* @default 'classic'
*/
-
_LoggingGenericCommon["default"].prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
_LoggingGenericCommon["default"].prototype['timestamp_format'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
_LoggingGenericCommon["default"].prototype['period'] = 3600;
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
_LoggingGenericCommon["default"].prototype['gzip_level'] = 0;
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
*/
-
-_LoggingGenericCommon["default"].prototype['compression_codec'] = undefined; // Implement LoggingOpenstackAllOf interface:
-
+_LoggingGenericCommon["default"].prototype['compression_codec'] = undefined;
+// Implement LoggingOpenstackAllOf interface:
/**
* Your OpenStack account access key.
* @member {String} access_key
*/
-
_LoggingOpenstackAllOf["default"].prototype['access_key'] = undefined;
/**
* The name of your OpenStack container.
* @member {String} bucket_name
*/
-
_LoggingOpenstackAllOf["default"].prototype['bucket_name'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
_LoggingOpenstackAllOf["default"].prototype['path'] = 'null';
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
_LoggingOpenstackAllOf["default"].prototype['public_key'] = 'null';
/**
* Your OpenStack auth url.
* @member {String} url
*/
-
_LoggingOpenstackAllOf["default"].prototype['url'] = undefined;
/**
* The username for your OpenStack account.
* @member {String} user
*/
-
_LoggingOpenstackAllOf["default"].prototype['user'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingOpenstack['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingOpenstack['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the message_type
property.
* @enum {String}
* @readonly
*/
-
LoggingOpenstack['MessageTypeEnum'] = {
/**
* value: "classic"
* @const
*/
"classic": "classic",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logplex"
* @const
*/
"logplex": "logplex",
-
/**
* value: "blank"
* @const
*/
"blank": "blank"
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingOpenstack['CompressionCodecEnum'] = {
/**
* value: "zstd"
* @const
*/
"zstd": "zstd",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "gzip"
* @const
@@ -76378,21 +72999,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingOpenstackAllOf model module.
* @module model/LoggingOpenstackAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingOpenstackAllOf = /*#__PURE__*/function () {
/**
@@ -76401,19 +73019,18 @@ var LoggingOpenstackAllOf = /*#__PURE__*/function () {
*/
function LoggingOpenstackAllOf() {
_classCallCheck(this, LoggingOpenstackAllOf);
-
LoggingOpenstackAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingOpenstackAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingOpenstackAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -76421,82 +73038,71 @@ var LoggingOpenstackAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingOpenstackAllOf} obj Optional instance to populate.
* @return {module:model/LoggingOpenstackAllOf} The populated LoggingOpenstackAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingOpenstackAllOf();
-
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = _ApiClient["default"].convertToType(data['access_key'], 'String');
}
-
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = _ApiClient["default"].convertToType(data['bucket_name'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingOpenstackAllOf;
}();
/**
* Your OpenStack account access key.
* @member {String} access_key
*/
-
-
LoggingOpenstackAllOf.prototype['access_key'] = undefined;
+
/**
* The name of your OpenStack container.
* @member {String} bucket_name
*/
-
LoggingOpenstackAllOf.prototype['bucket_name'] = undefined;
+
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
LoggingOpenstackAllOf.prototype['path'] = 'null';
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingOpenstackAllOf.prototype['public_key'] = 'null';
+
/**
* Your OpenStack auth url.
* @member {String} url
*/
-
LoggingOpenstackAllOf.prototype['url'] = undefined;
+
/**
* The username for your OpenStack account.
* @member {String} user
*/
-
LoggingOpenstackAllOf.prototype['user'] = undefined;
var _default = LoggingOpenstackAllOf;
exports["default"] = _default;
@@ -76513,27 +73119,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingOpenstack = _interopRequireDefault(__nccwpck_require__(57880));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingOpenstackResponse model module.
* @module model/LoggingOpenstackResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingOpenstackResponse = /*#__PURE__*/function () {
/**
@@ -76545,25 +73145,21 @@ var LoggingOpenstackResponse = /*#__PURE__*/function () {
*/
function LoggingOpenstackResponse() {
_classCallCheck(this, LoggingOpenstackResponse);
-
_LoggingOpenstack["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingOpenstackResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingOpenstackResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingOpenstackResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -76571,470 +73167,413 @@ var LoggingOpenstackResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingOpenstackResponse} obj Optional instance to populate.
* @return {module:model/LoggingOpenstackResponse} The populated LoggingOpenstackResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingOpenstackResponse();
-
_LoggingOpenstack["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
}
-
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = _ApiClient["default"].convertToType(data['timestamp_format'], 'String');
}
-
if (data.hasOwnProperty('period')) {
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Number');
}
-
if (data.hasOwnProperty('gzip_level')) {
obj['gzip_level'] = _ApiClient["default"].convertToType(data['gzip_level'], 'Number');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = _ApiClient["default"].convertToType(data['access_key'], 'String');
}
-
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = _ApiClient["default"].convertToType(data['bucket_name'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingOpenstackResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingOpenstackResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingOpenstackResponse.PlacementEnum} placement
*/
-
LoggingOpenstackResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingOpenstackResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingOpenstackResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingOpenstackResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingOpenstackResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* How the message should be formatted.
* @member {module:model/LoggingOpenstackResponse.MessageTypeEnum} message_type
* @default 'classic'
*/
-
LoggingOpenstackResponse.prototype['message_type'] = undefined;
+
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
LoggingOpenstackResponse.prototype['timestamp_format'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
LoggingOpenstackResponse.prototype['period'] = 3600;
+
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
LoggingOpenstackResponse.prototype['gzip_level'] = 0;
+
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingOpenstackResponse.CompressionCodecEnum} compression_codec
*/
-
LoggingOpenstackResponse.prototype['compression_codec'] = undefined;
+
/**
* Your OpenStack account access key.
* @member {String} access_key
*/
-
LoggingOpenstackResponse.prototype['access_key'] = undefined;
+
/**
* The name of your OpenStack container.
* @member {String} bucket_name
*/
-
LoggingOpenstackResponse.prototype['bucket_name'] = undefined;
+
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
LoggingOpenstackResponse.prototype['path'] = 'null';
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingOpenstackResponse.prototype['public_key'] = 'null';
+
/**
* Your OpenStack auth url.
* @member {String} url
*/
-
LoggingOpenstackResponse.prototype['url'] = undefined;
+
/**
* The username for your OpenStack account.
* @member {String} user
*/
-
LoggingOpenstackResponse.prototype['user'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingOpenstackResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingOpenstackResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingOpenstackResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingOpenstackResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingOpenstackResponse.prototype['version'] = undefined;
-LoggingOpenstackResponse.prototype['version'] = undefined; // Implement LoggingOpenstack interface:
-
+// Implement LoggingOpenstack interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingOpenstack["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingOpenstack.PlacementEnum} placement
*/
-
_LoggingOpenstack["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingOpenstack.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingOpenstack["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingOpenstack["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingOpenstack["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* How the message should be formatted.
* @member {module:model/LoggingOpenstack.MessageTypeEnum} message_type
* @default 'classic'
*/
-
_LoggingOpenstack["default"].prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
_LoggingOpenstack["default"].prototype['timestamp_format'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
_LoggingOpenstack["default"].prototype['period'] = 3600;
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
_LoggingOpenstack["default"].prototype['gzip_level'] = 0;
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingOpenstack.CompressionCodecEnum} compression_codec
*/
-
_LoggingOpenstack["default"].prototype['compression_codec'] = undefined;
/**
* Your OpenStack account access key.
* @member {String} access_key
*/
-
_LoggingOpenstack["default"].prototype['access_key'] = undefined;
/**
* The name of your OpenStack container.
* @member {String} bucket_name
*/
-
_LoggingOpenstack["default"].prototype['bucket_name'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
_LoggingOpenstack["default"].prototype['path'] = 'null';
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
_LoggingOpenstack["default"].prototype['public_key'] = 'null';
/**
* Your OpenStack auth url.
* @member {String} url
*/
-
_LoggingOpenstack["default"].prototype['url'] = undefined;
/**
* The username for your OpenStack account.
* @member {String} user
*/
-
-_LoggingOpenstack["default"].prototype['user'] = undefined; // Implement Timestamps interface:
-
+_LoggingOpenstack["default"].prototype['user'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingOpenstackResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingOpenstackResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the message_type
property.
* @enum {String}
* @readonly
*/
-
LoggingOpenstackResponse['MessageTypeEnum'] = {
/**
* value: "classic"
* @const
*/
"classic": "classic",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logplex"
* @const
*/
"logplex": "logplex",
-
/**
* value: "blank"
* @const
*/
"blank": "blank"
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingOpenstackResponse['CompressionCodecEnum'] = {
/**
* value: "zstd"
* @const
*/
"zstd": "zstd",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "gzip"
* @const
@@ -77056,25 +73595,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingAddressAndPort = _interopRequireDefault(__nccwpck_require__(32666));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingPapertrail model module.
* @module model/LoggingPapertrail
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingPapertrail = /*#__PURE__*/function () {
/**
@@ -77085,23 +73619,20 @@ var LoggingPapertrail = /*#__PURE__*/function () {
*/
function LoggingPapertrail() {
_classCallCheck(this, LoggingPapertrail);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingAddressAndPort["default"].initialize(this);
-
LoggingPapertrail.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingPapertrail, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingPapertrail
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -77109,183 +73640,160 @@ var LoggingPapertrail = /*#__PURE__*/function () {
* @param {module:model/LoggingPapertrail} obj Optional instance to populate.
* @return {module:model/LoggingPapertrail} The populated LoggingPapertrail
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingPapertrail();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingAddressAndPort["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('address')) {
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
}
-
if (data.hasOwnProperty('port')) {
obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingPapertrail;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingPapertrail.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingPapertrail.PlacementEnum} placement
*/
-
LoggingPapertrail.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingPapertrail.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingPapertrail.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingPapertrail.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingPapertrail.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* A hostname or IPv4 address.
* @member {String} address
*/
-
LoggingPapertrail.prototype['address'] = undefined;
+
/**
* The port number.
* @member {Number} port
* @default 514
*/
+LoggingPapertrail.prototype['port'] = 514;
-LoggingPapertrail.prototype['port'] = 514; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingAddressAndPort interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingAddressAndPort interface:
/**
* A hostname or IPv4 address.
* @member {String} address
*/
-
_LoggingAddressAndPort["default"].prototype['address'] = undefined;
/**
* The port number.
* @member {Number} port
* @default 514
*/
-
_LoggingAddressAndPort["default"].prototype['port'] = 514;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingPapertrail['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingPapertrail['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -77307,27 +73815,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingPapertrail = _interopRequireDefault(__nccwpck_require__(44925));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingPapertrailResponse model module.
* @module model/LoggingPapertrailResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingPapertrailResponse = /*#__PURE__*/function () {
/**
@@ -77339,25 +73841,21 @@ var LoggingPapertrailResponse = /*#__PURE__*/function () {
*/
function LoggingPapertrailResponse() {
_classCallCheck(this, LoggingPapertrailResponse);
-
_LoggingPapertrail["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingPapertrailResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingPapertrailResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingPapertrailResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -77365,262 +73863,228 @@ var LoggingPapertrailResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingPapertrailResponse} obj Optional instance to populate.
* @return {module:model/LoggingPapertrailResponse} The populated LoggingPapertrailResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingPapertrailResponse();
-
_LoggingPapertrail["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('address')) {
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
}
-
if (data.hasOwnProperty('port')) {
obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingPapertrailResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingPapertrailResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingPapertrailResponse.PlacementEnum} placement
*/
-
LoggingPapertrailResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingPapertrailResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingPapertrailResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingPapertrailResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingPapertrailResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* A hostname or IPv4 address.
* @member {String} address
*/
-
LoggingPapertrailResponse.prototype['address'] = undefined;
+
/**
* The port number.
* @member {Number} port
* @default 514
*/
-
LoggingPapertrailResponse.prototype['port'] = 514;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingPapertrailResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingPapertrailResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingPapertrailResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingPapertrailResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingPapertrailResponse.prototype['version'] = undefined;
-LoggingPapertrailResponse.prototype['version'] = undefined; // Implement LoggingPapertrail interface:
-
+// Implement LoggingPapertrail interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingPapertrail["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingPapertrail.PlacementEnum} placement
*/
-
_LoggingPapertrail["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingPapertrail.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingPapertrail["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingPapertrail["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingPapertrail["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* A hostname or IPv4 address.
* @member {String} address
*/
-
_LoggingPapertrail["default"].prototype['address'] = undefined;
/**
* The port number.
* @member {Number} port
* @default 514
*/
-
-_LoggingPapertrail["default"].prototype['port'] = 514; // Implement Timestamps interface:
-
+_LoggingPapertrail["default"].prototype['port'] = 514;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingPapertrailResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingPapertrailResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -77642,19 +74106,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class LoggingPlacement.
* @enum {}
@@ -77663,14 +74123,10 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var LoggingPlacement = /*#__PURE__*/function () {
function LoggingPlacement() {
_classCallCheck(this, LoggingPlacement);
-
_defineProperty(this, "none", "none");
-
_defineProperty(this, "waf_debug", "waf_debug");
-
_defineProperty(this, "null", "null");
}
-
_createClass(LoggingPlacement, null, [{
key: "constructFromObject",
value:
@@ -77683,10 +74139,8 @@ var LoggingPlacement = /*#__PURE__*/function () {
return object;
}
}]);
-
return LoggingPlacement;
}();
-
exports["default"] = LoggingPlacement;
/***/ }),
@@ -77701,21 +74155,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingRequestCapsCommon model module.
* @module model/LoggingRequestCapsCommon
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingRequestCapsCommon = /*#__PURE__*/function () {
/**
@@ -77724,19 +74175,18 @@ var LoggingRequestCapsCommon = /*#__PURE__*/function () {
*/
function LoggingRequestCapsCommon() {
_classCallCheck(this, LoggingRequestCapsCommon);
-
LoggingRequestCapsCommon.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingRequestCapsCommon, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingRequestCapsCommon
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -77744,26 +74194,21 @@ var LoggingRequestCapsCommon = /*#__PURE__*/function () {
* @param {module:model/LoggingRequestCapsCommon} obj Optional instance to populate.
* @return {module:model/LoggingRequestCapsCommon} The populated LoggingRequestCapsCommon
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingRequestCapsCommon();
-
if (data.hasOwnProperty('request_max_entries')) {
obj['request_max_entries'] = _ApiClient["default"].convertToType(data['request_max_entries'], 'Number');
}
-
if (data.hasOwnProperty('request_max_bytes')) {
obj['request_max_bytes'] = _ApiClient["default"].convertToType(data['request_max_bytes'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingRequestCapsCommon;
}();
/**
@@ -77771,15 +74216,13 @@ var LoggingRequestCapsCommon = /*#__PURE__*/function () {
* @member {Number} request_max_entries
* @default 0
*/
-
-
LoggingRequestCapsCommon.prototype['request_max_entries'] = 0;
+
/**
* The maximum number of bytes sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_bytes
* @default 0
*/
-
LoggingRequestCapsCommon.prototype['request_max_bytes'] = 0;
var _default = LoggingRequestCapsCommon;
exports["default"] = _default;
@@ -77796,27 +74239,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingGenericCommon = _interopRequireDefault(__nccwpck_require__(50838));
-
var _LoggingS3AllOf = _interopRequireDefault(__nccwpck_require__(94932));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingS3 model module.
* @module model/LoggingS3
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingS3 = /*#__PURE__*/function () {
/**
@@ -77828,25 +74265,21 @@ var LoggingS3 = /*#__PURE__*/function () {
*/
function LoggingS3() {
_classCallCheck(this, LoggingS3);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingGenericCommon["default"].initialize(this);
-
_LoggingS3AllOf["default"].initialize(this);
-
LoggingS3.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingS3, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingS3
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -77854,480 +74287,423 @@ var LoggingS3 = /*#__PURE__*/function () {
* @param {module:model/LoggingS3} obj Optional instance to populate.
* @return {module:model/LoggingS3} The populated LoggingS3
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingS3();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingGenericCommon["default"].constructFromObject(data, obj);
-
_LoggingS3AllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
}
-
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = _ApiClient["default"].convertToType(data['timestamp_format'], 'String');
}
-
if (data.hasOwnProperty('period')) {
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Number');
}
-
if (data.hasOwnProperty('gzip_level')) {
obj['gzip_level'] = _ApiClient["default"].convertToType(data['gzip_level'], 'Number');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = _ApiClient["default"].convertToType(data['access_key'], 'String');
}
-
if (data.hasOwnProperty('acl')) {
obj['acl'] = _ApiClient["default"].convertToType(data['acl'], 'String');
}
-
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = _ApiClient["default"].convertToType(data['bucket_name'], 'String');
}
-
if (data.hasOwnProperty('domain')) {
obj['domain'] = _ApiClient["default"].convertToType(data['domain'], 'String');
}
-
if (data.hasOwnProperty('iam_role')) {
obj['iam_role'] = _ApiClient["default"].convertToType(data['iam_role'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('redundancy')) {
obj['redundancy'] = _ApiClient["default"].convertToType(data['redundancy'], 'String');
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
-
if (data.hasOwnProperty('server_side_encryption_kms_key_id')) {
obj['server_side_encryption_kms_key_id'] = _ApiClient["default"].convertToType(data['server_side_encryption_kms_key_id'], 'String');
}
-
if (data.hasOwnProperty('server_side_encryption')) {
obj['server_side_encryption'] = _ApiClient["default"].convertToType(data['server_side_encryption'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingS3;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingS3.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingS3.PlacementEnum} placement
*/
-
LoggingS3.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingS3.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingS3.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingS3.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingS3.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* How the message should be formatted.
* @member {module:model/LoggingS3.MessageTypeEnum} message_type
* @default 'classic'
*/
-
LoggingS3.prototype['message_type'] = undefined;
+
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
LoggingS3.prototype['timestamp_format'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
LoggingS3.prototype['period'] = 3600;
+
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
LoggingS3.prototype['gzip_level'] = 0;
+
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingS3.CompressionCodecEnum} compression_codec
*/
-
LoggingS3.prototype['compression_codec'] = undefined;
+
/**
* The access key for your S3 account. Not required if `iam_role` is provided.
* @member {String} access_key
*/
-
LoggingS3.prototype['access_key'] = undefined;
+
/**
* The access control list (ACL) specific request header. See the AWS documentation for [Access Control List (ACL) Specific Request Headers](https://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadInitiate.html#initiate-mpu-acl-specific-request-headers) for more information.
* @member {String} acl
*/
-
LoggingS3.prototype['acl'] = undefined;
+
/**
* The bucket name for S3 account.
* @member {String} bucket_name
*/
-
LoggingS3.prototype['bucket_name'] = undefined;
+
/**
* The domain of the Amazon S3 endpoint.
* @member {String} domain
*/
-
LoggingS3.prototype['domain'] = undefined;
+
/**
* The Amazon Resource Name (ARN) for the IAM role granting Fastly access to S3. Not required if `access_key` and `secret_key` are provided.
* @member {String} iam_role
*/
-
LoggingS3.prototype['iam_role'] = undefined;
+
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
LoggingS3.prototype['path'] = 'null';
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingS3.prototype['public_key'] = 'null';
+
/**
* The S3 redundancy level.
* @member {String} redundancy
* @default 'null'
*/
-
LoggingS3.prototype['redundancy'] = 'null';
+
/**
* The secret key for your S3 account. Not required if `iam_role` is provided.
* @member {String} secret_key
*/
-
LoggingS3.prototype['secret_key'] = undefined;
+
/**
* Optional server-side KMS Key Id. Must be set if `server_side_encryption` is set to `aws:kms` or `AES256`.
* @member {String} server_side_encryption_kms_key_id
* @default 'null'
*/
-
LoggingS3.prototype['server_side_encryption_kms_key_id'] = 'null';
+
/**
* Set this to `AES256` or `aws:kms` to enable S3 Server Side Encryption.
* @member {String} server_side_encryption
* @default 'null'
*/
+LoggingS3.prototype['server_side_encryption'] = 'null';
-LoggingS3.prototype['server_side_encryption'] = 'null'; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingGenericCommon interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingGenericCommon interface:
/**
* How the message should be formatted.
* @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
* @default 'classic'
*/
-
_LoggingGenericCommon["default"].prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
_LoggingGenericCommon["default"].prototype['timestamp_format'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
_LoggingGenericCommon["default"].prototype['period'] = 3600;
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
_LoggingGenericCommon["default"].prototype['gzip_level'] = 0;
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
*/
-
-_LoggingGenericCommon["default"].prototype['compression_codec'] = undefined; // Implement LoggingS3AllOf interface:
-
+_LoggingGenericCommon["default"].prototype['compression_codec'] = undefined;
+// Implement LoggingS3AllOf interface:
/**
* The access key for your S3 account. Not required if `iam_role` is provided.
* @member {String} access_key
*/
-
_LoggingS3AllOf["default"].prototype['access_key'] = undefined;
/**
* The access control list (ACL) specific request header. See the AWS documentation for [Access Control List (ACL) Specific Request Headers](https://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadInitiate.html#initiate-mpu-acl-specific-request-headers) for more information.
* @member {String} acl
*/
-
_LoggingS3AllOf["default"].prototype['acl'] = undefined;
/**
* The bucket name for S3 account.
* @member {String} bucket_name
*/
-
_LoggingS3AllOf["default"].prototype['bucket_name'] = undefined;
/**
* The domain of the Amazon S3 endpoint.
* @member {String} domain
*/
-
_LoggingS3AllOf["default"].prototype['domain'] = undefined;
/**
* The Amazon Resource Name (ARN) for the IAM role granting Fastly access to S3. Not required if `access_key` and `secret_key` are provided.
* @member {String} iam_role
*/
-
_LoggingS3AllOf["default"].prototype['iam_role'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
_LoggingS3AllOf["default"].prototype['path'] = 'null';
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
_LoggingS3AllOf["default"].prototype['public_key'] = 'null';
/**
* The S3 redundancy level.
* @member {String} redundancy
* @default 'null'
*/
-
_LoggingS3AllOf["default"].prototype['redundancy'] = 'null';
/**
* The secret key for your S3 account. Not required if `iam_role` is provided.
* @member {String} secret_key
*/
-
_LoggingS3AllOf["default"].prototype['secret_key'] = undefined;
/**
* Optional server-side KMS Key Id. Must be set if `server_side_encryption` is set to `aws:kms` or `AES256`.
* @member {String} server_side_encryption_kms_key_id
* @default 'null'
*/
-
_LoggingS3AllOf["default"].prototype['server_side_encryption_kms_key_id'] = 'null';
/**
* Set this to `AES256` or `aws:kms` to enable S3 Server Side Encryption.
* @member {String} server_side_encryption
* @default 'null'
*/
-
_LoggingS3AllOf["default"].prototype['server_side_encryption'] = 'null';
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingS3['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingS3['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the message_type
property.
* @enum {String}
* @readonly
*/
-
LoggingS3['MessageTypeEnum'] = {
/**
* value: "classic"
* @const
*/
"classic": "classic",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logplex"
* @const
*/
"logplex": "logplex",
-
/**
* value: "blank"
* @const
*/
"blank": "blank"
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingS3['CompressionCodecEnum'] = {
/**
* value: "zstd"
* @const
*/
"zstd": "zstd",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "gzip"
* @const
@@ -78349,21 +74725,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingS3AllOf model module.
* @module model/LoggingS3AllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingS3AllOf = /*#__PURE__*/function () {
/**
@@ -78372,19 +74745,18 @@ var LoggingS3AllOf = /*#__PURE__*/function () {
*/
function LoggingS3AllOf() {
_classCallCheck(this, LoggingS3AllOf);
-
LoggingS3AllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingS3AllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingS3AllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -78392,135 +74764,119 @@ var LoggingS3AllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingS3AllOf} obj Optional instance to populate.
* @return {module:model/LoggingS3AllOf} The populated LoggingS3AllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingS3AllOf();
-
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = _ApiClient["default"].convertToType(data['access_key'], 'String');
}
-
if (data.hasOwnProperty('acl')) {
obj['acl'] = _ApiClient["default"].convertToType(data['acl'], 'String');
}
-
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = _ApiClient["default"].convertToType(data['bucket_name'], 'String');
}
-
if (data.hasOwnProperty('domain')) {
obj['domain'] = _ApiClient["default"].convertToType(data['domain'], 'String');
}
-
if (data.hasOwnProperty('iam_role')) {
obj['iam_role'] = _ApiClient["default"].convertToType(data['iam_role'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('redundancy')) {
obj['redundancy'] = _ApiClient["default"].convertToType(data['redundancy'], 'String');
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
-
if (data.hasOwnProperty('server_side_encryption_kms_key_id')) {
obj['server_side_encryption_kms_key_id'] = _ApiClient["default"].convertToType(data['server_side_encryption_kms_key_id'], 'String');
}
-
if (data.hasOwnProperty('server_side_encryption')) {
obj['server_side_encryption'] = _ApiClient["default"].convertToType(data['server_side_encryption'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingS3AllOf;
}();
/**
* The access key for your S3 account. Not required if `iam_role` is provided.
* @member {String} access_key
*/
-
-
LoggingS3AllOf.prototype['access_key'] = undefined;
+
/**
* The access control list (ACL) specific request header. See the AWS documentation for [Access Control List (ACL) Specific Request Headers](https://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadInitiate.html#initiate-mpu-acl-specific-request-headers) for more information.
* @member {String} acl
*/
-
LoggingS3AllOf.prototype['acl'] = undefined;
+
/**
* The bucket name for S3 account.
* @member {String} bucket_name
*/
-
LoggingS3AllOf.prototype['bucket_name'] = undefined;
+
/**
* The domain of the Amazon S3 endpoint.
* @member {String} domain
*/
-
LoggingS3AllOf.prototype['domain'] = undefined;
+
/**
* The Amazon Resource Name (ARN) for the IAM role granting Fastly access to S3. Not required if `access_key` and `secret_key` are provided.
* @member {String} iam_role
*/
-
LoggingS3AllOf.prototype['iam_role'] = undefined;
+
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
LoggingS3AllOf.prototype['path'] = 'null';
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingS3AllOf.prototype['public_key'] = 'null';
+
/**
* The S3 redundancy level.
* @member {String} redundancy
* @default 'null'
*/
-
LoggingS3AllOf.prototype['redundancy'] = 'null';
+
/**
* The secret key for your S3 account. Not required if `iam_role` is provided.
* @member {String} secret_key
*/
-
LoggingS3AllOf.prototype['secret_key'] = undefined;
+
/**
* Optional server-side KMS Key Id. Must be set if `server_side_encryption` is set to `aws:kms` or `AES256`.
* @member {String} server_side_encryption_kms_key_id
* @default 'null'
*/
-
LoggingS3AllOf.prototype['server_side_encryption_kms_key_id'] = 'null';
+
/**
* Set this to `AES256` or `aws:kms` to enable S3 Server Side Encryption.
* @member {String} server_side_encryption
* @default 'null'
*/
-
LoggingS3AllOf.prototype['server_side_encryption'] = 'null';
var _default = LoggingS3AllOf;
exports["default"] = _default;
@@ -78537,27 +74893,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingS = _interopRequireDefault(__nccwpck_require__(60747));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingS3Response model module.
* @module model/LoggingS3Response
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingS3Response = /*#__PURE__*/function () {
/**
@@ -78569,25 +74919,21 @@ var LoggingS3Response = /*#__PURE__*/function () {
*/
function LoggingS3Response() {
_classCallCheck(this, LoggingS3Response);
-
_LoggingS["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingS3Response.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingS3Response, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingS3Response
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -78595,556 +74941,489 @@ var LoggingS3Response = /*#__PURE__*/function () {
* @param {module:model/LoggingS3Response} obj Optional instance to populate.
* @return {module:model/LoggingS3Response} The populated LoggingS3Response
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingS3Response();
-
_LoggingS["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
}
-
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = _ApiClient["default"].convertToType(data['timestamp_format'], 'String');
}
-
if (data.hasOwnProperty('period')) {
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Number');
}
-
if (data.hasOwnProperty('gzip_level')) {
obj['gzip_level'] = _ApiClient["default"].convertToType(data['gzip_level'], 'Number');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('access_key')) {
obj['access_key'] = _ApiClient["default"].convertToType(data['access_key'], 'String');
}
-
if (data.hasOwnProperty('acl')) {
obj['acl'] = _ApiClient["default"].convertToType(data['acl'], 'String');
}
-
if (data.hasOwnProperty('bucket_name')) {
obj['bucket_name'] = _ApiClient["default"].convertToType(data['bucket_name'], 'String');
}
-
if (data.hasOwnProperty('domain')) {
obj['domain'] = _ApiClient["default"].convertToType(data['domain'], 'String');
}
-
if (data.hasOwnProperty('iam_role')) {
obj['iam_role'] = _ApiClient["default"].convertToType(data['iam_role'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('redundancy')) {
obj['redundancy'] = _ApiClient["default"].convertToType(data['redundancy'], 'String');
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
-
if (data.hasOwnProperty('server_side_encryption_kms_key_id')) {
obj['server_side_encryption_kms_key_id'] = _ApiClient["default"].convertToType(data['server_side_encryption_kms_key_id'], 'String');
}
-
if (data.hasOwnProperty('server_side_encryption')) {
obj['server_side_encryption'] = _ApiClient["default"].convertToType(data['server_side_encryption'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingS3Response;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingS3Response.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingS3Response.PlacementEnum} placement
*/
-
LoggingS3Response.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingS3Response.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingS3Response.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingS3Response.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingS3Response.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* How the message should be formatted.
* @member {module:model/LoggingS3Response.MessageTypeEnum} message_type
* @default 'classic'
*/
-
LoggingS3Response.prototype['message_type'] = undefined;
+
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
LoggingS3Response.prototype['timestamp_format'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
LoggingS3Response.prototype['period'] = 3600;
+
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
LoggingS3Response.prototype['gzip_level'] = 0;
+
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingS3Response.CompressionCodecEnum} compression_codec
*/
-
LoggingS3Response.prototype['compression_codec'] = undefined;
+
/**
* The access key for your S3 account. Not required if `iam_role` is provided.
* @member {String} access_key
*/
-
LoggingS3Response.prototype['access_key'] = undefined;
+
/**
* The access control list (ACL) specific request header. See the AWS documentation for [Access Control List (ACL) Specific Request Headers](https://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadInitiate.html#initiate-mpu-acl-specific-request-headers) for more information.
* @member {String} acl
*/
-
LoggingS3Response.prototype['acl'] = undefined;
+
/**
* The bucket name for S3 account.
* @member {String} bucket_name
*/
-
LoggingS3Response.prototype['bucket_name'] = undefined;
+
/**
* The domain of the Amazon S3 endpoint.
* @member {String} domain
*/
-
LoggingS3Response.prototype['domain'] = undefined;
+
/**
* The Amazon Resource Name (ARN) for the IAM role granting Fastly access to S3. Not required if `access_key` and `secret_key` are provided.
* @member {String} iam_role
*/
-
LoggingS3Response.prototype['iam_role'] = undefined;
+
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
LoggingS3Response.prototype['path'] = 'null';
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingS3Response.prototype['public_key'] = 'null';
+
/**
* The S3 redundancy level.
* @member {String} redundancy
* @default 'null'
*/
-
LoggingS3Response.prototype['redundancy'] = 'null';
+
/**
* The secret key for your S3 account. Not required if `iam_role` is provided.
* @member {String} secret_key
*/
-
LoggingS3Response.prototype['secret_key'] = undefined;
+
/**
* Optional server-side KMS Key Id. Must be set if `server_side_encryption` is set to `aws:kms` or `AES256`.
* @member {String} server_side_encryption_kms_key_id
* @default 'null'
*/
-
LoggingS3Response.prototype['server_side_encryption_kms_key_id'] = 'null';
+
/**
* Set this to `AES256` or `aws:kms` to enable S3 Server Side Encryption.
* @member {String} server_side_encryption
* @default 'null'
*/
-
LoggingS3Response.prototype['server_side_encryption'] = 'null';
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingS3Response.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingS3Response.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingS3Response.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingS3Response.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingS3Response.prototype['version'] = undefined;
-LoggingS3Response.prototype['version'] = undefined; // Implement LoggingS3 interface:
-
+// Implement LoggingS3 interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingS["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingS3.PlacementEnum} placement
*/
-
_LoggingS["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingS3.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingS["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingS["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingS["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* How the message should be formatted.
* @member {module:model/LoggingS3.MessageTypeEnum} message_type
* @default 'classic'
*/
-
_LoggingS["default"].prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
_LoggingS["default"].prototype['timestamp_format'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
_LoggingS["default"].prototype['period'] = 3600;
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
_LoggingS["default"].prototype['gzip_level'] = 0;
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingS3.CompressionCodecEnum} compression_codec
*/
-
_LoggingS["default"].prototype['compression_codec'] = undefined;
/**
* The access key for your S3 account. Not required if `iam_role` is provided.
* @member {String} access_key
*/
-
_LoggingS["default"].prototype['access_key'] = undefined;
/**
* The access control list (ACL) specific request header. See the AWS documentation for [Access Control List (ACL) Specific Request Headers](https://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadInitiate.html#initiate-mpu-acl-specific-request-headers) for more information.
* @member {String} acl
*/
-
_LoggingS["default"].prototype['acl'] = undefined;
/**
* The bucket name for S3 account.
* @member {String} bucket_name
*/
-
_LoggingS["default"].prototype['bucket_name'] = undefined;
/**
* The domain of the Amazon S3 endpoint.
* @member {String} domain
*/
-
_LoggingS["default"].prototype['domain'] = undefined;
/**
* The Amazon Resource Name (ARN) for the IAM role granting Fastly access to S3. Not required if `access_key` and `secret_key` are provided.
* @member {String} iam_role
*/
-
_LoggingS["default"].prototype['iam_role'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
_LoggingS["default"].prototype['path'] = 'null';
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
_LoggingS["default"].prototype['public_key'] = 'null';
/**
* The S3 redundancy level.
* @member {String} redundancy
* @default 'null'
*/
-
_LoggingS["default"].prototype['redundancy'] = 'null';
/**
* The secret key for your S3 account. Not required if `iam_role` is provided.
* @member {String} secret_key
*/
-
_LoggingS["default"].prototype['secret_key'] = undefined;
/**
* Optional server-side KMS Key Id. Must be set if `server_side_encryption` is set to `aws:kms` or `AES256`.
* @member {String} server_side_encryption_kms_key_id
* @default 'null'
*/
-
_LoggingS["default"].prototype['server_side_encryption_kms_key_id'] = 'null';
/**
* Set this to `AES256` or `aws:kms` to enable S3 Server Side Encryption.
* @member {String} server_side_encryption
* @default 'null'
*/
-
-_LoggingS["default"].prototype['server_side_encryption'] = 'null'; // Implement Timestamps interface:
-
+_LoggingS["default"].prototype['server_side_encryption'] = 'null';
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingS3Response['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingS3Response['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the message_type
property.
* @enum {String}
* @readonly
*/
-
LoggingS3Response['MessageTypeEnum'] = {
/**
* value: "classic"
* @const
*/
"classic": "classic",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logplex"
* @const
*/
"logplex": "logplex",
-
/**
* value: "blank"
* @const
*/
"blank": "blank"
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingS3Response['CompressionCodecEnum'] = {
/**
* value: "zstd"
* @const
*/
"zstd": "zstd",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "gzip"
* @const
@@ -79166,25 +75445,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingScalyrAllOf = _interopRequireDefault(__nccwpck_require__(40685));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingScalyr model module.
* @module model/LoggingScalyr
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingScalyr = /*#__PURE__*/function () {
/**
@@ -79195,23 +75469,20 @@ var LoggingScalyr = /*#__PURE__*/function () {
*/
function LoggingScalyr() {
_classCallCheck(this, LoggingScalyr);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingScalyrAllOf["default"].initialize(this);
-
LoggingScalyr.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingScalyr, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingScalyr
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -79219,220 +75490,194 @@ var LoggingScalyr = /*#__PURE__*/function () {
* @param {module:model/LoggingScalyr} obj Optional instance to populate.
* @return {module:model/LoggingScalyr} The populated LoggingScalyr
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingScalyr();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingScalyrAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('region')) {
obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('project_id')) {
obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingScalyr;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingScalyr.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingScalyr.PlacementEnum} placement
*/
-
LoggingScalyr.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingScalyr.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingScalyr.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingScalyr.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingScalyr.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* The region that log data will be sent to.
* @member {module:model/LoggingScalyr.RegionEnum} region
* @default 'US'
*/
-
LoggingScalyr.prototype['region'] = undefined;
+
/**
* The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)).
* @member {String} token
*/
-
LoggingScalyr.prototype['token'] = undefined;
+
/**
* The name of the logfile within Scalyr.
* @member {String} project_id
* @default 'logplex'
*/
+LoggingScalyr.prototype['project_id'] = 'logplex';
-LoggingScalyr.prototype['project_id'] = 'logplex'; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingScalyrAllOf interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingScalyrAllOf interface:
/**
* The region that log data will be sent to.
* @member {module:model/LoggingScalyrAllOf.RegionEnum} region
* @default 'US'
*/
-
_LoggingScalyrAllOf["default"].prototype['region'] = undefined;
/**
* The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)).
* @member {String} token
*/
-
_LoggingScalyrAllOf["default"].prototype['token'] = undefined;
/**
* The name of the logfile within Scalyr.
* @member {String} project_id
* @default 'logplex'
*/
-
_LoggingScalyrAllOf["default"].prototype['project_id'] = 'logplex';
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingScalyr['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingScalyr['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the region
property.
* @enum {String}
* @readonly
*/
-
LoggingScalyr['RegionEnum'] = {
/**
* value: "US"
* @const
*/
"US": "US",
-
/**
* value: "EU"
* @const
@@ -79454,21 +75699,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingScalyrAllOf model module.
* @module model/LoggingScalyrAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingScalyrAllOf = /*#__PURE__*/function () {
/**
@@ -79477,19 +75719,18 @@ var LoggingScalyrAllOf = /*#__PURE__*/function () {
*/
function LoggingScalyrAllOf() {
_classCallCheck(this, LoggingScalyrAllOf);
-
LoggingScalyrAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingScalyrAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingScalyrAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -79497,30 +75738,24 @@ var LoggingScalyrAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingScalyrAllOf} obj Optional instance to populate.
* @return {module:model/LoggingScalyrAllOf} The populated LoggingScalyrAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingScalyrAllOf();
-
if (data.hasOwnProperty('region')) {
obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('project_id')) {
obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingScalyrAllOf;
}();
/**
@@ -79528,35 +75763,32 @@ var LoggingScalyrAllOf = /*#__PURE__*/function () {
* @member {module:model/LoggingScalyrAllOf.RegionEnum} region
* @default 'US'
*/
-
-
LoggingScalyrAllOf.prototype['region'] = undefined;
+
/**
* The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)).
* @member {String} token
*/
-
LoggingScalyrAllOf.prototype['token'] = undefined;
+
/**
* The name of the logfile within Scalyr.
* @member {String} project_id
* @default 'logplex'
*/
-
LoggingScalyrAllOf.prototype['project_id'] = 'logplex';
+
/**
* Allowed values for the region
property.
* @enum {String}
* @readonly
*/
-
LoggingScalyrAllOf['RegionEnum'] = {
/**
* value: "US"
* @const
*/
"US": "US",
-
/**
* value: "EU"
* @const
@@ -79578,27 +75810,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingScalyr = _interopRequireDefault(__nccwpck_require__(10204));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingScalyrResponse model module.
* @module model/LoggingScalyrResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingScalyrResponse = /*#__PURE__*/function () {
/**
@@ -79610,25 +75836,21 @@ var LoggingScalyrResponse = /*#__PURE__*/function () {
*/
function LoggingScalyrResponse() {
_classCallCheck(this, LoggingScalyrResponse);
-
_LoggingScalyr["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingScalyrResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingScalyrResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingScalyrResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -79636,299 +75858,262 @@ var LoggingScalyrResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingScalyrResponse} obj Optional instance to populate.
* @return {module:model/LoggingScalyrResponse} The populated LoggingScalyrResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingScalyrResponse();
-
_LoggingScalyr["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('region')) {
obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('project_id')) {
obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingScalyrResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingScalyrResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingScalyrResponse.PlacementEnum} placement
*/
-
LoggingScalyrResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingScalyrResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingScalyrResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingScalyrResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingScalyrResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* The region that log data will be sent to.
* @member {module:model/LoggingScalyrResponse.RegionEnum} region
* @default 'US'
*/
-
LoggingScalyrResponse.prototype['region'] = undefined;
+
/**
* The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)).
* @member {String} token
*/
-
LoggingScalyrResponse.prototype['token'] = undefined;
+
/**
* The name of the logfile within Scalyr.
* @member {String} project_id
* @default 'logplex'
*/
-
LoggingScalyrResponse.prototype['project_id'] = 'logplex';
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingScalyrResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingScalyrResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingScalyrResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingScalyrResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingScalyrResponse.prototype['version'] = undefined;
-LoggingScalyrResponse.prototype['version'] = undefined; // Implement LoggingScalyr interface:
-
+// Implement LoggingScalyr interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingScalyr["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingScalyr.PlacementEnum} placement
*/
-
_LoggingScalyr["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingScalyr.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingScalyr["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingScalyr["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingScalyr["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* The region that log data will be sent to.
* @member {module:model/LoggingScalyr.RegionEnum} region
* @default 'US'
*/
-
_LoggingScalyr["default"].prototype['region'] = undefined;
/**
* The token to use for authentication ([https://www.scalyr.com/keys](https://www.scalyr.com/keys)).
* @member {String} token
*/
-
_LoggingScalyr["default"].prototype['token'] = undefined;
/**
* The name of the logfile within Scalyr.
* @member {String} project_id
* @default 'logplex'
*/
-
-_LoggingScalyr["default"].prototype['project_id'] = 'logplex'; // Implement Timestamps interface:
-
+_LoggingScalyr["default"].prototype['project_id'] = 'logplex';
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingScalyrResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingScalyrResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the region
property.
* @enum {String}
* @readonly
*/
-
LoggingScalyrResponse['RegionEnum'] = {
/**
* value: "US"
* @const
*/
"US": "US",
-
/**
* value: "EU"
* @const
@@ -79950,29 +76135,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingAddressAndPort = _interopRequireDefault(__nccwpck_require__(32666));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingGenericCommon = _interopRequireDefault(__nccwpck_require__(50838));
-
var _LoggingSftpAllOf = _interopRequireDefault(__nccwpck_require__(82250));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingSftp model module.
* @module model/LoggingSftp
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingSftp = /*#__PURE__*/function () {
/**
@@ -79985,27 +76163,22 @@ var LoggingSftp = /*#__PURE__*/function () {
*/
function LoggingSftp() {
_classCallCheck(this, LoggingSftp);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingGenericCommon["default"].initialize(this);
-
_LoggingAddressAndPort["default"].initialize(this);
-
_LoggingSftpAllOf["default"].initialize(this);
-
LoggingSftp.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingSftp, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingSftp
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -80013,438 +76186,387 @@ var LoggingSftp = /*#__PURE__*/function () {
* @param {module:model/LoggingSftp} obj Optional instance to populate.
* @return {module:model/LoggingSftp} The populated LoggingSftp
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingSftp();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingGenericCommon["default"].constructFromObject(data, obj);
-
_LoggingAddressAndPort["default"].constructFromObject(data, obj);
-
_LoggingSftpAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
}
-
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = _ApiClient["default"].convertToType(data['timestamp_format'], 'String');
}
-
if (data.hasOwnProperty('period')) {
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Number');
}
-
if (data.hasOwnProperty('gzip_level')) {
obj['gzip_level'] = _ApiClient["default"].convertToType(data['gzip_level'], 'Number');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('address')) {
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
}
-
if (data.hasOwnProperty('port')) {
- obj['port'] = _ApiClient["default"].convertToType(data['port'], Object);
+ obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
-
if (data.hasOwnProperty('password')) {
obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
-
if (data.hasOwnProperty('ssh_known_hosts')) {
obj['ssh_known_hosts'] = _ApiClient["default"].convertToType(data['ssh_known_hosts'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingSftp;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingSftp.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingSftp.PlacementEnum} placement
*/
-
LoggingSftp.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingSftp.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingSftp.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingSftp.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingSftp.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* How the message should be formatted.
* @member {module:model/LoggingSftp.MessageTypeEnum} message_type
* @default 'classic'
*/
-
LoggingSftp.prototype['message_type'] = undefined;
+
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
LoggingSftp.prototype['timestamp_format'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
LoggingSftp.prototype['period'] = 3600;
+
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
LoggingSftp.prototype['gzip_level'] = 0;
+
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingSftp.CompressionCodecEnum} compression_codec
*/
-
LoggingSftp.prototype['compression_codec'] = undefined;
+
/**
* A hostname or IPv4 address.
* @member {String} address
*/
-
LoggingSftp.prototype['address'] = undefined;
+
/**
* The port number.
- * @member {Object} port
+ * @member {Number} port
+ * @default 22
*/
+LoggingSftp.prototype['port'] = 22;
-LoggingSftp.prototype['port'] = undefined;
/**
* The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
* @member {String} password
*/
-
LoggingSftp.prototype['password'] = undefined;
+
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
LoggingSftp.prototype['path'] = 'null';
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingSftp.prototype['public_key'] = 'null';
+
/**
* The SSH private key for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
* @member {String} secret_key
* @default 'null'
*/
-
LoggingSftp.prototype['secret_key'] = 'null';
+
/**
* A list of host keys for all hosts we can connect to over SFTP.
* @member {String} ssh_known_hosts
*/
-
LoggingSftp.prototype['ssh_known_hosts'] = undefined;
+
/**
* The username for the server.
* @member {String} user
*/
+LoggingSftp.prototype['user'] = undefined;
-LoggingSftp.prototype['user'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingGenericCommon interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingGenericCommon interface:
/**
* How the message should be formatted.
* @member {module:model/LoggingGenericCommon.MessageTypeEnum} message_type
* @default 'classic'
*/
-
_LoggingGenericCommon["default"].prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
_LoggingGenericCommon["default"].prototype['timestamp_format'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
_LoggingGenericCommon["default"].prototype['period'] = 3600;
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
_LoggingGenericCommon["default"].prototype['gzip_level'] = 0;
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingGenericCommon.CompressionCodecEnum} compression_codec
*/
-
-_LoggingGenericCommon["default"].prototype['compression_codec'] = undefined; // Implement LoggingAddressAndPort interface:
-
+_LoggingGenericCommon["default"].prototype['compression_codec'] = undefined;
+// Implement LoggingAddressAndPort interface:
/**
* A hostname or IPv4 address.
* @member {String} address
*/
-
_LoggingAddressAndPort["default"].prototype['address'] = undefined;
/**
* The port number.
* @member {Number} port
* @default 514
*/
-
-_LoggingAddressAndPort["default"].prototype['port'] = 514; // Implement LoggingSftpAllOf interface:
-
+_LoggingAddressAndPort["default"].prototype['port'] = 514;
+// Implement LoggingSftpAllOf interface:
/**
* The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
* @member {String} password
*/
-
_LoggingSftpAllOf["default"].prototype['password'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
_LoggingSftpAllOf["default"].prototype['path'] = 'null';
/**
* The port number.
- * @member {Object} port
+ * @member {Number} port
+ * @default 22
*/
-
-_LoggingSftpAllOf["default"].prototype['port'] = undefined;
+_LoggingSftpAllOf["default"].prototype['port'] = 22;
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
_LoggingSftpAllOf["default"].prototype['public_key'] = 'null';
/**
* The SSH private key for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
* @member {String} secret_key
* @default 'null'
*/
-
_LoggingSftpAllOf["default"].prototype['secret_key'] = 'null';
/**
* A list of host keys for all hosts we can connect to over SFTP.
* @member {String} ssh_known_hosts
*/
-
_LoggingSftpAllOf["default"].prototype['ssh_known_hosts'] = undefined;
/**
* The username for the server.
* @member {String} user
*/
-
_LoggingSftpAllOf["default"].prototype['user'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingSftp['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingSftp['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the message_type
property.
* @enum {String}
* @readonly
*/
-
LoggingSftp['MessageTypeEnum'] = {
/**
* value: "classic"
* @const
*/
"classic": "classic",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logplex"
* @const
*/
"logplex": "logplex",
-
/**
* value: "blank"
* @const
*/
"blank": "blank"
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingSftp['CompressionCodecEnum'] = {
/**
* value: "zstd"
* @const
*/
"zstd": "zstd",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "gzip"
* @const
@@ -80466,21 +76588,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingSftpAllOf model module.
* @module model/LoggingSftpAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingSftpAllOf = /*#__PURE__*/function () {
/**
@@ -80489,19 +76608,18 @@ var LoggingSftpAllOf = /*#__PURE__*/function () {
*/
function LoggingSftpAllOf() {
_classCallCheck(this, LoggingSftpAllOf);
-
LoggingSftpAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingSftpAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingSftpAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -80509,93 +76627,82 @@ var LoggingSftpAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingSftpAllOf} obj Optional instance to populate.
* @return {module:model/LoggingSftpAllOf} The populated LoggingSftpAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingSftpAllOf();
-
if (data.hasOwnProperty('password')) {
obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('port')) {
- obj['port'] = _ApiClient["default"].convertToType(data['port'], Object);
+ obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
-
if (data.hasOwnProperty('ssh_known_hosts')) {
obj['ssh_known_hosts'] = _ApiClient["default"].convertToType(data['ssh_known_hosts'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingSftpAllOf;
}();
/**
* The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
* @member {String} password
*/
-
-
LoggingSftpAllOf.prototype['password'] = undefined;
+
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
LoggingSftpAllOf.prototype['path'] = 'null';
+
/**
* The port number.
- * @member {Object} port
+ * @member {Number} port
+ * @default 22
*/
+LoggingSftpAllOf.prototype['port'] = 22;
-LoggingSftpAllOf.prototype['port'] = undefined;
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingSftpAllOf.prototype['public_key'] = 'null';
+
/**
* The SSH private key for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
* @member {String} secret_key
* @default 'null'
*/
-
LoggingSftpAllOf.prototype['secret_key'] = 'null';
+
/**
* A list of host keys for all hosts we can connect to over SFTP.
* @member {String} ssh_known_hosts
*/
-
LoggingSftpAllOf.prototype['ssh_known_hosts'] = undefined;
+
/**
* The username for the server.
* @member {String} user
*/
-
LoggingSftpAllOf.prototype['user'] = undefined;
var _default = LoggingSftpAllOf;
exports["default"] = _default;
@@ -80612,27 +76719,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingSftp = _interopRequireDefault(__nccwpck_require__(61488));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingSftpResponse model module.
* @module model/LoggingSftpResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingSftpResponse = /*#__PURE__*/function () {
/**
@@ -80644,25 +76745,21 @@ var LoggingSftpResponse = /*#__PURE__*/function () {
*/
function LoggingSftpResponse() {
_classCallCheck(this, LoggingSftpResponse);
-
_LoggingSftp["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingSftpResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingSftpResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingSftpResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -80670,504 +76767,445 @@ var LoggingSftpResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingSftpResponse} obj Optional instance to populate.
* @return {module:model/LoggingSftpResponse} The populated LoggingSftpResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingSftpResponse();
-
_LoggingSftp["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _ApiClient["default"].convertToType(data['message_type'], 'String');
}
-
if (data.hasOwnProperty('timestamp_format')) {
obj['timestamp_format'] = _ApiClient["default"].convertToType(data['timestamp_format'], 'String');
}
-
if (data.hasOwnProperty('period')) {
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Number');
}
-
if (data.hasOwnProperty('gzip_level')) {
obj['gzip_level'] = _ApiClient["default"].convertToType(data['gzip_level'], 'Number');
}
-
if (data.hasOwnProperty('compression_codec')) {
obj['compression_codec'] = _ApiClient["default"].convertToType(data['compression_codec'], 'String');
}
-
if (data.hasOwnProperty('address')) {
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
}
-
if (data.hasOwnProperty('port')) {
- obj['port'] = _ApiClient["default"].convertToType(data['port'], Object);
+ obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
-
if (data.hasOwnProperty('password')) {
obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
}
-
if (data.hasOwnProperty('path')) {
obj['path'] = _ApiClient["default"].convertToType(data['path'], 'String');
}
-
if (data.hasOwnProperty('public_key')) {
obj['public_key'] = _ApiClient["default"].convertToType(data['public_key'], 'String');
}
-
if (data.hasOwnProperty('secret_key')) {
obj['secret_key'] = _ApiClient["default"].convertToType(data['secret_key'], 'String');
}
-
if (data.hasOwnProperty('ssh_known_hosts')) {
obj['ssh_known_hosts'] = _ApiClient["default"].convertToType(data['ssh_known_hosts'], 'String');
}
-
if (data.hasOwnProperty('user')) {
obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingSftpResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingSftpResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingSftpResponse.PlacementEnum} placement
*/
-
LoggingSftpResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingSftpResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingSftpResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingSftpResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingSftpResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* How the message should be formatted.
* @member {module:model/LoggingSftpResponse.MessageTypeEnum} message_type
* @default 'classic'
*/
-
LoggingSftpResponse.prototype['message_type'] = undefined;
+
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
LoggingSftpResponse.prototype['timestamp_format'] = undefined;
+
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
LoggingSftpResponse.prototype['period'] = 3600;
+
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
LoggingSftpResponse.prototype['gzip_level'] = 0;
+
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingSftpResponse.CompressionCodecEnum} compression_codec
*/
-
LoggingSftpResponse.prototype['compression_codec'] = undefined;
+
/**
* A hostname or IPv4 address.
* @member {String} address
*/
-
LoggingSftpResponse.prototype['address'] = undefined;
+
/**
* The port number.
- * @member {Object} port
+ * @member {Number} port
+ * @default 22
*/
+LoggingSftpResponse.prototype['port'] = 22;
-LoggingSftpResponse.prototype['port'] = undefined;
/**
* The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
* @member {String} password
*/
-
LoggingSftpResponse.prototype['password'] = undefined;
+
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
LoggingSftpResponse.prototype['path'] = 'null';
+
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
LoggingSftpResponse.prototype['public_key'] = 'null';
+
/**
* The SSH private key for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
* @member {String} secret_key
* @default 'null'
*/
-
LoggingSftpResponse.prototype['secret_key'] = 'null';
+
/**
* A list of host keys for all hosts we can connect to over SFTP.
* @member {String} ssh_known_hosts
*/
-
LoggingSftpResponse.prototype['ssh_known_hosts'] = undefined;
+
/**
* The username for the server.
* @member {String} user
*/
-
LoggingSftpResponse.prototype['user'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingSftpResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingSftpResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingSftpResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingSftpResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingSftpResponse.prototype['version'] = undefined;
-LoggingSftpResponse.prototype['version'] = undefined; // Implement LoggingSftp interface:
-
+// Implement LoggingSftp interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingSftp["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingSftp.PlacementEnum} placement
*/
-
_LoggingSftp["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingSftp.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingSftp["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingSftp["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingSftp["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* How the message should be formatted.
* @member {module:model/LoggingSftp.MessageTypeEnum} message_type
* @default 'classic'
*/
-
_LoggingSftp["default"].prototype['message_type'] = undefined;
/**
* A timestamp format
* @member {String} timestamp_format
*/
-
_LoggingSftp["default"].prototype['timestamp_format'] = undefined;
/**
* How frequently log files are finalized so they can be available for reading (in seconds).
* @member {Number} period
* @default 3600
*/
-
_LoggingSftp["default"].prototype['period'] = 3600;
/**
- * What level of gzip encoding to have when sending logs (default `0`, no compression). If an explicit non-zero value is set, then `compression_codec` will default to \"gzip.\" Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {Number} gzip_level
* @default 0
*/
-
_LoggingSftp["default"].prototype['gzip_level'] = 0;
/**
- * The codec used for compression of your logs. Valid values are `zstd`, `snappy`, and `gzip`. If the specified codec is \"gzip\", `gzip_level` will default to 3. To specify a different level, leave `compression_codec` blank and explicitly set the level using `gzip_level`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
+ * The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
* @member {module:model/LoggingSftp.CompressionCodecEnum} compression_codec
*/
-
_LoggingSftp["default"].prototype['compression_codec'] = undefined;
/**
* A hostname or IPv4 address.
* @member {String} address
*/
-
_LoggingSftp["default"].prototype['address'] = undefined;
/**
* The port number.
- * @member {Object} port
+ * @member {Number} port
+ * @default 22
*/
-
-_LoggingSftp["default"].prototype['port'] = undefined;
+_LoggingSftp["default"].prototype['port'] = 22;
/**
* The password for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
* @member {String} password
*/
-
_LoggingSftp["default"].prototype['password'] = undefined;
/**
* The path to upload logs to.
* @member {String} path
* @default 'null'
*/
-
_LoggingSftp["default"].prototype['path'] = 'null';
/**
* A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
* @member {String} public_key
* @default 'null'
*/
-
_LoggingSftp["default"].prototype['public_key'] = 'null';
/**
* The SSH private key for the server. If both `password` and `secret_key` are passed, `secret_key` will be used in preference.
* @member {String} secret_key
* @default 'null'
*/
-
_LoggingSftp["default"].prototype['secret_key'] = 'null';
/**
* A list of host keys for all hosts we can connect to over SFTP.
* @member {String} ssh_known_hosts
*/
-
_LoggingSftp["default"].prototype['ssh_known_hosts'] = undefined;
/**
* The username for the server.
* @member {String} user
*/
-
-_LoggingSftp["default"].prototype['user'] = undefined; // Implement Timestamps interface:
-
+_LoggingSftp["default"].prototype['user'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingSftpResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingSftpResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
+
/**
* Allowed values for the message_type
property.
* @enum {String}
* @readonly
*/
-
LoggingSftpResponse['MessageTypeEnum'] = {
/**
* value: "classic"
* @const
*/
"classic": "classic",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logplex"
* @const
*/
"logplex": "logplex",
-
/**
* value: "blank"
* @const
*/
"blank": "blank"
};
+
/**
* Allowed values for the compression_codec
property.
* @enum {String}
* @readonly
*/
-
LoggingSftpResponse['CompressionCodecEnum'] = {
/**
* value: "zstd"
* @const
*/
"zstd": "zstd",
-
/**
* value: "snappy"
* @const
*/
"snappy": "snappy",
-
/**
* value: "gzip"
* @const
@@ -81189,31 +77227,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingRequestCapsCommon = _interopRequireDefault(__nccwpck_require__(8048));
-
var _LoggingSplunkAllOf = _interopRequireDefault(__nccwpck_require__(3945));
-
var _LoggingTlsCommon = _interopRequireDefault(__nccwpck_require__(28232));
-
var _LoggingUseTls = _interopRequireDefault(__nccwpck_require__(59444));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingSplunk model module.
* @module model/LoggingSplunk
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingSplunk = /*#__PURE__*/function () {
/**
@@ -81226,27 +77256,22 @@ var LoggingSplunk = /*#__PURE__*/function () {
*/
function LoggingSplunk() {
_classCallCheck(this, LoggingSplunk);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingTlsCommon["default"].initialize(this);
-
_LoggingRequestCapsCommon["default"].initialize(this);
-
_LoggingSplunkAllOf["default"].initialize(this);
-
LoggingSplunk.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingSplunk, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingSplunk
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -81254,309 +77279,270 @@ var LoggingSplunk = /*#__PURE__*/function () {
* @param {module:model/LoggingSplunk} obj Optional instance to populate.
* @return {module:model/LoggingSplunk} The populated LoggingSplunk
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingSplunk();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingTlsCommon["default"].constructFromObject(data, obj);
-
_LoggingRequestCapsCommon["default"].constructFromObject(data, obj);
-
_LoggingSplunkAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = _ApiClient["default"].convertToType(data['tls_ca_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_cert')) {
obj['tls_client_cert'] = _ApiClient["default"].convertToType(data['tls_client_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_key')) {
obj['tls_client_key'] = _ApiClient["default"].convertToType(data['tls_client_key'], 'String');
}
-
if (data.hasOwnProperty('tls_hostname')) {
obj['tls_hostname'] = _ApiClient["default"].convertToType(data['tls_hostname'], 'String');
}
-
if (data.hasOwnProperty('request_max_entries')) {
obj['request_max_entries'] = _ApiClient["default"].convertToType(data['request_max_entries'], 'Number');
}
-
if (data.hasOwnProperty('request_max_bytes')) {
obj['request_max_bytes'] = _ApiClient["default"].convertToType(data['request_max_bytes'], 'Number');
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('use_tls')) {
obj['use_tls'] = _LoggingUseTls["default"].constructFromObject(data['use_tls']);
}
}
-
return obj;
}
}]);
-
return LoggingSplunk;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingSplunk.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingSplunk.PlacementEnum} placement
*/
-
LoggingSplunk.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingSplunk.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingSplunk.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingSplunk.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingSplunk.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
LoggingSplunk.prototype['tls_ca_cert'] = 'null';
+
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
LoggingSplunk.prototype['tls_client_cert'] = 'null';
+
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
LoggingSplunk.prototype['tls_client_key'] = 'null';
+
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-
LoggingSplunk.prototype['tls_hostname'] = 'null';
+
/**
* The maximum number of logs sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_entries
* @default 0
*/
-
LoggingSplunk.prototype['request_max_entries'] = 0;
+
/**
* The maximum number of bytes sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_bytes
* @default 0
*/
-
LoggingSplunk.prototype['request_max_bytes'] = 0;
+
/**
* The URL to post logs to.
* @member {String} url
*/
-
LoggingSplunk.prototype['url'] = undefined;
+
/**
* A Splunk token for use in posting logs over HTTP to your collector.
* @member {String} token
*/
-
LoggingSplunk.prototype['token'] = undefined;
+
/**
* @member {module:model/LoggingUseTls} use_tls
*/
+LoggingSplunk.prototype['use_tls'] = undefined;
-LoggingSplunk.prototype['use_tls'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingTlsCommon interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingTlsCommon interface:
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
_LoggingTlsCommon["default"].prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
_LoggingTlsCommon["default"].prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
_LoggingTlsCommon["default"].prototype['tls_client_key'] = 'null';
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-
-_LoggingTlsCommon["default"].prototype['tls_hostname'] = 'null'; // Implement LoggingRequestCapsCommon interface:
-
+_LoggingTlsCommon["default"].prototype['tls_hostname'] = 'null';
+// Implement LoggingRequestCapsCommon interface:
/**
* The maximum number of logs sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_entries
* @default 0
*/
-
_LoggingRequestCapsCommon["default"].prototype['request_max_entries'] = 0;
/**
* The maximum number of bytes sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_bytes
* @default 0
*/
-
-_LoggingRequestCapsCommon["default"].prototype['request_max_bytes'] = 0; // Implement LoggingSplunkAllOf interface:
-
+_LoggingRequestCapsCommon["default"].prototype['request_max_bytes'] = 0;
+// Implement LoggingSplunkAllOf interface:
/**
* The URL to post logs to.
* @member {String} url
*/
-
_LoggingSplunkAllOf["default"].prototype['url'] = undefined;
/**
* A Splunk token for use in posting logs over HTTP to your collector.
* @member {String} token
*/
-
_LoggingSplunkAllOf["default"].prototype['token'] = undefined;
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-
_LoggingSplunkAllOf["default"].prototype['use_tls'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingSplunk['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingSplunk['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -81578,23 +77564,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingUseTls = _interopRequireDefault(__nccwpck_require__(59444));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingSplunkAllOf model module.
* @module model/LoggingSplunkAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingSplunkAllOf = /*#__PURE__*/function () {
/**
@@ -81603,19 +77585,18 @@ var LoggingSplunkAllOf = /*#__PURE__*/function () {
*/
function LoggingSplunkAllOf() {
_classCallCheck(this, LoggingSplunkAllOf);
-
LoggingSplunkAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingSplunkAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingSplunkAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -81623,49 +77604,41 @@ var LoggingSplunkAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingSplunkAllOf} obj Optional instance to populate.
* @return {module:model/LoggingSplunkAllOf} The populated LoggingSplunkAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingSplunkAllOf();
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('use_tls')) {
obj['use_tls'] = _LoggingUseTls["default"].constructFromObject(data['use_tls']);
}
}
-
return obj;
}
}]);
-
return LoggingSplunkAllOf;
}();
/**
* The URL to post logs to.
* @member {String} url
*/
-
-
LoggingSplunkAllOf.prototype['url'] = undefined;
+
/**
* A Splunk token for use in posting logs over HTTP to your collector.
* @member {String} token
*/
-
LoggingSplunkAllOf.prototype['token'] = undefined;
+
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-
LoggingSplunkAllOf.prototype['use_tls'] = undefined;
var _default = LoggingSplunkAllOf;
exports["default"] = _default;
@@ -81682,29 +77655,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingSplunk = _interopRequireDefault(__nccwpck_require__(9397));
-
var _LoggingUseTls = _interopRequireDefault(__nccwpck_require__(59444));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingSplunkResponse model module.
* @module model/LoggingSplunkResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingSplunkResponse = /*#__PURE__*/function () {
/**
@@ -81716,25 +77682,21 @@ var LoggingSplunkResponse = /*#__PURE__*/function () {
*/
function LoggingSplunkResponse() {
_classCallCheck(this, LoggingSplunkResponse);
-
_LoggingSplunk["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingSplunkResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingSplunkResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingSplunkResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -81742,382 +77704,334 @@ var LoggingSplunkResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingSplunkResponse} obj Optional instance to populate.
* @return {module:model/LoggingSplunkResponse} The populated LoggingSplunkResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingSplunkResponse();
-
_LoggingSplunk["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = _ApiClient["default"].convertToType(data['tls_ca_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_cert')) {
obj['tls_client_cert'] = _ApiClient["default"].convertToType(data['tls_client_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_key')) {
obj['tls_client_key'] = _ApiClient["default"].convertToType(data['tls_client_key'], 'String');
}
-
if (data.hasOwnProperty('tls_hostname')) {
obj['tls_hostname'] = _ApiClient["default"].convertToType(data['tls_hostname'], 'String');
}
-
if (data.hasOwnProperty('request_max_entries')) {
obj['request_max_entries'] = _ApiClient["default"].convertToType(data['request_max_entries'], 'Number');
}
-
if (data.hasOwnProperty('request_max_bytes')) {
obj['request_max_bytes'] = _ApiClient["default"].convertToType(data['request_max_bytes'], 'Number');
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('use_tls')) {
obj['use_tls'] = _LoggingUseTls["default"].constructFromObject(data['use_tls']);
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return LoggingSplunkResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingSplunkResponse.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingSplunkResponse.PlacementEnum} placement
*/
-
LoggingSplunkResponse.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingSplunkResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingSplunkResponse.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingSplunkResponse.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingSplunkResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
LoggingSplunkResponse.prototype['tls_ca_cert'] = 'null';
+
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
LoggingSplunkResponse.prototype['tls_client_cert'] = 'null';
+
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
LoggingSplunkResponse.prototype['tls_client_key'] = 'null';
+
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-
LoggingSplunkResponse.prototype['tls_hostname'] = 'null';
+
/**
* The maximum number of logs sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_entries
* @default 0
*/
-
LoggingSplunkResponse.prototype['request_max_entries'] = 0;
+
/**
* The maximum number of bytes sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_bytes
* @default 0
*/
-
LoggingSplunkResponse.prototype['request_max_bytes'] = 0;
+
/**
* The URL to post logs to.
* @member {String} url
*/
-
LoggingSplunkResponse.prototype['url'] = undefined;
+
/**
* A Splunk token for use in posting logs over HTTP to your collector.
* @member {String} token
*/
-
LoggingSplunkResponse.prototype['token'] = undefined;
+
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-
LoggingSplunkResponse.prototype['use_tls'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
LoggingSplunkResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
LoggingSplunkResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
LoggingSplunkResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
LoggingSplunkResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+LoggingSplunkResponse.prototype['version'] = undefined;
-LoggingSplunkResponse.prototype['version'] = undefined; // Implement LoggingSplunk interface:
-
+// Implement LoggingSplunk interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingSplunk["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingSplunk.PlacementEnum} placement
*/
-
_LoggingSplunk["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingSplunk.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingSplunk["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingSplunk["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
_LoggingSplunk["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
_LoggingSplunk["default"].prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
_LoggingSplunk["default"].prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
_LoggingSplunk["default"].prototype['tls_client_key'] = 'null';
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-
_LoggingSplunk["default"].prototype['tls_hostname'] = 'null';
/**
* The maximum number of logs sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_entries
* @default 0
*/
-
_LoggingSplunk["default"].prototype['request_max_entries'] = 0;
/**
* The maximum number of bytes sent in one request. Defaults `0` for unbounded.
* @member {Number} request_max_bytes
* @default 0
*/
-
_LoggingSplunk["default"].prototype['request_max_bytes'] = 0;
/**
* The URL to post logs to.
* @member {String} url
*/
-
_LoggingSplunk["default"].prototype['url'] = undefined;
/**
* A Splunk token for use in posting logs over HTTP to your collector.
* @member {String} token
*/
-
_LoggingSplunk["default"].prototype['token'] = undefined;
/**
* @member {module:model/LoggingUseTls} use_tls
*/
-
-_LoggingSplunk["default"].prototype['use_tls'] = undefined; // Implement Timestamps interface:
-
+_LoggingSplunk["default"].prototype['use_tls'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingSplunkResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingSplunkResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -82139,27 +78053,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
-
var _LoggingMessageType = _interopRequireDefault(__nccwpck_require__(13389));
-
var _LoggingSumologicAllOf = _interopRequireDefault(__nccwpck_require__(18194));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingSumologic model module.
* @module model/LoggingSumologic
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingSumologic = /*#__PURE__*/function () {
/**
@@ -82170,23 +78078,20 @@ var LoggingSumologic = /*#__PURE__*/function () {
*/
function LoggingSumologic() {
_classCallCheck(this, LoggingSumologic);
-
_LoggingCommon["default"].initialize(this);
-
_LoggingSumologicAllOf["default"].initialize(this);
-
LoggingSumologic.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingSumologic, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingSumologic
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -82194,179 +78099,156 @@ var LoggingSumologic = /*#__PURE__*/function () {
* @param {module:model/LoggingSumologic} obj Optional instance to populate.
* @return {module:model/LoggingSumologic} The populated LoggingSumologic
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingSumologic();
-
_LoggingCommon["default"].constructFromObject(data, obj);
-
_LoggingSumologicAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _LoggingMessageType["default"].constructFromObject(data['message_type']);
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingSumologic;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-
LoggingSumologic.prototype['name'] = undefined;
+
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingSumologic.PlacementEnum} placement
*/
-
LoggingSumologic.prototype['placement'] = undefined;
+
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingSumologic.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
LoggingSumologic.prototype['format_version'] = undefined;
+
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
LoggingSumologic.prototype['response_condition'] = undefined;
+
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
LoggingSumologic.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
/**
* @member {module:model/LoggingMessageType} message_type
*/
-
LoggingSumologic.prototype['message_type'] = undefined;
+
/**
* The URL to post logs to.
* @member {String} url
*/
+LoggingSumologic.prototype['url'] = undefined;
-LoggingSumologic.prototype['url'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
* @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
* @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingSumologicAllOf interface:
-
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingSumologicAllOf interface:
/**
* @member {module:model/LoggingMessageType} message_type
*/
-
_LoggingSumologicAllOf["default"].prototype['message_type'] = undefined;
/**
* The URL to post logs to.
* @member {String} url
*/
-
_LoggingSumologicAllOf["default"].prototype['url'] = undefined;
+
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
LoggingSumologic['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
LoggingSumologic['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
@@ -82388,23 +78270,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingMessageType = _interopRequireDefault(__nccwpck_require__(13389));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingSumologicAllOf model module.
* @module model/LoggingSumologicAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingSumologicAllOf = /*#__PURE__*/function () {
/**
@@ -82413,19 +78291,18 @@ var LoggingSumologicAllOf = /*#__PURE__*/function () {
*/
function LoggingSumologicAllOf() {
_classCallCheck(this, LoggingSumologicAllOf);
-
LoggingSumologicAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingSumologicAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingSumologicAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -82433,39 +78310,32 @@ var LoggingSumologicAllOf = /*#__PURE__*/function () {
* @param {module:model/LoggingSumologicAllOf} obj Optional instance to populate.
* @return {module:model/LoggingSumologicAllOf} The populated LoggingSumologicAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new LoggingSumologicAllOf();
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _LoggingMessageType["default"].constructFromObject(data['message_type']);
}
-
if (data.hasOwnProperty('url')) {
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
}
}
-
return obj;
}
}]);
-
return LoggingSumologicAllOf;
}();
/**
* @member {module:model/LoggingMessageType} message_type
*/
-
-
LoggingSumologicAllOf.prototype['message_type'] = undefined;
+
/**
* The URL to post logs to.
* @member {String} url
*/
-
LoggingSumologicAllOf.prototype['url'] = undefined;
var _default = LoggingSumologicAllOf;
exports["default"] = _default;
@@ -82482,29 +78352,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _LoggingMessageType = _interopRequireDefault(__nccwpck_require__(13389));
-
var _LoggingSumologic = _interopRequireDefault(__nccwpck_require__(442));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The LoggingSumologicResponse model module.
* @module model/LoggingSumologicResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var LoggingSumologicResponse = /*#__PURE__*/function () {
/**
@@ -82516,25 +78379,21 @@ var LoggingSumologicResponse = /*#__PURE__*/function () {
*/
function LoggingSumologicResponse() {
_classCallCheck(this, LoggingSumologicResponse);
-
_LoggingSumologic["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
LoggingSumologicResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(LoggingSumologicResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a LoggingSumologicResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -82542,270 +78401,600 @@ var LoggingSumologicResponse = /*#__PURE__*/function () {
* @param {module:model/LoggingSumologicResponse} obj Optional instance to populate.
* @return {module:model/LoggingSumologicResponse} The populated LoggingSumologicResponse
instance.
*/
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new LoggingSumologicResponse();
+ _LoggingSumologic["default"].constructFromObject(data, obj);
+ _Timestamps["default"].constructFromObject(data, obj);
+ _ServiceIdAndVersion["default"].constructFromObject(data, obj);
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('placement')) {
+ obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
+ }
+ if (data.hasOwnProperty('format_version')) {
+ obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
+ }
+ if (data.hasOwnProperty('response_condition')) {
+ obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
+ }
+ if (data.hasOwnProperty('format')) {
+ obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
+ }
+ if (data.hasOwnProperty('message_type')) {
+ obj['message_type'] = _LoggingMessageType["default"].constructFromObject(data['message_type']);
+ }
+ if (data.hasOwnProperty('url')) {
+ obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
+ }
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
+ }
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
+ }
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return LoggingSumologicResponse;
+}();
+/**
+ * The name for the real-time logging configuration.
+ * @member {String} name
+ */
+LoggingSumologicResponse.prototype['name'] = undefined;
+
+/**
+ * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
+ * @member {module:model/LoggingSumologicResponse.PlacementEnum} placement
+ */
+LoggingSumologicResponse.prototype['placement'] = undefined;
+
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingSumologicResponse.FormatVersionEnum} format_version
+ * @default FormatVersionEnum.v2
+ */
+LoggingSumologicResponse.prototype['format_version'] = undefined;
+
+/**
+ * The name of an existing condition in the configured endpoint, or leave blank to always execute.
+ * @member {String} response_condition
+ */
+LoggingSumologicResponse.prototype['response_condition'] = undefined;
+
+/**
+ * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
+ * @member {String} format
+ * @default '%h %l %u %t "%r" %>s %b'
+ */
+LoggingSumologicResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
+
+/**
+ * @member {module:model/LoggingMessageType} message_type
+ */
+LoggingSumologicResponse.prototype['message_type'] = undefined;
+
+/**
+ * The URL to post logs to.
+ * @member {String} url
+ */
+LoggingSumologicResponse.prototype['url'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+LoggingSumologicResponse.prototype['created_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+LoggingSumologicResponse.prototype['deleted_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+LoggingSumologicResponse.prototype['updated_at'] = undefined;
+
+/**
+ * @member {String} service_id
+ */
+LoggingSumologicResponse.prototype['service_id'] = undefined;
+
+/**
+ * @member {Number} version
+ */
+LoggingSumologicResponse.prototype['version'] = undefined;
+
+// Implement LoggingSumologic interface:
+/**
+ * The name for the real-time logging configuration.
+ * @member {String} name
+ */
+_LoggingSumologic["default"].prototype['name'] = undefined;
+/**
+ * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
+ * @member {module:model/LoggingSumologic.PlacementEnum} placement
+ */
+_LoggingSumologic["default"].prototype['placement'] = undefined;
+/**
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingSumologic.FormatVersionEnum} format_version
+ * @default FormatVersionEnum.v2
+ */
+_LoggingSumologic["default"].prototype['format_version'] = undefined;
+/**
+ * The name of an existing condition in the configured endpoint, or leave blank to always execute.
+ * @member {String} response_condition
+ */
+_LoggingSumologic["default"].prototype['response_condition'] = undefined;
+/**
+ * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
+ * @member {String} format
+ * @default '%h %l %u %t "%r" %>s %b'
+ */
+_LoggingSumologic["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+/**
+ * @member {module:model/LoggingMessageType} message_type
+ */
+_LoggingSumologic["default"].prototype['message_type'] = undefined;
+/**
+ * The URL to post logs to.
+ * @member {String} url
+ */
+_LoggingSumologic["default"].prototype['url'] = undefined;
+// Implement Timestamps interface:
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+_Timestamps["default"].prototype['created_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+_Timestamps["default"].prototype['deleted_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
+/**
+ * @member {String} service_id
+ */
+_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
+/**
+ * @member {Number} version
+ */
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
+/**
+ * Allowed values for the placement
property.
+ * @enum {String}
+ * @readonly
+ */
+LoggingSumologicResponse['PlacementEnum'] = {
+ /**
+ * value: "none"
+ * @const
+ */
+ "none": "none",
+ /**
+ * value: "waf_debug"
+ * @const
+ */
+ "waf_debug": "waf_debug",
+ /**
+ * value: "null"
+ * @const
+ */
+ "null": "null"
+};
+
+/**
+ * Allowed values for the format_version
property.
+ * @enum {Number}
+ * @readonly
+ */
+LoggingSumologicResponse['FormatVersionEnum'] = {
+ /**
+ * value: 1
+ * @const
+ */
+ "v1": 1,
+ /**
+ * value: 2
+ * @const
+ */
+ "v2": 2
+};
+var _default = LoggingSumologicResponse;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 68136:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _LoggingAddressAndPort = _interopRequireDefault(__nccwpck_require__(32666));
+var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
+var _LoggingMessageType = _interopRequireDefault(__nccwpck_require__(13389));
+var _LoggingSyslogAllOf = _interopRequireDefault(__nccwpck_require__(31756));
+var _LoggingTlsCommon = _interopRequireDefault(__nccwpck_require__(28232));
+var _LoggingUseTls = _interopRequireDefault(__nccwpck_require__(59444));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The LoggingSyslog model module.
+ * @module model/LoggingSyslog
+ * @version v3.1.0
+ */
+var LoggingSyslog = /*#__PURE__*/function () {
+ /**
+ * Constructs a new LoggingSyslog
.
+ * @alias module:model/LoggingSyslog
+ * @implements module:model/LoggingCommon
+ * @implements module:model/LoggingTlsCommon
+ * @implements module:model/LoggingAddressAndPort
+ * @implements module:model/LoggingSyslogAllOf
+ */
+ function LoggingSyslog() {
+ _classCallCheck(this, LoggingSyslog);
+ _LoggingCommon["default"].initialize(this);
+ _LoggingTlsCommon["default"].initialize(this);
+ _LoggingAddressAndPort["default"].initialize(this);
+ _LoggingSyslogAllOf["default"].initialize(this);
+ LoggingSyslog.initialize(this);
+ }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(LoggingSyslog, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a LoggingSyslog
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/LoggingSyslog} obj Optional instance to populate.
+ * @return {module:model/LoggingSyslog} The populated LoggingSyslog
instance.
+ */
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingSumologicResponse();
-
- _LoggingSumologic["default"].constructFromObject(data, obj);
-
- _Timestamps["default"].constructFromObject(data, obj);
-
- _ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
+ obj = obj || new LoggingSyslog();
+ _LoggingCommon["default"].constructFromObject(data, obj);
+ _LoggingTlsCommon["default"].constructFromObject(data, obj);
+ _LoggingAddressAndPort["default"].constructFromObject(data, obj);
+ _LoggingSyslogAllOf["default"].constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
- if (data.hasOwnProperty('message_type')) {
- obj['message_type'] = _LoggingMessageType["default"].constructFromObject(data['message_type']);
+ if (data.hasOwnProperty('tls_ca_cert')) {
+ obj['tls_ca_cert'] = _ApiClient["default"].convertToType(data['tls_ca_cert'], 'String');
}
-
- if (data.hasOwnProperty('url')) {
- obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
+ if (data.hasOwnProperty('tls_client_cert')) {
+ obj['tls_client_cert'] = _ApiClient["default"].convertToType(data['tls_client_cert'], 'String');
}
-
- if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
+ if (data.hasOwnProperty('tls_client_key')) {
+ obj['tls_client_key'] = _ApiClient["default"].convertToType(data['tls_client_key'], 'String');
}
-
- if (data.hasOwnProperty('deleted_at')) {
- obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
+ if (data.hasOwnProperty('tls_hostname')) {
+ obj['tls_hostname'] = _ApiClient["default"].convertToType(data['tls_hostname'], 'String');
}
-
- if (data.hasOwnProperty('updated_at')) {
- obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
+ if (data.hasOwnProperty('address')) {
+ obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
}
-
- if (data.hasOwnProperty('service_id')) {
- obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
+ if (data.hasOwnProperty('port')) {
+ obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
-
- if (data.hasOwnProperty('version')) {
- obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
+ if (data.hasOwnProperty('message_type')) {
+ obj['message_type'] = _LoggingMessageType["default"].constructFromObject(data['message_type']);
+ }
+ if (data.hasOwnProperty('hostname')) {
+ obj['hostname'] = _ApiClient["default"].convertToType(data['hostname'], 'String');
+ }
+ if (data.hasOwnProperty('ipv4')) {
+ obj['ipv4'] = _ApiClient["default"].convertToType(data['ipv4'], 'String');
+ }
+ if (data.hasOwnProperty('token')) {
+ obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
+ }
+ if (data.hasOwnProperty('use_tls')) {
+ obj['use_tls'] = _LoggingUseTls["default"].constructFromObject(data['use_tls']);
}
}
-
return obj;
}
}]);
-
- return LoggingSumologicResponse;
+ return LoggingSyslog;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
+LoggingSyslog.prototype['name'] = undefined;
-
-LoggingSumologicResponse.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingSumologicResponse.PlacementEnum} placement
+ * @member {module:model/LoggingSyslog.PlacementEnum} placement
*/
+LoggingSyslog.prototype['placement'] = undefined;
-LoggingSumologicResponse.prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingSumologicResponse.FormatVersionEnum} format_version
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingSyslog.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
+LoggingSyslog.prototype['format_version'] = undefined;
-LoggingSumologicResponse.prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
+LoggingSyslog.prototype['response_condition'] = undefined;
-LoggingSumologicResponse.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
+LoggingSyslog.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-LoggingSumologicResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
- * @member {module:model/LoggingMessageType} message_type
+ * A secure certificate to authenticate a server with. Must be in PEM format.
+ * @member {String} tls_ca_cert
+ * @default 'null'
*/
+LoggingSyslog.prototype['tls_ca_cert'] = 'null';
-LoggingSumologicResponse.prototype['message_type'] = undefined;
/**
- * The URL to post logs to.
- * @member {String} url
+ * The client certificate used to make authenticated requests. Must be in PEM format.
+ * @member {String} tls_client_cert
+ * @default 'null'
*/
+LoggingSyslog.prototype['tls_client_cert'] = 'null';
-LoggingSumologicResponse.prototype['url'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
+ * The client private key used to make authenticated requests. Must be in PEM format.
+ * @member {String} tls_client_key
+ * @default 'null'
*/
+LoggingSyslog.prototype['tls_client_key'] = 'null';
-LoggingSumologicResponse.prototype['created_at'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
+ * The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
+ * @member {String} tls_hostname
+ * @default 'null'
*/
+LoggingSyslog.prototype['tls_hostname'] = 'null';
-LoggingSumologicResponse.prototype['deleted_at'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
+ * A hostname or IPv4 address.
+ * @member {String} address
*/
+LoggingSyslog.prototype['address'] = undefined;
-LoggingSumologicResponse.prototype['updated_at'] = undefined;
/**
- * @member {String} service_id
+ * The port number.
+ * @member {Number} port
+ * @default 514
*/
+LoggingSyslog.prototype['port'] = 514;
-LoggingSumologicResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * @member {module:model/LoggingMessageType} message_type
+ */
+LoggingSyslog.prototype['message_type'] = undefined;
+
+/**
+ * The hostname used for the syslog endpoint.
+ * @member {String} hostname
+ */
+LoggingSyslog.prototype['hostname'] = undefined;
+
+/**
+ * The IPv4 address used for the syslog endpoint.
+ * @member {String} ipv4
*/
+LoggingSyslog.prototype['ipv4'] = undefined;
+
+/**
+ * Whether to prepend each message with a specific token.
+ * @member {String} token
+ * @default 'null'
+ */
+LoggingSyslog.prototype['token'] = 'null';
-LoggingSumologicResponse.prototype['version'] = undefined; // Implement LoggingSumologic interface:
+/**
+ * @member {module:model/LoggingUseTls} use_tls
+ */
+LoggingSyslog.prototype['use_tls'] = undefined;
+// Implement LoggingCommon interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-_LoggingSumologic["default"].prototype['name'] = undefined;
+_LoggingCommon["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingSumologic.PlacementEnum} placement
+ * @member {module:model/LoggingCommon.PlacementEnum} placement
*/
-
-_LoggingSumologic["default"].prototype['placement'] = undefined;
+_LoggingCommon["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingSumologic.FormatVersionEnum} format_version
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
-_LoggingSumologic["default"].prototype['format_version'] = undefined;
+_LoggingCommon["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
-_LoggingSumologic["default"].prototype['response_condition'] = undefined;
+_LoggingCommon["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingSumologic["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
+// Implement LoggingTlsCommon interface:
/**
- * @member {module:model/LoggingMessageType} message_type
+ * A secure certificate to authenticate a server with. Must be in PEM format.
+ * @member {String} tls_ca_cert
+ * @default 'null'
*/
-
-_LoggingSumologic["default"].prototype['message_type'] = undefined;
+_LoggingTlsCommon["default"].prototype['tls_ca_cert'] = 'null';
/**
- * The URL to post logs to.
- * @member {String} url
+ * The client certificate used to make authenticated requests. Must be in PEM format.
+ * @member {String} tls_client_cert
+ * @default 'null'
*/
-
-_LoggingSumologic["default"].prototype['url'] = undefined; // Implement Timestamps interface:
-
+_LoggingTlsCommon["default"].prototype['tls_client_cert'] = 'null';
/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
+ * The client private key used to make authenticated requests. Must be in PEM format.
+ * @member {String} tls_client_key
+ * @default 'null'
*/
-
-_Timestamps["default"].prototype['created_at'] = undefined;
+_LoggingTlsCommon["default"].prototype['tls_client_key'] = 'null';
/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
+ * The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
+ * @member {String} tls_hostname
+ * @default 'null'
*/
-
-_Timestamps["default"].prototype['deleted_at'] = undefined;
+_LoggingTlsCommon["default"].prototype['tls_hostname'] = 'null';
+// Implement LoggingAddressAndPort interface:
/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
+ * A hostname or IPv4 address.
+ * @member {String} address
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_LoggingAddressAndPort["default"].prototype['address'] = undefined;
/**
- * @member {String} service_id
+ * The port number.
+ * @member {Number} port
+ * @default 514
*/
-
-_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
+_LoggingAddressAndPort["default"].prototype['port'] = 514;
+// Implement LoggingSyslogAllOf interface:
/**
- * @member {Number} version
+ * @member {module:model/LoggingMessageType} message_type
+ */
+_LoggingSyslogAllOf["default"].prototype['message_type'] = undefined;
+/**
+ * The hostname used for the syslog endpoint.
+ * @member {String} hostname
+ */
+_LoggingSyslogAllOf["default"].prototype['hostname'] = undefined;
+/**
+ * The IPv4 address used for the syslog endpoint.
+ * @member {String} ipv4
+ */
+_LoggingSyslogAllOf["default"].prototype['ipv4'] = undefined;
+/**
+ * Whether to prepend each message with a specific token.
+ * @member {String} token
+ * @default 'null'
+ */
+_LoggingSyslogAllOf["default"].prototype['token'] = 'null';
+/**
+ * @member {module:model/LoggingUseTls} use_tls
*/
+_LoggingSyslogAllOf["default"].prototype['use_tls'] = undefined;
-_ServiceIdAndVersion["default"].prototype['version'] = undefined;
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
-LoggingSumologicResponse['PlacementEnum'] = {
+LoggingSyslog['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
-LoggingSumologicResponse['FormatVersionEnum'] = {
+LoggingSyslog['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
-var _default = LoggingSumologicResponse;
+var _default = LoggingSyslog;
exports["default"] = _default;
/***/ }),
-/***/ 68136:
+/***/ 31756:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -82815,418 +79004,532 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _LoggingMessageType = _interopRequireDefault(__nccwpck_require__(13389));
+var _LoggingUseTls = _interopRequireDefault(__nccwpck_require__(59444));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The LoggingSyslogAllOf model module.
+ * @module model/LoggingSyslogAllOf
+ * @version v3.1.0
+ */
+var LoggingSyslogAllOf = /*#__PURE__*/function () {
+ /**
+ * Constructs a new LoggingSyslogAllOf
.
+ * @alias module:model/LoggingSyslogAllOf
+ */
+ function LoggingSyslogAllOf() {
+ _classCallCheck(this, LoggingSyslogAllOf);
+ LoggingSyslogAllOf.initialize(this);
+ }
-var _LoggingAddressAndPort = _interopRequireDefault(__nccwpck_require__(32666));
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(LoggingSyslogAllOf, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
-var _LoggingCommon = _interopRequireDefault(__nccwpck_require__(98351));
+ /**
+ * Constructs a LoggingSyslogAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/LoggingSyslogAllOf} obj Optional instance to populate.
+ * @return {module:model/LoggingSyslogAllOf} The populated LoggingSyslogAllOf
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new LoggingSyslogAllOf();
+ if (data.hasOwnProperty('message_type')) {
+ obj['message_type'] = _LoggingMessageType["default"].constructFromObject(data['message_type']);
+ }
+ if (data.hasOwnProperty('hostname')) {
+ obj['hostname'] = _ApiClient["default"].convertToType(data['hostname'], 'String');
+ }
+ if (data.hasOwnProperty('ipv4')) {
+ obj['ipv4'] = _ApiClient["default"].convertToType(data['ipv4'], 'String');
+ }
+ if (data.hasOwnProperty('token')) {
+ obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
+ }
+ if (data.hasOwnProperty('use_tls')) {
+ obj['use_tls'] = _LoggingUseTls["default"].constructFromObject(data['use_tls']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return LoggingSyslogAllOf;
+}();
+/**
+ * @member {module:model/LoggingMessageType} message_type
+ */
+LoggingSyslogAllOf.prototype['message_type'] = undefined;
-var _LoggingMessageType = _interopRequireDefault(__nccwpck_require__(13389));
+/**
+ * The hostname used for the syslog endpoint.
+ * @member {String} hostname
+ */
+LoggingSyslogAllOf.prototype['hostname'] = undefined;
-var _LoggingSyslogAllOf = _interopRequireDefault(__nccwpck_require__(31756));
+/**
+ * The IPv4 address used for the syslog endpoint.
+ * @member {String} ipv4
+ */
+LoggingSyslogAllOf.prototype['ipv4'] = undefined;
-var _LoggingTlsCommon = _interopRequireDefault(__nccwpck_require__(28232));
+/**
+ * Whether to prepend each message with a specific token.
+ * @member {String} token
+ * @default 'null'
+ */
+LoggingSyslogAllOf.prototype['token'] = 'null';
-var _LoggingUseTls = _interopRequireDefault(__nccwpck_require__(59444));
+/**
+ * @member {module:model/LoggingUseTls} use_tls
+ */
+LoggingSyslogAllOf.prototype['use_tls'] = undefined;
+var _default = LoggingSyslogAllOf;
+exports["default"] = _default;
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+/***/ }),
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+/***/ 55436:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+"use strict";
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _LoggingMessageType = _interopRequireDefault(__nccwpck_require__(13389));
+var _LoggingSyslog = _interopRequireDefault(__nccwpck_require__(68136));
+var _LoggingUseTls = _interopRequireDefault(__nccwpck_require__(59444));
+var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
+var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The LoggingSyslog model module.
- * @module model/LoggingSyslog
- * @version 3.0.0-beta2
+ * The LoggingSyslogResponse model module.
+ * @module model/LoggingSyslogResponse
+ * @version v3.1.0
*/
-var LoggingSyslog = /*#__PURE__*/function () {
+var LoggingSyslogResponse = /*#__PURE__*/function () {
/**
- * Constructs a new LoggingSyslog
.
- * @alias module:model/LoggingSyslog
- * @implements module:model/LoggingCommon
- * @implements module:model/LoggingTlsCommon
- * @implements module:model/LoggingAddressAndPort
- * @implements module:model/LoggingSyslogAllOf
+ * Constructs a new LoggingSyslogResponse
.
+ * @alias module:model/LoggingSyslogResponse
+ * @implements module:model/LoggingSyslog
+ * @implements module:model/Timestamps
+ * @implements module:model/ServiceIdAndVersion
*/
- function LoggingSyslog() {
- _classCallCheck(this, LoggingSyslog);
-
- _LoggingCommon["default"].initialize(this);
-
- _LoggingTlsCommon["default"].initialize(this);
-
- _LoggingAddressAndPort["default"].initialize(this);
-
- _LoggingSyslogAllOf["default"].initialize(this);
-
- LoggingSyslog.initialize(this);
+ function LoggingSyslogResponse() {
+ _classCallCheck(this, LoggingSyslogResponse);
+ _LoggingSyslog["default"].initialize(this);
+ _Timestamps["default"].initialize(this);
+ _ServiceIdAndVersion["default"].initialize(this);
+ LoggingSyslogResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(LoggingSyslog, null, [{
+ _createClass(LoggingSyslogResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a LoggingSyslog
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingSyslogResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingSyslog} obj Optional instance to populate.
- * @return {module:model/LoggingSyslog} The populated LoggingSyslog
instance.
+ * @param {module:model/LoggingSyslogResponse} obj Optional instance to populate.
+ * @return {module:model/LoggingSyslogResponse} The populated LoggingSyslogResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingSyslog();
-
- _LoggingCommon["default"].constructFromObject(data, obj);
-
- _LoggingTlsCommon["default"].constructFromObject(data, obj);
-
- _LoggingAddressAndPort["default"].constructFromObject(data, obj);
-
- _LoggingSyslogAllOf["default"].constructFromObject(data, obj);
-
+ obj = obj || new LoggingSyslogResponse();
+ _LoggingSyslog["default"].constructFromObject(data, obj);
+ _Timestamps["default"].constructFromObject(data, obj);
+ _ServiceIdAndVersion["default"].constructFromObject(data, obj);
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('placement')) {
obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
}
-
if (data.hasOwnProperty('format_version')) {
obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
}
-
if (data.hasOwnProperty('response_condition')) {
obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = _ApiClient["default"].convertToType(data['tls_ca_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_cert')) {
obj['tls_client_cert'] = _ApiClient["default"].convertToType(data['tls_client_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_key')) {
obj['tls_client_key'] = _ApiClient["default"].convertToType(data['tls_client_key'], 'String');
}
-
if (data.hasOwnProperty('tls_hostname')) {
obj['tls_hostname'] = _ApiClient["default"].convertToType(data['tls_hostname'], 'String');
}
-
if (data.hasOwnProperty('address')) {
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
}
-
if (data.hasOwnProperty('port')) {
obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
-
if (data.hasOwnProperty('message_type')) {
obj['message_type'] = _LoggingMessageType["default"].constructFromObject(data['message_type']);
}
-
if (data.hasOwnProperty('hostname')) {
obj['hostname'] = _ApiClient["default"].convertToType(data['hostname'], 'String');
}
-
if (data.hasOwnProperty('ipv4')) {
obj['ipv4'] = _ApiClient["default"].convertToType(data['ipv4'], 'String');
}
-
if (data.hasOwnProperty('token')) {
obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
}
-
if (data.hasOwnProperty('use_tls')) {
obj['use_tls'] = _LoggingUseTls["default"].constructFromObject(data['use_tls']);
}
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
+ }
+ if (data.hasOwnProperty('service_id')) {
+ obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
+ }
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
+ }
}
-
return obj;
}
}]);
-
- return LoggingSyslog;
+ return LoggingSyslogResponse;
}();
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
+LoggingSyslogResponse.prototype['name'] = undefined;
-
-LoggingSyslog.prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingSyslog.PlacementEnum} placement
+ * @member {module:model/LoggingSyslogResponse.PlacementEnum} placement
*/
+LoggingSyslogResponse.prototype['placement'] = undefined;
-LoggingSyslog.prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingSyslog.FormatVersionEnum} format_version
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingSyslogResponse.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
+LoggingSyslogResponse.prototype['format_version'] = undefined;
-LoggingSyslog.prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
+LoggingSyslogResponse.prototype['response_condition'] = undefined;
-LoggingSyslog.prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
+LoggingSyslogResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-LoggingSyslog.prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
+LoggingSyslogResponse.prototype['tls_ca_cert'] = 'null';
-LoggingSyslog.prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
+LoggingSyslogResponse.prototype['tls_client_cert'] = 'null';
-LoggingSyslog.prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
+LoggingSyslogResponse.prototype['tls_client_key'] = 'null';
-LoggingSyslog.prototype['tls_client_key'] = 'null';
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
+LoggingSyslogResponse.prototype['tls_hostname'] = 'null';
-LoggingSyslog.prototype['tls_hostname'] = 'null';
/**
* A hostname or IPv4 address.
* @member {String} address
*/
+LoggingSyslogResponse.prototype['address'] = undefined;
-LoggingSyslog.prototype['address'] = undefined;
/**
* The port number.
* @member {Number} port
* @default 514
*/
+LoggingSyslogResponse.prototype['port'] = 514;
-LoggingSyslog.prototype['port'] = 514;
/**
* @member {module:model/LoggingMessageType} message_type
*/
+LoggingSyslogResponse.prototype['message_type'] = undefined;
-LoggingSyslog.prototype['message_type'] = undefined;
/**
* The hostname used for the syslog endpoint.
* @member {String} hostname
*/
+LoggingSyslogResponse.prototype['hostname'] = undefined;
+
+/**
+ * The IPv4 address used for the syslog endpoint.
+ * @member {String} ipv4
+ */
+LoggingSyslogResponse.prototype['ipv4'] = undefined;
+
+/**
+ * Whether to prepend each message with a specific token.
+ * @member {String} token
+ * @default 'null'
+ */
+LoggingSyslogResponse.prototype['token'] = 'null';
+
+/**
+ * @member {module:model/LoggingUseTls} use_tls
+ */
+LoggingSyslogResponse.prototype['use_tls'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+LoggingSyslogResponse.prototype['created_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+LoggingSyslogResponse.prototype['deleted_at'] = undefined;
-LoggingSyslog.prototype['hostname'] = undefined;
/**
- * The IPv4 address used for the syslog endpoint.
- * @member {String} ipv4
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
*/
+LoggingSyslogResponse.prototype['updated_at'] = undefined;
-LoggingSyslog.prototype['ipv4'] = undefined;
/**
- * Whether to prepend each message with a specific token.
- * @member {String} token
- * @default 'null'
+ * @member {String} service_id
*/
+LoggingSyslogResponse.prototype['service_id'] = undefined;
-LoggingSyslog.prototype['token'] = 'null';
/**
- * @member {module:model/LoggingUseTls} use_tls
+ * @member {Number} version
*/
+LoggingSyslogResponse.prototype['version'] = undefined;
-LoggingSyslog.prototype['use_tls'] = undefined; // Implement LoggingCommon interface:
-
+// Implement LoggingSyslog interface:
/**
* The name for the real-time logging configuration.
* @member {String} name
*/
-
-_LoggingCommon["default"].prototype['name'] = undefined;
+_LoggingSyslog["default"].prototype['name'] = undefined;
/**
* Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingCommon.PlacementEnum} placement
+ * @member {module:model/LoggingSyslog.PlacementEnum} placement
*/
-
-_LoggingCommon["default"].prototype['placement'] = undefined;
+_LoggingSyslog["default"].prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingCommon.FormatVersionEnum} format_version
+ * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
+ * @member {module:model/LoggingSyslog.FormatVersionEnum} format_version
* @default FormatVersionEnum.v2
*/
-
-_LoggingCommon["default"].prototype['format_version'] = undefined;
+_LoggingSyslog["default"].prototype['format_version'] = undefined;
/**
* The name of an existing condition in the configured endpoint, or leave blank to always execute.
* @member {String} response_condition
*/
-
-_LoggingCommon["default"].prototype['response_condition'] = undefined;
+_LoggingSyslog["default"].prototype['response_condition'] = undefined;
/**
* A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
* @member {String} format
* @default '%h %l %u %t "%r" %>s %b'
*/
-
-_LoggingCommon["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b'; // Implement LoggingTlsCommon interface:
-
+_LoggingSyslog["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
-_LoggingTlsCommon["default"].prototype['tls_ca_cert'] = 'null';
+_LoggingSyslog["default"].prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
-_LoggingTlsCommon["default"].prototype['tls_client_cert'] = 'null';
+_LoggingSyslog["default"].prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
-_LoggingTlsCommon["default"].prototype['tls_client_key'] = 'null';
+_LoggingSyslog["default"].prototype['tls_client_key'] = 'null';
/**
* The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
* @member {String} tls_hostname
* @default 'null'
*/
-
-_LoggingTlsCommon["default"].prototype['tls_hostname'] = 'null'; // Implement LoggingAddressAndPort interface:
-
+_LoggingSyslog["default"].prototype['tls_hostname'] = 'null';
/**
* A hostname or IPv4 address.
* @member {String} address
*/
-
-_LoggingAddressAndPort["default"].prototype['address'] = undefined;
+_LoggingSyslog["default"].prototype['address'] = undefined;
/**
* The port number.
* @member {Number} port
* @default 514
*/
-
-_LoggingAddressAndPort["default"].prototype['port'] = 514; // Implement LoggingSyslogAllOf interface:
-
+_LoggingSyslog["default"].prototype['port'] = 514;
/**
* @member {module:model/LoggingMessageType} message_type
*/
-
-_LoggingSyslogAllOf["default"].prototype['message_type'] = undefined;
+_LoggingSyslog["default"].prototype['message_type'] = undefined;
/**
* The hostname used for the syslog endpoint.
* @member {String} hostname
*/
-
-_LoggingSyslogAllOf["default"].prototype['hostname'] = undefined;
+_LoggingSyslog["default"].prototype['hostname'] = undefined;
/**
* The IPv4 address used for the syslog endpoint.
* @member {String} ipv4
*/
-
-_LoggingSyslogAllOf["default"].prototype['ipv4'] = undefined;
+_LoggingSyslog["default"].prototype['ipv4'] = undefined;
/**
* Whether to prepend each message with a specific token.
* @member {String} token
* @default 'null'
*/
-
-_LoggingSyslogAllOf["default"].prototype['token'] = 'null';
+_LoggingSyslog["default"].prototype['token'] = 'null';
/**
* @member {module:model/LoggingUseTls} use_tls
*/
+_LoggingSyslog["default"].prototype['use_tls'] = undefined;
+// Implement Timestamps interface:
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+_Timestamps["default"].prototype['created_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+_Timestamps["default"].prototype['deleted_at'] = undefined;
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
+/**
+ * @member {String} service_id
+ */
+_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
+/**
+ * @member {Number} version
+ */
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
-_LoggingSyslogAllOf["default"].prototype['use_tls'] = undefined;
/**
* Allowed values for the placement
property.
* @enum {String}
* @readonly
*/
-
-LoggingSyslog['PlacementEnum'] = {
+LoggingSyslogResponse['PlacementEnum'] = {
/**
* value: "none"
* @const
*/
"none": "none",
-
/**
* value: "waf_debug"
* @const
*/
"waf_debug": "waf_debug",
-
/**
* value: "null"
* @const
*/
"null": "null"
};
+
/**
* Allowed values for the format_version
property.
* @enum {Number}
* @readonly
*/
-
-LoggingSyslog['FormatVersionEnum'] = {
+LoggingSyslogResponse['FormatVersionEnum'] = {
/**
* value: 1
* @const
*/
"v1": 1,
-
/**
* value: 2
* @const
*/
"v2": 2
};
-var _default = LoggingSyslog;
+var _default = LoggingSyslogResponse;
exports["default"] = _default;
/***/ }),
-/***/ 31756:
+/***/ 28232:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -83236,123 +79539,101 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
-var _LoggingMessageType = _interopRequireDefault(__nccwpck_require__(13389));
-
-var _LoggingUseTls = _interopRequireDefault(__nccwpck_require__(59444));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The LoggingSyslogAllOf model module.
- * @module model/LoggingSyslogAllOf
- * @version 3.0.0-beta2
+ * The LoggingTlsCommon model module.
+ * @module model/LoggingTlsCommon
+ * @version v3.1.0
*/
-var LoggingSyslogAllOf = /*#__PURE__*/function () {
+var LoggingTlsCommon = /*#__PURE__*/function () {
/**
- * Constructs a new LoggingSyslogAllOf
.
- * @alias module:model/LoggingSyslogAllOf
+ * Constructs a new LoggingTlsCommon
.
+ * @alias module:model/LoggingTlsCommon
*/
- function LoggingSyslogAllOf() {
- _classCallCheck(this, LoggingSyslogAllOf);
-
- LoggingSyslogAllOf.initialize(this);
+ function LoggingTlsCommon() {
+ _classCallCheck(this, LoggingTlsCommon);
+ LoggingTlsCommon.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(LoggingSyslogAllOf, null, [{
+ _createClass(LoggingTlsCommon, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a LoggingSyslogAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a LoggingTlsCommon
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingSyslogAllOf} obj Optional instance to populate.
- * @return {module:model/LoggingSyslogAllOf} The populated LoggingSyslogAllOf
instance.
+ * @param {module:model/LoggingTlsCommon} obj Optional instance to populate.
+ * @return {module:model/LoggingTlsCommon} The populated LoggingTlsCommon
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingSyslogAllOf();
-
- if (data.hasOwnProperty('message_type')) {
- obj['message_type'] = _LoggingMessageType["default"].constructFromObject(data['message_type']);
- }
-
- if (data.hasOwnProperty('hostname')) {
- obj['hostname'] = _ApiClient["default"].convertToType(data['hostname'], 'String');
+ obj = obj || new LoggingTlsCommon();
+ if (data.hasOwnProperty('tls_ca_cert')) {
+ obj['tls_ca_cert'] = _ApiClient["default"].convertToType(data['tls_ca_cert'], 'String');
}
-
- if (data.hasOwnProperty('ipv4')) {
- obj['ipv4'] = _ApiClient["default"].convertToType(data['ipv4'], 'String');
+ if (data.hasOwnProperty('tls_client_cert')) {
+ obj['tls_client_cert'] = _ApiClient["default"].convertToType(data['tls_client_cert'], 'String');
}
-
- if (data.hasOwnProperty('token')) {
- obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
+ if (data.hasOwnProperty('tls_client_key')) {
+ obj['tls_client_key'] = _ApiClient["default"].convertToType(data['tls_client_key'], 'String');
}
-
- if (data.hasOwnProperty('use_tls')) {
- obj['use_tls'] = _LoggingUseTls["default"].constructFromObject(data['use_tls']);
+ if (data.hasOwnProperty('tls_hostname')) {
+ obj['tls_hostname'] = _ApiClient["default"].convertToType(data['tls_hostname'], 'String');
}
}
-
return obj;
}
}]);
-
- return LoggingSyslogAllOf;
+ return LoggingTlsCommon;
}();
/**
- * @member {module:model/LoggingMessageType} message_type
- */
-
-
-LoggingSyslogAllOf.prototype['message_type'] = undefined;
-/**
- * The hostname used for the syslog endpoint.
- * @member {String} hostname
+ * A secure certificate to authenticate a server with. Must be in PEM format.
+ * @member {String} tls_ca_cert
+ * @default 'null'
*/
+LoggingTlsCommon.prototype['tls_ca_cert'] = 'null';
-LoggingSyslogAllOf.prototype['hostname'] = undefined;
/**
- * The IPv4 address used for the syslog endpoint.
- * @member {String} ipv4
+ * The client certificate used to make authenticated requests. Must be in PEM format.
+ * @member {String} tls_client_cert
+ * @default 'null'
*/
+LoggingTlsCommon.prototype['tls_client_cert'] = 'null';
-LoggingSyslogAllOf.prototype['ipv4'] = undefined;
/**
- * Whether to prepend each message with a specific token.
- * @member {String} token
+ * The client private key used to make authenticated requests. Must be in PEM format.
+ * @member {String} tls_client_key
* @default 'null'
*/
+LoggingTlsCommon.prototype['tls_client_key'] = 'null';
-LoggingSyslogAllOf.prototype['token'] = 'null';
/**
- * @member {module:model/LoggingUseTls} use_tls
+ * The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
+ * @member {String} tls_hostname
+ * @default 'null'
*/
-
-LoggingSyslogAllOf.prototype['use_tls'] = undefined;
-var _default = LoggingSyslogAllOf;
+LoggingTlsCommon.prototype['tls_hostname'] = 'null';
+var _default = LoggingTlsCommon;
exports["default"] = _default;
/***/ }),
-/***/ 55436:
+/***/ 59444:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -83362,486 +79643,788 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* Enum class LoggingUseTls.
+* @enum {}
+* @readonly
+*/
+var LoggingUseTls = /*#__PURE__*/function () {
+ function LoggingUseTls() {
+ _classCallCheck(this, LoggingUseTls);
+ _defineProperty(this, "no_tls", 0);
+ _defineProperty(this, "use_tls", 1);
+ }
+ _createClass(LoggingUseTls, null, [{
+ key: "constructFromObject",
+ value:
+ /**
+ * Returns a LoggingUseTls
enum value from a Javascript object name.
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
+ * @return {module:model/LoggingUseTls} The enum LoggingUseTls
value.
+ */
+ function constructFromObject(object) {
+ return object;
+ }
+ }]);
+ return LoggingUseTls;
+}();
+exports["default"] = LoggingUseTls;
-var _LoggingMessageType = _interopRequireDefault(__nccwpck_require__(13389));
-
-var _LoggingSyslog = _interopRequireDefault(__nccwpck_require__(68136));
+/***/ }),
-var _LoggingUseTls = _interopRequireDefault(__nccwpck_require__(59444));
+/***/ 82324:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
+"use strict";
-var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _MutualAuthenticationData = _interopRequireDefault(__nccwpck_require__(83515));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The LoggingSyslogResponse model module.
- * @module model/LoggingSyslogResponse
- * @version 3.0.0-beta2
+ * The MutualAuthentication model module.
+ * @module model/MutualAuthentication
+ * @version v3.1.0
*/
-var LoggingSyslogResponse = /*#__PURE__*/function () {
+var MutualAuthentication = /*#__PURE__*/function () {
/**
- * Constructs a new LoggingSyslogResponse
.
- * @alias module:model/LoggingSyslogResponse
- * @implements module:model/LoggingSyslog
- * @implements module:model/Timestamps
- * @implements module:model/ServiceIdAndVersion
+ * Constructs a new MutualAuthentication
.
+ * @alias module:model/MutualAuthentication
*/
- function LoggingSyslogResponse() {
- _classCallCheck(this, LoggingSyslogResponse);
-
- _LoggingSyslog["default"].initialize(this);
-
- _Timestamps["default"].initialize(this);
-
- _ServiceIdAndVersion["default"].initialize(this);
-
- LoggingSyslogResponse.initialize(this);
+ function MutualAuthentication() {
+ _classCallCheck(this, MutualAuthentication);
+ MutualAuthentication.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(LoggingSyslogResponse, null, [{
+ _createClass(MutualAuthentication, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a LoggingSyslogResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a MutualAuthentication
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingSyslogResponse} obj Optional instance to populate.
- * @return {module:model/LoggingSyslogResponse} The populated LoggingSyslogResponse
instance.
+ * @param {module:model/MutualAuthentication} obj Optional instance to populate.
+ * @return {module:model/MutualAuthentication} The populated MutualAuthentication
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingSyslogResponse();
-
- _LoggingSyslog["default"].constructFromObject(data, obj);
-
- _Timestamps["default"].constructFromObject(data, obj);
-
- _ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ obj = obj || new MutualAuthentication();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _MutualAuthenticationData["default"].constructFromObject(data['data']);
}
+ }
+ return obj;
+ }
+ }]);
+ return MutualAuthentication;
+}();
+/**
+ * @member {module:model/MutualAuthenticationData} data
+ */
+MutualAuthentication.prototype['data'] = undefined;
+var _default = MutualAuthentication;
+exports["default"] = _default;
- if (data.hasOwnProperty('placement')) {
- obj['placement'] = _ApiClient["default"].convertToType(data['placement'], 'String');
- }
+/***/ }),
- if (data.hasOwnProperty('format_version')) {
- obj['format_version'] = _ApiClient["default"].convertToType(data['format_version'], 'Number');
- }
+/***/ 83515:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
- if (data.hasOwnProperty('response_condition')) {
- obj['response_condition'] = _ApiClient["default"].convertToType(data['response_condition'], 'String');
- }
+"use strict";
- if (data.hasOwnProperty('format')) {
- obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
- }
- if (data.hasOwnProperty('tls_ca_cert')) {
- obj['tls_ca_cert'] = _ApiClient["default"].convertToType(data['tls_ca_cert'], 'String');
- }
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _MutualAuthenticationDataAttributes = _interopRequireDefault(__nccwpck_require__(32357));
+var _RelationshipsForMutualAuthentication = _interopRequireDefault(__nccwpck_require__(70861));
+var _TypeMutualAuthentication = _interopRequireDefault(__nccwpck_require__(60498));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The MutualAuthenticationData model module.
+ * @module model/MutualAuthenticationData
+ * @version v3.1.0
+ */
+var MutualAuthenticationData = /*#__PURE__*/function () {
+ /**
+ * Constructs a new MutualAuthenticationData
.
+ * @alias module:model/MutualAuthenticationData
+ */
+ function MutualAuthenticationData() {
+ _classCallCheck(this, MutualAuthenticationData);
+ MutualAuthenticationData.initialize(this);
+ }
- if (data.hasOwnProperty('tls_client_cert')) {
- obj['tls_client_cert'] = _ApiClient["default"].convertToType(data['tls_client_cert'], 'String');
- }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(MutualAuthenticationData, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
- if (data.hasOwnProperty('tls_client_key')) {
- obj['tls_client_key'] = _ApiClient["default"].convertToType(data['tls_client_key'], 'String');
+ /**
+ * Constructs a MutualAuthenticationData
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/MutualAuthenticationData} obj Optional instance to populate.
+ * @return {module:model/MutualAuthenticationData} The populated MutualAuthenticationData
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new MutualAuthenticationData();
+ if (data.hasOwnProperty('type')) {
+ obj['type'] = _TypeMutualAuthentication["default"].constructFromObject(data['type']);
}
-
- if (data.hasOwnProperty('tls_hostname')) {
- obj['tls_hostname'] = _ApiClient["default"].convertToType(data['tls_hostname'], 'String');
+ if (data.hasOwnProperty('attributes')) {
+ obj['attributes'] = _MutualAuthenticationDataAttributes["default"].constructFromObject(data['attributes']);
}
-
- if (data.hasOwnProperty('address')) {
- obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
+ if (data.hasOwnProperty('relationships')) {
+ obj['relationships'] = _RelationshipsForMutualAuthentication["default"].constructFromObject(data['relationships']);
}
+ }
+ return obj;
+ }
+ }]);
+ return MutualAuthenticationData;
+}();
+/**
+ * @member {module:model/TypeMutualAuthentication} type
+ */
+MutualAuthenticationData.prototype['type'] = undefined;
- if (data.hasOwnProperty('port')) {
- obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
- }
+/**
+ * @member {module:model/MutualAuthenticationDataAttributes} attributes
+ */
+MutualAuthenticationData.prototype['attributes'] = undefined;
- if (data.hasOwnProperty('message_type')) {
- obj['message_type'] = _LoggingMessageType["default"].constructFromObject(data['message_type']);
- }
+/**
+ * @member {module:model/RelationshipsForMutualAuthentication} relationships
+ */
+MutualAuthenticationData.prototype['relationships'] = undefined;
+var _default = MutualAuthenticationData;
+exports["default"] = _default;
- if (data.hasOwnProperty('hostname')) {
- obj['hostname'] = _ApiClient["default"].convertToType(data['hostname'], 'String');
- }
+/***/ }),
- if (data.hasOwnProperty('ipv4')) {
- obj['ipv4'] = _ApiClient["default"].convertToType(data['ipv4'], 'String');
- }
+/***/ 32357:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
- if (data.hasOwnProperty('token')) {
- obj['token'] = _ApiClient["default"].convertToType(data['token'], 'String');
- }
+"use strict";
- if (data.hasOwnProperty('use_tls')) {
- obj['use_tls'] = _LoggingUseTls["default"].constructFromObject(data['use_tls']);
- }
- if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
- }
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The MutualAuthenticationDataAttributes model module.
+ * @module model/MutualAuthenticationDataAttributes
+ * @version v3.1.0
+ */
+var MutualAuthenticationDataAttributes = /*#__PURE__*/function () {
+ /**
+ * Constructs a new MutualAuthenticationDataAttributes
.
+ * @alias module:model/MutualAuthenticationDataAttributes
+ */
+ function MutualAuthenticationDataAttributes() {
+ _classCallCheck(this, MutualAuthenticationDataAttributes);
+ MutualAuthenticationDataAttributes.initialize(this);
+ }
- if (data.hasOwnProperty('deleted_at')) {
- obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
- }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(MutualAuthenticationDataAttributes, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
- if (data.hasOwnProperty('updated_at')) {
- obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
+ /**
+ * Constructs a MutualAuthenticationDataAttributes
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/MutualAuthenticationDataAttributes} obj Optional instance to populate.
+ * @return {module:model/MutualAuthenticationDataAttributes} The populated MutualAuthenticationDataAttributes
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new MutualAuthenticationDataAttributes();
+ if (data.hasOwnProperty('cert_bundle')) {
+ obj['cert_bundle'] = _ApiClient["default"].convertToType(data['cert_bundle'], 'String');
}
-
- if (data.hasOwnProperty('service_id')) {
- obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
+ if (data.hasOwnProperty('enforced')) {
+ obj['enforced'] = _ApiClient["default"].convertToType(data['enforced'], 'Boolean');
}
-
- if (data.hasOwnProperty('version')) {
- obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
}
-
return obj;
}
}]);
-
- return LoggingSyslogResponse;
+ return MutualAuthenticationDataAttributes;
}();
/**
- * The name for the real-time logging configuration.
- * @member {String} name
+ * One or more certificates. Enter each individual certificate blob on a new line. Must be PEM-formatted. Required on create. You may optionally rotate the cert_bundle on update.
+ * @member {String} cert_bundle
*/
+MutualAuthenticationDataAttributes.prototype['cert_bundle'] = undefined;
-
-LoggingSyslogResponse.prototype['name'] = undefined;
/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingSyslogResponse.PlacementEnum} placement
+ * Determines whether Mutual TLS will fail closed (enforced) or fail open. A true value will require a successful Mutual TLS handshake for the connection to continue and will fail closed if unsuccessful. A false value will fail open and allow the connection to proceed. Optional. Defaults to true.
+ * @member {Boolean} enforced
*/
+MutualAuthenticationDataAttributes.prototype['enforced'] = undefined;
-LoggingSyslogResponse.prototype['placement'] = undefined;
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingSyslogResponse.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
+ * A custom name for your mutual authentication. Optional. If name is not supplied we will auto-generate one.
+ * @member {String} name
*/
+MutualAuthenticationDataAttributes.prototype['name'] = undefined;
+var _default = MutualAuthenticationDataAttributes;
+exports["default"] = _default;
-LoggingSyslogResponse.prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
+/***/ }),
-LoggingSyslogResponse.prototype['response_condition'] = undefined;
-/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
- */
+/***/ 1762:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-LoggingSyslogResponse.prototype['format'] = '%h %l %u %t "%r" %>s %b';
-/**
- * A secure certificate to authenticate a server with. Must be in PEM format.
- * @member {String} tls_ca_cert
- * @default 'null'
- */
+"use strict";
-LoggingSyslogResponse.prototype['tls_ca_cert'] = 'null';
-/**
- * The client certificate used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_cert
- * @default 'null'
- */
-LoggingSyslogResponse.prototype['tls_client_cert'] = 'null';
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _MutualAuthenticationResponseData = _interopRequireDefault(__nccwpck_require__(26387));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The client private key used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_key
- * @default 'null'
+ * The MutualAuthenticationResponse model module.
+ * @module model/MutualAuthenticationResponse
+ * @version v3.1.0
*/
+var MutualAuthenticationResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new MutualAuthenticationResponse
.
+ * @alias module:model/MutualAuthenticationResponse
+ */
+ function MutualAuthenticationResponse() {
+ _classCallCheck(this, MutualAuthenticationResponse);
+ MutualAuthenticationResponse.initialize(this);
+ }
-LoggingSyslogResponse.prototype['tls_client_key'] = 'null';
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(MutualAuthenticationResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a MutualAuthenticationResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/MutualAuthenticationResponse} obj Optional instance to populate.
+ * @return {module:model/MutualAuthenticationResponse} The populated MutualAuthenticationResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new MutualAuthenticationResponse();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _MutualAuthenticationResponseData["default"].constructFromObject(data['data']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return MutualAuthenticationResponse;
+}();
/**
- * The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
- * @member {String} tls_hostname
- * @default 'null'
+ * @member {module:model/MutualAuthenticationResponseData} data
*/
+MutualAuthenticationResponse.prototype['data'] = undefined;
+var _default = MutualAuthenticationResponse;
+exports["default"] = _default;
-LoggingSyslogResponse.prototype['tls_hostname'] = 'null';
-/**
- * A hostname or IPv4 address.
- * @member {String} address
- */
+/***/ }),
-LoggingSyslogResponse.prototype['address'] = undefined;
-/**
- * The port number.
- * @member {Number} port
- * @default 514
- */
+/***/ 94070:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-LoggingSyslogResponse.prototype['port'] = 514;
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _MutualAuthenticationResponseAttributesAllOf = _interopRequireDefault(__nccwpck_require__(26500));
+var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * @member {module:model/LoggingMessageType} message_type
+ * The MutualAuthenticationResponseAttributes model module.
+ * @module model/MutualAuthenticationResponseAttributes
+ * @version v3.1.0
*/
+var MutualAuthenticationResponseAttributes = /*#__PURE__*/function () {
+ /**
+ * Constructs a new MutualAuthenticationResponseAttributes
.
+ * @alias module:model/MutualAuthenticationResponseAttributes
+ * @implements module:model/Timestamps
+ * @implements module:model/MutualAuthenticationResponseAttributesAllOf
+ */
+ function MutualAuthenticationResponseAttributes() {
+ _classCallCheck(this, MutualAuthenticationResponseAttributes);
+ _Timestamps["default"].initialize(this);
+ _MutualAuthenticationResponseAttributesAllOf["default"].initialize(this);
+ MutualAuthenticationResponseAttributes.initialize(this);
+ }
-LoggingSyslogResponse.prototype['message_type'] = undefined;
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(MutualAuthenticationResponseAttributes, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a MutualAuthenticationResponseAttributes
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/MutualAuthenticationResponseAttributes} obj Optional instance to populate.
+ * @return {module:model/MutualAuthenticationResponseAttributes} The populated MutualAuthenticationResponseAttributes
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new MutualAuthenticationResponseAttributes();
+ _Timestamps["default"].constructFromObject(data, obj);
+ _MutualAuthenticationResponseAttributesAllOf["default"].constructFromObject(data, obj);
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
+ }
+ if (data.hasOwnProperty('enforced')) {
+ obj['enforced'] = _ApiClient["default"].convertToType(data['enforced'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return MutualAuthenticationResponseAttributes;
+}();
/**
- * The hostname used for the syslog endpoint.
- * @member {String} hostname
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
*/
+MutualAuthenticationResponseAttributes.prototype['created_at'] = undefined;
-LoggingSyslogResponse.prototype['hostname'] = undefined;
/**
- * The IPv4 address used for the syslog endpoint.
- * @member {String} ipv4
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
*/
+MutualAuthenticationResponseAttributes.prototype['deleted_at'] = undefined;
-LoggingSyslogResponse.prototype['ipv4'] = undefined;
/**
- * Whether to prepend each message with a specific token.
- * @member {String} token
- * @default 'null'
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
*/
+MutualAuthenticationResponseAttributes.prototype['updated_at'] = undefined;
-LoggingSyslogResponse.prototype['token'] = 'null';
/**
- * @member {module:model/LoggingUseTls} use_tls
+ * Determines whether Mutual TLS will fail closed (enforced) or fail open.
+ * @member {Boolean} enforced
*/
+MutualAuthenticationResponseAttributes.prototype['enforced'] = undefined;
-LoggingSyslogResponse.prototype['use_tls'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-LoggingSyslogResponse.prototype['created_at'] = undefined;
+_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
-LoggingSyslogResponse.prototype['deleted_at'] = undefined;
+_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-LoggingSyslogResponse.prototype['updated_at'] = undefined;
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement MutualAuthenticationResponseAttributesAllOf interface:
/**
- * @member {String} service_id
+ * Determines whether Mutual TLS will fail closed (enforced) or fail open.
+ * @member {Boolean} enforced
*/
+_MutualAuthenticationResponseAttributesAllOf["default"].prototype['enforced'] = undefined;
+var _default = MutualAuthenticationResponseAttributes;
+exports["default"] = _default;
-LoggingSyslogResponse.prototype['service_id'] = undefined;
-/**
- * @member {Number} version
- */
+/***/ }),
-LoggingSyslogResponse.prototype['version'] = undefined; // Implement LoggingSyslog interface:
+/***/ 26500:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-/**
- * The name for the real-time logging configuration.
- * @member {String} name
- */
+"use strict";
-_LoggingSyslog["default"].prototype['name'] = undefined;
-/**
- * Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
- * @member {module:model/LoggingSyslog.PlacementEnum} placement
- */
-_LoggingSyslog["default"].prototype['placement'] = undefined;
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
- * @member {module:model/LoggingSyslog.FormatVersionEnum} format_version
- * @default FormatVersionEnum.v2
+ * The MutualAuthenticationResponseAttributesAllOf model module.
+ * @module model/MutualAuthenticationResponseAttributesAllOf
+ * @version v3.1.0
*/
+var MutualAuthenticationResponseAttributesAllOf = /*#__PURE__*/function () {
+ /**
+ * Constructs a new MutualAuthenticationResponseAttributesAllOf
.
+ * @alias module:model/MutualAuthenticationResponseAttributesAllOf
+ */
+ function MutualAuthenticationResponseAttributesAllOf() {
+ _classCallCheck(this, MutualAuthenticationResponseAttributesAllOf);
+ MutualAuthenticationResponseAttributesAllOf.initialize(this);
+ }
-_LoggingSyslog["default"].prototype['format_version'] = undefined;
-/**
- * The name of an existing condition in the configured endpoint, or leave blank to always execute.
- * @member {String} response_condition
- */
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(MutualAuthenticationResponseAttributesAllOf, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
-_LoggingSyslog["default"].prototype['response_condition'] = undefined;
+ /**
+ * Constructs a MutualAuthenticationResponseAttributesAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/MutualAuthenticationResponseAttributesAllOf} obj Optional instance to populate.
+ * @return {module:model/MutualAuthenticationResponseAttributesAllOf} The populated MutualAuthenticationResponseAttributesAllOf
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new MutualAuthenticationResponseAttributesAllOf();
+ if (data.hasOwnProperty('enforced')) {
+ obj['enforced'] = _ApiClient["default"].convertToType(data['enforced'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return MutualAuthenticationResponseAttributesAllOf;
+}();
/**
- * A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
- * @member {String} format
- * @default '%h %l %u %t "%r" %>s %b'
+ * Determines whether Mutual TLS will fail closed (enforced) or fail open.
+ * @member {Boolean} enforced
*/
+MutualAuthenticationResponseAttributesAllOf.prototype['enforced'] = undefined;
+var _default = MutualAuthenticationResponseAttributesAllOf;
+exports["default"] = _default;
-_LoggingSyslog["default"].prototype['format'] = '%h %l %u %t "%r" %>s %b';
-/**
- * A secure certificate to authenticate a server with. Must be in PEM format.
- * @member {String} tls_ca_cert
- * @default 'null'
- */
+/***/ }),
-_LoggingSyslog["default"].prototype['tls_ca_cert'] = 'null';
-/**
- * The client certificate used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_cert
- * @default 'null'
- */
+/***/ 26387:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-_LoggingSyslog["default"].prototype['tls_client_cert'] = 'null';
-/**
- * The client private key used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_key
- * @default 'null'
- */
+"use strict";
-_LoggingSyslog["default"].prototype['tls_client_key'] = 'null';
-/**
- * The hostname to verify the server's certificate. This should be one of the Subject Alternative Name (SAN) fields for the certificate. Common Names (CN) are not supported.
- * @member {String} tls_hostname
- * @default 'null'
- */
-_LoggingSyslog["default"].prototype['tls_hostname'] = 'null';
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _MutualAuthenticationData = _interopRequireDefault(__nccwpck_require__(83515));
+var _MutualAuthenticationResponseAttributes = _interopRequireDefault(__nccwpck_require__(94070));
+var _MutualAuthenticationResponseDataAllOf = _interopRequireDefault(__nccwpck_require__(37409));
+var _RelationshipsForMutualAuthentication = _interopRequireDefault(__nccwpck_require__(70861));
+var _TypeMutualAuthentication = _interopRequireDefault(__nccwpck_require__(60498));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * A hostname or IPv4 address.
- * @member {String} address
+ * The MutualAuthenticationResponseData model module.
+ * @module model/MutualAuthenticationResponseData
+ * @version v3.1.0
*/
+var MutualAuthenticationResponseData = /*#__PURE__*/function () {
+ /**
+ * Constructs a new MutualAuthenticationResponseData
.
+ * @alias module:model/MutualAuthenticationResponseData
+ * @implements module:model/MutualAuthenticationData
+ * @implements module:model/MutualAuthenticationResponseDataAllOf
+ */
+ function MutualAuthenticationResponseData() {
+ _classCallCheck(this, MutualAuthenticationResponseData);
+ _MutualAuthenticationData["default"].initialize(this);
+ _MutualAuthenticationResponseDataAllOf["default"].initialize(this);
+ MutualAuthenticationResponseData.initialize(this);
+ }
-_LoggingSyslog["default"].prototype['address'] = undefined;
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(MutualAuthenticationResponseData, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a MutualAuthenticationResponseData
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/MutualAuthenticationResponseData} obj Optional instance to populate.
+ * @return {module:model/MutualAuthenticationResponseData} The populated MutualAuthenticationResponseData
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new MutualAuthenticationResponseData();
+ _MutualAuthenticationData["default"].constructFromObject(data, obj);
+ _MutualAuthenticationResponseDataAllOf["default"].constructFromObject(data, obj);
+ if (data.hasOwnProperty('type')) {
+ obj['type'] = _TypeMutualAuthentication["default"].constructFromObject(data['type']);
+ }
+ if (data.hasOwnProperty('attributes')) {
+ obj['attributes'] = _MutualAuthenticationResponseAttributes["default"].constructFromObject(data['attributes']);
+ }
+ if (data.hasOwnProperty('relationships')) {
+ obj['relationships'] = _RelationshipsForMutualAuthentication["default"].constructFromObject(data['relationships']);
+ }
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return MutualAuthenticationResponseData;
+}();
/**
- * The port number.
- * @member {Number} port
- * @default 514
+ * @member {module:model/TypeMutualAuthentication} type
*/
+MutualAuthenticationResponseData.prototype['type'] = undefined;
-_LoggingSyslog["default"].prototype['port'] = 514;
/**
- * @member {module:model/LoggingMessageType} message_type
+ * @member {module:model/MutualAuthenticationResponseAttributes} attributes
*/
+MutualAuthenticationResponseData.prototype['attributes'] = undefined;
-_LoggingSyslog["default"].prototype['message_type'] = undefined;
/**
- * The hostname used for the syslog endpoint.
- * @member {String} hostname
+ * @member {module:model/RelationshipsForMutualAuthentication} relationships
*/
+MutualAuthenticationResponseData.prototype['relationships'] = undefined;
-_LoggingSyslog["default"].prototype['hostname'] = undefined;
/**
- * The IPv4 address used for the syslog endpoint.
- * @member {String} ipv4
+ * @member {String} id
*/
+MutualAuthenticationResponseData.prototype['id'] = undefined;
-_LoggingSyslog["default"].prototype['ipv4'] = undefined;
+// Implement MutualAuthenticationData interface:
/**
- * Whether to prepend each message with a specific token.
- * @member {String} token
- * @default 'null'
+ * @member {module:model/TypeMutualAuthentication} type
*/
-
-_LoggingSyslog["default"].prototype['token'] = 'null';
+_MutualAuthenticationData["default"].prototype['type'] = undefined;
/**
- * @member {module:model/LoggingUseTls} use_tls
+ * @member {module:model/MutualAuthenticationDataAttributes} attributes
*/
-
-_LoggingSyslog["default"].prototype['use_tls'] = undefined; // Implement Timestamps interface:
-
+_MutualAuthenticationData["default"].prototype['attributes'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
+ * @member {module:model/RelationshipsForMutualAuthentication} relationships
*/
-
-_Timestamps["default"].prototype['created_at'] = undefined;
+_MutualAuthenticationData["default"].prototype['relationships'] = undefined;
+// Implement MutualAuthenticationResponseDataAllOf interface:
/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
+ * @member {String} id
*/
-
-_Timestamps["default"].prototype['deleted_at'] = undefined;
+_MutualAuthenticationResponseDataAllOf["default"].prototype['id'] = undefined;
/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
+ * @member {module:model/MutualAuthenticationResponseAttributes} attributes
*/
+_MutualAuthenticationResponseDataAllOf["default"].prototype['attributes'] = undefined;
+var _default = MutualAuthenticationResponseData;
+exports["default"] = _default;
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
+/***/ }),
-/**
- * @member {String} service_id
- */
+/***/ 37409:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
-/**
- * @member {Number} version
- */
+"use strict";
-_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _MutualAuthenticationResponseAttributes = _interopRequireDefault(__nccwpck_require__(94070));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * Allowed values for the placement
property.
- * @enum {String}
- * @readonly
+ * The MutualAuthenticationResponseDataAllOf model module.
+ * @module model/MutualAuthenticationResponseDataAllOf
+ * @version v3.1.0
*/
-
-LoggingSyslogResponse['PlacementEnum'] = {
+var MutualAuthenticationResponseDataAllOf = /*#__PURE__*/function () {
/**
- * value: "none"
- * @const
+ * Constructs a new MutualAuthenticationResponseDataAllOf
.
+ * @alias module:model/MutualAuthenticationResponseDataAllOf
*/
- "none": "none",
+ function MutualAuthenticationResponseDataAllOf() {
+ _classCallCheck(this, MutualAuthenticationResponseDataAllOf);
+ MutualAuthenticationResponseDataAllOf.initialize(this);
+ }
/**
- * value: "waf_debug"
- * @const
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
*/
- "waf_debug": "waf_debug",
+ _createClass(MutualAuthenticationResponseDataAllOf, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
- /**
- * value: "null"
- * @const
- */
- "null": "null"
-};
+ /**
+ * Constructs a MutualAuthenticationResponseDataAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/MutualAuthenticationResponseDataAllOf} obj Optional instance to populate.
+ * @return {module:model/MutualAuthenticationResponseDataAllOf} The populated MutualAuthenticationResponseDataAllOf
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new MutualAuthenticationResponseDataAllOf();
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('attributes')) {
+ obj['attributes'] = _MutualAuthenticationResponseAttributes["default"].constructFromObject(data['attributes']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return MutualAuthenticationResponseDataAllOf;
+}();
/**
- * Allowed values for the format_version
property.
- * @enum {Number}
- * @readonly
+ * @member {String} id
*/
+MutualAuthenticationResponseDataAllOf.prototype['id'] = undefined;
-LoggingSyslogResponse['FormatVersionEnum'] = {
- /**
- * value: 1
- * @const
- */
- "v1": 1,
-
- /**
- * value: 2
- * @const
- */
- "v2": 2
-};
-var _default = LoggingSyslogResponse;
+/**
+ * @member {module:model/MutualAuthenticationResponseAttributes} attributes
+ */
+MutualAuthenticationResponseDataAllOf.prototype['attributes'] = undefined;
+var _default = MutualAuthenticationResponseDataAllOf;
exports["default"] = _default;
/***/ }),
-/***/ 28232:
+/***/ 40933:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -83851,114 +80434,111 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
+var _MutualAuthenticationResponseData = _interopRequireDefault(__nccwpck_require__(26387));
+var _MutualAuthenticationsResponseAllOf = _interopRequireDefault(__nccwpck_require__(71341));
+var _Pagination = _interopRequireDefault(__nccwpck_require__(89281));
+var _PaginationLinks = _interopRequireDefault(__nccwpck_require__(97779));
+var _PaginationMeta = _interopRequireDefault(__nccwpck_require__(93986));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The LoggingTlsCommon model module.
- * @module model/LoggingTlsCommon
- * @version 3.0.0-beta2
+ * The MutualAuthenticationsResponse model module.
+ * @module model/MutualAuthenticationsResponse
+ * @version v3.1.0
*/
-var LoggingTlsCommon = /*#__PURE__*/function () {
+var MutualAuthenticationsResponse = /*#__PURE__*/function () {
/**
- * Constructs a new LoggingTlsCommon
.
- * @alias module:model/LoggingTlsCommon
+ * Constructs a new MutualAuthenticationsResponse
.
+ * @alias module:model/MutualAuthenticationsResponse
+ * @implements module:model/Pagination
+ * @implements module:model/MutualAuthenticationsResponseAllOf
*/
- function LoggingTlsCommon() {
- _classCallCheck(this, LoggingTlsCommon);
-
- LoggingTlsCommon.initialize(this);
+ function MutualAuthenticationsResponse() {
+ _classCallCheck(this, MutualAuthenticationsResponse);
+ _Pagination["default"].initialize(this);
+ _MutualAuthenticationsResponseAllOf["default"].initialize(this);
+ MutualAuthenticationsResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(LoggingTlsCommon, null, [{
+ _createClass(MutualAuthenticationsResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a LoggingTlsCommon
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a MutualAuthenticationsResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/LoggingTlsCommon} obj Optional instance to populate.
- * @return {module:model/LoggingTlsCommon} The populated LoggingTlsCommon
instance.
+ * @param {module:model/MutualAuthenticationsResponse} obj Optional instance to populate.
+ * @return {module:model/MutualAuthenticationsResponse} The populated MutualAuthenticationsResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new LoggingTlsCommon();
-
- if (data.hasOwnProperty('tls_ca_cert')) {
- obj['tls_ca_cert'] = _ApiClient["default"].convertToType(data['tls_ca_cert'], 'String');
- }
-
- if (data.hasOwnProperty('tls_client_cert')) {
- obj['tls_client_cert'] = _ApiClient["default"].convertToType(data['tls_client_cert'], 'String');
+ obj = obj || new MutualAuthenticationsResponse();
+ _Pagination["default"].constructFromObject(data, obj);
+ _MutualAuthenticationsResponseAllOf["default"].constructFromObject(data, obj);
+ if (data.hasOwnProperty('links')) {
+ obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
}
-
- if (data.hasOwnProperty('tls_client_key')) {
- obj['tls_client_key'] = _ApiClient["default"].convertToType(data['tls_client_key'], 'String');
+ if (data.hasOwnProperty('meta')) {
+ obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
}
-
- if (data.hasOwnProperty('tls_hostname')) {
- obj['tls_hostname'] = _ApiClient["default"].convertToType(data['tls_hostname'], 'String');
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], [_MutualAuthenticationResponseData["default"]]);
}
}
-
return obj;
}
}]);
-
- return LoggingTlsCommon;
+ return MutualAuthenticationsResponse;
}();
/**
- * A secure certificate to authenticate a server with. Must be in PEM format.
- * @member {String} tls_ca_cert
- * @default 'null'
+ * @member {module:model/PaginationLinks} links
*/
+MutualAuthenticationsResponse.prototype['links'] = undefined;
-
-LoggingTlsCommon.prototype['tls_ca_cert'] = 'null';
/**
- * The client certificate used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_cert
- * @default 'null'
+ * @member {module:model/PaginationMeta} meta
*/
+MutualAuthenticationsResponse.prototype['meta'] = undefined;
-LoggingTlsCommon.prototype['tls_client_cert'] = 'null';
/**
- * The client private key used to make authenticated requests. Must be in PEM format.
- * @member {String} tls_client_key
- * @default 'null'
+ * @member {Array.MutualAuthenticationsResponseAllOf
.
+ * @alias module:model/MutualAuthenticationsResponseAllOf
+ */
+ function MutualAuthenticationsResponseAllOf() {
+ _classCallCheck(this, MutualAuthenticationsResponseAllOf);
+ MutualAuthenticationsResponseAllOf.initialize(this);
}
- _createClass(LoggingUseTls, null, [{
- key: "constructFromObject",
- value:
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(MutualAuthenticationsResponseAllOf, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
/**
- * Returns a LoggingUseTls
enum value from a Javascript object name.
- * @param {Object} data The plain JavaScript object containing the name of the enum value.
- * @return {module:model/LoggingUseTls} The enum LoggingUseTls
value.
- */
- function constructFromObject(object) {
- return object;
+ * Constructs a MutualAuthenticationsResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/MutualAuthenticationsResponseAllOf} obj Optional instance to populate.
+ * @return {module:model/MutualAuthenticationsResponseAllOf} The populated MutualAuthenticationsResponseAllOf
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new MutualAuthenticationsResponseAllOf();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], [_MutualAuthenticationResponseData["default"]]);
+ }
+ }
+ return obj;
}
}]);
-
- return LoggingUseTls;
+ return MutualAuthenticationsResponseAllOf;
}();
-
-exports["default"] = LoggingUseTls;
+/**
+ * @member {Array.Package
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -84070,29 +80661,23 @@ var Package = /*#__PURE__*/function () {
* @param {module:model/Package} obj Optional instance to populate.
* @return {module:model/Package} The populated Package
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Package();
-
if (data.hasOwnProperty('metadata')) {
obj['metadata'] = _PackageMetadata["default"].constructFromObject(data['metadata']);
}
}
-
return obj;
}
}]);
-
return Package;
}();
/**
* @member {module:model/PackageMetadata} metadata
*/
-
-
Package.prototype['metadata'] = undefined;
var _default = Package;
exports["default"] = _default;
@@ -84109,21 +80694,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The PackageMetadata model module.
* @module model/PackageMetadata
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var PackageMetadata = /*#__PURE__*/function () {
/**
@@ -84133,19 +80715,18 @@ var PackageMetadata = /*#__PURE__*/function () {
*/
function PackageMetadata() {
_classCallCheck(this, PackageMetadata);
-
PackageMetadata.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(PackageMetadata, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a PackageMetadata
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -84153,80 +80734,69 @@ var PackageMetadata = /*#__PURE__*/function () {
* @param {module:model/PackageMetadata} obj Optional instance to populate.
* @return {module:model/PackageMetadata} The populated PackageMetadata
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new PackageMetadata();
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('description')) {
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
}
-
if (data.hasOwnProperty('authors')) {
obj['authors'] = _ApiClient["default"].convertToType(data['authors'], ['String']);
}
-
if (data.hasOwnProperty('language')) {
obj['language'] = _ApiClient["default"].convertToType(data['language'], 'String');
}
-
if (data.hasOwnProperty('size')) {
obj['size'] = _ApiClient["default"].convertToType(data['size'], 'Number');
}
-
if (data.hasOwnProperty('hashsum')) {
obj['hashsum'] = _ApiClient["default"].convertToType(data['hashsum'], 'String');
}
}
-
return obj;
}
}]);
-
return PackageMetadata;
}();
/**
* Name of the Compute@Edge package.
* @member {String} name
*/
-
-
PackageMetadata.prototype['name'] = undefined;
+
/**
* Description of the Compute@Edge package.
* @member {String} description
*/
-
PackageMetadata.prototype['description'] = undefined;
+
/**
* A list of package authors' email addresses.
* @member {Array.PackageResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -84308,138 +80865,116 @@ var PackageResponse = /*#__PURE__*/function () {
* @param {module:model/PackageResponse} obj Optional instance to populate.
* @return {module:model/PackageResponse} The populated PackageResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new PackageResponse();
-
_Package["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_PackageResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('metadata')) {
obj['metadata'] = _PackageMetadata["default"].constructFromObject(data['metadata']);
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return PackageResponse;
}();
/**
* @member {module:model/PackageMetadata} metadata
*/
-
-
PackageResponse.prototype['metadata'] = undefined;
+
/**
* @member {String} service_id
*/
-
PackageResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
-
PackageResponse.prototype['version'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
PackageResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
PackageResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
PackageResponse.prototype['updated_at'] = undefined;
+
/**
* Alphanumeric string identifying the package.
* @member {String} id
*/
+PackageResponse.prototype['id'] = undefined;
-PackageResponse.prototype['id'] = undefined; // Implement Package interface:
-
+// Implement Package interface:
/**
* @member {module:model/PackageMetadata} metadata
*/
-
-_Package["default"].prototype['metadata'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Package["default"].prototype['metadata'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
-_ServiceIdAndVersion["default"].prototype['version'] = undefined; // Implement Timestamps interface:
-
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement PackageResponseAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement PackageResponseAllOf interface:
/**
* Alphanumeric string identifying the package.
* @member {String} id
*/
-
_PackageResponseAllOf["default"].prototype['id'] = undefined;
var _default = PackageResponse;
exports["default"] = _default;
@@ -84456,21 +80991,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The PackageResponseAllOf model module.
* @module model/PackageResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var PackageResponseAllOf = /*#__PURE__*/function () {
/**
@@ -84479,19 +81011,18 @@ var PackageResponseAllOf = /*#__PURE__*/function () {
*/
function PackageResponseAllOf() {
_classCallCheck(this, PackageResponseAllOf);
-
PackageResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(PackageResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a PackageResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -84499,30 +81030,24 @@ var PackageResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/PackageResponseAllOf} obj Optional instance to populate.
* @return {module:model/PackageResponseAllOf} The populated PackageResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new PackageResponseAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return PackageResponseAllOf;
}();
/**
* Alphanumeric string identifying the package.
* @member {String} id
*/
-
-
PackageResponseAllOf.prototype['id'] = undefined;
var _default = PackageResponseAllOf;
exports["default"] = _default;
@@ -84539,25 +81064,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _PaginationLinks = _interopRequireDefault(__nccwpck_require__(97779));
-
var _PaginationMeta = _interopRequireDefault(__nccwpck_require__(93986));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Pagination model module.
* @module model/Pagination
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Pagination = /*#__PURE__*/function () {
/**
@@ -84566,19 +81086,18 @@ var Pagination = /*#__PURE__*/function () {
*/
function Pagination() {
_classCallCheck(this, Pagination);
-
Pagination.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Pagination, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Pagination
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -84586,38 +81105,31 @@ var Pagination = /*#__PURE__*/function () {
* @param {module:model/Pagination} obj Optional instance to populate.
* @return {module:model/Pagination} The populated Pagination
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Pagination();
-
if (data.hasOwnProperty('links')) {
obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
}
}
-
return obj;
}
}]);
-
return Pagination;
}();
/**
* @member {module:model/PaginationLinks} links
*/
-
-
Pagination.prototype['links'] = undefined;
+
/**
* @member {module:model/PaginationMeta} meta
*/
-
Pagination.prototype['meta'] = undefined;
var _default = Pagination;
exports["default"] = _default;
@@ -84634,21 +81146,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The PaginationLinks model module.
* @module model/PaginationLinks
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var PaginationLinks = /*#__PURE__*/function () {
/**
@@ -84657,19 +81166,18 @@ var PaginationLinks = /*#__PURE__*/function () {
*/
function PaginationLinks() {
_classCallCheck(this, PaginationLinks);
-
PaginationLinks.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(PaginationLinks, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a PaginationLinks
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -84677,60 +81185,51 @@ var PaginationLinks = /*#__PURE__*/function () {
* @param {module:model/PaginationLinks} obj Optional instance to populate.
* @return {module:model/PaginationLinks} The populated PaginationLinks
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new PaginationLinks();
-
if (data.hasOwnProperty('first')) {
obj['first'] = _ApiClient["default"].convertToType(data['first'], 'String');
}
-
if (data.hasOwnProperty('last')) {
obj['last'] = _ApiClient["default"].convertToType(data['last'], 'String');
}
-
if (data.hasOwnProperty('prev')) {
obj['prev'] = _ApiClient["default"].convertToType(data['prev'], 'String');
}
-
if (data.hasOwnProperty('next')) {
obj['next'] = _ApiClient["default"].convertToType(data['next'], 'String');
}
}
-
return obj;
}
}]);
-
return PaginationLinks;
}();
/**
* The first page of data.
* @member {String} first
*/
-
-
PaginationLinks.prototype['first'] = undefined;
+
/**
* The last page of data.
* @member {String} last
*/
-
PaginationLinks.prototype['last'] = undefined;
+
/**
* The previous page of data.
* @member {String} prev
*/
-
PaginationLinks.prototype['prev'] = undefined;
+
/**
* The next page of data.
* @member {String} next
*/
-
PaginationLinks.prototype['next'] = undefined;
var _default = PaginationLinks;
exports["default"] = _default;
@@ -84747,21 +81246,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The PaginationMeta model module.
* @module model/PaginationMeta
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var PaginationMeta = /*#__PURE__*/function () {
/**
@@ -84770,19 +81266,18 @@ var PaginationMeta = /*#__PURE__*/function () {
*/
function PaginationMeta() {
_classCallCheck(this, PaginationMeta);
-
PaginationMeta.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(PaginationMeta, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a PaginationMeta
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -84790,61 +81285,52 @@ var PaginationMeta = /*#__PURE__*/function () {
* @param {module:model/PaginationMeta} obj Optional instance to populate.
* @return {module:model/PaginationMeta} The populated PaginationMeta
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new PaginationMeta();
-
if (data.hasOwnProperty('current_page')) {
obj['current_page'] = _ApiClient["default"].convertToType(data['current_page'], 'Number');
}
-
if (data.hasOwnProperty('per_page')) {
obj['per_page'] = _ApiClient["default"].convertToType(data['per_page'], 'Number');
}
-
if (data.hasOwnProperty('record_count')) {
obj['record_count'] = _ApiClient["default"].convertToType(data['record_count'], 'Number');
}
-
if (data.hasOwnProperty('total_pages')) {
obj['total_pages'] = _ApiClient["default"].convertToType(data['total_pages'], 'Number');
}
}
-
return obj;
}
}]);
-
return PaginationMeta;
}();
/**
* Current page.
* @member {Number} current_page
*/
-
-
PaginationMeta.prototype['current_page'] = undefined;
+
/**
* Number of records per page.
* @member {Number} per_page
* @default 20
*/
-
PaginationMeta.prototype['per_page'] = 20;
+
/**
* Total records in result set.
* @member {Number} record_count
*/
-
PaginationMeta.prototype['record_count'] = undefined;
+
/**
* Total pages in result set.
* @member {Number} total_pages
*/
-
PaginationMeta.prototype['total_pages'] = undefined;
var _default = PaginationMeta;
exports["default"] = _default;
@@ -84861,19 +81347,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class Permission.
* @enum {}
@@ -84882,16 +81364,11 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var Permission = /*#__PURE__*/function () {
function Permission() {
_classCallCheck(this, Permission);
-
_defineProperty(this, "full", "full");
-
_defineProperty(this, "read_only", "read_only");
-
_defineProperty(this, "purge_select", "purge_select");
-
_defineProperty(this, "purge_all", "purge_all");
}
-
_createClass(Permission, null, [{
key: "constructFromObject",
value:
@@ -84904,10 +81381,8 @@ var Permission = /*#__PURE__*/function () {
return object;
}
}]);
-
return Permission;
}();
-
exports["default"] = Permission;
/***/ }),
@@ -84922,25 +81397,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _PoolAllOf = _interopRequireDefault(__nccwpck_require__(80547));
-
var _TlsCommon = _interopRequireDefault(__nccwpck_require__(69894));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Pool model module.
* @module model/Pool
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Pool = /*#__PURE__*/function () {
/**
@@ -84951,23 +81421,20 @@ var Pool = /*#__PURE__*/function () {
*/
function Pool() {
_classCallCheck(this, Pool);
-
_TlsCommon["default"].initialize(this);
-
_PoolAllOf["default"].initialize(this);
-
Pool.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Pool, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Pool
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -84975,106 +81442,80 @@ var Pool = /*#__PURE__*/function () {
* @param {module:model/Pool} obj Optional instance to populate.
* @return {module:model/Pool} The populated Pool
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Pool();
-
_TlsCommon["default"].constructFromObject(data, obj);
-
_PoolAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = _ApiClient["default"].convertToType(data['tls_ca_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_cert')) {
obj['tls_client_cert'] = _ApiClient["default"].convertToType(data['tls_client_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_key')) {
obj['tls_client_key'] = _ApiClient["default"].convertToType(data['tls_client_key'], 'String');
}
-
if (data.hasOwnProperty('tls_cert_hostname')) {
obj['tls_cert_hostname'] = _ApiClient["default"].convertToType(data['tls_cert_hostname'], 'String');
}
-
if (data.hasOwnProperty('use_tls')) {
obj['use_tls'] = _ApiClient["default"].convertToType(data['use_tls'], 'Number');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('shield')) {
obj['shield'] = _ApiClient["default"].convertToType(data['shield'], 'String');
}
-
if (data.hasOwnProperty('request_condition')) {
obj['request_condition'] = _ApiClient["default"].convertToType(data['request_condition'], 'String');
}
-
if (data.hasOwnProperty('max_conn_default')) {
obj['max_conn_default'] = _ApiClient["default"].convertToType(data['max_conn_default'], 'Number');
}
-
if (data.hasOwnProperty('connect_timeout')) {
obj['connect_timeout'] = _ApiClient["default"].convertToType(data['connect_timeout'], 'Number');
}
-
if (data.hasOwnProperty('first_byte_timeout')) {
obj['first_byte_timeout'] = _ApiClient["default"].convertToType(data['first_byte_timeout'], 'Number');
}
-
if (data.hasOwnProperty('quorum')) {
obj['quorum'] = _ApiClient["default"].convertToType(data['quorum'], 'Number');
}
-
if (data.hasOwnProperty('tls_ciphers')) {
obj['tls_ciphers'] = _ApiClient["default"].convertToType(data['tls_ciphers'], 'String');
}
-
if (data.hasOwnProperty('tls_sni_hostname')) {
obj['tls_sni_hostname'] = _ApiClient["default"].convertToType(data['tls_sni_hostname'], 'String');
}
-
if (data.hasOwnProperty('tls_check_cert')) {
obj['tls_check_cert'] = _ApiClient["default"].convertToType(data['tls_check_cert'], 'Number');
}
-
if (data.hasOwnProperty('min_tls_version')) {
obj['min_tls_version'] = _ApiClient["default"].convertToType(data['min_tls_version'], 'Number');
}
-
if (data.hasOwnProperty('max_tls_version')) {
obj['max_tls_version'] = _ApiClient["default"].convertToType(data['max_tls_version'], 'Number');
}
-
if (data.hasOwnProperty('healthcheck')) {
obj['healthcheck'] = _ApiClient["default"].convertToType(data['healthcheck'], 'String');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
}
-
if (data.hasOwnProperty('override_host')) {
obj['override_host'] = _ApiClient["default"].convertToType(data['override_host'], 'String');
}
}
-
return obj;
}
}]);
-
return Pool;
}();
/**
@@ -85082,312 +81523,287 @@ var Pool = /*#__PURE__*/function () {
* @member {String} tls_ca_cert
* @default 'null'
*/
-
-
Pool.prototype['tls_ca_cert'] = 'null';
+
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
Pool.prototype['tls_client_cert'] = 'null';
+
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
Pool.prototype['tls_client_key'] = 'null';
+
/**
* The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN).
* @member {String} tls_cert_hostname
* @default 'null'
*/
-
Pool.prototype['tls_cert_hostname'] = 'null';
+
/**
* Whether to use TLS.
* @member {module:model/Pool.UseTlsEnum} use_tls
* @default UseTlsEnum.no_tls
*/
-
Pool.prototype['use_tls'] = undefined;
+
/**
* Name for the Pool.
* @member {String} name
*/
-
Pool.prototype['name'] = undefined;
+
/**
* Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding.
* @member {String} shield
* @default 'null'
*/
-
Pool.prototype['shield'] = 'null';
+
/**
* Condition which, if met, will select this configuration during a request. Optional.
* @member {String} request_condition
*/
-
Pool.prototype['request_condition'] = undefined;
+
/**
* Maximum number of connections. Optional.
* @member {Number} max_conn_default
* @default 200
*/
-
Pool.prototype['max_conn_default'] = 200;
+
/**
* How long to wait for a timeout in milliseconds. Optional.
* @member {Number} connect_timeout
*/
-
Pool.prototype['connect_timeout'] = undefined;
+
/**
* How long to wait for the first byte in milliseconds. Optional.
* @member {Number} first_byte_timeout
*/
-
Pool.prototype['first_byte_timeout'] = undefined;
+
/**
* Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up.
* @member {Number} quorum
* @default 75
*/
-
Pool.prototype['quorum'] = 75;
+
/**
* List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
* @member {String} tls_ciphers
*/
-
Pool.prototype['tls_ciphers'] = undefined;
+
/**
* SNI hostname. Optional.
* @member {String} tls_sni_hostname
*/
-
Pool.prototype['tls_sni_hostname'] = undefined;
+
/**
* Be strict on checking TLS certs. Optional.
* @member {Number} tls_check_cert
*/
-
Pool.prototype['tls_check_cert'] = undefined;
+
/**
* Minimum allowed TLS version on connections to this server. Optional.
* @member {Number} min_tls_version
*/
-
Pool.prototype['min_tls_version'] = undefined;
+
/**
* Maximum allowed TLS version on connections to this server. Optional.
* @member {Number} max_tls_version
*/
-
Pool.prototype['max_tls_version'] = undefined;
+
/**
* Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
* @member {String} healthcheck
*/
-
Pool.prototype['healthcheck'] = undefined;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
Pool.prototype['comment'] = undefined;
+
/**
* What type of load balance group to use.
* @member {module:model/Pool.TypeEnum} type
*/
-
Pool.prototype['type'] = undefined;
+
/**
* The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting.
* @member {String} override_host
* @default 'null'
*/
+Pool.prototype['override_host'] = 'null';
-Pool.prototype['override_host'] = 'null'; // Implement TlsCommon interface:
-
+// Implement TlsCommon interface:
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
_TlsCommon["default"].prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
_TlsCommon["default"].prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
_TlsCommon["default"].prototype['tls_client_key'] = 'null';
/**
* The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN).
* @member {String} tls_cert_hostname
* @default 'null'
*/
-
_TlsCommon["default"].prototype['tls_cert_hostname'] = 'null';
/**
* Whether to use TLS.
* @member {module:model/TlsCommon.UseTlsEnum} use_tls
* @default UseTlsEnum.no_tls
*/
-
-_TlsCommon["default"].prototype['use_tls'] = undefined; // Implement PoolAllOf interface:
-
+_TlsCommon["default"].prototype['use_tls'] = undefined;
+// Implement PoolAllOf interface:
/**
* Name for the Pool.
* @member {String} name
*/
-
_PoolAllOf["default"].prototype['name'] = undefined;
/**
* Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding.
* @member {String} shield
* @default 'null'
*/
-
_PoolAllOf["default"].prototype['shield'] = 'null';
/**
* Condition which, if met, will select this configuration during a request. Optional.
* @member {String} request_condition
*/
-
_PoolAllOf["default"].prototype['request_condition'] = undefined;
/**
* Maximum number of connections. Optional.
* @member {Number} max_conn_default
* @default 200
*/
-
_PoolAllOf["default"].prototype['max_conn_default'] = 200;
/**
* How long to wait for a timeout in milliseconds. Optional.
* @member {Number} connect_timeout
*/
-
_PoolAllOf["default"].prototype['connect_timeout'] = undefined;
/**
* How long to wait for the first byte in milliseconds. Optional.
* @member {Number} first_byte_timeout
*/
-
_PoolAllOf["default"].prototype['first_byte_timeout'] = undefined;
/**
* Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up.
* @member {Number} quorum
* @default 75
*/
-
_PoolAllOf["default"].prototype['quorum'] = 75;
/**
* List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
* @member {String} tls_ciphers
*/
-
_PoolAllOf["default"].prototype['tls_ciphers'] = undefined;
/**
* SNI hostname. Optional.
* @member {String} tls_sni_hostname
*/
-
_PoolAllOf["default"].prototype['tls_sni_hostname'] = undefined;
/**
* Be strict on checking TLS certs. Optional.
* @member {Number} tls_check_cert
*/
-
_PoolAllOf["default"].prototype['tls_check_cert'] = undefined;
/**
* Minimum allowed TLS version on connections to this server. Optional.
* @member {Number} min_tls_version
*/
-
_PoolAllOf["default"].prototype['min_tls_version'] = undefined;
/**
* Maximum allowed TLS version on connections to this server. Optional.
* @member {Number} max_tls_version
*/
-
_PoolAllOf["default"].prototype['max_tls_version'] = undefined;
/**
* Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
* @member {String} healthcheck
*/
-
_PoolAllOf["default"].prototype['healthcheck'] = undefined;
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
_PoolAllOf["default"].prototype['comment'] = undefined;
/**
* What type of load balance group to use.
* @member {module:model/PoolAllOf.TypeEnum} type
*/
-
_PoolAllOf["default"].prototype['type'] = undefined;
/**
* The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting.
* @member {String} override_host
* @default 'null'
*/
-
_PoolAllOf["default"].prototype['override_host'] = 'null';
+
/**
* Allowed values for the use_tls
property.
* @enum {Number}
* @readonly
*/
-
Pool['UseTlsEnum'] = {
/**
* value: 0
* @const
*/
"no_tls": 0,
-
/**
* value: 1
* @const
*/
"use_tls": 1
};
+
/**
* Allowed values for the type
property.
* @enum {String}
* @readonly
*/
-
Pool['TypeEnum'] = {
/**
* value: "random"
* @const
*/
"random": "random",
-
/**
* value: "hash"
* @const
*/
"hash": "hash",
-
/**
* value: "client"
* @const
@@ -85409,21 +81825,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The PoolAllOf model module.
* @module model/PoolAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var PoolAllOf = /*#__PURE__*/function () {
/**
@@ -85432,19 +81845,18 @@ var PoolAllOf = /*#__PURE__*/function () {
*/
function PoolAllOf() {
_classCallCheck(this, PoolAllOf);
-
PoolAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(PoolAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a PoolAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -85452,204 +81864,181 @@ var PoolAllOf = /*#__PURE__*/function () {
* @param {module:model/PoolAllOf} obj Optional instance to populate.
* @return {module:model/PoolAllOf} The populated PoolAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new PoolAllOf();
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('shield')) {
obj['shield'] = _ApiClient["default"].convertToType(data['shield'], 'String');
}
-
if (data.hasOwnProperty('request_condition')) {
obj['request_condition'] = _ApiClient["default"].convertToType(data['request_condition'], 'String');
}
-
if (data.hasOwnProperty('max_conn_default')) {
obj['max_conn_default'] = _ApiClient["default"].convertToType(data['max_conn_default'], 'Number');
}
-
if (data.hasOwnProperty('connect_timeout')) {
obj['connect_timeout'] = _ApiClient["default"].convertToType(data['connect_timeout'], 'Number');
}
-
if (data.hasOwnProperty('first_byte_timeout')) {
obj['first_byte_timeout'] = _ApiClient["default"].convertToType(data['first_byte_timeout'], 'Number');
}
-
if (data.hasOwnProperty('quorum')) {
obj['quorum'] = _ApiClient["default"].convertToType(data['quorum'], 'Number');
}
-
if (data.hasOwnProperty('tls_ciphers')) {
obj['tls_ciphers'] = _ApiClient["default"].convertToType(data['tls_ciphers'], 'String');
}
-
if (data.hasOwnProperty('tls_sni_hostname')) {
obj['tls_sni_hostname'] = _ApiClient["default"].convertToType(data['tls_sni_hostname'], 'String');
}
-
if (data.hasOwnProperty('tls_check_cert')) {
obj['tls_check_cert'] = _ApiClient["default"].convertToType(data['tls_check_cert'], 'Number');
}
-
if (data.hasOwnProperty('min_tls_version')) {
obj['min_tls_version'] = _ApiClient["default"].convertToType(data['min_tls_version'], 'Number');
}
-
if (data.hasOwnProperty('max_tls_version')) {
obj['max_tls_version'] = _ApiClient["default"].convertToType(data['max_tls_version'], 'Number');
}
-
if (data.hasOwnProperty('healthcheck')) {
obj['healthcheck'] = _ApiClient["default"].convertToType(data['healthcheck'], 'String');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
}
-
if (data.hasOwnProperty('override_host')) {
obj['override_host'] = _ApiClient["default"].convertToType(data['override_host'], 'String');
}
}
-
return obj;
}
}]);
-
return PoolAllOf;
}();
/**
* Name for the Pool.
* @member {String} name
*/
-
-
PoolAllOf.prototype['name'] = undefined;
+
/**
* Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding.
* @member {String} shield
* @default 'null'
*/
-
PoolAllOf.prototype['shield'] = 'null';
+
/**
* Condition which, if met, will select this configuration during a request. Optional.
* @member {String} request_condition
*/
-
PoolAllOf.prototype['request_condition'] = undefined;
+
/**
* Maximum number of connections. Optional.
* @member {Number} max_conn_default
* @default 200
*/
-
PoolAllOf.prototype['max_conn_default'] = 200;
+
/**
* How long to wait for a timeout in milliseconds. Optional.
* @member {Number} connect_timeout
*/
-
PoolAllOf.prototype['connect_timeout'] = undefined;
+
/**
* How long to wait for the first byte in milliseconds. Optional.
* @member {Number} first_byte_timeout
*/
-
PoolAllOf.prototype['first_byte_timeout'] = undefined;
+
/**
* Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up.
* @member {Number} quorum
* @default 75
*/
-
PoolAllOf.prototype['quorum'] = 75;
+
/**
* List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
* @member {String} tls_ciphers
*/
-
PoolAllOf.prototype['tls_ciphers'] = undefined;
+
/**
* SNI hostname. Optional.
* @member {String} tls_sni_hostname
*/
-
PoolAllOf.prototype['tls_sni_hostname'] = undefined;
+
/**
* Be strict on checking TLS certs. Optional.
* @member {Number} tls_check_cert
*/
-
PoolAllOf.prototype['tls_check_cert'] = undefined;
+
/**
* Minimum allowed TLS version on connections to this server. Optional.
* @member {Number} min_tls_version
*/
-
PoolAllOf.prototype['min_tls_version'] = undefined;
+
/**
* Maximum allowed TLS version on connections to this server. Optional.
* @member {Number} max_tls_version
*/
-
PoolAllOf.prototype['max_tls_version'] = undefined;
+
/**
* Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
* @member {String} healthcheck
*/
-
PoolAllOf.prototype['healthcheck'] = undefined;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
PoolAllOf.prototype['comment'] = undefined;
+
/**
* What type of load balance group to use.
* @member {module:model/PoolAllOf.TypeEnum} type
*/
-
PoolAllOf.prototype['type'] = undefined;
+
/**
* The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting.
* @member {String} override_host
* @default 'null'
*/
-
PoolAllOf.prototype['override_host'] = 'null';
+
/**
* Allowed values for the type
property.
* @enum {String}
* @readonly
*/
-
PoolAllOf['TypeEnum'] = {
/**
* value: "random"
* @const
*/
"random": "random",
-
/**
* value: "hash"
* @const
*/
"hash": "hash",
-
/**
* value: "client"
* @const
@@ -85671,29 +82060,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Pool = _interopRequireDefault(__nccwpck_require__(85080));
-
var _PoolResponseAllOf = _interopRequireDefault(__nccwpck_require__(56646));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The PoolResponse model module.
* @module model/PoolResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var PoolResponse = /*#__PURE__*/function () {
/**
@@ -85706,27 +82088,22 @@ var PoolResponse = /*#__PURE__*/function () {
*/
function PoolResponse() {
_classCallCheck(this, PoolResponse);
-
_Pool["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
_PoolResponseAllOf["default"].initialize(this);
-
PoolResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(PoolResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a PoolResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -85734,134 +82111,100 @@ var PoolResponse = /*#__PURE__*/function () {
* @param {module:model/PoolResponse} obj Optional instance to populate.
* @return {module:model/PoolResponse} The populated PoolResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new PoolResponse();
-
_Pool["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_PoolResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = _ApiClient["default"].convertToType(data['tls_ca_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_cert')) {
obj['tls_client_cert'] = _ApiClient["default"].convertToType(data['tls_client_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_key')) {
obj['tls_client_key'] = _ApiClient["default"].convertToType(data['tls_client_key'], 'String');
}
-
if (data.hasOwnProperty('tls_cert_hostname')) {
obj['tls_cert_hostname'] = _ApiClient["default"].convertToType(data['tls_cert_hostname'], 'String');
}
-
if (data.hasOwnProperty('use_tls')) {
obj['use_tls'] = _ApiClient["default"].convertToType(data['use_tls'], 'Number');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('shield')) {
obj['shield'] = _ApiClient["default"].convertToType(data['shield'], 'String');
}
-
if (data.hasOwnProperty('request_condition')) {
obj['request_condition'] = _ApiClient["default"].convertToType(data['request_condition'], 'String');
}
-
if (data.hasOwnProperty('max_conn_default')) {
obj['max_conn_default'] = _ApiClient["default"].convertToType(data['max_conn_default'], 'Number');
}
-
if (data.hasOwnProperty('connect_timeout')) {
obj['connect_timeout'] = _ApiClient["default"].convertToType(data['connect_timeout'], 'Number');
}
-
if (data.hasOwnProperty('first_byte_timeout')) {
obj['first_byte_timeout'] = _ApiClient["default"].convertToType(data['first_byte_timeout'], 'Number');
}
-
if (data.hasOwnProperty('quorum')) {
obj['quorum'] = _ApiClient["default"].convertToType(data['quorum'], 'Number');
}
-
if (data.hasOwnProperty('tls_ciphers')) {
obj['tls_ciphers'] = _ApiClient["default"].convertToType(data['tls_ciphers'], 'String');
}
-
if (data.hasOwnProperty('tls_sni_hostname')) {
obj['tls_sni_hostname'] = _ApiClient["default"].convertToType(data['tls_sni_hostname'], 'String');
}
-
if (data.hasOwnProperty('tls_check_cert')) {
obj['tls_check_cert'] = _ApiClient["default"].convertToType(data['tls_check_cert'], 'Number');
}
-
if (data.hasOwnProperty('min_tls_version')) {
obj['min_tls_version'] = _ApiClient["default"].convertToType(data['min_tls_version'], 'Number');
}
-
if (data.hasOwnProperty('max_tls_version')) {
obj['max_tls_version'] = _ApiClient["default"].convertToType(data['max_tls_version'], 'Number');
}
-
if (data.hasOwnProperty('healthcheck')) {
obj['healthcheck'] = _ApiClient["default"].convertToType(data['healthcheck'], 'String');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
}
-
if (data.hasOwnProperty('override_host')) {
obj['override_host'] = _ApiClient["default"].convertToType(data['override_host'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return PoolResponse;
}();
/**
@@ -85869,380 +82212,349 @@ var PoolResponse = /*#__PURE__*/function () {
* @member {String} tls_ca_cert
* @default 'null'
*/
-
-
PoolResponse.prototype['tls_ca_cert'] = 'null';
+
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
PoolResponse.prototype['tls_client_cert'] = 'null';
+
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
PoolResponse.prototype['tls_client_key'] = 'null';
+
/**
* The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN).
* @member {String} tls_cert_hostname
* @default 'null'
*/
-
PoolResponse.prototype['tls_cert_hostname'] = 'null';
+
/**
* Whether to use TLS.
* @member {module:model/PoolResponse.UseTlsEnum} use_tls
* @default UseTlsEnum.no_tls
*/
-
PoolResponse.prototype['use_tls'] = undefined;
+
/**
* Name for the Pool.
* @member {String} name
*/
-
PoolResponse.prototype['name'] = undefined;
+
/**
* Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding.
* @member {String} shield
* @default 'null'
*/
-
PoolResponse.prototype['shield'] = 'null';
+
/**
* Condition which, if met, will select this configuration during a request. Optional.
* @member {String} request_condition
*/
-
PoolResponse.prototype['request_condition'] = undefined;
+
/**
* Maximum number of connections. Optional.
* @member {Number} max_conn_default
* @default 200
*/
-
PoolResponse.prototype['max_conn_default'] = 200;
+
/**
* How long to wait for a timeout in milliseconds. Optional.
* @member {Number} connect_timeout
*/
-
PoolResponse.prototype['connect_timeout'] = undefined;
+
/**
* How long to wait for the first byte in milliseconds. Optional.
* @member {Number} first_byte_timeout
*/
-
PoolResponse.prototype['first_byte_timeout'] = undefined;
+
/**
* Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up.
* @member {Number} quorum
* @default 75
*/
-
PoolResponse.prototype['quorum'] = 75;
+
/**
* List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
* @member {String} tls_ciphers
*/
-
PoolResponse.prototype['tls_ciphers'] = undefined;
+
/**
* SNI hostname. Optional.
* @member {String} tls_sni_hostname
*/
-
PoolResponse.prototype['tls_sni_hostname'] = undefined;
+
/**
* Be strict on checking TLS certs. Optional.
* @member {Number} tls_check_cert
*/
-
PoolResponse.prototype['tls_check_cert'] = undefined;
+
/**
* Minimum allowed TLS version on connections to this server. Optional.
* @member {Number} min_tls_version
*/
-
PoolResponse.prototype['min_tls_version'] = undefined;
+
/**
* Maximum allowed TLS version on connections to this server. Optional.
* @member {Number} max_tls_version
*/
-
PoolResponse.prototype['max_tls_version'] = undefined;
+
/**
* Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
* @member {String} healthcheck
*/
-
PoolResponse.prototype['healthcheck'] = undefined;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
PoolResponse.prototype['comment'] = undefined;
+
/**
* What type of load balance group to use.
* @member {module:model/PoolResponse.TypeEnum} type
*/
-
PoolResponse.prototype['type'] = undefined;
+
/**
* The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting.
* @member {String} override_host
* @default 'null'
*/
-
PoolResponse.prototype['override_host'] = 'null';
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
PoolResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
PoolResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
PoolResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
PoolResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
-
PoolResponse.prototype['version'] = undefined;
+
/**
* @member {String} id
*/
+PoolResponse.prototype['id'] = undefined;
-PoolResponse.prototype['id'] = undefined; // Implement Pool interface:
-
+// Implement Pool interface:
/**
* A secure certificate to authenticate a server with. Must be in PEM format.
* @member {String} tls_ca_cert
* @default 'null'
*/
-
_Pool["default"].prototype['tls_ca_cert'] = 'null';
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
_Pool["default"].prototype['tls_client_cert'] = 'null';
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
_Pool["default"].prototype['tls_client_key'] = 'null';
/**
* The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN).
* @member {String} tls_cert_hostname
* @default 'null'
*/
-
_Pool["default"].prototype['tls_cert_hostname'] = 'null';
/**
* Whether to use TLS.
* @member {module:model/Pool.UseTlsEnum} use_tls
* @default UseTlsEnum.no_tls
*/
-
_Pool["default"].prototype['use_tls'] = undefined;
/**
* Name for the Pool.
* @member {String} name
*/
-
_Pool["default"].prototype['name'] = undefined;
/**
* Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding.
* @member {String} shield
* @default 'null'
*/
-
_Pool["default"].prototype['shield'] = 'null';
/**
* Condition which, if met, will select this configuration during a request. Optional.
* @member {String} request_condition
*/
-
_Pool["default"].prototype['request_condition'] = undefined;
/**
* Maximum number of connections. Optional.
* @member {Number} max_conn_default
* @default 200
*/
-
_Pool["default"].prototype['max_conn_default'] = 200;
/**
* How long to wait for a timeout in milliseconds. Optional.
* @member {Number} connect_timeout
*/
-
_Pool["default"].prototype['connect_timeout'] = undefined;
/**
* How long to wait for the first byte in milliseconds. Optional.
* @member {Number} first_byte_timeout
*/
-
_Pool["default"].prototype['first_byte_timeout'] = undefined;
/**
* Percentage of capacity (`0-100`) that needs to be operationally available for a pool to be considered up.
* @member {Number} quorum
* @default 75
*/
-
_Pool["default"].prototype['quorum'] = 75;
/**
* List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
* @member {String} tls_ciphers
*/
-
_Pool["default"].prototype['tls_ciphers'] = undefined;
/**
* SNI hostname. Optional.
* @member {String} tls_sni_hostname
*/
-
_Pool["default"].prototype['tls_sni_hostname'] = undefined;
/**
* Be strict on checking TLS certs. Optional.
* @member {Number} tls_check_cert
*/
-
_Pool["default"].prototype['tls_check_cert'] = undefined;
/**
* Minimum allowed TLS version on connections to this server. Optional.
* @member {Number} min_tls_version
*/
-
_Pool["default"].prototype['min_tls_version'] = undefined;
/**
* Maximum allowed TLS version on connections to this server. Optional.
* @member {Number} max_tls_version
*/
-
_Pool["default"].prototype['max_tls_version'] = undefined;
/**
* Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
* @member {String} healthcheck
*/
-
_Pool["default"].prototype['healthcheck'] = undefined;
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
_Pool["default"].prototype['comment'] = undefined;
/**
* What type of load balance group to use.
* @member {module:model/Pool.TypeEnum} type
*/
-
_Pool["default"].prototype['type'] = undefined;
/**
* The hostname to [override the Host header](https://docs.fastly.com/en/guides/specifying-an-override-host). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting.
* @member {String} override_host
* @default 'null'
*/
-
-_Pool["default"].prototype['override_host'] = 'null'; // Implement Timestamps interface:
-
+_Pool["default"].prototype['override_host'] = 'null';
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
-_ServiceIdAndVersion["default"].prototype['version'] = undefined; // Implement PoolResponseAllOf interface:
-
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+// Implement PoolResponseAllOf interface:
/**
* @member {String} id
*/
-
_PoolResponseAllOf["default"].prototype['id'] = undefined;
+
/**
* Allowed values for the use_tls
property.
* @enum {Number}
* @readonly
*/
-
PoolResponse['UseTlsEnum'] = {
/**
* value: 0
* @const
*/
"no_tls": 0,
-
/**
* value: 1
* @const
*/
"use_tls": 1
};
+
/**
* Allowed values for the type
property.
* @enum {String}
* @readonly
*/
-
PoolResponse['TypeEnum'] = {
/**
* value: "random"
* @const
*/
"random": "random",
-
/**
* value: "hash"
* @const
*/
"hash": "hash",
-
/**
* value: "client"
* @const
@@ -86264,21 +82576,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The PoolResponseAllOf model module.
* @module model/PoolResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var PoolResponseAllOf = /*#__PURE__*/function () {
/**
@@ -86287,19 +82596,18 @@ var PoolResponseAllOf = /*#__PURE__*/function () {
*/
function PoolResponseAllOf() {
_classCallCheck(this, PoolResponseAllOf);
-
PoolResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(PoolResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a PoolResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -86307,29 +82615,23 @@ var PoolResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/PoolResponseAllOf} obj Optional instance to populate.
* @return {module:model/PoolResponseAllOf} The populated PoolResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new PoolResponseAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return PoolResponseAllOf;
}();
/**
* @member {String} id
*/
-
-
PoolResponseAllOf.prototype['id'] = undefined;
var _default = PoolResponseAllOf;
exports["default"] = _default;
@@ -86346,23 +82648,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _PopCoordinates = _interopRequireDefault(__nccwpck_require__(52283));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Pop model module.
* @module model/Pop
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Pop = /*#__PURE__*/function () {
/**
@@ -86371,19 +82669,18 @@ var Pop = /*#__PURE__*/function () {
*/
function Pop() {
_classCallCheck(this, Pop);
-
Pop.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Pop, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Pop
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -86391,65 +82688,55 @@ var Pop = /*#__PURE__*/function () {
* @param {module:model/Pop} obj Optional instance to populate.
* @return {module:model/Pop} The populated Pop
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Pop();
-
if (data.hasOwnProperty('code')) {
obj['code'] = _ApiClient["default"].convertToType(data['code'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('group')) {
obj['group'] = _ApiClient["default"].convertToType(data['group'], 'String');
}
-
if (data.hasOwnProperty('coordinates')) {
obj['coordinates'] = _PopCoordinates["default"].constructFromObject(data['coordinates']);
}
-
if (data.hasOwnProperty('shield')) {
obj['shield'] = _ApiClient["default"].convertToType(data['shield'], 'String');
}
}
-
return obj;
}
}]);
-
return Pop;
}();
/**
* @member {String} code
*/
-
-
Pop.prototype['code'] = undefined;
+
/**
* @member {String} name
*/
-
Pop.prototype['name'] = undefined;
+
/**
* @member {String} group
*/
-
Pop.prototype['group'] = undefined;
+
/**
* @member {module:model/PopCoordinates} coordinates
*/
-
Pop.prototype['coordinates'] = undefined;
+
/**
* @member {String} shield
*/
-
Pop.prototype['shield'] = undefined;
var _default = Pop;
exports["default"] = _default;
@@ -86466,21 +82753,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The PopCoordinates model module.
* @module model/PopCoordinates
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var PopCoordinates = /*#__PURE__*/function () {
/**
@@ -86489,19 +82773,18 @@ var PopCoordinates = /*#__PURE__*/function () {
*/
function PopCoordinates() {
_classCallCheck(this, PopCoordinates);
-
PopCoordinates.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(PopCoordinates, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a PopCoordinates
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -86509,56 +82792,47 @@ var PopCoordinates = /*#__PURE__*/function () {
* @param {module:model/PopCoordinates} obj Optional instance to populate.
* @return {module:model/PopCoordinates} The populated PopCoordinates
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new PopCoordinates();
-
if (data.hasOwnProperty('x')) {
obj['x'] = _ApiClient["default"].convertToType(data['x'], 'Number');
}
-
if (data.hasOwnProperty('y')) {
obj['y'] = _ApiClient["default"].convertToType(data['y'], 'Number');
}
-
if (data.hasOwnProperty('latitude')) {
obj['latitude'] = _ApiClient["default"].convertToType(data['latitude'], 'Number');
}
-
if (data.hasOwnProperty('longitude')) {
obj['longitude'] = _ApiClient["default"].convertToType(data['longitude'], 'Number');
}
}
-
return obj;
}
}]);
-
return PopCoordinates;
}();
/**
* @member {Number} x
*/
-
-
PopCoordinates.prototype['x'] = undefined;
+
/**
* @member {Number} y
*/
-
PopCoordinates.prototype['y'] = undefined;
+
/**
* @member {Number} latitude
*/
-
PopCoordinates.prototype['latitude'] = undefined;
+
/**
* @member {Number} longitude
*/
-
PopCoordinates.prototype['longitude'] = undefined;
var _default = PopCoordinates;
exports["default"] = _default;
@@ -86575,21 +82849,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The PublicIpList model module.
* @module model/PublicIpList
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var PublicIpList = /*#__PURE__*/function () {
/**
@@ -86598,19 +82869,18 @@ var PublicIpList = /*#__PURE__*/function () {
*/
function PublicIpList() {
_classCallCheck(this, PublicIpList);
-
PublicIpList.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(PublicIpList, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a PublicIpList
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -86618,47 +82888,40 @@ var PublicIpList = /*#__PURE__*/function () {
* @param {module:model/PublicIpList} obj Optional instance to populate.
* @return {module:model/PublicIpList} The populated PublicIpList
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new PublicIpList();
-
if (data.hasOwnProperty('addresses')) {
obj['addresses'] = _ApiClient["default"].convertToType(data['addresses'], ['String']);
}
-
if (data.hasOwnProperty('ipv6_addresses')) {
obj['ipv6_addresses'] = _ApiClient["default"].convertToType(data['ipv6_addresses'], ['String']);
}
}
-
return obj;
}
}]);
-
return PublicIpList;
}();
/**
* Fastly's IPv4 ranges.
* @member {Array.PublishItem
.
+ * An individual message.
+ * @alias module:model/PublishItem
+ * @param channel {String} The channel to publish the message on.
+ * @param formats {module:model/PublishItemFormats}
+ */
+ function PublishItem(channel, formats) {
+ _classCallCheck(this, PublishItem);
+ PublishItem.initialize(this, channel, formats);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(PublishItem, null, [{
+ key: "initialize",
+ value: function initialize(obj, channel, formats) {
+ obj['channel'] = channel;
+ obj['formats'] = formats;
+ }
+
+ /**
+ * Constructs a PublishItem
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/PublishItem} obj Optional instance to populate.
+ * @return {module:model/PublishItem} The populated PublishItem
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new PublishItem();
+ if (data.hasOwnProperty('channel')) {
+ obj['channel'] = _ApiClient["default"].convertToType(data['channel'], 'String');
+ }
+ if (data.hasOwnProperty('formats')) {
+ obj['formats'] = _PublishItemFormats["default"].constructFromObject(data['formats']);
+ }
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('prev-id')) {
+ obj['prev-id'] = _ApiClient["default"].convertToType(data['prev-id'], 'String');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return PublishItem;
+}();
+/**
+ * The channel to publish the message on.
+ * @member {String} channel
+ */
+PublishItem.prototype['channel'] = undefined;
+/**
+ * @member {module:model/PublishItemFormats} formats
+ */
+PublishItem.prototype['formats'] = undefined;
+
+/**
+ * The ID of the message.
+ * @member {String} id
+ */
+PublishItem.prototype['id'] = undefined;
+
+/**
+ * The ID of the previous message published on the same channel.
+ * @member {String} prev-id
+ */
+PublishItem.prototype['prev-id'] = undefined;
+var _default = PublishItem;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 1448:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _HttpResponseFormat = _interopRequireDefault(__nccwpck_require__(82571));
+var _HttpStreamFormat = _interopRequireDefault(__nccwpck_require__(32796));
+var _WsMessageFormat = _interopRequireDefault(__nccwpck_require__(51374));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The PublishItemFormats model module.
+ * @module model/PublishItemFormats
+ * @version v3.1.0
+ */
+var PublishItemFormats = /*#__PURE__*/function () {
+ /**
+ * Constructs a new PublishItemFormats
.
+ * Transport-specific message payload representations to be used for delivery. At least one format (`http-response`, `http-stream`, and/or `ws-message`) must be specified. Messages are only delivered to subscribers interested in the provided formats. For example, the `ws-message` format will only be sent to WebSocket clients.
+ * @alias module:model/PublishItemFormats
+ */
+ function PublishItemFormats() {
+ _classCallCheck(this, PublishItemFormats);
+ PublishItemFormats.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(PublishItemFormats, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a PublishItemFormats
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/PublishItemFormats} obj Optional instance to populate.
+ * @return {module:model/PublishItemFormats} The populated PublishItemFormats
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new PublishItemFormats();
+ if (data.hasOwnProperty('http-response')) {
+ obj['http-response'] = _HttpResponseFormat["default"].constructFromObject(data['http-response']);
+ }
+ if (data.hasOwnProperty('http-stream')) {
+ obj['http-stream'] = _HttpStreamFormat["default"].constructFromObject(data['http-stream']);
+ }
+ if (data.hasOwnProperty('ws-message')) {
+ obj['ws-message'] = _WsMessageFormat["default"].constructFromObject(data['ws-message']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return PublishItemFormats;
+}();
+/**
+ * @member {module:model/HttpResponseFormat} http-response
+ */
+PublishItemFormats.prototype['http-response'] = undefined;
+
+/**
+ * @member {module:model/HttpStreamFormat} http-stream
+ */
+PublishItemFormats.prototype['http-stream'] = undefined;
+/**
+ * @member {module:model/WsMessageFormat} ws-message
+ */
+PublishItemFormats.prototype['ws-message'] = undefined;
+var _default = PublishItemFormats;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 35461:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _PublishItem = _interopRequireDefault(__nccwpck_require__(23109));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The PublishRequest model module.
+ * @module model/PublishRequest
+ * @version v3.1.0
+ */
+var PublishRequest = /*#__PURE__*/function () {
+ /**
+ * Constructs a new PublishRequest
.
+ * Contains a batch of messages to publish.
+ * @alias module:model/PublishRequest
+ * @param items {Array.PublishRequest
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/PublishRequest} obj Optional instance to populate.
+ * @return {module:model/PublishRequest} The populated PublishRequest
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new PublishRequest();
+ if (data.hasOwnProperty('items')) {
+ obj['items'] = _ApiClient["default"].convertToType(data['items'], [_PublishItem["default"]]);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return PublishRequest;
+}();
+/**
+ * The messages to publish.
+ * @member {Array.PurgeKeys
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -86712,29 +83247,23 @@ var PurgeKeys = /*#__PURE__*/function () {
* @param {module:model/PurgeKeys} obj Optional instance to populate.
* @return {module:model/PurgeKeys} The populated PurgeKeys
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new PurgeKeys();
-
if (data.hasOwnProperty('surrogate_keys')) {
obj['surrogate_keys'] = _ApiClient["default"].convertToType(data['surrogate_keys'], ['String']);
}
}
-
return obj;
}
}]);
-
return PurgeKeys;
}();
/**
* @member {Array.PurgeResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -86794,38 +83319,31 @@ var PurgeResponse = /*#__PURE__*/function () {
* @param {module:model/PurgeResponse} obj Optional instance to populate.
* @return {module:model/PurgeResponse} The populated PurgeResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new PurgeResponse();
-
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return PurgeResponse;
}();
/**
* @member {String} status
*/
-
-
PurgeResponse.prototype['status'] = undefined;
+
/**
* @member {String} id
*/
-
PurgeResponse.prototype['id'] = undefined;
var _default = PurgeResponse;
exports["default"] = _default;
@@ -86842,23 +83360,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RateLimiterResponse = _interopRequireDefault(__nccwpck_require__(44267));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RateLimiter model module.
* @module model/RateLimiter
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RateLimiter = /*#__PURE__*/function () {
/**
@@ -86867,19 +83381,18 @@ var RateLimiter = /*#__PURE__*/function () {
*/
function RateLimiter() {
_classCallCheck(this, RateLimiter);
-
RateLimiter.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RateLimiter, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RateLimiter
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -86887,420 +83400,364 @@ var RateLimiter = /*#__PURE__*/function () {
* @param {module:model/RateLimiter} obj Optional instance to populate.
* @return {module:model/RateLimiter} The populated RateLimiter
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RateLimiter();
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('uri_dictionary_name')) {
obj['uri_dictionary_name'] = _ApiClient["default"].convertToType(data['uri_dictionary_name'], 'String');
}
-
if (data.hasOwnProperty('http_methods')) {
obj['http_methods'] = _ApiClient["default"].convertToType(data['http_methods'], ['String']);
}
-
if (data.hasOwnProperty('rps_limit')) {
obj['rps_limit'] = _ApiClient["default"].convertToType(data['rps_limit'], 'Number');
}
-
if (data.hasOwnProperty('window_size')) {
obj['window_size'] = _ApiClient["default"].convertToType(data['window_size'], 'Number');
}
-
if (data.hasOwnProperty('client_key')) {
obj['client_key'] = _ApiClient["default"].convertToType(data['client_key'], ['String']);
}
-
if (data.hasOwnProperty('penalty_box_duration')) {
obj['penalty_box_duration'] = _ApiClient["default"].convertToType(data['penalty_box_duration'], 'Number');
}
-
if (data.hasOwnProperty('action')) {
obj['action'] = _ApiClient["default"].convertToType(data['action'], 'String');
}
-
if (data.hasOwnProperty('response')) {
obj['response'] = _RateLimiterResponse["default"].constructFromObject(data['response']);
}
-
if (data.hasOwnProperty('response_object_name')) {
obj['response_object_name'] = _ApiClient["default"].convertToType(data['response_object_name'], 'String');
}
-
if (data.hasOwnProperty('logger_type')) {
obj['logger_type'] = _ApiClient["default"].convertToType(data['logger_type'], 'String');
}
-
if (data.hasOwnProperty('feature_revision')) {
obj['feature_revision'] = _ApiClient["default"].convertToType(data['feature_revision'], 'Number');
}
}
-
return obj;
}
}]);
-
return RateLimiter;
}();
/**
* A human readable name for the rate limiting rule.
* @member {String} name
*/
-
-
RateLimiter.prototype['name'] = undefined;
+
/**
* The name of an Edge Dictionary containing URIs as keys. If not defined or `null`, all origin URIs will be rate limited.
* @member {String} uri_dictionary_name
*/
-
RateLimiter.prototype['uri_dictionary_name'] = undefined;
+
/**
* Array of HTTP methods to apply rate limiting to.
* @member {Array.http_methods
property.
* @enum {String}
* @readonly
*/
-
RateLimiter['HttpMethodsEnum'] = {
/**
* value: "HEAD"
* @const
*/
"HEAD": "HEAD",
-
/**
* value: "OPTIONS"
* @const
*/
"OPTIONS": "OPTIONS",
-
/**
* value: "GET"
* @const
*/
"GET": "GET",
-
/**
* value: "POST"
* @const
*/
"POST": "POST",
-
/**
* value: "PUT"
* @const
*/
"PUT": "PUT",
-
/**
* value: "PATCH"
* @const
*/
"PATCH": "PATCH",
-
/**
* value: "DELETE"
* @const
*/
"DELETE": "DELETE",
-
/**
* value: "TRACE"
* @const
*/
"TRACE": "TRACE"
};
+
/**
* Allowed values for the window_size
property.
* @enum {Number}
* @readonly
*/
-
RateLimiter['WindowSizeEnum'] = {
/**
* value: 1
* @const
*/
"one_second": 1,
-
/**
* value: 10
* @const
*/
"ten_seconds": 10,
-
/**
* value: 60
* @const
*/
"one_minute": 60
};
+
/**
* Allowed values for the action
property.
* @enum {String}
* @readonly
*/
-
RateLimiter['ActionEnum'] = {
/**
* value: "response"
* @const
*/
"response": "response",
-
/**
* value: "response_object"
* @const
*/
"response_object": "response_object",
-
/**
* value: "log_only"
* @const
*/
"log_only": "log_only"
};
+
/**
* Allowed values for the logger_type
property.
* @enum {String}
* @readonly
*/
-
RateLimiter['LoggerTypeEnum'] = {
/**
* value: "azureblob"
* @const
*/
"azureblob": "azureblob",
-
/**
* value: "bigquery"
* @const
*/
"bigquery": "bigquery",
-
/**
* value: "cloudfiles"
* @const
*/
"cloudfiles": "cloudfiles",
-
/**
* value: "datadog"
* @const
*/
"datadog": "datadog",
-
/**
* value: "digitalocean"
* @const
*/
"digitalocean": "digitalocean",
-
/**
* value: "elasticsearch"
* @const
*/
"elasticsearch": "elasticsearch",
-
/**
* value: "ftp"
* @const
*/
"ftp": "ftp",
-
/**
* value: "gcs"
* @const
*/
"gcs": "gcs",
-
/**
* value: "googleanalytics"
* @const
*/
"googleanalytics": "googleanalytics",
-
/**
* value: "heroku"
* @const
*/
"heroku": "heroku",
-
/**
* value: "honeycomb"
* @const
*/
"honeycomb": "honeycomb",
-
/**
* value: "http"
* @const
*/
"http": "http",
-
/**
* value: "https"
* @const
*/
"https": "https",
-
/**
* value: "kafka"
* @const
*/
"kafka": "kafka",
-
/**
* value: "kinesis"
* @const
*/
"kinesis": "kinesis",
-
/**
* value: "logentries"
* @const
*/
"logentries": "logentries",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logshuttle"
* @const
*/
"logshuttle": "logshuttle",
-
/**
* value: "newrelic"
* @const
*/
"newrelic": "newrelic",
-
/**
* value: "openstack"
* @const
*/
"openstack": "openstack",
-
/**
* value: "papertrail"
* @const
*/
"papertrail": "papertrail",
-
/**
* value: "pubsub"
* @const
*/
"pubsub": "pubsub",
-
/**
* value: "s3"
* @const
*/
"s3": "s3",
-
/**
* value: "scalyr"
* @const
*/
"scalyr": "scalyr",
-
/**
* value: "sftp"
* @const
*/
"sftp": "sftp",
-
/**
* value: "splunk"
* @const
*/
"splunk": "splunk",
-
/**
* value: "stackdriver"
* @const
*/
"stackdriver": "stackdriver",
-
/**
* value: "sumologic"
* @const
*/
"sumologic": "sumologic",
-
/**
* value: "syslog"
* @const
@@ -87322,31 +83779,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RateLimiter = _interopRequireDefault(__nccwpck_require__(10574));
-
var _RateLimiterResponse = _interopRequireDefault(__nccwpck_require__(44267));
-
var _RateLimiterResponseAllOf = _interopRequireDefault(__nccwpck_require__(47131));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RateLimiterResponse model module.
* @module model/RateLimiterResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RateLimiterResponse = /*#__PURE__*/function () {
/**
@@ -87359,27 +83808,22 @@ var RateLimiterResponse = /*#__PURE__*/function () {
*/
function RateLimiterResponse() {
_classCallCheck(this, RateLimiterResponse);
-
_RateLimiter["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_RateLimiterResponseAllOf["default"].initialize(this);
-
RateLimiterResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RateLimiterResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RateLimiterResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -87387,595 +83831,512 @@ var RateLimiterResponse = /*#__PURE__*/function () {
* @param {module:model/RateLimiterResponse} obj Optional instance to populate.
* @return {module:model/RateLimiterResponse} The populated RateLimiterResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RateLimiterResponse();
-
_RateLimiter["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_RateLimiterResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('uri_dictionary_name')) {
obj['uri_dictionary_name'] = _ApiClient["default"].convertToType(data['uri_dictionary_name'], 'String');
}
-
if (data.hasOwnProperty('http_methods')) {
obj['http_methods'] = _ApiClient["default"].convertToType(data['http_methods'], ['String']);
}
-
if (data.hasOwnProperty('rps_limit')) {
obj['rps_limit'] = _ApiClient["default"].convertToType(data['rps_limit'], 'Number');
}
-
if (data.hasOwnProperty('window_size')) {
obj['window_size'] = _ApiClient["default"].convertToType(data['window_size'], 'Number');
}
-
if (data.hasOwnProperty('client_key')) {
obj['client_key'] = _ApiClient["default"].convertToType(data['client_key'], ['String']);
}
-
if (data.hasOwnProperty('penalty_box_duration')) {
obj['penalty_box_duration'] = _ApiClient["default"].convertToType(data['penalty_box_duration'], 'Number');
}
-
if (data.hasOwnProperty('action')) {
obj['action'] = _ApiClient["default"].convertToType(data['action'], 'String');
}
-
if (data.hasOwnProperty('response')) {
obj['response'] = _RateLimiterResponse["default"].constructFromObject(data['response']);
}
-
if (data.hasOwnProperty('response_object_name')) {
obj['response_object_name'] = _ApiClient["default"].convertToType(data['response_object_name'], 'String');
}
-
if (data.hasOwnProperty('logger_type')) {
obj['logger_type'] = _ApiClient["default"].convertToType(data['logger_type'], 'String');
}
-
if (data.hasOwnProperty('feature_revision')) {
obj['feature_revision'] = _ApiClient["default"].convertToType(data['feature_revision'], 'Number');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RateLimiterResponse;
}();
/**
* A human readable name for the rate limiting rule.
* @member {String} name
*/
-
-
RateLimiterResponse.prototype['name'] = undefined;
+
/**
* The name of an Edge Dictionary containing URIs as keys. If not defined or `null`, all origin URIs will be rate limited.
* @member {String} uri_dictionary_name
*/
-
RateLimiterResponse.prototype['uri_dictionary_name'] = undefined;
+
/**
* Array of HTTP methods to apply rate limiting to.
* @member {Array.http_methods
property.
* @enum {String}
* @readonly
*/
-
RateLimiterResponse['HttpMethodsEnum'] = {
/**
* value: "HEAD"
* @const
*/
"HEAD": "HEAD",
-
/**
* value: "OPTIONS"
* @const
*/
"OPTIONS": "OPTIONS",
-
/**
* value: "GET"
* @const
*/
"GET": "GET",
-
/**
* value: "POST"
* @const
*/
"POST": "POST",
-
/**
* value: "PUT"
* @const
*/
"PUT": "PUT",
-
/**
* value: "PATCH"
* @const
*/
"PATCH": "PATCH",
-
/**
* value: "DELETE"
* @const
*/
"DELETE": "DELETE",
-
/**
* value: "TRACE"
* @const
*/
"TRACE": "TRACE"
};
+
/**
* Allowed values for the window_size
property.
* @enum {Number}
* @readonly
*/
-
RateLimiterResponse['WindowSizeEnum'] = {
/**
* value: 1
* @const
*/
"one_second": 1,
-
/**
* value: 10
* @const
*/
"ten_seconds": 10,
-
/**
* value: 60
* @const
*/
"one_minute": 60
};
+
/**
* Allowed values for the action
property.
* @enum {String}
* @readonly
*/
-
RateLimiterResponse['ActionEnum'] = {
/**
* value: "response"
* @const
*/
"response": "response",
-
/**
* value: "response_object"
* @const
*/
"response_object": "response_object",
-
/**
* value: "log_only"
* @const
*/
"log_only": "log_only"
};
+
/**
* Allowed values for the logger_type
property.
* @enum {String}
* @readonly
*/
-
RateLimiterResponse['LoggerTypeEnum'] = {
/**
* value: "azureblob"
* @const
*/
"azureblob": "azureblob",
-
/**
* value: "bigquery"
* @const
*/
"bigquery": "bigquery",
-
/**
* value: "cloudfiles"
* @const
*/
"cloudfiles": "cloudfiles",
-
/**
* value: "datadog"
* @const
*/
"datadog": "datadog",
-
/**
* value: "digitalocean"
* @const
*/
"digitalocean": "digitalocean",
-
/**
* value: "elasticsearch"
* @const
*/
"elasticsearch": "elasticsearch",
-
/**
* value: "ftp"
* @const
*/
"ftp": "ftp",
-
/**
* value: "gcs"
* @const
*/
"gcs": "gcs",
-
/**
* value: "googleanalytics"
* @const
*/
"googleanalytics": "googleanalytics",
-
/**
* value: "heroku"
* @const
*/
"heroku": "heroku",
-
/**
* value: "honeycomb"
* @const
*/
"honeycomb": "honeycomb",
-
/**
* value: "http"
* @const
*/
"http": "http",
-
/**
* value: "https"
* @const
*/
"https": "https",
-
/**
* value: "kafka"
* @const
*/
"kafka": "kafka",
-
/**
* value: "kinesis"
* @const
*/
"kinesis": "kinesis",
-
/**
* value: "logentries"
* @const
*/
"logentries": "logentries",
-
/**
* value: "loggly"
* @const
*/
"loggly": "loggly",
-
/**
* value: "logshuttle"
* @const
*/
"logshuttle": "logshuttle",
-
/**
* value: "newrelic"
* @const
*/
"newrelic": "newrelic",
-
/**
* value: "openstack"
* @const
*/
"openstack": "openstack",
-
/**
* value: "papertrail"
* @const
*/
"papertrail": "papertrail",
-
/**
* value: "pubsub"
* @const
*/
"pubsub": "pubsub",
-
/**
* value: "s3"
* @const
*/
"s3": "s3",
-
/**
* value: "scalyr"
* @const
*/
"scalyr": "scalyr",
-
/**
* value: "sftp"
* @const
*/
"sftp": "sftp",
-
/**
* value: "splunk"
* @const
*/
"splunk": "splunk",
-
/**
* value: "stackdriver"
* @const
*/
"stackdriver": "stackdriver",
-
/**
* value: "sumologic"
* @const
*/
"sumologic": "sumologic",
-
/**
* value: "syslog"
* @const
@@ -87997,21 +84358,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RateLimiterResponse1 model module.
* @module model/RateLimiterResponse1
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RateLimiterResponse1 = /*#__PURE__*/function () {
/**
@@ -88021,19 +84379,18 @@ var RateLimiterResponse1 = /*#__PURE__*/function () {
*/
function RateLimiterResponse1() {
_classCallCheck(this, RateLimiterResponse1);
-
RateLimiterResponse1.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RateLimiterResponse1, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RateLimiterResponse1
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -88041,50 +84398,42 @@ var RateLimiterResponse1 = /*#__PURE__*/function () {
* @param {module:model/RateLimiterResponse1} obj Optional instance to populate.
* @return {module:model/RateLimiterResponse1} The populated RateLimiterResponse1
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RateLimiterResponse1();
-
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
}
-
if (data.hasOwnProperty('content_type')) {
obj['content_type'] = _ApiClient["default"].convertToType(data['content_type'], 'String');
}
-
if (data.hasOwnProperty('content')) {
obj['content'] = _ApiClient["default"].convertToType(data['content'], 'String');
}
}
-
return obj;
}
}]);
-
return RateLimiterResponse1;
}();
/**
* HTTP status code for custom limit enforcement response.
* @member {Number} status
*/
-
-
RateLimiterResponse1.prototype['status'] = undefined;
+
/**
* MIME type for custom limit enforcement response.
* @member {String} content_type
*/
-
RateLimiterResponse1.prototype['content_type'] = undefined;
+
/**
* Response body for custom limit enforcement response.
* @member {String} content
*/
-
RateLimiterResponse1.prototype['content'] = undefined;
var _default = RateLimiterResponse1;
exports["default"] = _default;
@@ -88101,21 +84450,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RateLimiterResponseAllOf model module.
* @module model/RateLimiterResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RateLimiterResponseAllOf = /*#__PURE__*/function () {
/**
@@ -88124,19 +84470,18 @@ var RateLimiterResponseAllOf = /*#__PURE__*/function () {
*/
function RateLimiterResponseAllOf() {
_classCallCheck(this, RateLimiterResponseAllOf);
-
RateLimiterResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RateLimiterResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RateLimiterResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -88144,30 +84489,24 @@ var RateLimiterResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/RateLimiterResponseAllOf} obj Optional instance to populate.
* @return {module:model/RateLimiterResponseAllOf} The populated RateLimiterResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RateLimiterResponseAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RateLimiterResponseAllOf;
}();
/**
* Alphanumeric string identifying the rate limiter.
* @member {String} id
*/
-
-
RateLimiterResponseAllOf.prototype['id'] = undefined;
var _default = RateLimiterResponseAllOf;
exports["default"] = _default;
@@ -88184,23 +84523,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RealtimeEntry = _interopRequireDefault(__nccwpck_require__(19262));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Realtime model module.
* @module model/Realtime
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Realtime = /*#__PURE__*/function () {
/**
@@ -88209,19 +84544,18 @@ var Realtime = /*#__PURE__*/function () {
*/
function Realtime() {
_classCallCheck(this, Realtime);
-
Realtime.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Realtime, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Realtime
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -88229,50 +84563,42 @@ var Realtime = /*#__PURE__*/function () {
* @param {module:model/Realtime} obj Optional instance to populate.
* @return {module:model/Realtime} The populated Realtime
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Realtime();
-
if (data.hasOwnProperty('Timestamp')) {
obj['Timestamp'] = _ApiClient["default"].convertToType(data['Timestamp'], 'Number');
}
-
if (data.hasOwnProperty('AggregateDelay')) {
obj['AggregateDelay'] = _ApiClient["default"].convertToType(data['AggregateDelay'], 'Number');
}
-
if (data.hasOwnProperty('Data')) {
obj['Data'] = _ApiClient["default"].convertToType(data['Data'], [_RealtimeEntry["default"]]);
}
}
-
return obj;
}
}]);
-
return Realtime;
}();
/**
* Value to use for subsequent requests.
* @member {Number} Timestamp
*/
-
-
Realtime.prototype['Timestamp'] = undefined;
+
/**
* How long the system will wait before aggregating messages for each second. The most recent data returned will have happened at the moment of the request, minus the aggregation delay.
* @member {Number} AggregateDelay
*/
-
Realtime.prototype['AggregateDelay'] = undefined;
+
/**
* A list of [records](#record-data-model), each representing one second of time.
* @member {Array.RealtimeEntry
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -88335,52 +84656,44 @@ var RealtimeEntry = /*#__PURE__*/function () {
* @param {module:model/RealtimeEntry} obj Optional instance to populate.
* @return {module:model/RealtimeEntry} The populated RealtimeEntry
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RealtimeEntry();
-
if (data.hasOwnProperty('recorded')) {
obj['recorded'] = _ApiClient["default"].convertToType(data['recorded'], 'Number');
}
-
if (data.hasOwnProperty('aggregated')) {
obj['aggregated'] = _ApiClient["default"].convertToType(data['aggregated'], _RealtimeMeasurements["default"]);
}
-
if (data.hasOwnProperty('datacenter')) {
obj['datacenter'] = _ApiClient["default"].convertToType(data['datacenter'], {
'String': _RealtimeMeasurements["default"]
});
}
}
-
return obj;
}
}]);
-
return RealtimeEntry;
}();
/**
* The Unix timestamp at which this record's data was generated.
* @member {Number} recorded
*/
-
-
RealtimeEntry.prototype['recorded'] = undefined;
+
/**
* Aggregates [measurements](#measurements-data-model) across all Fastly POPs.
* @member {module:model/RealtimeMeasurements} aggregated
*/
-
RealtimeEntry.prototype['aggregated'] = undefined;
+
/**
* Groups [measurements](#measurements-data-model) by POP. See the [POPs API](/reference/api/utils/pops/) for details of POP identifiers.
* @member {Object.RealtimeMeasurements
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -88441,1821 +84750,1897 @@ var RealtimeMeasurements = /*#__PURE__*/function () {
* @param {module:model/RealtimeMeasurements} obj Optional instance to populate.
* @return {module:model/RealtimeMeasurements} The populated RealtimeMeasurements
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RealtimeMeasurements();
-
if (data.hasOwnProperty('requests')) {
obj['requests'] = _ApiClient["default"].convertToType(data['requests'], 'Number');
}
-
if (data.hasOwnProperty('logging')) {
obj['logging'] = _ApiClient["default"].convertToType(data['logging'], 'Number');
}
-
if (data.hasOwnProperty('log')) {
obj['log'] = _ApiClient["default"].convertToType(data['log'], 'Number');
}
-
if (data.hasOwnProperty('resp_header_bytes')) {
obj['resp_header_bytes'] = _ApiClient["default"].convertToType(data['resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('header_size')) {
obj['header_size'] = _ApiClient["default"].convertToType(data['header_size'], 'Number');
}
-
if (data.hasOwnProperty('resp_body_bytes')) {
obj['resp_body_bytes'] = _ApiClient["default"].convertToType(data['resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('body_size')) {
obj['body_size'] = _ApiClient["default"].convertToType(data['body_size'], 'Number');
}
-
if (data.hasOwnProperty('hits')) {
obj['hits'] = _ApiClient["default"].convertToType(data['hits'], 'Number');
}
-
if (data.hasOwnProperty('miss')) {
obj['miss'] = _ApiClient["default"].convertToType(data['miss'], 'Number');
}
-
if (data.hasOwnProperty('pass')) {
obj['pass'] = _ApiClient["default"].convertToType(data['pass'], 'Number');
}
-
if (data.hasOwnProperty('synth')) {
obj['synth'] = _ApiClient["default"].convertToType(data['synth'], 'Number');
}
-
if (data.hasOwnProperty('errors')) {
obj['errors'] = _ApiClient["default"].convertToType(data['errors'], 'Number');
}
-
if (data.hasOwnProperty('hits_time')) {
obj['hits_time'] = _ApiClient["default"].convertToType(data['hits_time'], 'Number');
}
-
if (data.hasOwnProperty('miss_time')) {
obj['miss_time'] = _ApiClient["default"].convertToType(data['miss_time'], 'Number');
}
-
if (data.hasOwnProperty('miss_histogram')) {
obj['miss_histogram'] = _ApiClient["default"].convertToType(data['miss_histogram'], Object);
}
-
if (data.hasOwnProperty('compute_requests')) {
obj['compute_requests'] = _ApiClient["default"].convertToType(data['compute_requests'], 'Number');
}
-
if (data.hasOwnProperty('compute_execution_time_ms')) {
obj['compute_execution_time_ms'] = _ApiClient["default"].convertToType(data['compute_execution_time_ms'], 'Number');
}
-
if (data.hasOwnProperty('compute_ram_used')) {
obj['compute_ram_used'] = _ApiClient["default"].convertToType(data['compute_ram_used'], 'Number');
}
-
if (data.hasOwnProperty('compute_request_time_ms')) {
obj['compute_request_time_ms'] = _ApiClient["default"].convertToType(data['compute_request_time_ms'], 'Number');
}
-
if (data.hasOwnProperty('shield')) {
obj['shield'] = _ApiClient["default"].convertToType(data['shield'], 'Number');
}
-
if (data.hasOwnProperty('ipv6')) {
obj['ipv6'] = _ApiClient["default"].convertToType(data['ipv6'], 'Number');
}
-
if (data.hasOwnProperty('imgopto')) {
obj['imgopto'] = _ApiClient["default"].convertToType(data['imgopto'], 'Number');
}
-
if (data.hasOwnProperty('imgopto_shield')) {
obj['imgopto_shield'] = _ApiClient["default"].convertToType(data['imgopto_shield'], 'Number');
}
-
if (data.hasOwnProperty('imgopto_transforms')) {
obj['imgopto_transforms'] = _ApiClient["default"].convertToType(data['imgopto_transforms'], 'Number');
}
-
if (data.hasOwnProperty('otfp')) {
obj['otfp'] = _ApiClient["default"].convertToType(data['otfp'], 'Number');
}
-
if (data.hasOwnProperty('otfp_shield')) {
obj['otfp_shield'] = _ApiClient["default"].convertToType(data['otfp_shield'], 'Number');
}
-
if (data.hasOwnProperty('otfp_manifests')) {
obj['otfp_manifests'] = _ApiClient["default"].convertToType(data['otfp_manifests'], 'Number');
}
-
if (data.hasOwnProperty('video')) {
obj['video'] = _ApiClient["default"].convertToType(data['video'], 'Number');
}
-
if (data.hasOwnProperty('pci')) {
obj['pci'] = _ApiClient["default"].convertToType(data['pci'], 'Number');
}
-
if (data.hasOwnProperty('http2')) {
obj['http2'] = _ApiClient["default"].convertToType(data['http2'], 'Number');
}
-
if (data.hasOwnProperty('http3')) {
obj['http3'] = _ApiClient["default"].convertToType(data['http3'], 'Number');
}
-
if (data.hasOwnProperty('restarts')) {
obj['restarts'] = _ApiClient["default"].convertToType(data['restarts'], 'Number');
}
-
if (data.hasOwnProperty('req_header_bytes')) {
obj['req_header_bytes'] = _ApiClient["default"].convertToType(data['req_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('req_body_bytes')) {
obj['req_body_bytes'] = _ApiClient["default"].convertToType(data['req_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('bereq_header_bytes')) {
obj['bereq_header_bytes'] = _ApiClient["default"].convertToType(data['bereq_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('bereq_body_bytes')) {
obj['bereq_body_bytes'] = _ApiClient["default"].convertToType(data['bereq_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('waf_blocked')) {
obj['waf_blocked'] = _ApiClient["default"].convertToType(data['waf_blocked'], 'Number');
}
-
if (data.hasOwnProperty('waf_logged')) {
obj['waf_logged'] = _ApiClient["default"].convertToType(data['waf_logged'], 'Number');
}
-
if (data.hasOwnProperty('waf_passed')) {
obj['waf_passed'] = _ApiClient["default"].convertToType(data['waf_passed'], 'Number');
}
-
if (data.hasOwnProperty('attack_req_header_bytes')) {
obj['attack_req_header_bytes'] = _ApiClient["default"].convertToType(data['attack_req_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('attack_req_body_bytes')) {
obj['attack_req_body_bytes'] = _ApiClient["default"].convertToType(data['attack_req_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('attack_resp_synth_bytes')) {
obj['attack_resp_synth_bytes'] = _ApiClient["default"].convertToType(data['attack_resp_synth_bytes'], 'Number');
}
-
if (data.hasOwnProperty('attack_logged_req_header_bytes')) {
obj['attack_logged_req_header_bytes'] = _ApiClient["default"].convertToType(data['attack_logged_req_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('attack_logged_req_body_bytes')) {
obj['attack_logged_req_body_bytes'] = _ApiClient["default"].convertToType(data['attack_logged_req_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('attack_blocked_req_header_bytes')) {
obj['attack_blocked_req_header_bytes'] = _ApiClient["default"].convertToType(data['attack_blocked_req_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('attack_blocked_req_body_bytes')) {
obj['attack_blocked_req_body_bytes'] = _ApiClient["default"].convertToType(data['attack_blocked_req_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('attack_passed_req_header_bytes')) {
obj['attack_passed_req_header_bytes'] = _ApiClient["default"].convertToType(data['attack_passed_req_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('attack_passed_req_body_bytes')) {
obj['attack_passed_req_body_bytes'] = _ApiClient["default"].convertToType(data['attack_passed_req_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('shield_resp_header_bytes')) {
obj['shield_resp_header_bytes'] = _ApiClient["default"].convertToType(data['shield_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('shield_resp_body_bytes')) {
obj['shield_resp_body_bytes'] = _ApiClient["default"].convertToType(data['shield_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('otfp_resp_header_bytes')) {
obj['otfp_resp_header_bytes'] = _ApiClient["default"].convertToType(data['otfp_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('otfp_resp_body_bytes')) {
obj['otfp_resp_body_bytes'] = _ApiClient["default"].convertToType(data['otfp_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('otfp_shield_resp_header_bytes')) {
obj['otfp_shield_resp_header_bytes'] = _ApiClient["default"].convertToType(data['otfp_shield_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('otfp_shield_resp_body_bytes')) {
obj['otfp_shield_resp_body_bytes'] = _ApiClient["default"].convertToType(data['otfp_shield_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('otfp_shield_time')) {
obj['otfp_shield_time'] = _ApiClient["default"].convertToType(data['otfp_shield_time'], 'Number');
}
-
if (data.hasOwnProperty('otfp_deliver_time')) {
obj['otfp_deliver_time'] = _ApiClient["default"].convertToType(data['otfp_deliver_time'], 'Number');
}
-
if (data.hasOwnProperty('imgopto_resp_header_bytes')) {
obj['imgopto_resp_header_bytes'] = _ApiClient["default"].convertToType(data['imgopto_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('imgopto_resp_body_bytes')) {
obj['imgopto_resp_body_bytes'] = _ApiClient["default"].convertToType(data['imgopto_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('imgopto_shield_resp_header_bytes')) {
obj['imgopto_shield_resp_header_bytes'] = _ApiClient["default"].convertToType(data['imgopto_shield_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('imgopto_shield_resp_body_bytes')) {
obj['imgopto_shield_resp_body_bytes'] = _ApiClient["default"].convertToType(data['imgopto_shield_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('status_1xx')) {
obj['status_1xx'] = _ApiClient["default"].convertToType(data['status_1xx'], 'Number');
}
-
if (data.hasOwnProperty('status_2xx')) {
obj['status_2xx'] = _ApiClient["default"].convertToType(data['status_2xx'], 'Number');
}
-
if (data.hasOwnProperty('status_3xx')) {
obj['status_3xx'] = _ApiClient["default"].convertToType(data['status_3xx'], 'Number');
}
-
if (data.hasOwnProperty('status_4xx')) {
obj['status_4xx'] = _ApiClient["default"].convertToType(data['status_4xx'], 'Number');
}
-
if (data.hasOwnProperty('status_5xx')) {
obj['status_5xx'] = _ApiClient["default"].convertToType(data['status_5xx'], 'Number');
}
-
if (data.hasOwnProperty('status_200')) {
obj['status_200'] = _ApiClient["default"].convertToType(data['status_200'], 'Number');
}
-
if (data.hasOwnProperty('status_204')) {
obj['status_204'] = _ApiClient["default"].convertToType(data['status_204'], 'Number');
}
-
if (data.hasOwnProperty('status_206')) {
obj['status_206'] = _ApiClient["default"].convertToType(data['status_206'], 'Number');
}
-
if (data.hasOwnProperty('status_301')) {
obj['status_301'] = _ApiClient["default"].convertToType(data['status_301'], 'Number');
}
-
if (data.hasOwnProperty('status_302')) {
obj['status_302'] = _ApiClient["default"].convertToType(data['status_302'], 'Number');
}
-
if (data.hasOwnProperty('status_304')) {
obj['status_304'] = _ApiClient["default"].convertToType(data['status_304'], 'Number');
}
-
if (data.hasOwnProperty('status_400')) {
obj['status_400'] = _ApiClient["default"].convertToType(data['status_400'], 'Number');
}
-
if (data.hasOwnProperty('status_401')) {
obj['status_401'] = _ApiClient["default"].convertToType(data['status_401'], 'Number');
}
-
if (data.hasOwnProperty('status_403')) {
obj['status_403'] = _ApiClient["default"].convertToType(data['status_403'], 'Number');
}
-
if (data.hasOwnProperty('status_404')) {
obj['status_404'] = _ApiClient["default"].convertToType(data['status_404'], 'Number');
}
-
+ if (data.hasOwnProperty('status_406')) {
+ obj['status_406'] = _ApiClient["default"].convertToType(data['status_406'], 'Number');
+ }
if (data.hasOwnProperty('status_416')) {
obj['status_416'] = _ApiClient["default"].convertToType(data['status_416'], 'Number');
}
-
if (data.hasOwnProperty('status_429')) {
obj['status_429'] = _ApiClient["default"].convertToType(data['status_429'], 'Number');
}
-
if (data.hasOwnProperty('status_500')) {
obj['status_500'] = _ApiClient["default"].convertToType(data['status_500'], 'Number');
}
-
if (data.hasOwnProperty('status_501')) {
obj['status_501'] = _ApiClient["default"].convertToType(data['status_501'], 'Number');
}
-
if (data.hasOwnProperty('status_502')) {
obj['status_502'] = _ApiClient["default"].convertToType(data['status_502'], 'Number');
}
-
if (data.hasOwnProperty('status_503')) {
obj['status_503'] = _ApiClient["default"].convertToType(data['status_503'], 'Number');
}
-
if (data.hasOwnProperty('status_504')) {
obj['status_504'] = _ApiClient["default"].convertToType(data['status_504'], 'Number');
}
-
if (data.hasOwnProperty('status_505')) {
obj['status_505'] = _ApiClient["default"].convertToType(data['status_505'], 'Number');
}
-
if (data.hasOwnProperty('uncacheable')) {
obj['uncacheable'] = _ApiClient["default"].convertToType(data['uncacheable'], 'Number');
}
-
if (data.hasOwnProperty('pass_time')) {
obj['pass_time'] = _ApiClient["default"].convertToType(data['pass_time'], 'Number');
}
-
if (data.hasOwnProperty('tls')) {
obj['tls'] = _ApiClient["default"].convertToType(data['tls'], 'Number');
}
-
if (data.hasOwnProperty('tls_v10')) {
obj['tls_v10'] = _ApiClient["default"].convertToType(data['tls_v10'], 'Number');
}
-
if (data.hasOwnProperty('tls_v11')) {
obj['tls_v11'] = _ApiClient["default"].convertToType(data['tls_v11'], 'Number');
}
-
if (data.hasOwnProperty('tls_v12')) {
obj['tls_v12'] = _ApiClient["default"].convertToType(data['tls_v12'], 'Number');
}
-
if (data.hasOwnProperty('tls_v13')) {
obj['tls_v13'] = _ApiClient["default"].convertToType(data['tls_v13'], 'Number');
}
-
if (data.hasOwnProperty('object_size_1k')) {
obj['object_size_1k'] = _ApiClient["default"].convertToType(data['object_size_1k'], 'Number');
}
-
if (data.hasOwnProperty('object_size_10k')) {
obj['object_size_10k'] = _ApiClient["default"].convertToType(data['object_size_10k'], 'Number');
}
-
if (data.hasOwnProperty('object_size_100k')) {
obj['object_size_100k'] = _ApiClient["default"].convertToType(data['object_size_100k'], 'Number');
}
-
if (data.hasOwnProperty('object_size_1m')) {
obj['object_size_1m'] = _ApiClient["default"].convertToType(data['object_size_1m'], 'Number');
}
-
if (data.hasOwnProperty('object_size_10m')) {
obj['object_size_10m'] = _ApiClient["default"].convertToType(data['object_size_10m'], 'Number');
}
-
if (data.hasOwnProperty('object_size_100m')) {
obj['object_size_100m'] = _ApiClient["default"].convertToType(data['object_size_100m'], 'Number');
}
-
if (data.hasOwnProperty('object_size_1g')) {
obj['object_size_1g'] = _ApiClient["default"].convertToType(data['object_size_1g'], 'Number');
}
-
if (data.hasOwnProperty('object_size_other')) {
obj['object_size_other'] = _ApiClient["default"].convertToType(data['object_size_other'], 'Number');
}
-
if (data.hasOwnProperty('recv_sub_time')) {
obj['recv_sub_time'] = _ApiClient["default"].convertToType(data['recv_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('recv_sub_count')) {
obj['recv_sub_count'] = _ApiClient["default"].convertToType(data['recv_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('hash_sub_time')) {
obj['hash_sub_time'] = _ApiClient["default"].convertToType(data['hash_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('hash_sub_count')) {
obj['hash_sub_count'] = _ApiClient["default"].convertToType(data['hash_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('miss_sub_time')) {
obj['miss_sub_time'] = _ApiClient["default"].convertToType(data['miss_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('miss_sub_count')) {
obj['miss_sub_count'] = _ApiClient["default"].convertToType(data['miss_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('fetch_sub_time')) {
obj['fetch_sub_time'] = _ApiClient["default"].convertToType(data['fetch_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('fetch_sub_count')) {
obj['fetch_sub_count'] = _ApiClient["default"].convertToType(data['fetch_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('pass_sub_time')) {
obj['pass_sub_time'] = _ApiClient["default"].convertToType(data['pass_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('pass_sub_count')) {
obj['pass_sub_count'] = _ApiClient["default"].convertToType(data['pass_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('pipe_sub_time')) {
obj['pipe_sub_time'] = _ApiClient["default"].convertToType(data['pipe_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('pipe_sub_count')) {
obj['pipe_sub_count'] = _ApiClient["default"].convertToType(data['pipe_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('deliver_sub_time')) {
obj['deliver_sub_time'] = _ApiClient["default"].convertToType(data['deliver_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('deliver_sub_count')) {
obj['deliver_sub_count'] = _ApiClient["default"].convertToType(data['deliver_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('error_sub_time')) {
obj['error_sub_time'] = _ApiClient["default"].convertToType(data['error_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('error_sub_count')) {
obj['error_sub_count'] = _ApiClient["default"].convertToType(data['error_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('hit_sub_time')) {
obj['hit_sub_time'] = _ApiClient["default"].convertToType(data['hit_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('hit_sub_count')) {
obj['hit_sub_count'] = _ApiClient["default"].convertToType(data['hit_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('prehash_sub_time')) {
obj['prehash_sub_time'] = _ApiClient["default"].convertToType(data['prehash_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('prehash_sub_count')) {
obj['prehash_sub_count'] = _ApiClient["default"].convertToType(data['prehash_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('predeliver_sub_time')) {
obj['predeliver_sub_time'] = _ApiClient["default"].convertToType(data['predeliver_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('predeliver_sub_count')) {
obj['predeliver_sub_count'] = _ApiClient["default"].convertToType(data['predeliver_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('hit_resp_body_bytes')) {
obj['hit_resp_body_bytes'] = _ApiClient["default"].convertToType(data['hit_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('miss_resp_body_bytes')) {
obj['miss_resp_body_bytes'] = _ApiClient["default"].convertToType(data['miss_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('pass_resp_body_bytes')) {
obj['pass_resp_body_bytes'] = _ApiClient["default"].convertToType(data['pass_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('compute_req_header_bytes')) {
obj['compute_req_header_bytes'] = _ApiClient["default"].convertToType(data['compute_req_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('compute_req_body_bytes')) {
obj['compute_req_body_bytes'] = _ApiClient["default"].convertToType(data['compute_req_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('compute_resp_header_bytes')) {
obj['compute_resp_header_bytes'] = _ApiClient["default"].convertToType(data['compute_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('compute_resp_body_bytes')) {
obj['compute_resp_body_bytes'] = _ApiClient["default"].convertToType(data['compute_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('imgvideo')) {
obj['imgvideo'] = _ApiClient["default"].convertToType(data['imgvideo'], 'Number');
}
-
if (data.hasOwnProperty('imgvideo_frames')) {
obj['imgvideo_frames'] = _ApiClient["default"].convertToType(data['imgvideo_frames'], 'Number');
}
-
if (data.hasOwnProperty('imgvideo_resp_header_bytes')) {
obj['imgvideo_resp_header_bytes'] = _ApiClient["default"].convertToType(data['imgvideo_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('imgvideo_resp_body_bytes')) {
obj['imgvideo_resp_body_bytes'] = _ApiClient["default"].convertToType(data['imgvideo_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('imgvideo_shield')) {
obj['imgvideo_shield'] = _ApiClient["default"].convertToType(data['imgvideo_shield'], 'Number');
}
-
if (data.hasOwnProperty('imgvideo_shield_frames')) {
obj['imgvideo_shield_frames'] = _ApiClient["default"].convertToType(data['imgvideo_shield_frames'], 'Number');
}
-
if (data.hasOwnProperty('imgvideo_shield_resp_header_bytes')) {
obj['imgvideo_shield_resp_header_bytes'] = _ApiClient["default"].convertToType(data['imgvideo_shield_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('imgvideo_shield_resp_body_bytes')) {
obj['imgvideo_shield_resp_body_bytes'] = _ApiClient["default"].convertToType(data['imgvideo_shield_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('log_bytes')) {
obj['log_bytes'] = _ApiClient["default"].convertToType(data['log_bytes'], 'Number');
}
-
if (data.hasOwnProperty('edge_requests')) {
obj['edge_requests'] = _ApiClient["default"].convertToType(data['edge_requests'], 'Number');
}
-
if (data.hasOwnProperty('edge_resp_header_bytes')) {
obj['edge_resp_header_bytes'] = _ApiClient["default"].convertToType(data['edge_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('edge_resp_body_bytes')) {
obj['edge_resp_body_bytes'] = _ApiClient["default"].convertToType(data['edge_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('origin_revalidations')) {
obj['origin_revalidations'] = _ApiClient["default"].convertToType(data['origin_revalidations'], 'Number');
}
-
if (data.hasOwnProperty('origin_fetches')) {
obj['origin_fetches'] = _ApiClient["default"].convertToType(data['origin_fetches'], 'Number');
}
-
if (data.hasOwnProperty('origin_fetch_header_bytes')) {
obj['origin_fetch_header_bytes'] = _ApiClient["default"].convertToType(data['origin_fetch_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('origin_fetch_body_bytes')) {
obj['origin_fetch_body_bytes'] = _ApiClient["default"].convertToType(data['origin_fetch_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('origin_fetch_resp_header_bytes')) {
obj['origin_fetch_resp_header_bytes'] = _ApiClient["default"].convertToType(data['origin_fetch_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('origin_fetch_resp_body_bytes')) {
obj['origin_fetch_resp_body_bytes'] = _ApiClient["default"].convertToType(data['origin_fetch_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('shield_revalidations')) {
obj['shield_revalidations'] = _ApiClient["default"].convertToType(data['shield_revalidations'], 'Number');
}
-
if (data.hasOwnProperty('shield_fetches')) {
obj['shield_fetches'] = _ApiClient["default"].convertToType(data['shield_fetches'], 'Number');
}
-
if (data.hasOwnProperty('shield_fetch_header_bytes')) {
obj['shield_fetch_header_bytes'] = _ApiClient["default"].convertToType(data['shield_fetch_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('shield_fetch_body_bytes')) {
obj['shield_fetch_body_bytes'] = _ApiClient["default"].convertToType(data['shield_fetch_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('shield_fetch_resp_header_bytes')) {
obj['shield_fetch_resp_header_bytes'] = _ApiClient["default"].convertToType(data['shield_fetch_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('shield_fetch_resp_body_bytes')) {
obj['shield_fetch_resp_body_bytes'] = _ApiClient["default"].convertToType(data['shield_fetch_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('segblock_origin_fetches')) {
obj['segblock_origin_fetches'] = _ApiClient["default"].convertToType(data['segblock_origin_fetches'], 'Number');
}
-
if (data.hasOwnProperty('segblock_shield_fetches')) {
obj['segblock_shield_fetches'] = _ApiClient["default"].convertToType(data['segblock_shield_fetches'], 'Number');
}
-
if (data.hasOwnProperty('compute_resp_status_1xx')) {
obj['compute_resp_status_1xx'] = _ApiClient["default"].convertToType(data['compute_resp_status_1xx'], 'Number');
}
-
if (data.hasOwnProperty('compute_resp_status_2xx')) {
obj['compute_resp_status_2xx'] = _ApiClient["default"].convertToType(data['compute_resp_status_2xx'], 'Number');
}
-
if (data.hasOwnProperty('compute_resp_status_3xx')) {
obj['compute_resp_status_3xx'] = _ApiClient["default"].convertToType(data['compute_resp_status_3xx'], 'Number');
}
-
if (data.hasOwnProperty('compute_resp_status_4xx')) {
obj['compute_resp_status_4xx'] = _ApiClient["default"].convertToType(data['compute_resp_status_4xx'], 'Number');
}
-
if (data.hasOwnProperty('compute_resp_status_5xx')) {
obj['compute_resp_status_5xx'] = _ApiClient["default"].convertToType(data['compute_resp_status_5xx'], 'Number');
}
-
if (data.hasOwnProperty('edge_hit_requests')) {
obj['edge_hit_requests'] = _ApiClient["default"].convertToType(data['edge_hit_requests'], 'Number');
}
-
if (data.hasOwnProperty('edge_miss_requests')) {
obj['edge_miss_requests'] = _ApiClient["default"].convertToType(data['edge_miss_requests'], 'Number');
}
-
if (data.hasOwnProperty('compute_bereq_header_bytes')) {
obj['compute_bereq_header_bytes'] = _ApiClient["default"].convertToType(data['compute_bereq_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('compute_bereq_body_bytes')) {
obj['compute_bereq_body_bytes'] = _ApiClient["default"].convertToType(data['compute_bereq_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('compute_beresp_header_bytes')) {
obj['compute_beresp_header_bytes'] = _ApiClient["default"].convertToType(data['compute_beresp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('compute_beresp_body_bytes')) {
obj['compute_beresp_body_bytes'] = _ApiClient["default"].convertToType(data['compute_beresp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('origin_cache_fetches')) {
obj['origin_cache_fetches'] = _ApiClient["default"].convertToType(data['origin_cache_fetches'], 'Number');
}
-
if (data.hasOwnProperty('shield_cache_fetches')) {
obj['shield_cache_fetches'] = _ApiClient["default"].convertToType(data['shield_cache_fetches'], 'Number');
}
-
if (data.hasOwnProperty('compute_bereqs')) {
obj['compute_bereqs'] = _ApiClient["default"].convertToType(data['compute_bereqs'], 'Number');
}
-
if (data.hasOwnProperty('compute_bereq_errors')) {
obj['compute_bereq_errors'] = _ApiClient["default"].convertToType(data['compute_bereq_errors'], 'Number');
}
-
if (data.hasOwnProperty('compute_resource_limit_exceeded')) {
obj['compute_resource_limit_exceeded'] = _ApiClient["default"].convertToType(data['compute_resource_limit_exceeded'], 'Number');
}
-
if (data.hasOwnProperty('compute_heap_limit_exceeded')) {
obj['compute_heap_limit_exceeded'] = _ApiClient["default"].convertToType(data['compute_heap_limit_exceeded'], 'Number');
}
-
if (data.hasOwnProperty('compute_stack_limit_exceeded')) {
obj['compute_stack_limit_exceeded'] = _ApiClient["default"].convertToType(data['compute_stack_limit_exceeded'], 'Number');
}
-
if (data.hasOwnProperty('compute_globals_limit_exceeded')) {
obj['compute_globals_limit_exceeded'] = _ApiClient["default"].convertToType(data['compute_globals_limit_exceeded'], 'Number');
}
-
if (data.hasOwnProperty('compute_guest_errors')) {
obj['compute_guest_errors'] = _ApiClient["default"].convertToType(data['compute_guest_errors'], 'Number');
}
-
if (data.hasOwnProperty('compute_runtime_errors')) {
obj['compute_runtime_errors'] = _ApiClient["default"].convertToType(data['compute_runtime_errors'], 'Number');
}
-
if (data.hasOwnProperty('edge_hit_resp_body_bytes')) {
obj['edge_hit_resp_body_bytes'] = _ApiClient["default"].convertToType(data['edge_hit_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('edge_hit_resp_header_bytes')) {
obj['edge_hit_resp_header_bytes'] = _ApiClient["default"].convertToType(data['edge_hit_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('edge_miss_resp_body_bytes')) {
obj['edge_miss_resp_body_bytes'] = _ApiClient["default"].convertToType(data['edge_miss_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('edge_miss_resp_header_bytes')) {
obj['edge_miss_resp_header_bytes'] = _ApiClient["default"].convertToType(data['edge_miss_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('origin_cache_fetch_resp_body_bytes')) {
obj['origin_cache_fetch_resp_body_bytes'] = _ApiClient["default"].convertToType(data['origin_cache_fetch_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('origin_cache_fetch_resp_header_bytes')) {
obj['origin_cache_fetch_resp_header_bytes'] = _ApiClient["default"].convertToType(data['origin_cache_fetch_resp_header_bytes'], 'Number');
}
+ if (data.hasOwnProperty('shield_hit_requests')) {
+ obj['shield_hit_requests'] = _ApiClient["default"].convertToType(data['shield_hit_requests'], 'Number');
+ }
+ if (data.hasOwnProperty('shield_miss_requests')) {
+ obj['shield_miss_requests'] = _ApiClient["default"].convertToType(data['shield_miss_requests'], 'Number');
+ }
+ if (data.hasOwnProperty('shield_hit_resp_header_bytes')) {
+ obj['shield_hit_resp_header_bytes'] = _ApiClient["default"].convertToType(data['shield_hit_resp_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('shield_hit_resp_body_bytes')) {
+ obj['shield_hit_resp_body_bytes'] = _ApiClient["default"].convertToType(data['shield_hit_resp_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('shield_miss_resp_header_bytes')) {
+ obj['shield_miss_resp_header_bytes'] = _ApiClient["default"].convertToType(data['shield_miss_resp_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('shield_miss_resp_body_bytes')) {
+ obj['shield_miss_resp_body_bytes'] = _ApiClient["default"].convertToType(data['shield_miss_resp_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_req_header_bytes')) {
+ obj['websocket_req_header_bytes'] = _ApiClient["default"].convertToType(data['websocket_req_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_req_body_bytes')) {
+ obj['websocket_req_body_bytes'] = _ApiClient["default"].convertToType(data['websocket_req_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_resp_header_bytes')) {
+ obj['websocket_resp_header_bytes'] = _ApiClient["default"].convertToType(data['websocket_resp_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_bereq_header_bytes')) {
+ obj['websocket_bereq_header_bytes'] = _ApiClient["default"].convertToType(data['websocket_bereq_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_bereq_body_bytes')) {
+ obj['websocket_bereq_body_bytes'] = _ApiClient["default"].convertToType(data['websocket_bereq_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_beresp_header_bytes')) {
+ obj['websocket_beresp_header_bytes'] = _ApiClient["default"].convertToType(data['websocket_beresp_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_beresp_body_bytes')) {
+ obj['websocket_beresp_body_bytes'] = _ApiClient["default"].convertToType(data['websocket_beresp_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_conn_time_ms')) {
+ obj['websocket_conn_time_ms'] = _ApiClient["default"].convertToType(data['websocket_conn_time_ms'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_resp_body_bytes')) {
+ obj['websocket_resp_body_bytes'] = _ApiClient["default"].convertToType(data['websocket_resp_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_recv_publishes')) {
+ obj['fanout_recv_publishes'] = _ApiClient["default"].convertToType(data['fanout_recv_publishes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_send_publishes')) {
+ obj['fanout_send_publishes'] = _ApiClient["default"].convertToType(data['fanout_send_publishes'], 'Number');
+ }
+ if (data.hasOwnProperty('object_store_read_requests')) {
+ obj['object_store_read_requests'] = _ApiClient["default"].convertToType(data['object_store_read_requests'], 'Number');
+ }
+ if (data.hasOwnProperty('object_store_write_requests')) {
+ obj['object_store_write_requests'] = _ApiClient["default"].convertToType(data['object_store_write_requests'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_req_header_bytes')) {
+ obj['fanout_req_header_bytes'] = _ApiClient["default"].convertToType(data['fanout_req_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_req_body_bytes')) {
+ obj['fanout_req_body_bytes'] = _ApiClient["default"].convertToType(data['fanout_req_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_resp_header_bytes')) {
+ obj['fanout_resp_header_bytes'] = _ApiClient["default"].convertToType(data['fanout_resp_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_resp_body_bytes')) {
+ obj['fanout_resp_body_bytes'] = _ApiClient["default"].convertToType(data['fanout_resp_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_bereq_header_bytes')) {
+ obj['fanout_bereq_header_bytes'] = _ApiClient["default"].convertToType(data['fanout_bereq_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_bereq_body_bytes')) {
+ obj['fanout_bereq_body_bytes'] = _ApiClient["default"].convertToType(data['fanout_bereq_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_beresp_header_bytes')) {
+ obj['fanout_beresp_header_bytes'] = _ApiClient["default"].convertToType(data['fanout_beresp_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_beresp_body_bytes')) {
+ obj['fanout_beresp_body_bytes'] = _ApiClient["default"].convertToType(data['fanout_beresp_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_conn_time_ms')) {
+ obj['fanout_conn_time_ms'] = _ApiClient["default"].convertToType(data['fanout_conn_time_ms'], 'Number');
+ }
}
-
return obj;
}
}]);
-
return RealtimeMeasurements;
}();
/**
* Number of requests processed.
* @member {Number} requests
*/
-
-
RealtimeMeasurements.prototype['requests'] = undefined;
+
/**
* Number of log lines sent (alias for `log`).
* @member {Number} logging
*/
-
RealtimeMeasurements.prototype['logging'] = undefined;
+
/**
* Number of log lines sent.
* @member {Number} log
*/
-
RealtimeMeasurements.prototype['log'] = undefined;
+
/**
* Total header bytes delivered (edge_resp_header_bytes + shield_resp_header_bytes).
* @member {Number} resp_header_bytes
*/
-
RealtimeMeasurements.prototype['resp_header_bytes'] = undefined;
+
/**
* Total header bytes delivered (alias for resp_header_bytes).
* @member {Number} header_size
*/
-
RealtimeMeasurements.prototype['header_size'] = undefined;
+
/**
* Total body bytes delivered (edge_resp_body_bytes + shield_resp_body_bytes).
* @member {Number} resp_body_bytes
*/
-
RealtimeMeasurements.prototype['resp_body_bytes'] = undefined;
+
/**
* Total body bytes delivered (alias for resp_body_bytes).
* @member {Number} body_size
*/
-
RealtimeMeasurements.prototype['body_size'] = undefined;
+
/**
* Number of cache hits.
* @member {Number} hits
*/
-
RealtimeMeasurements.prototype['hits'] = undefined;
+
/**
* Number of cache misses.
* @member {Number} miss
*/
-
RealtimeMeasurements.prototype['miss'] = undefined;
+
/**
* Number of requests that passed through the CDN without being cached.
* @member {Number} pass
*/
-
RealtimeMeasurements.prototype['pass'] = undefined;
+
/**
* Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement).
* @member {Number} synth
*/
-
RealtimeMeasurements.prototype['synth'] = undefined;
+
/**
* Number of cache errors.
* @member {Number} errors
*/
-
RealtimeMeasurements.prototype['errors'] = undefined;
+
/**
* Total amount of time spent processing cache hits (in seconds).
* @member {Number} hits_time
*/
-
RealtimeMeasurements.prototype['hits_time'] = undefined;
+
/**
* Total amount of time spent processing cache misses (in seconds).
* @member {Number} miss_time
*/
-
RealtimeMeasurements.prototype['miss_time'] = undefined;
+
/**
* A histogram. Each key represents the upper bound of a span of 10 milliseconds and the values represent the number of requests to origin during that 10ms period. Any origin request that takes more than 60 seconds to return will be in the 60000 bucket.
* @member {Object} miss_histogram
*/
-
RealtimeMeasurements.prototype['miss_histogram'] = undefined;
+
/**
* The total number of requests that were received for your service by Fastly.
* @member {Number} compute_requests
*/
-
RealtimeMeasurements.prototype['compute_requests'] = undefined;
+
/**
* The amount of active CPU time used to process your requests (in milliseconds).
* @member {Number} compute_execution_time_ms
*/
-
RealtimeMeasurements.prototype['compute_execution_time_ms'] = undefined;
+
/**
* The amount of RAM used for your service by Fastly (in bytes).
* @member {Number} compute_ram_used
*/
-
RealtimeMeasurements.prototype['compute_ram_used'] = undefined;
+
/**
* The total, actual amount of time used to process your requests, including active CPU time (in milliseconds).
* @member {Number} compute_request_time_ms
*/
-
RealtimeMeasurements.prototype['compute_request_time_ms'] = undefined;
+
/**
* Number of requests from edge to the shield POP.
* @member {Number} shield
*/
-
RealtimeMeasurements.prototype['shield'] = undefined;
+
/**
* Number of requests that were received over IPv6.
* @member {Number} ipv6
*/
-
RealtimeMeasurements.prototype['ipv6'] = undefined;
+
/**
* Number of responses that came from the Fastly Image Optimizer service. If the service receives 10 requests for an image, this stat will be 10 regardless of how many times the image was transformed.
* @member {Number} imgopto
*/
-
RealtimeMeasurements.prototype['imgopto'] = undefined;
+
/**
* Number of responses that came from the Fastly Image Optimizer service via a shield.
* @member {Number} imgopto_shield
*/
-
RealtimeMeasurements.prototype['imgopto_shield'] = undefined;
+
/**
* Number of transforms performed by the Fastly Image Optimizer service.
* @member {Number} imgopto_transforms
*/
-
RealtimeMeasurements.prototype['imgopto_transforms'] = undefined;
+
/**
* Number of responses that came from the Fastly On-the-Fly Packaging service for video-on-demand.
* @member {Number} otfp
*/
-
RealtimeMeasurements.prototype['otfp'] = undefined;
+
/**
* Number of responses that came from the Fastly On-the-Fly Packaging service for video-on-demand via a shield.
* @member {Number} otfp_shield
*/
-
RealtimeMeasurements.prototype['otfp_shield'] = undefined;
+
/**
* Number of responses that were manifest files from the Fastly On-the-Fly Packaging service for video-on-demand.
* @member {Number} otfp_manifests
*/
-
RealtimeMeasurements.prototype['otfp_manifests'] = undefined;
+
/**
* Number of responses with the video segment or video manifest MIME type (i.e., application/x-mpegurl, application/vnd.apple.mpegurl, application/f4m, application/dash+xml, application/vnd.ms-sstr+xml, ideo/mp2t, audio/aac, video/f4f, video/x-flv, video/mp4, audio/mp4).
* @member {Number} video
*/
-
RealtimeMeasurements.prototype['video'] = undefined;
+
/**
* Number of responses with the PCI flag turned on.
* @member {Number} pci
*/
-
RealtimeMeasurements.prototype['pci'] = undefined;
+
/**
* Number of requests received over HTTP/2.
* @member {Number} http2
*/
-
RealtimeMeasurements.prototype['http2'] = undefined;
+
/**
* Number of requests received over HTTP/3.
* @member {Number} http3
*/
-
RealtimeMeasurements.prototype['http3'] = undefined;
+
/**
* Number of restarts performed.
* @member {Number} restarts
*/
-
RealtimeMeasurements.prototype['restarts'] = undefined;
+
/**
* Total header bytes received.
* @member {Number} req_header_bytes
*/
-
RealtimeMeasurements.prototype['req_header_bytes'] = undefined;
+
/**
* Total body bytes received.
* @member {Number} req_body_bytes
*/
-
RealtimeMeasurements.prototype['req_body_bytes'] = undefined;
+
/**
* Total header bytes sent to origin.
* @member {Number} bereq_header_bytes
*/
-
RealtimeMeasurements.prototype['bereq_header_bytes'] = undefined;
+
/**
* Total body bytes sent to origin.
* @member {Number} bereq_body_bytes
*/
-
RealtimeMeasurements.prototype['bereq_body_bytes'] = undefined;
+
/**
* Number of requests that triggered a WAF rule and were blocked.
* @member {Number} waf_blocked
*/
-
RealtimeMeasurements.prototype['waf_blocked'] = undefined;
+
/**
* Number of requests that triggered a WAF rule and were logged.
* @member {Number} waf_logged
*/
-
RealtimeMeasurements.prototype['waf_logged'] = undefined;
+
/**
* Number of requests that triggered a WAF rule and were passed.
* @member {Number} waf_passed
*/
-
RealtimeMeasurements.prototype['waf_passed'] = undefined;
+
/**
* Total header bytes received from requests that triggered a WAF rule.
* @member {Number} attack_req_header_bytes
*/
-
RealtimeMeasurements.prototype['attack_req_header_bytes'] = undefined;
+
/**
* Total body bytes received from requests that triggered a WAF rule.
* @member {Number} attack_req_body_bytes
*/
-
RealtimeMeasurements.prototype['attack_req_body_bytes'] = undefined;
+
/**
* Total bytes delivered for requests that triggered a WAF rule and returned a synthetic response.
* @member {Number} attack_resp_synth_bytes
*/
-
RealtimeMeasurements.prototype['attack_resp_synth_bytes'] = undefined;
+
/**
* Total header bytes received from requests that triggered a WAF rule that was logged.
* @member {Number} attack_logged_req_header_bytes
*/
-
RealtimeMeasurements.prototype['attack_logged_req_header_bytes'] = undefined;
+
/**
* Total body bytes received from requests that triggered a WAF rule that was logged.
* @member {Number} attack_logged_req_body_bytes
*/
-
RealtimeMeasurements.prototype['attack_logged_req_body_bytes'] = undefined;
+
/**
* Total header bytes received from requests that triggered a WAF rule that was blocked.
* @member {Number} attack_blocked_req_header_bytes
*/
-
RealtimeMeasurements.prototype['attack_blocked_req_header_bytes'] = undefined;
+
/**
* Total body bytes received from requests that triggered a WAF rule that was blocked.
* @member {Number} attack_blocked_req_body_bytes
*/
-
RealtimeMeasurements.prototype['attack_blocked_req_body_bytes'] = undefined;
+
/**
* Total header bytes received from requests that triggered a WAF rule that was passed.
* @member {Number} attack_passed_req_header_bytes
*/
-
RealtimeMeasurements.prototype['attack_passed_req_header_bytes'] = undefined;
+
/**
* Total body bytes received from requests that triggered a WAF rule that was passed.
* @member {Number} attack_passed_req_body_bytes
*/
-
RealtimeMeasurements.prototype['attack_passed_req_body_bytes'] = undefined;
+
/**
* Total header bytes delivered via a shield.
* @member {Number} shield_resp_header_bytes
*/
-
RealtimeMeasurements.prototype['shield_resp_header_bytes'] = undefined;
+
/**
* Total body bytes delivered via a shield.
* @member {Number} shield_resp_body_bytes
*/
-
RealtimeMeasurements.prototype['shield_resp_body_bytes'] = undefined;
+
/**
* Total header bytes delivered from the Fastly On-the-Fly Packaging service for video-on-demand.
* @member {Number} otfp_resp_header_bytes
*/
-
RealtimeMeasurements.prototype['otfp_resp_header_bytes'] = undefined;
+
/**
* Total body bytes delivered from the Fastly On-the-Fly Packaging service for video-on-demand.
* @member {Number} otfp_resp_body_bytes
*/
-
RealtimeMeasurements.prototype['otfp_resp_body_bytes'] = undefined;
+
/**
* Total header bytes delivered via a shield for the Fastly On-the-Fly Packaging service for video-on-demand.
* @member {Number} otfp_shield_resp_header_bytes
*/
-
RealtimeMeasurements.prototype['otfp_shield_resp_header_bytes'] = undefined;
+
/**
* Total body bytes delivered via a shield for the Fastly On-the-Fly Packaging service for video-on-demand.
* @member {Number} otfp_shield_resp_body_bytes
*/
-
RealtimeMeasurements.prototype['otfp_shield_resp_body_bytes'] = undefined;
+
/**
* Total amount of time spent delivering a response via a shield from the Fastly On-the-Fly Packaging service for video-on-demand (in seconds).
* @member {Number} otfp_shield_time
*/
-
RealtimeMeasurements.prototype['otfp_shield_time'] = undefined;
+
/**
* Total amount of time spent delivering a response from the Fastly On-the-Fly Packaging service for video-on-demand (in seconds).
* @member {Number} otfp_deliver_time
*/
-
RealtimeMeasurements.prototype['otfp_deliver_time'] = undefined;
+
/**
* Total header bytes delivered from the Fastly Image Optimizer service, including shield traffic.
* @member {Number} imgopto_resp_header_bytes
*/
-
RealtimeMeasurements.prototype['imgopto_resp_header_bytes'] = undefined;
+
/**
* Total body bytes delivered from the Fastly Image Optimizer service, including shield traffic.
* @member {Number} imgopto_resp_body_bytes
*/
-
RealtimeMeasurements.prototype['imgopto_resp_body_bytes'] = undefined;
+
/**
* Total header bytes delivered via a shield from the Fastly Image Optimizer service.
* @member {Number} imgopto_shield_resp_header_bytes
*/
-
RealtimeMeasurements.prototype['imgopto_shield_resp_header_bytes'] = undefined;
+
/**
* Total body bytes delivered via a shield from the Fastly Image Optimizer service.
* @member {Number} imgopto_shield_resp_body_bytes
*/
-
RealtimeMeasurements.prototype['imgopto_shield_resp_body_bytes'] = undefined;
+
/**
* Number of \"Informational\" category status codes delivered.
* @member {Number} status_1xx
*/
-
RealtimeMeasurements.prototype['status_1xx'] = undefined;
+
/**
* Number of \"Success\" status codes delivered.
* @member {Number} status_2xx
*/
-
RealtimeMeasurements.prototype['status_2xx'] = undefined;
+
/**
* Number of \"Redirection\" codes delivered.
* @member {Number} status_3xx
*/
-
RealtimeMeasurements.prototype['status_3xx'] = undefined;
+
/**
* Number of \"Client Error\" codes delivered.
* @member {Number} status_4xx
*/
-
RealtimeMeasurements.prototype['status_4xx'] = undefined;
+
/**
* Number of \"Server Error\" codes delivered.
* @member {Number} status_5xx
*/
-
RealtimeMeasurements.prototype['status_5xx'] = undefined;
+
/**
* Number of responses sent with status code 200 (Success).
* @member {Number} status_200
*/
-
RealtimeMeasurements.prototype['status_200'] = undefined;
+
/**
* Number of responses sent with status code 204 (No Content).
* @member {Number} status_204
*/
-
RealtimeMeasurements.prototype['status_204'] = undefined;
+
/**
* Number of responses sent with status code 206 (Partial Content).
* @member {Number} status_206
*/
-
RealtimeMeasurements.prototype['status_206'] = undefined;
+
/**
* Number of responses sent with status code 301 (Moved Permanently).
* @member {Number} status_301
*/
-
RealtimeMeasurements.prototype['status_301'] = undefined;
+
/**
* Number of responses sent with status code 302 (Found).
* @member {Number} status_302
*/
-
RealtimeMeasurements.prototype['status_302'] = undefined;
+
/**
* Number of responses sent with status code 304 (Not Modified).
* @member {Number} status_304
*/
-
RealtimeMeasurements.prototype['status_304'] = undefined;
+
/**
* Number of responses sent with status code 400 (Bad Request).
* @member {Number} status_400
*/
-
RealtimeMeasurements.prototype['status_400'] = undefined;
+
/**
* Number of responses sent with status code 401 (Unauthorized).
* @member {Number} status_401
*/
-
RealtimeMeasurements.prototype['status_401'] = undefined;
+
/**
* Number of responses sent with status code 403 (Forbidden).
* @member {Number} status_403
*/
-
RealtimeMeasurements.prototype['status_403'] = undefined;
+
/**
* Number of responses sent with status code 404 (Not Found).
* @member {Number} status_404
*/
-
RealtimeMeasurements.prototype['status_404'] = undefined;
+
+/**
+ * Number of responses sent with status code 406 (Not Acceptable).
+ * @member {Number} status_406
+ */
+RealtimeMeasurements.prototype['status_406'] = undefined;
+
/**
* Number of responses sent with status code 416 (Range Not Satisfiable).
* @member {Number} status_416
*/
-
RealtimeMeasurements.prototype['status_416'] = undefined;
+
/**
* Number of responses sent with status code 429 (Too Many Requests).
* @member {Number} status_429
*/
-
RealtimeMeasurements.prototype['status_429'] = undefined;
+
/**
* Number of responses sent with status code 500 (Internal Server Error).
* @member {Number} status_500
*/
-
RealtimeMeasurements.prototype['status_500'] = undefined;
+
/**
* Number of responses sent with status code 501 (Not Implemented).
* @member {Number} status_501
*/
-
RealtimeMeasurements.prototype['status_501'] = undefined;
+
/**
* Number of responses sent with status code 502 (Bad Gateway).
* @member {Number} status_502
*/
-
RealtimeMeasurements.prototype['status_502'] = undefined;
+
/**
* Number of responses sent with status code 503 (Service Unavailable).
* @member {Number} status_503
*/
-
RealtimeMeasurements.prototype['status_503'] = undefined;
+
/**
* Number of responses sent with status code 504 (Gateway Timeout).
* @member {Number} status_504
*/
-
RealtimeMeasurements.prototype['status_504'] = undefined;
+
/**
* Number of responses sent with status code 505 (HTTP Version Not Supported).
* @member {Number} status_505
*/
-
RealtimeMeasurements.prototype['status_505'] = undefined;
+
/**
* Number of requests that were designated uncachable.
* @member {Number} uncacheable
*/
-
RealtimeMeasurements.prototype['uncacheable'] = undefined;
+
/**
* Total amount of time spent processing cache passes (in seconds).
* @member {Number} pass_time
*/
-
RealtimeMeasurements.prototype['pass_time'] = undefined;
+
/**
* Number of requests that were received over TLS.
* @member {Number} tls
*/
-
RealtimeMeasurements.prototype['tls'] = undefined;
+
/**
* Number of requests received over TLS 1.0.
* @member {Number} tls_v10
*/
-
RealtimeMeasurements.prototype['tls_v10'] = undefined;
+
/**
* Number of requests received over TLS 1.1.
* @member {Number} tls_v11
*/
-
RealtimeMeasurements.prototype['tls_v11'] = undefined;
+
/**
* Number of requests received over TLS 1.2.
* @member {Number} tls_v12
*/
-
RealtimeMeasurements.prototype['tls_v12'] = undefined;
+
/**
* Number of requests received over TLS 1.3.
* @member {Number} tls_v13
*/
-
RealtimeMeasurements.prototype['tls_v13'] = undefined;
+
/**
* Number of objects served that were under 1KB in size.
* @member {Number} object_size_1k
*/
-
RealtimeMeasurements.prototype['object_size_1k'] = undefined;
+
/**
* Number of objects served that were between 1KB and 10KB in size.
* @member {Number} object_size_10k
*/
-
RealtimeMeasurements.prototype['object_size_10k'] = undefined;
+
/**
* Number of objects served that were between 10KB and 100KB in size.
* @member {Number} object_size_100k
*/
-
RealtimeMeasurements.prototype['object_size_100k'] = undefined;
+
/**
* Number of objects served that were between 100KB and 1MB in size.
* @member {Number} object_size_1m
*/
-
RealtimeMeasurements.prototype['object_size_1m'] = undefined;
+
/**
* Number of objects served that were between 1MB and 10MB in size.
* @member {Number} object_size_10m
*/
-
RealtimeMeasurements.prototype['object_size_10m'] = undefined;
+
/**
* Number of objects served that were between 10MB and 100MB in size.
* @member {Number} object_size_100m
*/
-
RealtimeMeasurements.prototype['object_size_100m'] = undefined;
+
/**
* Number of objects served that were between 100MB and 1GB in size.
* @member {Number} object_size_1g
*/
-
RealtimeMeasurements.prototype['object_size_1g'] = undefined;
+
/**
* Number of objects served that were larger than 1GB in size.
* @member {Number} object_size_other
*/
-
RealtimeMeasurements.prototype['object_size_other'] = undefined;
+
/**
* Time spent inside the `vcl_recv` Varnish subroutine (in nanoseconds).
* @member {Number} recv_sub_time
*/
-
RealtimeMeasurements.prototype['recv_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_recv` Varnish subroutine.
* @member {Number} recv_sub_count
*/
-
RealtimeMeasurements.prototype['recv_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_hash` Varnish subroutine (in nanoseconds).
* @member {Number} hash_sub_time
*/
-
RealtimeMeasurements.prototype['hash_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_hash` Varnish subroutine.
* @member {Number} hash_sub_count
*/
-
RealtimeMeasurements.prototype['hash_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_miss` Varnish subroutine (in nanoseconds).
* @member {Number} miss_sub_time
*/
-
RealtimeMeasurements.prototype['miss_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_miss` Varnish subroutine.
* @member {Number} miss_sub_count
*/
-
RealtimeMeasurements.prototype['miss_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_fetch` Varnish subroutine (in nanoseconds).
* @member {Number} fetch_sub_time
*/
-
RealtimeMeasurements.prototype['fetch_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_fetch` Varnish subroutine.
* @member {Number} fetch_sub_count
*/
-
RealtimeMeasurements.prototype['fetch_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_pass` Varnish subroutine (in nanoseconds).
* @member {Number} pass_sub_time
*/
-
RealtimeMeasurements.prototype['pass_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_pass` Varnish subroutine.
* @member {Number} pass_sub_count
*/
-
RealtimeMeasurements.prototype['pass_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_pipe` Varnish subroutine (in nanoseconds).
* @member {Number} pipe_sub_time
*/
-
RealtimeMeasurements.prototype['pipe_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_pipe` Varnish subroutine.
* @member {Number} pipe_sub_count
*/
-
RealtimeMeasurements.prototype['pipe_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_deliver` Varnish subroutine (in nanoseconds).
* @member {Number} deliver_sub_time
*/
-
RealtimeMeasurements.prototype['deliver_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_deliver` Varnish subroutine.
* @member {Number} deliver_sub_count
*/
-
RealtimeMeasurements.prototype['deliver_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_error` Varnish subroutine (in nanoseconds).
* @member {Number} error_sub_time
*/
-
RealtimeMeasurements.prototype['error_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_error` Varnish subroutine.
* @member {Number} error_sub_count
*/
-
RealtimeMeasurements.prototype['error_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_hit` Varnish subroutine (in nanoseconds).
* @member {Number} hit_sub_time
*/
-
RealtimeMeasurements.prototype['hit_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_hit` Varnish subroutine.
* @member {Number} hit_sub_count
*/
-
RealtimeMeasurements.prototype['hit_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_prehash` Varnish subroutine (in nanoseconds).
* @member {Number} prehash_sub_time
*/
-
RealtimeMeasurements.prototype['prehash_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_prehash` Varnish subroutine.
* @member {Number} prehash_sub_count
*/
-
RealtimeMeasurements.prototype['prehash_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_predeliver` Varnish subroutine (in nanoseconds).
* @member {Number} predeliver_sub_time
*/
-
RealtimeMeasurements.prototype['predeliver_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_predeliver` Varnish subroutine.
* @member {Number} predeliver_sub_count
*/
-
RealtimeMeasurements.prototype['predeliver_sub_count'] = undefined;
+
/**
* Total body bytes delivered for cache hits.
* @member {Number} hit_resp_body_bytes
*/
-
RealtimeMeasurements.prototype['hit_resp_body_bytes'] = undefined;
+
/**
* Total body bytes delivered for cache misses.
* @member {Number} miss_resp_body_bytes
*/
-
RealtimeMeasurements.prototype['miss_resp_body_bytes'] = undefined;
+
/**
* Total body bytes delivered for cache passes.
* @member {Number} pass_resp_body_bytes
*/
-
RealtimeMeasurements.prototype['pass_resp_body_bytes'] = undefined;
+
/**
* Total header bytes received by Compute@Edge.
* @member {Number} compute_req_header_bytes
*/
-
RealtimeMeasurements.prototype['compute_req_header_bytes'] = undefined;
+
/**
* Total body bytes received by Compute@Edge.
* @member {Number} compute_req_body_bytes
*/
-
RealtimeMeasurements.prototype['compute_req_body_bytes'] = undefined;
+
/**
* Total header bytes sent from Compute@Edge to end user.
* @member {Number} compute_resp_header_bytes
*/
-
RealtimeMeasurements.prototype['compute_resp_header_bytes'] = undefined;
+
/**
* Total body bytes sent from Compute@Edge to end user.
* @member {Number} compute_resp_body_bytes
*/
-
RealtimeMeasurements.prototype['compute_resp_body_bytes'] = undefined;
+
/**
* Number of video responses that came from the Fastly Image Optimizer service.
* @member {Number} imgvideo
*/
-
RealtimeMeasurements.prototype['imgvideo'] = undefined;
+
/**
* Number of video frames that came from the Fastly Image Optimizer service. A video frame is an individual image within a sequence of video.
* @member {Number} imgvideo_frames
*/
-
RealtimeMeasurements.prototype['imgvideo_frames'] = undefined;
+
/**
* Total header bytes of video delivered from the Fastly Image Optimizer service.
* @member {Number} imgvideo_resp_header_bytes
*/
-
RealtimeMeasurements.prototype['imgvideo_resp_header_bytes'] = undefined;
+
/**
* Total body bytes of video delivered from the Fastly Image Optimizer service.
* @member {Number} imgvideo_resp_body_bytes
*/
-
RealtimeMeasurements.prototype['imgvideo_resp_body_bytes'] = undefined;
+
/**
* Number of video responses delivered via a shield that came from the Fastly Image Optimizer service.
* @member {Number} imgvideo_shield
*/
-
RealtimeMeasurements.prototype['imgvideo_shield'] = undefined;
+
/**
* Number of video frames delivered via a shield that came from the Fastly Image Optimizer service. A video frame is an individual image within a sequence of video.
* @member {Number} imgvideo_shield_frames
*/
-
RealtimeMeasurements.prototype['imgvideo_shield_frames'] = undefined;
+
/**
* Total header bytes of video delivered via a shield from the Fastly Image Optimizer service.
* @member {Number} imgvideo_shield_resp_header_bytes
*/
-
RealtimeMeasurements.prototype['imgvideo_shield_resp_header_bytes'] = undefined;
+
/**
* Total body bytes of video delivered via a shield from the Fastly Image Optimizer service.
* @member {Number} imgvideo_shield_resp_body_bytes
*/
-
RealtimeMeasurements.prototype['imgvideo_shield_resp_body_bytes'] = undefined;
+
/**
* Total log bytes sent.
* @member {Number} log_bytes
*/
-
RealtimeMeasurements.prototype['log_bytes'] = undefined;
+
/**
* Number of requests sent by end users to Fastly.
* @member {Number} edge_requests
*/
-
RealtimeMeasurements.prototype['edge_requests'] = undefined;
+
/**
* Total header bytes delivered from Fastly to the end user.
* @member {Number} edge_resp_header_bytes
*/
-
RealtimeMeasurements.prototype['edge_resp_header_bytes'] = undefined;
+
/**
* Total body bytes delivered from Fastly to the end user.
* @member {Number} edge_resp_body_bytes
*/
-
RealtimeMeasurements.prototype['edge_resp_body_bytes'] = undefined;
+
/**
* Number of responses received from origin with a `304` status code in response to an `If-Modified-Since` or `If-None-Match` request. Under regular scenarios, a revalidation will imply a cache hit. However, if using Fastly Image Optimizer or segmented caching this may result in a cache miss.
* @member {Number} origin_revalidations
*/
-
RealtimeMeasurements.prototype['origin_revalidations'] = undefined;
+
/**
* Number of requests sent to origin.
* @member {Number} origin_fetches
*/
-
RealtimeMeasurements.prototype['origin_fetches'] = undefined;
+
/**
* Total request header bytes sent to origin.
* @member {Number} origin_fetch_header_bytes
*/
-
RealtimeMeasurements.prototype['origin_fetch_header_bytes'] = undefined;
+
/**
* Total request body bytes sent to origin.
* @member {Number} origin_fetch_body_bytes
*/
-
RealtimeMeasurements.prototype['origin_fetch_body_bytes'] = undefined;
+
/**
* Total header bytes received from origin.
* @member {Number} origin_fetch_resp_header_bytes
*/
-
RealtimeMeasurements.prototype['origin_fetch_resp_header_bytes'] = undefined;
+
/**
* Total body bytes received from origin.
* @member {Number} origin_fetch_resp_body_bytes
*/
-
RealtimeMeasurements.prototype['origin_fetch_resp_body_bytes'] = undefined;
+
/**
* Number of responses received from origin with a `304` status code, in response to an `If-Modified-Since` or `If-None-Match` request to a shield. Under regular scenarios, a revalidation will imply a cache hit. However, if using segmented caching this may result in a cache miss.
* @member {Number} shield_revalidations
*/
-
RealtimeMeasurements.prototype['shield_revalidations'] = undefined;
+
/**
* Number of requests made from one Fastly POP to another, as part of shielding.
* @member {Number} shield_fetches
*/
-
RealtimeMeasurements.prototype['shield_fetches'] = undefined;
+
/**
* Total request header bytes sent to a shield.
* @member {Number} shield_fetch_header_bytes
*/
-
RealtimeMeasurements.prototype['shield_fetch_header_bytes'] = undefined;
+
/**
* Total request body bytes sent to a shield.
* @member {Number} shield_fetch_body_bytes
*/
-
RealtimeMeasurements.prototype['shield_fetch_body_bytes'] = undefined;
+
/**
* Total response header bytes sent from a shield to the edge.
* @member {Number} shield_fetch_resp_header_bytes
*/
-
RealtimeMeasurements.prototype['shield_fetch_resp_header_bytes'] = undefined;
+
/**
* Total response body bytes sent from a shield to the edge.
* @member {Number} shield_fetch_resp_body_bytes
*/
-
RealtimeMeasurements.prototype['shield_fetch_resp_body_bytes'] = undefined;
+
/**
* Number of `Range` requests to origin for segments of resources when using segmented caching.
* @member {Number} segblock_origin_fetches
*/
-
RealtimeMeasurements.prototype['segblock_origin_fetches'] = undefined;
+
/**
* Number of `Range` requests to a shield for segments of resources when using segmented caching.
* @member {Number} segblock_shield_fetches
*/
-
RealtimeMeasurements.prototype['segblock_shield_fetches'] = undefined;
+
/**
* Number of \"Informational\" category status codes delivered by Compute@Edge.
* @member {Number} compute_resp_status_1xx
*/
-
RealtimeMeasurements.prototype['compute_resp_status_1xx'] = undefined;
+
/**
* Number of \"Success\" category status codes delivered by Compute@Edge.
* @member {Number} compute_resp_status_2xx
*/
-
RealtimeMeasurements.prototype['compute_resp_status_2xx'] = undefined;
+
/**
* Number of \"Redirection\" category status codes delivered by Compute@Edge.
* @member {Number} compute_resp_status_3xx
*/
-
RealtimeMeasurements.prototype['compute_resp_status_3xx'] = undefined;
+
/**
* Number of \"Client Error\" category status codes delivered by Compute@Edge.
* @member {Number} compute_resp_status_4xx
*/
-
RealtimeMeasurements.prototype['compute_resp_status_4xx'] = undefined;
+
/**
* Number of \"Server Error\" category status codes delivered by Compute@Edge.
* @member {Number} compute_resp_status_5xx
*/
-
RealtimeMeasurements.prototype['compute_resp_status_5xx'] = undefined;
+
/**
* Number of requests sent by end users to Fastly that resulted in a hit at the edge.
* @member {Number} edge_hit_requests
*/
-
RealtimeMeasurements.prototype['edge_hit_requests'] = undefined;
+
/**
* Number of requests sent by end users to Fastly that resulted in a miss at the edge.
* @member {Number} edge_miss_requests
*/
-
RealtimeMeasurements.prototype['edge_miss_requests'] = undefined;
+
/**
* Total header bytes sent to backends (origins) by Compute@Edge.
* @member {Number} compute_bereq_header_bytes
*/
-
RealtimeMeasurements.prototype['compute_bereq_header_bytes'] = undefined;
+
/**
* Total body bytes sent to backends (origins) by Compute@Edge.
* @member {Number} compute_bereq_body_bytes
*/
-
RealtimeMeasurements.prototype['compute_bereq_body_bytes'] = undefined;
+
/**
* Total header bytes received from backends (origins) by Compute@Edge.
* @member {Number} compute_beresp_header_bytes
*/
-
RealtimeMeasurements.prototype['compute_beresp_header_bytes'] = undefined;
+
/**
* Total body bytes received from backends (origins) by Compute@Edge.
* @member {Number} compute_beresp_body_bytes
*/
-
RealtimeMeasurements.prototype['compute_beresp_body_bytes'] = undefined;
+
/**
* The total number of completed requests made to backends (origins) that returned cacheable content.
* @member {Number} origin_cache_fetches
*/
-
RealtimeMeasurements.prototype['origin_cache_fetches'] = undefined;
+
/**
* The total number of completed requests made to shields that returned cacheable content.
* @member {Number} shield_cache_fetches
*/
-
RealtimeMeasurements.prototype['shield_cache_fetches'] = undefined;
+
/**
* Number of backend requests started.
* @member {Number} compute_bereqs
*/
-
RealtimeMeasurements.prototype['compute_bereqs'] = undefined;
+
/**
* Number of backend request errors, including timeouts.
* @member {Number} compute_bereq_errors
*/
-
RealtimeMeasurements.prototype['compute_bereq_errors'] = undefined;
+
/**
* Number of times a guest exceeded its resource limit, includes heap, stack, globals, and code execution timeout.
* @member {Number} compute_resource_limit_exceeded
*/
-
RealtimeMeasurements.prototype['compute_resource_limit_exceeded'] = undefined;
+
/**
* Number of times a guest exceeded its heap limit.
* @member {Number} compute_heap_limit_exceeded
*/
-
RealtimeMeasurements.prototype['compute_heap_limit_exceeded'] = undefined;
+
/**
* Number of times a guest exceeded its stack limit.
* @member {Number} compute_stack_limit_exceeded
*/
-
RealtimeMeasurements.prototype['compute_stack_limit_exceeded'] = undefined;
+
/**
* Number of times a guest exceeded its globals limit.
* @member {Number} compute_globals_limit_exceeded
*/
-
RealtimeMeasurements.prototype['compute_globals_limit_exceeded'] = undefined;
+
/**
* Number of times a service experienced a guest code error.
* @member {Number} compute_guest_errors
*/
-
RealtimeMeasurements.prototype['compute_guest_errors'] = undefined;
+
/**
* Number of times a service experienced a guest runtime error.
* @member {Number} compute_runtime_errors
*/
-
RealtimeMeasurements.prototype['compute_runtime_errors'] = undefined;
+
/**
* Body bytes delivered for edge hits.
* @member {Number} edge_hit_resp_body_bytes
*/
-
RealtimeMeasurements.prototype['edge_hit_resp_body_bytes'] = undefined;
+
/**
* Header bytes delivered for edge hits.
* @member {Number} edge_hit_resp_header_bytes
*/
-
RealtimeMeasurements.prototype['edge_hit_resp_header_bytes'] = undefined;
+
/**
* Body bytes delivered for edge misses.
* @member {Number} edge_miss_resp_body_bytes
*/
-
RealtimeMeasurements.prototype['edge_miss_resp_body_bytes'] = undefined;
+
/**
* Header bytes delivered for edge misses.
* @member {Number} edge_miss_resp_header_bytes
*/
-
RealtimeMeasurements.prototype['edge_miss_resp_header_bytes'] = undefined;
+
/**
* Body bytes received from origin for cacheable content.
* @member {Number} origin_cache_fetch_resp_body_bytes
*/
-
RealtimeMeasurements.prototype['origin_cache_fetch_resp_body_bytes'] = undefined;
+
/**
* Header bytes received from an origin for cacheable content.
* @member {Number} origin_cache_fetch_resp_header_bytes
*/
-
RealtimeMeasurements.prototype['origin_cache_fetch_resp_header_bytes'] = undefined;
+
+/**
+ * Number of requests that resulted in a hit at a shield.
+ * @member {Number} shield_hit_requests
+ */
+RealtimeMeasurements.prototype['shield_hit_requests'] = undefined;
+
+/**
+ * Number of requests that resulted in a miss at a shield.
+ * @member {Number} shield_miss_requests
+ */
+RealtimeMeasurements.prototype['shield_miss_requests'] = undefined;
+
+/**
+ * Header bytes delivered for shield hits.
+ * @member {Number} shield_hit_resp_header_bytes
+ */
+RealtimeMeasurements.prototype['shield_hit_resp_header_bytes'] = undefined;
+
+/**
+ * Body bytes delivered for shield hits.
+ * @member {Number} shield_hit_resp_body_bytes
+ */
+RealtimeMeasurements.prototype['shield_hit_resp_body_bytes'] = undefined;
+
+/**
+ * Header bytes delivered for shield misses.
+ * @member {Number} shield_miss_resp_header_bytes
+ */
+RealtimeMeasurements.prototype['shield_miss_resp_header_bytes'] = undefined;
+
+/**
+ * Body bytes delivered for shield misses.
+ * @member {Number} shield_miss_resp_body_bytes
+ */
+RealtimeMeasurements.prototype['shield_miss_resp_body_bytes'] = undefined;
+
+/**
+ * Total header bytes received from end users over passthrough WebSocket connections.
+ * @member {Number} websocket_req_header_bytes
+ */
+RealtimeMeasurements.prototype['websocket_req_header_bytes'] = undefined;
+
+/**
+ * Total message content bytes received from end users over passthrough WebSocket connections.
+ * @member {Number} websocket_req_body_bytes
+ */
+RealtimeMeasurements.prototype['websocket_req_body_bytes'] = undefined;
+
+/**
+ * Total header bytes sent to end users over passthrough WebSocket connections.
+ * @member {Number} websocket_resp_header_bytes
+ */
+RealtimeMeasurements.prototype['websocket_resp_header_bytes'] = undefined;
+
+/**
+ * Total header bytes sent to backends over passthrough WebSocket connections.
+ * @member {Number} websocket_bereq_header_bytes
+ */
+RealtimeMeasurements.prototype['websocket_bereq_header_bytes'] = undefined;
+
+/**
+ * Total message content bytes sent to backends over passthrough WebSocket connections.
+ * @member {Number} websocket_bereq_body_bytes
+ */
+RealtimeMeasurements.prototype['websocket_bereq_body_bytes'] = undefined;
+
+/**
+ * Total header bytes received from backends over passthrough WebSocket connections.
+ * @member {Number} websocket_beresp_header_bytes
+ */
+RealtimeMeasurements.prototype['websocket_beresp_header_bytes'] = undefined;
+
+/**
+ * Total message content bytes received from backends over passthrough WebSocket connections.
+ * @member {Number} websocket_beresp_body_bytes
+ */
+RealtimeMeasurements.prototype['websocket_beresp_body_bytes'] = undefined;
+
+/**
+ * Total duration of passthrough WebSocket connections with end users.
+ * @member {Number} websocket_conn_time_ms
+ */
+RealtimeMeasurements.prototype['websocket_conn_time_ms'] = undefined;
+
+/**
+ * Total message content bytes sent to end users over passthrough WebSocket connections.
+ * @member {Number} websocket_resp_body_bytes
+ */
+RealtimeMeasurements.prototype['websocket_resp_body_bytes'] = undefined;
+
+/**
+ * Total published messages received from the publish API endpoint.
+ * @member {Number} fanout_recv_publishes
+ */
+RealtimeMeasurements.prototype['fanout_recv_publishes'] = undefined;
+
+/**
+ * Total published messages sent to end users.
+ * @member {Number} fanout_send_publishes
+ */
+RealtimeMeasurements.prototype['fanout_send_publishes'] = undefined;
+
+/**
+ * The total number of reads received for the object store.
+ * @member {Number} object_store_read_requests
+ */
+RealtimeMeasurements.prototype['object_store_read_requests'] = undefined;
+
+/**
+ * The total number of writes received for the object store.
+ * @member {Number} object_store_write_requests
+ */
+RealtimeMeasurements.prototype['object_store_write_requests'] = undefined;
+
+/**
+ * Total header bytes received from end users over Fanout connections.
+ * @member {Number} fanout_req_header_bytes
+ */
+RealtimeMeasurements.prototype['fanout_req_header_bytes'] = undefined;
+
+/**
+ * Total body or message content bytes received from end users over Fanout connections.
+ * @member {Number} fanout_req_body_bytes
+ */
+RealtimeMeasurements.prototype['fanout_req_body_bytes'] = undefined;
+
+/**
+ * Total header bytes sent to end users over Fanout connections.
+ * @member {Number} fanout_resp_header_bytes
+ */
+RealtimeMeasurements.prototype['fanout_resp_header_bytes'] = undefined;
+
+/**
+ * Total body or message content bytes sent to end users over Fanout connections, excluding published message content.
+ * @member {Number} fanout_resp_body_bytes
+ */
+RealtimeMeasurements.prototype['fanout_resp_body_bytes'] = undefined;
+
+/**
+ * Total header bytes sent to backends over Fanout connections.
+ * @member {Number} fanout_bereq_header_bytes
+ */
+RealtimeMeasurements.prototype['fanout_bereq_header_bytes'] = undefined;
+
+/**
+ * Total body or message content bytes sent to backends over Fanout connections.
+ * @member {Number} fanout_bereq_body_bytes
+ */
+RealtimeMeasurements.prototype['fanout_bereq_body_bytes'] = undefined;
+
+/**
+ * Total header bytes received from backends over Fanout connections.
+ * @member {Number} fanout_beresp_header_bytes
+ */
+RealtimeMeasurements.prototype['fanout_beresp_header_bytes'] = undefined;
+
+/**
+ * Total body or message content bytes received from backends over Fanout connections.
+ * @member {Number} fanout_beresp_body_bytes
+ */
+RealtimeMeasurements.prototype['fanout_beresp_body_bytes'] = undefined;
+
+/**
+ * Total duration of Fanout connections with end users.
+ * @member {Number} fanout_conn_time_ms
+ */
+RealtimeMeasurements.prototype['fanout_conn_time_ms'] = undefined;
var _default = RealtimeMeasurements;
exports["default"] = _default;
@@ -90271,23 +86656,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
-var _RelationshipTlsDomainTlsDomain = _interopRequireDefault(__nccwpck_require__(85349));
-
+var _RelationshipMemberTlsDomain = _interopRequireDefault(__nccwpck_require__(75870));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipCommonName model module.
* @module model/RelationshipCommonName
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipCommonName = /*#__PURE__*/function () {
/**
@@ -90296,19 +86677,18 @@ var RelationshipCommonName = /*#__PURE__*/function () {
*/
function RelationshipCommonName() {
_classCallCheck(this, RelationshipCommonName);
-
RelationshipCommonName.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipCommonName, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipCommonName
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -90316,29 +86696,23 @@ var RelationshipCommonName = /*#__PURE__*/function () {
* @param {module:model/RelationshipCommonName} obj Optional instance to populate.
* @return {module:model/RelationshipCommonName} The populated RelationshipCommonName
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipCommonName();
-
if (data.hasOwnProperty('common_name')) {
- obj['common_name'] = _RelationshipTlsDomainTlsDomain["default"].constructFromObject(data['common_name']);
+ obj['common_name'] = _RelationshipMemberTlsDomain["default"].constructFromObject(data['common_name']);
}
}
-
return obj;
}
}]);
-
return RelationshipCommonName;
}();
/**
- * @member {module:model/RelationshipTlsDomainTlsDomain} common_name
+ * @member {module:model/RelationshipMemberTlsDomain} common_name
*/
-
-
RelationshipCommonName.prototype['common_name'] = undefined;
var _default = RelationshipCommonName;
exports["default"] = _default;
@@ -90355,23 +86729,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipCustomerCustomer = _interopRequireDefault(__nccwpck_require__(32655));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipCustomer model module.
* @module model/RelationshipCustomer
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipCustomer = /*#__PURE__*/function () {
/**
@@ -90380,19 +86750,18 @@ var RelationshipCustomer = /*#__PURE__*/function () {
*/
function RelationshipCustomer() {
_classCallCheck(this, RelationshipCustomer);
-
RelationshipCustomer.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipCustomer, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipCustomer
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -90400,29 +86769,23 @@ var RelationshipCustomer = /*#__PURE__*/function () {
* @param {module:model/RelationshipCustomer} obj Optional instance to populate.
* @return {module:model/RelationshipCustomer} The populated RelationshipCustomer
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipCustomer();
-
if (data.hasOwnProperty('customer')) {
obj['customer'] = _RelationshipCustomerCustomer["default"].constructFromObject(data['customer']);
}
}
-
return obj;
}
}]);
-
return RelationshipCustomer;
}();
/**
* @member {module:model/RelationshipCustomerCustomer} customer
*/
-
-
RelationshipCustomer.prototype['customer'] = undefined;
var _default = RelationshipCustomer;
exports["default"] = _default;
@@ -90439,23 +86802,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipMemberCustomer = _interopRequireDefault(__nccwpck_require__(51042));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipCustomerCustomer model module.
* @module model/RelationshipCustomerCustomer
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipCustomerCustomer = /*#__PURE__*/function () {
/**
@@ -90464,19 +86823,18 @@ var RelationshipCustomerCustomer = /*#__PURE__*/function () {
*/
function RelationshipCustomerCustomer() {
_classCallCheck(this, RelationshipCustomerCustomer);
-
RelationshipCustomerCustomer.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipCustomerCustomer, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipCustomerCustomer
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -90484,29 +86842,23 @@ var RelationshipCustomerCustomer = /*#__PURE__*/function () {
* @param {module:model/RelationshipCustomerCustomer} obj Optional instance to populate.
* @return {module:model/RelationshipCustomerCustomer} The populated RelationshipCustomerCustomer
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipCustomerCustomer();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberCustomer["default"]]);
}
}
-
return obj;
}
}]);
-
return RelationshipCustomerCustomer;
}();
/**
* @member {Array.RelationshipMemberCustomer
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -90568,45 +86915,38 @@ var RelationshipMemberCustomer = /*#__PURE__*/function () {
* @param {module:model/RelationshipMemberCustomer} obj Optional instance to populate.
* @return {module:model/RelationshipMemberCustomer} The populated RelationshipMemberCustomer
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipMemberCustomer();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeCustomer["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RelationshipMemberCustomer;
}();
/**
* @member {module:model/TypeCustomer} type
*/
-
-
RelationshipMemberCustomer.prototype['type'] = undefined;
+
/**
* @member {String} id
*/
-
RelationshipMemberCustomer.prototype['id'] = undefined;
var _default = RelationshipMemberCustomer;
exports["default"] = _default;
/***/ }),
-/***/ 91519:
+/***/ 64820:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -90616,23 +86956,100 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _TypeMutualAuthentication = _interopRequireDefault(__nccwpck_require__(60498));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The RelationshipMemberMutualAuthentication model module.
+ * @module model/RelationshipMemberMutualAuthentication
+ * @version v3.1.0
+ */
+var RelationshipMemberMutualAuthentication = /*#__PURE__*/function () {
+ /**
+ * Constructs a new RelationshipMemberMutualAuthentication
.
+ * @alias module:model/RelationshipMemberMutualAuthentication
+ */
+ function RelationshipMemberMutualAuthentication() {
+ _classCallCheck(this, RelationshipMemberMutualAuthentication);
+ RelationshipMemberMutualAuthentication.initialize(this);
+ }
-var _TypeService = _interopRequireDefault(__nccwpck_require__(9183));
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(RelationshipMemberMutualAuthentication, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+ /**
+ * Constructs a RelationshipMemberMutualAuthentication
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RelationshipMemberMutualAuthentication} obj Optional instance to populate.
+ * @return {module:model/RelationshipMemberMutualAuthentication} The populated RelationshipMemberMutualAuthentication
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RelationshipMemberMutualAuthentication();
+ if (data.hasOwnProperty('type')) {
+ obj['type'] = _TypeMutualAuthentication["default"].constructFromObject(data['type']);
+ }
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return RelationshipMemberMutualAuthentication;
+}();
+/**
+ * @member {module:model/TypeMutualAuthentication} type
+ */
+RelationshipMemberMutualAuthentication.prototype['type'] = undefined;
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+/**
+ * @member {String} id
+ */
+RelationshipMemberMutualAuthentication.prototype['id'] = undefined;
+var _default = RelationshipMemberMutualAuthentication;
+exports["default"] = _default;
+
+/***/ }),
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+/***/ 91519:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _TypeService = _interopRequireDefault(__nccwpck_require__(9183));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipMemberService model module.
* @module model/RelationshipMemberService
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipMemberService = /*#__PURE__*/function () {
/**
@@ -90641,19 +87058,18 @@ var RelationshipMemberService = /*#__PURE__*/function () {
*/
function RelationshipMemberService() {
_classCallCheck(this, RelationshipMemberService);
-
RelationshipMemberService.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipMemberService, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipMemberService
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -90661,38 +87077,31 @@ var RelationshipMemberService = /*#__PURE__*/function () {
* @param {module:model/RelationshipMemberService} obj Optional instance to populate.
* @return {module:model/RelationshipMemberService} The populated RelationshipMemberService
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipMemberService();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeService["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RelationshipMemberService;
}();
/**
* @member {module:model/TypeService} type
*/
-
-
RelationshipMemberService.prototype['type'] = undefined;
+
/**
* @member {String} id
*/
-
RelationshipMemberService.prototype['id'] = undefined;
var _default = RelationshipMemberService;
exports["default"] = _default;
@@ -90709,23 +87118,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeServiceInvitation = _interopRequireDefault(__nccwpck_require__(93394));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipMemberServiceInvitation model module.
* @module model/RelationshipMemberServiceInvitation
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipMemberServiceInvitation = /*#__PURE__*/function () {
/**
@@ -90734,19 +87139,18 @@ var RelationshipMemberServiceInvitation = /*#__PURE__*/function () {
*/
function RelationshipMemberServiceInvitation() {
_classCallCheck(this, RelationshipMemberServiceInvitation);
-
RelationshipMemberServiceInvitation.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipMemberServiceInvitation, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipMemberServiceInvitation
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -90754,39 +87158,32 @@ var RelationshipMemberServiceInvitation = /*#__PURE__*/function () {
* @param {module:model/RelationshipMemberServiceInvitation} obj Optional instance to populate.
* @return {module:model/RelationshipMemberServiceInvitation} The populated RelationshipMemberServiceInvitation
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipMemberServiceInvitation();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeServiceInvitation["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RelationshipMemberServiceInvitation;
}();
/**
* @member {module:model/TypeServiceInvitation} type
*/
-
-
RelationshipMemberServiceInvitation.prototype['type'] = undefined;
+
/**
* Alphanumeric string identifying a service invitation.
* @member {String} id
*/
-
RelationshipMemberServiceInvitation.prototype['id'] = undefined;
var _default = RelationshipMemberServiceInvitation;
exports["default"] = _default;
@@ -90803,23 +87200,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeTlsActivation = _interopRequireDefault(__nccwpck_require__(43401));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipMemberTlsActivation model module.
* @module model/RelationshipMemberTlsActivation
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipMemberTlsActivation = /*#__PURE__*/function () {
/**
@@ -90828,19 +87221,18 @@ var RelationshipMemberTlsActivation = /*#__PURE__*/function () {
*/
function RelationshipMemberTlsActivation() {
_classCallCheck(this, RelationshipMemberTlsActivation);
-
RelationshipMemberTlsActivation.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipMemberTlsActivation, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipMemberTlsActivation
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -90848,38 +87240,31 @@ var RelationshipMemberTlsActivation = /*#__PURE__*/function () {
* @param {module:model/RelationshipMemberTlsActivation} obj Optional instance to populate.
* @return {module:model/RelationshipMemberTlsActivation} The populated RelationshipMemberTlsActivation
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipMemberTlsActivation();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsActivation["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RelationshipMemberTlsActivation;
}();
/**
* @member {module:model/TypeTlsActivation} type
*/
-
-
RelationshipMemberTlsActivation.prototype['type'] = undefined;
+
/**
* @member {String} id
*/
-
RelationshipMemberTlsActivation.prototype['id'] = undefined;
var _default = RelationshipMemberTlsActivation;
exports["default"] = _default;
@@ -90896,23 +87281,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeTlsBulkCertificate = _interopRequireDefault(__nccwpck_require__(96431));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipMemberTlsBulkCertificate model module.
* @module model/RelationshipMemberTlsBulkCertificate
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipMemberTlsBulkCertificate = /*#__PURE__*/function () {
/**
@@ -90921,19 +87302,18 @@ var RelationshipMemberTlsBulkCertificate = /*#__PURE__*/function () {
*/
function RelationshipMemberTlsBulkCertificate() {
_classCallCheck(this, RelationshipMemberTlsBulkCertificate);
-
RelationshipMemberTlsBulkCertificate.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipMemberTlsBulkCertificate, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipMemberTlsBulkCertificate
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -90941,38 +87321,31 @@ var RelationshipMemberTlsBulkCertificate = /*#__PURE__*/function () {
* @param {module:model/RelationshipMemberTlsBulkCertificate} obj Optional instance to populate.
* @return {module:model/RelationshipMemberTlsBulkCertificate} The populated RelationshipMemberTlsBulkCertificate
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipMemberTlsBulkCertificate();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsBulkCertificate["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RelationshipMemberTlsBulkCertificate;
}();
/**
* @member {module:model/TypeTlsBulkCertificate} type
*/
-
-
RelationshipMemberTlsBulkCertificate.prototype['type'] = undefined;
+
/**
* @member {String} id
*/
-
RelationshipMemberTlsBulkCertificate.prototype['id'] = undefined;
var _default = RelationshipMemberTlsBulkCertificate;
exports["default"] = _default;
@@ -90989,23 +87362,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeTlsCertificate = _interopRequireDefault(__nccwpck_require__(70556));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipMemberTlsCertificate model module.
* @module model/RelationshipMemberTlsCertificate
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipMemberTlsCertificate = /*#__PURE__*/function () {
/**
@@ -91014,19 +87383,18 @@ var RelationshipMemberTlsCertificate = /*#__PURE__*/function () {
*/
function RelationshipMemberTlsCertificate() {
_classCallCheck(this, RelationshipMemberTlsCertificate);
-
RelationshipMemberTlsCertificate.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipMemberTlsCertificate, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipMemberTlsCertificate
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -91034,38 +87402,31 @@ var RelationshipMemberTlsCertificate = /*#__PURE__*/function () {
* @param {module:model/RelationshipMemberTlsCertificate} obj Optional instance to populate.
* @return {module:model/RelationshipMemberTlsCertificate} The populated RelationshipMemberTlsCertificate
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipMemberTlsCertificate();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsCertificate["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RelationshipMemberTlsCertificate;
}();
/**
* @member {module:model/TypeTlsCertificate} type
*/
-
-
RelationshipMemberTlsCertificate.prototype['type'] = undefined;
+
/**
* @member {String} id
*/
-
RelationshipMemberTlsCertificate.prototype['id'] = undefined;
var _default = RelationshipMemberTlsCertificate;
exports["default"] = _default;
@@ -91082,23 +87443,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeTlsConfiguration = _interopRequireDefault(__nccwpck_require__(39168));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipMemberTlsConfiguration model module.
* @module model/RelationshipMemberTlsConfiguration
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipMemberTlsConfiguration = /*#__PURE__*/function () {
/**
@@ -91107,19 +87464,18 @@ var RelationshipMemberTlsConfiguration = /*#__PURE__*/function () {
*/
function RelationshipMemberTlsConfiguration() {
_classCallCheck(this, RelationshipMemberTlsConfiguration);
-
RelationshipMemberTlsConfiguration.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipMemberTlsConfiguration, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipMemberTlsConfiguration
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -91127,38 +87483,31 @@ var RelationshipMemberTlsConfiguration = /*#__PURE__*/function () {
* @param {module:model/RelationshipMemberTlsConfiguration} obj Optional instance to populate.
* @return {module:model/RelationshipMemberTlsConfiguration} The populated RelationshipMemberTlsConfiguration
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipMemberTlsConfiguration();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsConfiguration["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RelationshipMemberTlsConfiguration;
}();
/**
* @member {module:model/TypeTlsConfiguration} type
*/
-
-
RelationshipMemberTlsConfiguration.prototype['type'] = undefined;
+
/**
* @member {String} id
*/
-
RelationshipMemberTlsConfiguration.prototype['id'] = undefined;
var _default = RelationshipMemberTlsConfiguration;
exports["default"] = _default;
@@ -91175,23 +87524,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeTlsDnsRecord = _interopRequireDefault(__nccwpck_require__(74397));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipMemberTlsDnsRecord model module.
* @module model/RelationshipMemberTlsDnsRecord
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipMemberTlsDnsRecord = /*#__PURE__*/function () {
/**
@@ -91200,19 +87545,18 @@ var RelationshipMemberTlsDnsRecord = /*#__PURE__*/function () {
*/
function RelationshipMemberTlsDnsRecord() {
_classCallCheck(this, RelationshipMemberTlsDnsRecord);
-
RelationshipMemberTlsDnsRecord.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipMemberTlsDnsRecord, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipMemberTlsDnsRecord
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -91220,38 +87564,31 @@ var RelationshipMemberTlsDnsRecord = /*#__PURE__*/function () {
* @param {module:model/RelationshipMemberTlsDnsRecord} obj Optional instance to populate.
* @return {module:model/RelationshipMemberTlsDnsRecord} The populated RelationshipMemberTlsDnsRecord
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipMemberTlsDnsRecord();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsDnsRecord["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RelationshipMemberTlsDnsRecord;
}();
/**
* @member {module:model/TypeTlsDnsRecord} type
*/
-
-
RelationshipMemberTlsDnsRecord.prototype['type'] = undefined;
+
/**
* @member {String} id
*/
-
RelationshipMemberTlsDnsRecord.prototype['id'] = undefined;
var _default = RelationshipMemberTlsDnsRecord;
exports["default"] = _default;
@@ -91268,23 +87605,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeTlsDomain = _interopRequireDefault(__nccwpck_require__(33246));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipMemberTlsDomain model module.
* @module model/RelationshipMemberTlsDomain
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipMemberTlsDomain = /*#__PURE__*/function () {
/**
@@ -91293,19 +87626,18 @@ var RelationshipMemberTlsDomain = /*#__PURE__*/function () {
*/
function RelationshipMemberTlsDomain() {
_classCallCheck(this, RelationshipMemberTlsDomain);
-
RelationshipMemberTlsDomain.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipMemberTlsDomain, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipMemberTlsDomain
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -91313,39 +87645,32 @@ var RelationshipMemberTlsDomain = /*#__PURE__*/function () {
* @param {module:model/RelationshipMemberTlsDomain} obj Optional instance to populate.
* @return {module:model/RelationshipMemberTlsDomain} The populated RelationshipMemberTlsDomain
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipMemberTlsDomain();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsDomain["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RelationshipMemberTlsDomain;
}();
/**
* @member {module:model/TypeTlsDomain} type
*/
-
-
RelationshipMemberTlsDomain.prototype['type'] = undefined;
+
/**
* The domain name.
* @member {String} id
*/
-
RelationshipMemberTlsDomain.prototype['id'] = undefined;
var _default = RelationshipMemberTlsDomain;
exports["default"] = _default;
@@ -91362,23 +87687,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeTlsPrivateKey = _interopRequireDefault(__nccwpck_require__(93074));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipMemberTlsPrivateKey model module.
* @module model/RelationshipMemberTlsPrivateKey
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipMemberTlsPrivateKey = /*#__PURE__*/function () {
/**
@@ -91387,19 +87708,18 @@ var RelationshipMemberTlsPrivateKey = /*#__PURE__*/function () {
*/
function RelationshipMemberTlsPrivateKey() {
_classCallCheck(this, RelationshipMemberTlsPrivateKey);
-
RelationshipMemberTlsPrivateKey.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipMemberTlsPrivateKey, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipMemberTlsPrivateKey
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -91407,38 +87727,31 @@ var RelationshipMemberTlsPrivateKey = /*#__PURE__*/function () {
* @param {module:model/RelationshipMemberTlsPrivateKey} obj Optional instance to populate.
* @return {module:model/RelationshipMemberTlsPrivateKey} The populated RelationshipMemberTlsPrivateKey
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipMemberTlsPrivateKey();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsPrivateKey["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RelationshipMemberTlsPrivateKey;
}();
/**
* @member {module:model/TypeTlsPrivateKey} type
*/
-
-
RelationshipMemberTlsPrivateKey.prototype['type'] = undefined;
+
/**
* @member {String} id
*/
-
RelationshipMemberTlsPrivateKey.prototype['id'] = undefined;
var _default = RelationshipMemberTlsPrivateKey;
exports["default"] = _default;
@@ -91455,23 +87768,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeTlsSubscription = _interopRequireDefault(__nccwpck_require__(57098));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipMemberTlsSubscription model module.
* @module model/RelationshipMemberTlsSubscription
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipMemberTlsSubscription = /*#__PURE__*/function () {
/**
@@ -91480,19 +87789,18 @@ var RelationshipMemberTlsSubscription = /*#__PURE__*/function () {
*/
function RelationshipMemberTlsSubscription() {
_classCallCheck(this, RelationshipMemberTlsSubscription);
-
RelationshipMemberTlsSubscription.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipMemberTlsSubscription, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipMemberTlsSubscription
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -91500,38 +87808,31 @@ var RelationshipMemberTlsSubscription = /*#__PURE__*/function () {
* @param {module:model/RelationshipMemberTlsSubscription} obj Optional instance to populate.
* @return {module:model/RelationshipMemberTlsSubscription} The populated RelationshipMemberTlsSubscription
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipMemberTlsSubscription();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsSubscription["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RelationshipMemberTlsSubscription;
}();
/**
* @member {module:model/TypeTlsSubscription} type
*/
-
-
RelationshipMemberTlsSubscription.prototype['type'] = undefined;
+
/**
* @member {String} id
*/
-
RelationshipMemberTlsSubscription.prototype['id'] = undefined;
var _default = RelationshipMemberTlsSubscription;
exports["default"] = _default;
@@ -91548,23 +87849,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeWafActiveRule = _interopRequireDefault(__nccwpck_require__(34550));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipMemberWafActiveRule model module.
* @module model/RelationshipMemberWafActiveRule
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipMemberWafActiveRule = /*#__PURE__*/function () {
/**
@@ -91573,19 +87870,18 @@ var RelationshipMemberWafActiveRule = /*#__PURE__*/function () {
*/
function RelationshipMemberWafActiveRule() {
_classCallCheck(this, RelationshipMemberWafActiveRule);
-
RelationshipMemberWafActiveRule.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipMemberWafActiveRule, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipMemberWafActiveRule
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -91593,38 +87889,31 @@ var RelationshipMemberWafActiveRule = /*#__PURE__*/function () {
* @param {module:model/RelationshipMemberWafActiveRule} obj Optional instance to populate.
* @return {module:model/RelationshipMemberWafActiveRule} The populated RelationshipMemberWafActiveRule
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipMemberWafActiveRule();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafActiveRule["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RelationshipMemberWafActiveRule;
}();
/**
* @member {module:model/TypeWafActiveRule} type
*/
-
-
RelationshipMemberWafActiveRule.prototype['type'] = undefined;
+
/**
* @member {String} id
*/
-
RelationshipMemberWafActiveRule.prototype['id'] = undefined;
var _default = RelationshipMemberWafActiveRule;
exports["default"] = _default;
@@ -91641,23 +87930,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeWafFirewall = _interopRequireDefault(__nccwpck_require__(40740));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipMemberWafFirewall model module.
* @module model/RelationshipMemberWafFirewall
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipMemberWafFirewall = /*#__PURE__*/function () {
/**
@@ -91666,19 +87951,18 @@ var RelationshipMemberWafFirewall = /*#__PURE__*/function () {
*/
function RelationshipMemberWafFirewall() {
_classCallCheck(this, RelationshipMemberWafFirewall);
-
RelationshipMemberWafFirewall.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipMemberWafFirewall, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipMemberWafFirewall
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -91686,38 +87970,31 @@ var RelationshipMemberWafFirewall = /*#__PURE__*/function () {
* @param {module:model/RelationshipMemberWafFirewall} obj Optional instance to populate.
* @return {module:model/RelationshipMemberWafFirewall} The populated RelationshipMemberWafFirewall
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipMemberWafFirewall();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafFirewall["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RelationshipMemberWafFirewall;
}();
/**
* @member {module:model/TypeWafFirewall} type
- */
-
-
+ */
RelationshipMemberWafFirewall.prototype['type'] = undefined;
+
/**
* @member {String} id
*/
-
RelationshipMemberWafFirewall.prototype['id'] = undefined;
var _default = RelationshipMemberWafFirewall;
exports["default"] = _default;
@@ -91734,23 +88011,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeWafFirewallVersion = _interopRequireDefault(__nccwpck_require__(87741));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipMemberWafFirewallVersion model module.
* @module model/RelationshipMemberWafFirewallVersion
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipMemberWafFirewallVersion = /*#__PURE__*/function () {
/**
@@ -91759,19 +88032,18 @@ var RelationshipMemberWafFirewallVersion = /*#__PURE__*/function () {
*/
function RelationshipMemberWafFirewallVersion() {
_classCallCheck(this, RelationshipMemberWafFirewallVersion);
-
RelationshipMemberWafFirewallVersion.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipMemberWafFirewallVersion, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipMemberWafFirewallVersion
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -91779,39 +88051,32 @@ var RelationshipMemberWafFirewallVersion = /*#__PURE__*/function () {
* @param {module:model/RelationshipMemberWafFirewallVersion} obj Optional instance to populate.
* @return {module:model/RelationshipMemberWafFirewallVersion} The populated RelationshipMemberWafFirewallVersion
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipMemberWafFirewallVersion();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafFirewallVersion["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RelationshipMemberWafFirewallVersion;
}();
/**
* @member {module:model/TypeWafFirewallVersion} type
*/
-
-
RelationshipMemberWafFirewallVersion.prototype['type'] = undefined;
+
/**
* Alphanumeric string identifying a Firewall version.
* @member {String} id
*/
-
RelationshipMemberWafFirewallVersion.prototype['id'] = undefined;
var _default = RelationshipMemberWafFirewallVersion;
exports["default"] = _default;
@@ -91828,23 +88093,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeWafRule = _interopRequireDefault(__nccwpck_require__(21834));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipMemberWafRule model module.
* @module model/RelationshipMemberWafRule
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipMemberWafRule = /*#__PURE__*/function () {
/**
@@ -91853,19 +88114,18 @@ var RelationshipMemberWafRule = /*#__PURE__*/function () {
*/
function RelationshipMemberWafRule() {
_classCallCheck(this, RelationshipMemberWafRule);
-
RelationshipMemberWafRule.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipMemberWafRule, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipMemberWafRule
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -91873,38 +88133,31 @@ var RelationshipMemberWafRule = /*#__PURE__*/function () {
* @param {module:model/RelationshipMemberWafRule} obj Optional instance to populate.
* @return {module:model/RelationshipMemberWafRule} The populated RelationshipMemberWafRule
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipMemberWafRule();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafRule["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RelationshipMemberWafRule;
}();
/**
* @member {module:model/TypeWafRule} type
*/
-
-
RelationshipMemberWafRule.prototype['type'] = undefined;
+
/**
* @member {String} id
*/
-
RelationshipMemberWafRule.prototype['id'] = undefined;
var _default = RelationshipMemberWafRule;
exports["default"] = _default;
@@ -91921,23 +88174,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeWafRuleRevision = _interopRequireDefault(__nccwpck_require__(51085));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipMemberWafRuleRevision model module.
* @module model/RelationshipMemberWafRuleRevision
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipMemberWafRuleRevision = /*#__PURE__*/function () {
/**
@@ -91946,19 +88195,18 @@ var RelationshipMemberWafRuleRevision = /*#__PURE__*/function () {
*/
function RelationshipMemberWafRuleRevision() {
_classCallCheck(this, RelationshipMemberWafRuleRevision);
-
RelationshipMemberWafRuleRevision.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipMemberWafRuleRevision, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipMemberWafRuleRevision
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -91966,39 +88214,32 @@ var RelationshipMemberWafRuleRevision = /*#__PURE__*/function () {
* @param {module:model/RelationshipMemberWafRuleRevision} obj Optional instance to populate.
* @return {module:model/RelationshipMemberWafRuleRevision} The populated RelationshipMemberWafRuleRevision
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipMemberWafRuleRevision();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafRuleRevision["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RelationshipMemberWafRuleRevision;
}();
/**
* @member {module:model/TypeWafRuleRevision} type
*/
-
-
RelationshipMemberWafRuleRevision.prototype['type'] = undefined;
+
/**
* Alphanumeric string identifying a WAF rule revision.
* @member {String} id
*/
-
RelationshipMemberWafRuleRevision.prototype['id'] = undefined;
var _default = RelationshipMemberWafRuleRevision;
exports["default"] = _default;
@@ -92015,23 +88256,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeWafTag = _interopRequireDefault(__nccwpck_require__(26040));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipMemberWafTag model module.
* @module model/RelationshipMemberWafTag
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipMemberWafTag = /*#__PURE__*/function () {
/**
@@ -92040,19 +88277,18 @@ var RelationshipMemberWafTag = /*#__PURE__*/function () {
*/
function RelationshipMemberWafTag() {
_classCallCheck(this, RelationshipMemberWafTag);
-
RelationshipMemberWafTag.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipMemberWafTag, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipMemberWafTag
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -92060,46 +88296,39 @@ var RelationshipMemberWafTag = /*#__PURE__*/function () {
* @param {module:model/RelationshipMemberWafTag} obj Optional instance to populate.
* @return {module:model/RelationshipMemberWafTag} The populated RelationshipMemberWafTag
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipMemberWafTag();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafTag["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return RelationshipMemberWafTag;
}();
/**
* @member {module:model/TypeWafTag} type
*/
-
-
RelationshipMemberWafTag.prototype['type'] = undefined;
+
/**
* Alphanumeric string identifying a WAF tag.
* @member {String} id
*/
-
RelationshipMemberWafTag.prototype['id'] = undefined;
var _default = RelationshipMemberWafTag;
exports["default"] = _default;
/***/ }),
-/***/ 12979:
+/***/ 90327:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -92109,23 +88338,311 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _RelationshipMutualAuthenticationMutualAuthentication = _interopRequireDefault(__nccwpck_require__(11225));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The RelationshipMutualAuthentication model module.
+ * @module model/RelationshipMutualAuthentication
+ * @version v3.1.0
+ */
+var RelationshipMutualAuthentication = /*#__PURE__*/function () {
+ /**
+ * Constructs a new RelationshipMutualAuthentication
.
+ * @alias module:model/RelationshipMutualAuthentication
+ */
+ function RelationshipMutualAuthentication() {
+ _classCallCheck(this, RelationshipMutualAuthentication);
+ RelationshipMutualAuthentication.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(RelationshipMutualAuthentication, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a RelationshipMutualAuthentication
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RelationshipMutualAuthentication} obj Optional instance to populate.
+ * @return {module:model/RelationshipMutualAuthentication} The populated RelationshipMutualAuthentication
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RelationshipMutualAuthentication();
+ if (data.hasOwnProperty('mutual_authentication')) {
+ obj['mutual_authentication'] = _RelationshipMutualAuthenticationMutualAuthentication["default"].constructFromObject(data['mutual_authentication']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return RelationshipMutualAuthentication;
+}();
+/**
+ * @member {module:model/RelationshipMutualAuthenticationMutualAuthentication} mutual_authentication
+ */
+RelationshipMutualAuthentication.prototype['mutual_authentication'] = undefined;
+var _default = RelationshipMutualAuthentication;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 11225:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _RelationshipMemberMutualAuthentication = _interopRequireDefault(__nccwpck_require__(64820));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The RelationshipMutualAuthenticationMutualAuthentication model module.
+ * @module model/RelationshipMutualAuthenticationMutualAuthentication
+ * @version v3.1.0
+ */
+var RelationshipMutualAuthenticationMutualAuthentication = /*#__PURE__*/function () {
+ /**
+ * Constructs a new RelationshipMutualAuthenticationMutualAuthentication
.
+ * @alias module:model/RelationshipMutualAuthenticationMutualAuthentication
+ */
+ function RelationshipMutualAuthenticationMutualAuthentication() {
+ _classCallCheck(this, RelationshipMutualAuthenticationMutualAuthentication);
+ RelationshipMutualAuthenticationMutualAuthentication.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(RelationshipMutualAuthenticationMutualAuthentication, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a RelationshipMutualAuthenticationMutualAuthentication
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RelationshipMutualAuthenticationMutualAuthentication} obj Optional instance to populate.
+ * @return {module:model/RelationshipMutualAuthenticationMutualAuthentication} The populated RelationshipMutualAuthenticationMutualAuthentication
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RelationshipMutualAuthenticationMutualAuthentication();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _RelationshipMemberMutualAuthentication["default"].constructFromObject(data['data']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return RelationshipMutualAuthenticationMutualAuthentication;
+}();
+/**
+ * @member {module:model/RelationshipMemberMutualAuthentication} data
+ */
+RelationshipMutualAuthenticationMutualAuthentication.prototype['data'] = undefined;
+var _default = RelationshipMutualAuthenticationMutualAuthentication;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 16054:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
-var _RelationshipServiceService = _interopRequireDefault(__nccwpck_require__(25370));
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _RelationshipMutualAuthenticationsMutualAuthentications = _interopRequireDefault(__nccwpck_require__(93019));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The RelationshipMutualAuthentications model module.
+ * @module model/RelationshipMutualAuthentications
+ * @version v3.1.0
+ */
+var RelationshipMutualAuthentications = /*#__PURE__*/function () {
+ /**
+ * Constructs a new RelationshipMutualAuthentications
.
+ * @alias module:model/RelationshipMutualAuthentications
+ */
+ function RelationshipMutualAuthentications() {
+ _classCallCheck(this, RelationshipMutualAuthentications);
+ RelationshipMutualAuthentications.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(RelationshipMutualAuthentications, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+ /**
+ * Constructs a RelationshipMutualAuthentications
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RelationshipMutualAuthentications} obj Optional instance to populate.
+ * @return {module:model/RelationshipMutualAuthentications} The populated RelationshipMutualAuthentications
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RelationshipMutualAuthentications();
+ if (data.hasOwnProperty('mutual_authentications')) {
+ obj['mutual_authentications'] = _RelationshipMutualAuthenticationsMutualAuthentications["default"].constructFromObject(data['mutual_authentications']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return RelationshipMutualAuthentications;
+}();
+/**
+ * @member {module:model/RelationshipMutualAuthenticationsMutualAuthentications} mutual_authentications
+ */
+RelationshipMutualAuthentications.prototype['mutual_authentications'] = undefined;
+var _default = RelationshipMutualAuthentications;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 93019:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _RelationshipMemberMutualAuthentication = _interopRequireDefault(__nccwpck_require__(64820));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The RelationshipMutualAuthenticationsMutualAuthentications model module.
+ * @module model/RelationshipMutualAuthenticationsMutualAuthentications
+ * @version v3.1.0
+ */
+var RelationshipMutualAuthenticationsMutualAuthentications = /*#__PURE__*/function () {
+ /**
+ * Constructs a new RelationshipMutualAuthenticationsMutualAuthentications
.
+ * @alias module:model/RelationshipMutualAuthenticationsMutualAuthentications
+ */
+ function RelationshipMutualAuthenticationsMutualAuthentications() {
+ _classCallCheck(this, RelationshipMutualAuthenticationsMutualAuthentications);
+ RelationshipMutualAuthenticationsMutualAuthentications.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(RelationshipMutualAuthenticationsMutualAuthentications, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a RelationshipMutualAuthenticationsMutualAuthentications
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RelationshipMutualAuthenticationsMutualAuthentications} obj Optional instance to populate.
+ * @return {module:model/RelationshipMutualAuthenticationsMutualAuthentications} The populated RelationshipMutualAuthenticationsMutualAuthentications
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RelationshipMutualAuthenticationsMutualAuthentications();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberMutualAuthentication["default"]]);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return RelationshipMutualAuthenticationsMutualAuthentications;
+}();
+/**
+ * @member {Array.RelationshipService
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -92154,29 +88670,23 @@ var RelationshipService = /*#__PURE__*/function () {
* @param {module:model/RelationshipService} obj Optional instance to populate.
* @return {module:model/RelationshipService} The populated RelationshipService
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipService();
-
if (data.hasOwnProperty('service')) {
- obj['service'] = _RelationshipServiceService["default"].constructFromObject(data['service']);
+ obj['service'] = _RelationshipMemberService["default"].constructFromObject(data['service']);
}
}
-
return obj;
}
}]);
-
return RelationshipService;
}();
/**
- * @member {module:model/RelationshipServiceService} service
+ * @member {module:model/RelationshipMemberService} service
*/
-
-
RelationshipService.prototype['service'] = undefined;
var _default = RelationshipService;
exports["default"] = _default;
@@ -92193,23 +88703,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipServiceInvitationsServiceInvitations = _interopRequireDefault(__nccwpck_require__(86061));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipServiceInvitations model module.
* @module model/RelationshipServiceInvitations
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipServiceInvitations = /*#__PURE__*/function () {
/**
@@ -92218,19 +88724,18 @@ var RelationshipServiceInvitations = /*#__PURE__*/function () {
*/
function RelationshipServiceInvitations() {
_classCallCheck(this, RelationshipServiceInvitations);
-
RelationshipServiceInvitations.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipServiceInvitations, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipServiceInvitations
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -92238,29 +88743,23 @@ var RelationshipServiceInvitations = /*#__PURE__*/function () {
* @param {module:model/RelationshipServiceInvitations} obj Optional instance to populate.
* @return {module:model/RelationshipServiceInvitations} The populated RelationshipServiceInvitations
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipServiceInvitations();
-
if (data.hasOwnProperty('service_invitations')) {
obj['service_invitations'] = _RelationshipServiceInvitationsServiceInvitations["default"].constructFromObject(data['service_invitations']);
}
}
-
return obj;
}
}]);
-
return RelationshipServiceInvitations;
}();
/**
* @member {module:model/RelationshipServiceInvitationsServiceInvitations} service_invitations
*/
-
-
RelationshipServiceInvitations.prototype['service_invitations'] = undefined;
var _default = RelationshipServiceInvitations;
exports["default"] = _default;
@@ -92277,23 +88776,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipServiceInvitationsCreateServiceInvitations = _interopRequireDefault(__nccwpck_require__(55696));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipServiceInvitationsCreate model module.
* @module model/RelationshipServiceInvitationsCreate
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipServiceInvitationsCreate = /*#__PURE__*/function () {
/**
@@ -92302,19 +88797,18 @@ var RelationshipServiceInvitationsCreate = /*#__PURE__*/function () {
*/
function RelationshipServiceInvitationsCreate() {
_classCallCheck(this, RelationshipServiceInvitationsCreate);
-
RelationshipServiceInvitationsCreate.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipServiceInvitationsCreate, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipServiceInvitationsCreate
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -92322,29 +88816,23 @@ var RelationshipServiceInvitationsCreate = /*#__PURE__*/function () {
* @param {module:model/RelationshipServiceInvitationsCreate} obj Optional instance to populate.
* @return {module:model/RelationshipServiceInvitationsCreate} The populated RelationshipServiceInvitationsCreate
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipServiceInvitationsCreate();
-
if (data.hasOwnProperty('service_invitations')) {
obj['service_invitations'] = _RelationshipServiceInvitationsCreateServiceInvitations["default"].constructFromObject(data['service_invitations']);
}
}
-
return obj;
}
}]);
-
return RelationshipServiceInvitationsCreate;
}();
/**
* @member {module:model/RelationshipServiceInvitationsCreateServiceInvitations} service_invitations
*/
-
-
RelationshipServiceInvitationsCreate.prototype['service_invitations'] = undefined;
var _default = RelationshipServiceInvitationsCreate;
exports["default"] = _default;
@@ -92361,23 +88849,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _ServiceInvitation = _interopRequireDefault(__nccwpck_require__(42127));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipServiceInvitationsCreateServiceInvitations model module.
* @module model/RelationshipServiceInvitationsCreateServiceInvitations
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipServiceInvitationsCreateServiceInvitations = /*#__PURE__*/function () {
/**
@@ -92386,19 +88870,18 @@ var RelationshipServiceInvitationsCreateServiceInvitations = /*#__PURE__*/functi
*/
function RelationshipServiceInvitationsCreateServiceInvitations() {
_classCallCheck(this, RelationshipServiceInvitationsCreateServiceInvitations);
-
RelationshipServiceInvitationsCreateServiceInvitations.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipServiceInvitationsCreateServiceInvitations, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipServiceInvitationsCreateServiceInvitations
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -92406,29 +88889,23 @@ var RelationshipServiceInvitationsCreateServiceInvitations = /*#__PURE__*/functi
* @param {module:model/RelationshipServiceInvitationsCreateServiceInvitations} obj Optional instance to populate.
* @return {module:model/RelationshipServiceInvitationsCreateServiceInvitations} The populated RelationshipServiceInvitationsCreateServiceInvitations
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipServiceInvitationsCreateServiceInvitations();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_ServiceInvitation["default"]]);
}
}
-
return obj;
}
}]);
-
return RelationshipServiceInvitationsCreateServiceInvitations;
}();
/**
* @member {Array.RelationshipServiceInvitationsServiceInvitations
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -92490,36 +88962,30 @@ var RelationshipServiceInvitationsServiceInvitations = /*#__PURE__*/function ()
* @param {module:model/RelationshipServiceInvitationsServiceInvitations} obj Optional instance to populate.
* @return {module:model/RelationshipServiceInvitationsServiceInvitations} The populated RelationshipServiceInvitationsServiceInvitations
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipServiceInvitationsServiceInvitations();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberServiceInvitation["default"]]);
}
}
-
return obj;
}
}]);
-
return RelationshipServiceInvitationsServiceInvitations;
}();
/**
* @member {Array.RelationshipServiceService
.
- * @alias module:model/RelationshipServiceService
+ * Constructs a new RelationshipServices
.
+ * @alias module:model/RelationshipServices
*/
- function RelationshipServiceService() {
- _classCallCheck(this, RelationshipServiceService);
-
- RelationshipServiceService.initialize(this);
+ function RelationshipServices() {
+ _classCallCheck(this, RelationshipServices);
+ RelationshipServices.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(RelationshipServiceService, null, [{
+ _createClass(RelationshipServices, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a RelationshipServiceService
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a RelationshipServices
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/RelationshipServiceService} obj Optional instance to populate.
- * @return {module:model/RelationshipServiceService} The populated RelationshipServiceService
instance.
+ * @param {module:model/RelationshipServices} obj Optional instance to populate.
+ * @return {module:model/RelationshipServices} The populated RelationshipServices
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new RelationshipServiceService();
-
- if (data.hasOwnProperty('data')) {
- obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberService["default"]]);
+ obj = obj || new RelationshipServices();
+ if (data.hasOwnProperty('services')) {
+ obj['services'] = _RelationshipServicesServices["default"].constructFromObject(data['services']);
}
}
-
return obj;
}
}]);
-
- return RelationshipServiceService;
+ return RelationshipServices;
}();
/**
- * @member {Array.RelationshipServices
.
- * @alias module:model/RelationshipServices
+ * Constructs a new RelationshipServicesServices
.
+ * @alias module:model/RelationshipServicesServices
*/
- function RelationshipServices() {
- _classCallCheck(this, RelationshipServices);
-
- RelationshipServices.initialize(this);
+ function RelationshipServicesServices() {
+ _classCallCheck(this, RelationshipServicesServices);
+ RelationshipServicesServices.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(RelationshipServices, null, [{
+ _createClass(RelationshipServicesServices, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a RelationshipServices
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a RelationshipServicesServices
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/RelationshipServices} obj Optional instance to populate.
- * @return {module:model/RelationshipServices} The populated RelationshipServices
instance.
+ * @param {module:model/RelationshipServicesServices} obj Optional instance to populate.
+ * @return {module:model/RelationshipServicesServices} The populated RelationshipServicesServices
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new RelationshipServices();
-
- if (data.hasOwnProperty('services')) {
- obj['services'] = _RelationshipServiceService["default"].constructFromObject(data['services']);
+ obj = obj || new RelationshipServicesServices();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberService["default"]]);
}
}
-
return obj;
}
}]);
-
- return RelationshipServices;
+ return RelationshipServicesServices;
}();
/**
- * @member {module:model/RelationshipServiceService} services
+ * @member {Array.RelationshipTlsActivation
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -92742,29 +89181,23 @@ var RelationshipTlsActivation = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsActivation} obj Optional instance to populate.
* @return {module:model/RelationshipTlsActivation} The populated RelationshipTlsActivation
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsActivation();
-
if (data.hasOwnProperty('tls_activation')) {
obj['tls_activation'] = _RelationshipTlsActivationTlsActivation["default"].constructFromObject(data['tls_activation']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsActivation;
}();
/**
* @member {module:model/RelationshipTlsActivationTlsActivation} tls_activation
*/
-
-
RelationshipTlsActivation.prototype['tls_activation'] = undefined;
var _default = RelationshipTlsActivation;
exports["default"] = _default;
@@ -92781,23 +89214,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipMemberTlsActivation = _interopRequireDefault(__nccwpck_require__(32081));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipTlsActivationTlsActivation model module.
* @module model/RelationshipTlsActivationTlsActivation
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipTlsActivationTlsActivation = /*#__PURE__*/function () {
/**
@@ -92806,19 +89235,18 @@ var RelationshipTlsActivationTlsActivation = /*#__PURE__*/function () {
*/
function RelationshipTlsActivationTlsActivation() {
_classCallCheck(this, RelationshipTlsActivationTlsActivation);
-
RelationshipTlsActivationTlsActivation.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipTlsActivationTlsActivation, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipTlsActivationTlsActivation
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -92826,29 +89254,23 @@ var RelationshipTlsActivationTlsActivation = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsActivationTlsActivation} obj Optional instance to populate.
* @return {module:model/RelationshipTlsActivationTlsActivation} The populated RelationshipTlsActivationTlsActivation
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsActivationTlsActivation();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberTlsActivation["default"]]);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsActivationTlsActivation;
}();
/**
* @member {Array.RelationshipTlsActivations
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -92910,29 +89327,23 @@ var RelationshipTlsActivations = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsActivations} obj Optional instance to populate.
* @return {module:model/RelationshipTlsActivations} The populated RelationshipTlsActivations
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsActivations();
-
if (data.hasOwnProperty('tls_activations')) {
obj['tls_activations'] = _RelationshipTlsActivationTlsActivation["default"].constructFromObject(data['tls_activations']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsActivations;
}();
/**
* @member {module:model/RelationshipTlsActivationTlsActivation} tls_activations
*/
-
-
RelationshipTlsActivations.prototype['tls_activations'] = undefined;
var _default = RelationshipTlsActivations;
exports["default"] = _default;
@@ -92949,23 +89360,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipTlsBulkCertificateTlsBulkCertificate = _interopRequireDefault(__nccwpck_require__(13477));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipTlsBulkCertificate model module.
* @module model/RelationshipTlsBulkCertificate
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipTlsBulkCertificate = /*#__PURE__*/function () {
/**
@@ -92974,19 +89381,18 @@ var RelationshipTlsBulkCertificate = /*#__PURE__*/function () {
*/
function RelationshipTlsBulkCertificate() {
_classCallCheck(this, RelationshipTlsBulkCertificate);
-
RelationshipTlsBulkCertificate.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipTlsBulkCertificate, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipTlsBulkCertificate
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -92994,29 +89400,23 @@ var RelationshipTlsBulkCertificate = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsBulkCertificate} obj Optional instance to populate.
* @return {module:model/RelationshipTlsBulkCertificate} The populated RelationshipTlsBulkCertificate
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsBulkCertificate();
-
if (data.hasOwnProperty('tls_bulk_certificate')) {
obj['tls_bulk_certificate'] = _RelationshipTlsBulkCertificateTlsBulkCertificate["default"].constructFromObject(data['tls_bulk_certificate']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsBulkCertificate;
}();
/**
* @member {module:model/RelationshipTlsBulkCertificateTlsBulkCertificate} tls_bulk_certificate
*/
-
-
RelationshipTlsBulkCertificate.prototype['tls_bulk_certificate'] = undefined;
var _default = RelationshipTlsBulkCertificate;
exports["default"] = _default;
@@ -93033,23 +89433,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipMemberTlsBulkCertificate = _interopRequireDefault(__nccwpck_require__(27694));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipTlsBulkCertificateTlsBulkCertificate model module.
* @module model/RelationshipTlsBulkCertificateTlsBulkCertificate
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipTlsBulkCertificateTlsBulkCertificate = /*#__PURE__*/function () {
/**
@@ -93058,19 +89454,18 @@ var RelationshipTlsBulkCertificateTlsBulkCertificate = /*#__PURE__*/function ()
*/
function RelationshipTlsBulkCertificateTlsBulkCertificate() {
_classCallCheck(this, RelationshipTlsBulkCertificateTlsBulkCertificate);
-
RelationshipTlsBulkCertificateTlsBulkCertificate.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipTlsBulkCertificateTlsBulkCertificate, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipTlsBulkCertificateTlsBulkCertificate
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -93078,29 +89473,23 @@ var RelationshipTlsBulkCertificateTlsBulkCertificate = /*#__PURE__*/function ()
* @param {module:model/RelationshipTlsBulkCertificateTlsBulkCertificate} obj Optional instance to populate.
* @return {module:model/RelationshipTlsBulkCertificateTlsBulkCertificate} The populated RelationshipTlsBulkCertificateTlsBulkCertificate
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsBulkCertificateTlsBulkCertificate();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberTlsBulkCertificate["default"]]);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsBulkCertificateTlsBulkCertificate;
}();
/**
* @member {Array.RelationshipTlsBulkCertificates
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -93162,29 +89546,23 @@ var RelationshipTlsBulkCertificates = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsBulkCertificates} obj Optional instance to populate.
* @return {module:model/RelationshipTlsBulkCertificates} The populated RelationshipTlsBulkCertificates
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsBulkCertificates();
-
if (data.hasOwnProperty('tls_bulk_certificates')) {
obj['tls_bulk_certificates'] = _RelationshipTlsBulkCertificateTlsBulkCertificate["default"].constructFromObject(data['tls_bulk_certificates']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsBulkCertificates;
}();
/**
* @member {module:model/RelationshipTlsBulkCertificateTlsBulkCertificate} tls_bulk_certificates
*/
-
-
RelationshipTlsBulkCertificates.prototype['tls_bulk_certificates'] = undefined;
var _default = RelationshipTlsBulkCertificates;
exports["default"] = _default;
@@ -93201,23 +89579,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipTlsCertificateTlsCertificate = _interopRequireDefault(__nccwpck_require__(65582));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipTlsCertificate model module.
* @module model/RelationshipTlsCertificate
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipTlsCertificate = /*#__PURE__*/function () {
/**
@@ -93226,19 +89600,18 @@ var RelationshipTlsCertificate = /*#__PURE__*/function () {
*/
function RelationshipTlsCertificate() {
_classCallCheck(this, RelationshipTlsCertificate);
-
RelationshipTlsCertificate.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipTlsCertificate, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipTlsCertificate
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -93246,29 +89619,23 @@ var RelationshipTlsCertificate = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsCertificate} obj Optional instance to populate.
* @return {module:model/RelationshipTlsCertificate} The populated RelationshipTlsCertificate
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsCertificate();
-
if (data.hasOwnProperty('tls_certificate')) {
obj['tls_certificate'] = _RelationshipTlsCertificateTlsCertificate["default"].constructFromObject(data['tls_certificate']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsCertificate;
}();
/**
* @member {module:model/RelationshipTlsCertificateTlsCertificate} tls_certificate
*/
-
-
RelationshipTlsCertificate.prototype['tls_certificate'] = undefined;
var _default = RelationshipTlsCertificate;
exports["default"] = _default;
@@ -93285,23 +89652,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipMemberTlsCertificate = _interopRequireDefault(__nccwpck_require__(3964));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipTlsCertificateTlsCertificate model module.
* @module model/RelationshipTlsCertificateTlsCertificate
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipTlsCertificateTlsCertificate = /*#__PURE__*/function () {
/**
@@ -93310,19 +89673,18 @@ var RelationshipTlsCertificateTlsCertificate = /*#__PURE__*/function () {
*/
function RelationshipTlsCertificateTlsCertificate() {
_classCallCheck(this, RelationshipTlsCertificateTlsCertificate);
-
RelationshipTlsCertificateTlsCertificate.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipTlsCertificateTlsCertificate, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipTlsCertificateTlsCertificate
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -93330,29 +89692,23 @@ var RelationshipTlsCertificateTlsCertificate = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsCertificateTlsCertificate} obj Optional instance to populate.
* @return {module:model/RelationshipTlsCertificateTlsCertificate} The populated RelationshipTlsCertificateTlsCertificate
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsCertificateTlsCertificate();
-
if (data.hasOwnProperty('data')) {
- obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberTlsCertificate["default"]]);
+ obj['data'] = _RelationshipMemberTlsCertificate["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsCertificateTlsCertificate;
}();
/**
- * @member {Array.RelationshipTlsCertificates
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -93414,36 +89765,30 @@ var RelationshipTlsCertificates = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsCertificates} obj Optional instance to populate.
* @return {module:model/RelationshipTlsCertificates} The populated RelationshipTlsCertificates
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsCertificates();
-
if (data.hasOwnProperty('tls_certificates')) {
- obj['tls_certificates'] = _RelationshipTlsCertificateTlsCertificate["default"].constructFromObject(data['tls_certificates']);
+ obj['tls_certificates'] = _RelationshipTlsCertificatesTlsCertificates["default"].constructFromObject(data['tls_certificates']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsCertificates;
}();
/**
- * @member {module:model/RelationshipTlsCertificateTlsCertificate} tls_certificates
+ * @member {module:model/RelationshipTlsCertificatesTlsCertificates} tls_certificates
*/
-
-
RelationshipTlsCertificates.prototype['tls_certificates'] = undefined;
var _default = RelationshipTlsCertificates;
exports["default"] = _default;
/***/ }),
-/***/ 3846:
+/***/ 42894:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -93453,23 +89798,92 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _RelationshipMemberTlsCertificate = _interopRequireDefault(__nccwpck_require__(3964));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The RelationshipTlsCertificatesTlsCertificates model module.
+ * @module model/RelationshipTlsCertificatesTlsCertificates
+ * @version v3.1.0
+ */
+var RelationshipTlsCertificatesTlsCertificates = /*#__PURE__*/function () {
+ /**
+ * Constructs a new RelationshipTlsCertificatesTlsCertificates
.
+ * @alias module:model/RelationshipTlsCertificatesTlsCertificates
+ */
+ function RelationshipTlsCertificatesTlsCertificates() {
+ _classCallCheck(this, RelationshipTlsCertificatesTlsCertificates);
+ RelationshipTlsCertificatesTlsCertificates.initialize(this);
+ }
-var _RelationshipTlsConfigurationTlsConfiguration = _interopRequireDefault(__nccwpck_require__(72358));
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(RelationshipTlsCertificatesTlsCertificates, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+ /**
+ * Constructs a RelationshipTlsCertificatesTlsCertificates
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RelationshipTlsCertificatesTlsCertificates} obj Optional instance to populate.
+ * @return {module:model/RelationshipTlsCertificatesTlsCertificates} The populated RelationshipTlsCertificatesTlsCertificates
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RelationshipTlsCertificatesTlsCertificates();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberTlsCertificate["default"]]);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return RelationshipTlsCertificatesTlsCertificates;
+}();
+/**
+ * @member {Array.RelationshipTlsConfiguration
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -93498,29 +89911,23 @@ var RelationshipTlsConfiguration = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsConfiguration} obj Optional instance to populate.
* @return {module:model/RelationshipTlsConfiguration} The populated RelationshipTlsConfiguration
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsConfiguration();
-
if (data.hasOwnProperty('tls_configuration')) {
obj['tls_configuration'] = _RelationshipTlsConfigurationTlsConfiguration["default"].constructFromObject(data['tls_configuration']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsConfiguration;
}();
/**
* @member {module:model/RelationshipTlsConfigurationTlsConfiguration} tls_configuration
*/
-
-
RelationshipTlsConfiguration.prototype['tls_configuration'] = undefined;
var _default = RelationshipTlsConfiguration;
exports["default"] = _default;
@@ -93537,23 +89944,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipMemberTlsConfiguration = _interopRequireDefault(__nccwpck_require__(55705));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipTlsConfigurationTlsConfiguration model module.
* @module model/RelationshipTlsConfigurationTlsConfiguration
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipTlsConfigurationTlsConfiguration = /*#__PURE__*/function () {
/**
@@ -93562,19 +89965,18 @@ var RelationshipTlsConfigurationTlsConfiguration = /*#__PURE__*/function () {
*/
function RelationshipTlsConfigurationTlsConfiguration() {
_classCallCheck(this, RelationshipTlsConfigurationTlsConfiguration);
-
RelationshipTlsConfigurationTlsConfiguration.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipTlsConfigurationTlsConfiguration, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipTlsConfigurationTlsConfiguration
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -93582,29 +89984,23 @@ var RelationshipTlsConfigurationTlsConfiguration = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsConfigurationTlsConfiguration} obj Optional instance to populate.
* @return {module:model/RelationshipTlsConfigurationTlsConfiguration} The populated RelationshipTlsConfigurationTlsConfiguration
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsConfigurationTlsConfiguration();
-
if (data.hasOwnProperty('data')) {
- obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberTlsConfiguration["default"]]);
+ obj['data'] = _RelationshipMemberTlsConfiguration["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsConfigurationTlsConfiguration;
}();
/**
- * @member {Array.RelationshipTlsConfigurations
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -93666,36 +90057,30 @@ var RelationshipTlsConfigurations = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsConfigurations} obj Optional instance to populate.
* @return {module:model/RelationshipTlsConfigurations} The populated RelationshipTlsConfigurations
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsConfigurations();
-
if (data.hasOwnProperty('tls_configurations')) {
- obj['tls_configurations'] = _RelationshipTlsConfigurationTlsConfiguration["default"].constructFromObject(data['tls_configurations']);
+ obj['tls_configurations'] = _RelationshipTlsConfigurationsTlsConfigurations["default"].constructFromObject(data['tls_configurations']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsConfigurations;
}();
/**
- * @member {module:model/RelationshipTlsConfigurationTlsConfiguration} tls_configurations
+ * @member {module:model/RelationshipTlsConfigurationsTlsConfigurations} tls_configurations
*/
-
-
RelationshipTlsConfigurations.prototype['tls_configurations'] = undefined;
var _default = RelationshipTlsConfigurations;
exports["default"] = _default;
/***/ }),
-/***/ 53174:
+/***/ 32614:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -93705,23 +90090,92 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _RelationshipMemberTlsConfiguration = _interopRequireDefault(__nccwpck_require__(55705));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The RelationshipTlsConfigurationsTlsConfigurations model module.
+ * @module model/RelationshipTlsConfigurationsTlsConfigurations
+ * @version v3.1.0
+ */
+var RelationshipTlsConfigurationsTlsConfigurations = /*#__PURE__*/function () {
+ /**
+ * Constructs a new RelationshipTlsConfigurationsTlsConfigurations
.
+ * @alias module:model/RelationshipTlsConfigurationsTlsConfigurations
+ */
+ function RelationshipTlsConfigurationsTlsConfigurations() {
+ _classCallCheck(this, RelationshipTlsConfigurationsTlsConfigurations);
+ RelationshipTlsConfigurationsTlsConfigurations.initialize(this);
+ }
-var _RelationshipTlsDnsRecordDnsRecord = _interopRequireDefault(__nccwpck_require__(70393));
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(RelationshipTlsConfigurationsTlsConfigurations, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+ /**
+ * Constructs a RelationshipTlsConfigurationsTlsConfigurations
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RelationshipTlsConfigurationsTlsConfigurations} obj Optional instance to populate.
+ * @return {module:model/RelationshipTlsConfigurationsTlsConfigurations} The populated RelationshipTlsConfigurationsTlsConfigurations
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RelationshipTlsConfigurationsTlsConfigurations();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberTlsConfiguration["default"]]);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return RelationshipTlsConfigurationsTlsConfigurations;
+}();
+/**
+ * @member {Array.RelationshipTlsDnsRecord
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -93750,29 +90203,23 @@ var RelationshipTlsDnsRecord = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsDnsRecord} obj Optional instance to populate.
* @return {module:model/RelationshipTlsDnsRecord} The populated RelationshipTlsDnsRecord
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsDnsRecord();
-
if (data.hasOwnProperty('dns_record')) {
obj['dns_record'] = _RelationshipTlsDnsRecordDnsRecord["default"].constructFromObject(data['dns_record']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsDnsRecord;
}();
/**
* @member {module:model/RelationshipTlsDnsRecordDnsRecord} dns_record
*/
-
-
RelationshipTlsDnsRecord.prototype['dns_record'] = undefined;
var _default = RelationshipTlsDnsRecord;
exports["default"] = _default;
@@ -93789,23 +90236,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipMemberTlsDnsRecord = _interopRequireDefault(__nccwpck_require__(63198));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipTlsDnsRecordDnsRecord model module.
* @module model/RelationshipTlsDnsRecordDnsRecord
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipTlsDnsRecordDnsRecord = /*#__PURE__*/function () {
/**
@@ -93814,19 +90257,18 @@ var RelationshipTlsDnsRecordDnsRecord = /*#__PURE__*/function () {
*/
function RelationshipTlsDnsRecordDnsRecord() {
_classCallCheck(this, RelationshipTlsDnsRecordDnsRecord);
-
RelationshipTlsDnsRecordDnsRecord.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipTlsDnsRecordDnsRecord, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipTlsDnsRecordDnsRecord
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -93834,29 +90276,23 @@ var RelationshipTlsDnsRecordDnsRecord = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsDnsRecordDnsRecord} obj Optional instance to populate.
* @return {module:model/RelationshipTlsDnsRecordDnsRecord} The populated RelationshipTlsDnsRecordDnsRecord
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsDnsRecordDnsRecord();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberTlsDnsRecord["default"]]);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsDnsRecordDnsRecord;
}();
/**
* @member {Array.RelationshipTlsDnsRecords
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -93918,29 +90349,23 @@ var RelationshipTlsDnsRecords = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsDnsRecords} obj Optional instance to populate.
* @return {module:model/RelationshipTlsDnsRecords} The populated RelationshipTlsDnsRecords
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsDnsRecords();
-
if (data.hasOwnProperty('dns_records')) {
obj['dns_records'] = _RelationshipTlsDnsRecordDnsRecord["default"].constructFromObject(data['dns_records']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsDnsRecords;
}();
/**
* @member {module:model/RelationshipTlsDnsRecordDnsRecord} dns_records
*/
-
-
RelationshipTlsDnsRecords.prototype['dns_records'] = undefined;
var _default = RelationshipTlsDnsRecords;
exports["default"] = _default;
@@ -93957,23 +90382,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipTlsDomainTlsDomain = _interopRequireDefault(__nccwpck_require__(85349));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipTlsDomain model module.
* @module model/RelationshipTlsDomain
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipTlsDomain = /*#__PURE__*/function () {
/**
@@ -93982,19 +90403,18 @@ var RelationshipTlsDomain = /*#__PURE__*/function () {
*/
function RelationshipTlsDomain() {
_classCallCheck(this, RelationshipTlsDomain);
-
RelationshipTlsDomain.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipTlsDomain, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipTlsDomain
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -94002,29 +90422,23 @@ var RelationshipTlsDomain = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsDomain} obj Optional instance to populate.
* @return {module:model/RelationshipTlsDomain} The populated RelationshipTlsDomain
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsDomain();
-
if (data.hasOwnProperty('tls_domain')) {
obj['tls_domain'] = _RelationshipTlsDomainTlsDomain["default"].constructFromObject(data['tls_domain']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsDomain;
}();
/**
* @member {module:model/RelationshipTlsDomainTlsDomain} tls_domain
*/
-
-
RelationshipTlsDomain.prototype['tls_domain'] = undefined;
var _default = RelationshipTlsDomain;
exports["default"] = _default;
@@ -94041,23 +90455,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipMemberTlsDomain = _interopRequireDefault(__nccwpck_require__(75870));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipTlsDomainTlsDomain model module.
* @module model/RelationshipTlsDomainTlsDomain
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipTlsDomainTlsDomain = /*#__PURE__*/function () {
/**
@@ -94066,19 +90476,18 @@ var RelationshipTlsDomainTlsDomain = /*#__PURE__*/function () {
*/
function RelationshipTlsDomainTlsDomain() {
_classCallCheck(this, RelationshipTlsDomainTlsDomain);
-
RelationshipTlsDomainTlsDomain.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipTlsDomainTlsDomain, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipTlsDomainTlsDomain
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -94086,29 +90495,23 @@ var RelationshipTlsDomainTlsDomain = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsDomainTlsDomain} obj Optional instance to populate.
* @return {module:model/RelationshipTlsDomainTlsDomain} The populated RelationshipTlsDomainTlsDomain
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsDomainTlsDomain();
-
if (data.hasOwnProperty('data')) {
- obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberTlsDomain["default"]]);
+ obj['data'] = _RelationshipMemberTlsDomain["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsDomainTlsDomain;
}();
/**
- * @member {Array.RelationshipTlsDomains
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -94170,36 +90568,30 @@ var RelationshipTlsDomains = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsDomains} obj Optional instance to populate.
* @return {module:model/RelationshipTlsDomains} The populated RelationshipTlsDomains
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsDomains();
-
if (data.hasOwnProperty('tls_domains')) {
- obj['tls_domains'] = _RelationshipTlsDomainTlsDomain["default"].constructFromObject(data['tls_domains']);
+ obj['tls_domains'] = _RelationshipTlsDomainsTlsDomains["default"].constructFromObject(data['tls_domains']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsDomains;
}();
/**
- * @member {module:model/RelationshipTlsDomainTlsDomain} tls_domains
+ * @member {module:model/RelationshipTlsDomainsTlsDomains} tls_domains
*/
-
-
RelationshipTlsDomains.prototype['tls_domains'] = undefined;
var _default = RelationshipTlsDomains;
exports["default"] = _default;
/***/ }),
-/***/ 86679:
+/***/ 15329:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -94209,23 +90601,92 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _RelationshipMemberTlsDomain = _interopRequireDefault(__nccwpck_require__(75870));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The RelationshipTlsDomainsTlsDomains model module.
+ * @module model/RelationshipTlsDomainsTlsDomains
+ * @version v3.1.0
+ */
+var RelationshipTlsDomainsTlsDomains = /*#__PURE__*/function () {
+ /**
+ * Constructs a new RelationshipTlsDomainsTlsDomains
.
+ * @alias module:model/RelationshipTlsDomainsTlsDomains
+ */
+ function RelationshipTlsDomainsTlsDomains() {
+ _classCallCheck(this, RelationshipTlsDomainsTlsDomains);
+ RelationshipTlsDomainsTlsDomains.initialize(this);
+ }
-var _RelationshipTlsPrivateKeyTlsPrivateKey = _interopRequireDefault(__nccwpck_require__(98613));
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(RelationshipTlsDomainsTlsDomains, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+ /**
+ * Constructs a RelationshipTlsDomainsTlsDomains
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RelationshipTlsDomainsTlsDomains} obj Optional instance to populate.
+ * @return {module:model/RelationshipTlsDomainsTlsDomains} The populated RelationshipTlsDomainsTlsDomains
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RelationshipTlsDomainsTlsDomains();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberTlsDomain["default"]]);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return RelationshipTlsDomainsTlsDomains;
+}();
+/**
+ * @member {Array.RelationshipTlsPrivateKey
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -94254,29 +90714,23 @@ var RelationshipTlsPrivateKey = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsPrivateKey} obj Optional instance to populate.
* @return {module:model/RelationshipTlsPrivateKey} The populated RelationshipTlsPrivateKey
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsPrivateKey();
-
if (data.hasOwnProperty('tls_private_key')) {
obj['tls_private_key'] = _RelationshipTlsPrivateKeyTlsPrivateKey["default"].constructFromObject(data['tls_private_key']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsPrivateKey;
}();
/**
* @member {module:model/RelationshipTlsPrivateKeyTlsPrivateKey} tls_private_key
*/
-
-
RelationshipTlsPrivateKey.prototype['tls_private_key'] = undefined;
var _default = RelationshipTlsPrivateKey;
exports["default"] = _default;
@@ -94293,23 +90747,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipMemberTlsPrivateKey = _interopRequireDefault(__nccwpck_require__(60855));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipTlsPrivateKeyTlsPrivateKey model module.
* @module model/RelationshipTlsPrivateKeyTlsPrivateKey
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipTlsPrivateKeyTlsPrivateKey = /*#__PURE__*/function () {
/**
@@ -94318,19 +90768,18 @@ var RelationshipTlsPrivateKeyTlsPrivateKey = /*#__PURE__*/function () {
*/
function RelationshipTlsPrivateKeyTlsPrivateKey() {
_classCallCheck(this, RelationshipTlsPrivateKeyTlsPrivateKey);
-
RelationshipTlsPrivateKeyTlsPrivateKey.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipTlsPrivateKeyTlsPrivateKey, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipTlsPrivateKeyTlsPrivateKey
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -94338,29 +90787,23 @@ var RelationshipTlsPrivateKeyTlsPrivateKey = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsPrivateKeyTlsPrivateKey} obj Optional instance to populate.
* @return {module:model/RelationshipTlsPrivateKeyTlsPrivateKey} The populated RelationshipTlsPrivateKeyTlsPrivateKey
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsPrivateKeyTlsPrivateKey();
-
if (data.hasOwnProperty('data')) {
- obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberTlsPrivateKey["default"]]);
+ obj['data'] = _RelationshipMemberTlsPrivateKey["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsPrivateKeyTlsPrivateKey;
}();
/**
- * @member {Array.RelationshipTlsPrivateKeys
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -94422,36 +90860,30 @@ var RelationshipTlsPrivateKeys = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsPrivateKeys} obj Optional instance to populate.
* @return {module:model/RelationshipTlsPrivateKeys} The populated RelationshipTlsPrivateKeys
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsPrivateKeys();
-
if (data.hasOwnProperty('tls_private_keys')) {
- obj['tls_private_keys'] = _RelationshipTlsPrivateKeyTlsPrivateKey["default"].constructFromObject(data['tls_private_keys']);
+ obj['tls_private_keys'] = _RelationshipTlsPrivateKeysTlsPrivateKeys["default"].constructFromObject(data['tls_private_keys']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsPrivateKeys;
}();
/**
- * @member {module:model/RelationshipTlsPrivateKeyTlsPrivateKey} tls_private_keys
+ * @member {module:model/RelationshipTlsPrivateKeysTlsPrivateKeys} tls_private_keys
*/
-
-
RelationshipTlsPrivateKeys.prototype['tls_private_keys'] = undefined;
var _default = RelationshipTlsPrivateKeys;
exports["default"] = _default;
/***/ }),
-/***/ 11857:
+/***/ 77906:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -94461,23 +90893,92 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _RelationshipMemberTlsPrivateKey = _interopRequireDefault(__nccwpck_require__(60855));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The RelationshipTlsPrivateKeysTlsPrivateKeys model module.
+ * @module model/RelationshipTlsPrivateKeysTlsPrivateKeys
+ * @version v3.1.0
+ */
+var RelationshipTlsPrivateKeysTlsPrivateKeys = /*#__PURE__*/function () {
+ /**
+ * Constructs a new RelationshipTlsPrivateKeysTlsPrivateKeys
.
+ * @alias module:model/RelationshipTlsPrivateKeysTlsPrivateKeys
+ */
+ function RelationshipTlsPrivateKeysTlsPrivateKeys() {
+ _classCallCheck(this, RelationshipTlsPrivateKeysTlsPrivateKeys);
+ RelationshipTlsPrivateKeysTlsPrivateKeys.initialize(this);
+ }
-var _RelationshipTlsSubscriptionTlsSubscription = _interopRequireDefault(__nccwpck_require__(47868));
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(RelationshipTlsPrivateKeysTlsPrivateKeys, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+ /**
+ * Constructs a RelationshipTlsPrivateKeysTlsPrivateKeys
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RelationshipTlsPrivateKeysTlsPrivateKeys} obj Optional instance to populate.
+ * @return {module:model/RelationshipTlsPrivateKeysTlsPrivateKeys} The populated RelationshipTlsPrivateKeysTlsPrivateKeys
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RelationshipTlsPrivateKeysTlsPrivateKeys();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberTlsPrivateKey["default"]]);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return RelationshipTlsPrivateKeysTlsPrivateKeys;
+}();
+/**
+ * @member {Array.RelationshipTlsSubscription
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -94506,29 +91006,23 @@ var RelationshipTlsSubscription = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsSubscription} obj Optional instance to populate.
* @return {module:model/RelationshipTlsSubscription} The populated RelationshipTlsSubscription
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsSubscription();
-
if (data.hasOwnProperty('tls_subscription')) {
obj['tls_subscription'] = _RelationshipTlsSubscriptionTlsSubscription["default"].constructFromObject(data['tls_subscription']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsSubscription;
}();
/**
* @member {module:model/RelationshipTlsSubscriptionTlsSubscription} tls_subscription
*/
-
-
RelationshipTlsSubscription.prototype['tls_subscription'] = undefined;
var _default = RelationshipTlsSubscription;
exports["default"] = _default;
@@ -94545,23 +91039,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipMemberTlsSubscription = _interopRequireDefault(__nccwpck_require__(76743));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipTlsSubscriptionTlsSubscription model module.
* @module model/RelationshipTlsSubscriptionTlsSubscription
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipTlsSubscriptionTlsSubscription = /*#__PURE__*/function () {
/**
@@ -94570,19 +91060,18 @@ var RelationshipTlsSubscriptionTlsSubscription = /*#__PURE__*/function () {
*/
function RelationshipTlsSubscriptionTlsSubscription() {
_classCallCheck(this, RelationshipTlsSubscriptionTlsSubscription);
-
RelationshipTlsSubscriptionTlsSubscription.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipTlsSubscriptionTlsSubscription, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipTlsSubscriptionTlsSubscription
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -94590,29 +91079,23 @@ var RelationshipTlsSubscriptionTlsSubscription = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsSubscriptionTlsSubscription} obj Optional instance to populate.
* @return {module:model/RelationshipTlsSubscriptionTlsSubscription} The populated RelationshipTlsSubscriptionTlsSubscription
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsSubscriptionTlsSubscription();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberTlsSubscription["default"]]);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsSubscriptionTlsSubscription;
}();
/**
* @member {Array.RelationshipTlsSubscriptions
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -94674,29 +91152,23 @@ var RelationshipTlsSubscriptions = /*#__PURE__*/function () {
* @param {module:model/RelationshipTlsSubscriptions} obj Optional instance to populate.
* @return {module:model/RelationshipTlsSubscriptions} The populated RelationshipTlsSubscriptions
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipTlsSubscriptions();
-
if (data.hasOwnProperty('tls_subscriptions')) {
obj['tls_subscriptions'] = _RelationshipTlsSubscriptionTlsSubscription["default"].constructFromObject(data['tls_subscriptions']);
}
}
-
return obj;
}
}]);
-
return RelationshipTlsSubscriptions;
}();
/**
* @member {module:model/RelationshipTlsSubscriptionTlsSubscription} tls_subscriptions
*/
-
-
RelationshipTlsSubscriptions.prototype['tls_subscriptions'] = undefined;
var _default = RelationshipTlsSubscriptions;
exports["default"] = _default;
@@ -94713,23 +91185,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipUserUser = _interopRequireDefault(__nccwpck_require__(5269));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipUser model module.
* @module model/RelationshipUser
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipUser = /*#__PURE__*/function () {
/**
@@ -94738,19 +91206,18 @@ var RelationshipUser = /*#__PURE__*/function () {
*/
function RelationshipUser() {
_classCallCheck(this, RelationshipUser);
-
RelationshipUser.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipUser, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipUser
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -94758,29 +91225,23 @@ var RelationshipUser = /*#__PURE__*/function () {
* @param {module:model/RelationshipUser} obj Optional instance to populate.
* @return {module:model/RelationshipUser} The populated RelationshipUser
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipUser();
-
if (data.hasOwnProperty('user')) {
obj['user'] = _RelationshipUserUser["default"].constructFromObject(data['user']);
}
}
-
return obj;
}
}]);
-
return RelationshipUser;
}();
/**
* @member {module:model/RelationshipUserUser} user
*/
-
-
RelationshipUser.prototype['user'] = undefined;
var _default = RelationshipUser;
exports["default"] = _default;
@@ -94797,23 +91258,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
-var _RelationshipUserUserData = _interopRequireDefault(__nccwpck_require__(81406));
-
+var _ServiceAuthorizationDataRelationshipsUserData = _interopRequireDefault(__nccwpck_require__(48555));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipUserUser model module.
* @module model/RelationshipUserUser
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipUserUser = /*#__PURE__*/function () {
/**
@@ -94822,19 +91279,18 @@ var RelationshipUserUser = /*#__PURE__*/function () {
*/
function RelationshipUserUser() {
_classCallCheck(this, RelationshipUserUser);
-
RelationshipUserUser.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipUserUser, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipUserUser
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -94842,128 +91298,29 @@ var RelationshipUserUser = /*#__PURE__*/function () {
* @param {module:model/RelationshipUserUser} obj Optional instance to populate.
* @return {module:model/RelationshipUserUser} The populated RelationshipUserUser
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipUserUser();
-
if (data.hasOwnProperty('data')) {
- obj['data'] = _RelationshipUserUserData["default"].constructFromObject(data['data']);
+ obj['data'] = _ServiceAuthorizationDataRelationshipsUserData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return RelationshipUserUser;
}();
/**
- * @member {module:model/RelationshipUserUserData} data
+ * @member {module:model/ServiceAuthorizationDataRelationshipsUserData} data
*/
-
-
RelationshipUserUser.prototype['data'] = undefined;
var _default = RelationshipUserUser;
exports["default"] = _default;
/***/ }),
-/***/ 81406:
-/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", ({
- value: true
-}));
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
-var _TypeUser = _interopRequireDefault(__nccwpck_require__(13529));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The RelationshipUserUserData model module.
- * @module model/RelationshipUserUserData
- * @version 3.0.0-beta2
- */
-var RelationshipUserUserData = /*#__PURE__*/function () {
- /**
- * Constructs a new RelationshipUserUserData
.
- * @alias module:model/RelationshipUserUserData
- */
- function RelationshipUserUserData() {
- _classCallCheck(this, RelationshipUserUserData);
-
- RelationshipUserUserData.initialize(this);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(RelationshipUserUserData, null, [{
- key: "initialize",
- value: function initialize(obj) {}
- /**
- * Constructs a RelationshipUserUserData
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/RelationshipUserUserData} obj Optional instance to populate.
- * @return {module:model/RelationshipUserUserData} The populated RelationshipUserUserData
instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new RelationshipUserUserData();
-
- if (data.hasOwnProperty('type')) {
- obj['type'] = _TypeUser["default"].constructFromObject(data['type']);
- }
-
- if (data.hasOwnProperty('id')) {
- obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
- }
- }
-
- return obj;
- }
- }]);
-
- return RelationshipUserUserData;
-}();
-/**
- * @member {module:model/TypeUser} type
- */
-
-
-RelationshipUserUserData.prototype['type'] = undefined;
-/**
- * @member {String} id
- */
-
-RelationshipUserUserData.prototype['id'] = undefined;
-var _default = RelationshipUserUserData;
-exports["default"] = _default;
-
-/***/ }),
-
/***/ 22021:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
@@ -94974,23 +91331,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipWafActiveRulesWafActiveRules = _interopRequireDefault(__nccwpck_require__(79034));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipWafActiveRules model module.
* @module model/RelationshipWafActiveRules
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipWafActiveRules = /*#__PURE__*/function () {
/**
@@ -94999,19 +91352,18 @@ var RelationshipWafActiveRules = /*#__PURE__*/function () {
*/
function RelationshipWafActiveRules() {
_classCallCheck(this, RelationshipWafActiveRules);
-
RelationshipWafActiveRules.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipWafActiveRules, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipWafActiveRules
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -95019,29 +91371,23 @@ var RelationshipWafActiveRules = /*#__PURE__*/function () {
* @param {module:model/RelationshipWafActiveRules} obj Optional instance to populate.
* @return {module:model/RelationshipWafActiveRules} The populated RelationshipWafActiveRules
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipWafActiveRules();
-
if (data.hasOwnProperty('waf_active_rules')) {
obj['waf_active_rules'] = _RelationshipWafActiveRulesWafActiveRules["default"].constructFromObject(data['waf_active_rules']);
}
}
-
return obj;
}
}]);
-
return RelationshipWafActiveRules;
}();
/**
* @member {module:model/RelationshipWafActiveRulesWafActiveRules} waf_active_rules
*/
-
-
RelationshipWafActiveRules.prototype['waf_active_rules'] = undefined;
var _default = RelationshipWafActiveRules;
exports["default"] = _default;
@@ -95058,23 +91404,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipMemberWafActiveRule = _interopRequireDefault(__nccwpck_require__(98302));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipWafActiveRulesWafActiveRules model module.
* @module model/RelationshipWafActiveRulesWafActiveRules
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipWafActiveRulesWafActiveRules = /*#__PURE__*/function () {
/**
@@ -95083,19 +91425,18 @@ var RelationshipWafActiveRulesWafActiveRules = /*#__PURE__*/function () {
*/
function RelationshipWafActiveRulesWafActiveRules() {
_classCallCheck(this, RelationshipWafActiveRulesWafActiveRules);
-
RelationshipWafActiveRulesWafActiveRules.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipWafActiveRulesWafActiveRules, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipWafActiveRulesWafActiveRules
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -95103,29 +91444,23 @@ var RelationshipWafActiveRulesWafActiveRules = /*#__PURE__*/function () {
* @param {module:model/RelationshipWafActiveRulesWafActiveRules} obj Optional instance to populate.
* @return {module:model/RelationshipWafActiveRulesWafActiveRules} The populated RelationshipWafActiveRulesWafActiveRules
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipWafActiveRulesWafActiveRules();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberWafActiveRule["default"]]);
}
}
-
return obj;
}
}]);
-
return RelationshipWafActiveRulesWafActiveRules;
}();
/**
* @member {Array.RelationshipWafFirewall
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -95187,29 +91517,23 @@ var RelationshipWafFirewall = /*#__PURE__*/function () {
* @param {module:model/RelationshipWafFirewall} obj Optional instance to populate.
* @return {module:model/RelationshipWafFirewall} The populated RelationshipWafFirewall
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipWafFirewall();
-
if (data.hasOwnProperty('waf_firewall')) {
obj['waf_firewall'] = _RelationshipWafFirewallWafFirewall["default"].constructFromObject(data['waf_firewall']);
}
}
-
return obj;
}
}]);
-
return RelationshipWafFirewall;
}();
/**
* @member {module:model/RelationshipWafFirewallWafFirewall} waf_firewall
*/
-
-
RelationshipWafFirewall.prototype['waf_firewall'] = undefined;
var _default = RelationshipWafFirewall;
exports["default"] = _default;
@@ -95226,23 +91550,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipWafFirewallVersionWafFirewallVersion = _interopRequireDefault(__nccwpck_require__(27192));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipWafFirewallVersion model module.
* @module model/RelationshipWafFirewallVersion
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipWafFirewallVersion = /*#__PURE__*/function () {
/**
@@ -95251,19 +91571,18 @@ var RelationshipWafFirewallVersion = /*#__PURE__*/function () {
*/
function RelationshipWafFirewallVersion() {
_classCallCheck(this, RelationshipWafFirewallVersion);
-
RelationshipWafFirewallVersion.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipWafFirewallVersion, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipWafFirewallVersion
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -95271,29 +91590,23 @@ var RelationshipWafFirewallVersion = /*#__PURE__*/function () {
* @param {module:model/RelationshipWafFirewallVersion} obj Optional instance to populate.
* @return {module:model/RelationshipWafFirewallVersion} The populated RelationshipWafFirewallVersion
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipWafFirewallVersion();
-
if (data.hasOwnProperty('waf_firewall_version')) {
obj['waf_firewall_version'] = _RelationshipWafFirewallVersionWafFirewallVersion["default"].constructFromObject(data['waf_firewall_version']);
}
}
-
return obj;
}
}]);
-
return RelationshipWafFirewallVersion;
}();
/**
* @member {module:model/RelationshipWafFirewallVersionWafFirewallVersion} waf_firewall_version
*/
-
-
RelationshipWafFirewallVersion.prototype['waf_firewall_version'] = undefined;
var _default = RelationshipWafFirewallVersion;
exports["default"] = _default;
@@ -95310,23 +91623,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipMemberWafFirewallVersion = _interopRequireDefault(__nccwpck_require__(83469));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipWafFirewallVersionWafFirewallVersion model module.
* @module model/RelationshipWafFirewallVersionWafFirewallVersion
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipWafFirewallVersionWafFirewallVersion = /*#__PURE__*/function () {
/**
@@ -95335,19 +91644,18 @@ var RelationshipWafFirewallVersionWafFirewallVersion = /*#__PURE__*/function ()
*/
function RelationshipWafFirewallVersionWafFirewallVersion() {
_classCallCheck(this, RelationshipWafFirewallVersionWafFirewallVersion);
-
RelationshipWafFirewallVersionWafFirewallVersion.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipWafFirewallVersionWafFirewallVersion, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipWafFirewallVersionWafFirewallVersion
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -95355,29 +91663,23 @@ var RelationshipWafFirewallVersionWafFirewallVersion = /*#__PURE__*/function ()
* @param {module:model/RelationshipWafFirewallVersionWafFirewallVersion} obj Optional instance to populate.
* @return {module:model/RelationshipWafFirewallVersionWafFirewallVersion} The populated RelationshipWafFirewallVersionWafFirewallVersion
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipWafFirewallVersionWafFirewallVersion();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberWafFirewallVersion["default"]]);
}
}
-
return obj;
}
}]);
-
return RelationshipWafFirewallVersionWafFirewallVersion;
}();
/**
* @member {Array.RelationshipWafFirewallVersions
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -95439,29 +91736,23 @@ var RelationshipWafFirewallVersions = /*#__PURE__*/function () {
* @param {module:model/RelationshipWafFirewallVersions} obj Optional instance to populate.
* @return {module:model/RelationshipWafFirewallVersions} The populated RelationshipWafFirewallVersions
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipWafFirewallVersions();
-
if (data.hasOwnProperty('waf_firewall_versions')) {
obj['waf_firewall_versions'] = _RelationshipWafFirewallVersionWafFirewallVersion["default"].constructFromObject(data['waf_firewall_versions']);
}
}
-
return obj;
}
}]);
-
return RelationshipWafFirewallVersions;
}();
/**
* @member {module:model/RelationshipWafFirewallVersionWafFirewallVersion} waf_firewall_versions
*/
-
-
RelationshipWafFirewallVersions.prototype['waf_firewall_versions'] = undefined;
var _default = RelationshipWafFirewallVersions;
exports["default"] = _default;
@@ -95478,23 +91769,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipMemberWafFirewall = _interopRequireDefault(__nccwpck_require__(49491));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipWafFirewallWafFirewall model module.
* @module model/RelationshipWafFirewallWafFirewall
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipWafFirewallWafFirewall = /*#__PURE__*/function () {
/**
@@ -95503,19 +91790,18 @@ var RelationshipWafFirewallWafFirewall = /*#__PURE__*/function () {
*/
function RelationshipWafFirewallWafFirewall() {
_classCallCheck(this, RelationshipWafFirewallWafFirewall);
-
RelationshipWafFirewallWafFirewall.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipWafFirewallWafFirewall, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipWafFirewallWafFirewall
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -95523,29 +91809,23 @@ var RelationshipWafFirewallWafFirewall = /*#__PURE__*/function () {
* @param {module:model/RelationshipWafFirewallWafFirewall} obj Optional instance to populate.
* @return {module:model/RelationshipWafFirewallWafFirewall} The populated RelationshipWafFirewallWafFirewall
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipWafFirewallWafFirewall();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberWafFirewall["default"]]);
}
}
-
return obj;
}
}]);
-
return RelationshipWafFirewallWafFirewall;
}();
/**
* @member {Array.RelationshipWafRule
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -95607,29 +91882,23 @@ var RelationshipWafRule = /*#__PURE__*/function () {
* @param {module:model/RelationshipWafRule} obj Optional instance to populate.
* @return {module:model/RelationshipWafRule} The populated RelationshipWafRule
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipWafRule();
-
if (data.hasOwnProperty('waf_rule')) {
obj['waf_rule'] = _RelationshipWafRuleWafRule["default"].constructFromObject(data['waf_rule']);
}
}
-
return obj;
}
}]);
-
return RelationshipWafRule;
}();
/**
* @member {module:model/RelationshipWafRuleWafRule} waf_rule
*/
-
-
RelationshipWafRule.prototype['waf_rule'] = undefined;
var _default = RelationshipWafRule;
exports["default"] = _default;
@@ -95646,23 +91915,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipWafRuleRevisionWafRuleRevisions = _interopRequireDefault(__nccwpck_require__(21908));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipWafRuleRevision model module.
* @module model/RelationshipWafRuleRevision
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipWafRuleRevision = /*#__PURE__*/function () {
/**
@@ -95671,19 +91936,18 @@ var RelationshipWafRuleRevision = /*#__PURE__*/function () {
*/
function RelationshipWafRuleRevision() {
_classCallCheck(this, RelationshipWafRuleRevision);
-
RelationshipWafRuleRevision.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipWafRuleRevision, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipWafRuleRevision
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -95691,29 +91955,23 @@ var RelationshipWafRuleRevision = /*#__PURE__*/function () {
* @param {module:model/RelationshipWafRuleRevision} obj Optional instance to populate.
* @return {module:model/RelationshipWafRuleRevision} The populated RelationshipWafRuleRevision
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipWafRuleRevision();
-
if (data.hasOwnProperty('waf_rule_revisions')) {
obj['waf_rule_revisions'] = _RelationshipWafRuleRevisionWafRuleRevisions["default"].constructFromObject(data['waf_rule_revisions']);
}
}
-
return obj;
}
}]);
-
return RelationshipWafRuleRevision;
}();
/**
* @member {module:model/RelationshipWafRuleRevisionWafRuleRevisions} waf_rule_revisions
*/
-
-
RelationshipWafRuleRevision.prototype['waf_rule_revisions'] = undefined;
var _default = RelationshipWafRuleRevision;
exports["default"] = _default;
@@ -95730,23 +91988,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipMemberWafRuleRevision = _interopRequireDefault(__nccwpck_require__(47971));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipWafRuleRevisionWafRuleRevisions model module.
* @module model/RelationshipWafRuleRevisionWafRuleRevisions
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipWafRuleRevisionWafRuleRevisions = /*#__PURE__*/function () {
/**
@@ -95755,19 +92009,18 @@ var RelationshipWafRuleRevisionWafRuleRevisions = /*#__PURE__*/function () {
*/
function RelationshipWafRuleRevisionWafRuleRevisions() {
_classCallCheck(this, RelationshipWafRuleRevisionWafRuleRevisions);
-
RelationshipWafRuleRevisionWafRuleRevisions.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipWafRuleRevisionWafRuleRevisions, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipWafRuleRevisionWafRuleRevisions
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -95775,29 +92028,23 @@ var RelationshipWafRuleRevisionWafRuleRevisions = /*#__PURE__*/function () {
* @param {module:model/RelationshipWafRuleRevisionWafRuleRevisions} obj Optional instance to populate.
* @return {module:model/RelationshipWafRuleRevisionWafRuleRevisions} The populated RelationshipWafRuleRevisionWafRuleRevisions
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipWafRuleRevisionWafRuleRevisions();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberWafRuleRevision["default"]]);
}
}
-
return obj;
}
}]);
-
return RelationshipWafRuleRevisionWafRuleRevisions;
}();
/**
* @member {Array.RelationshipWafRuleRevisions
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -95859,29 +92101,23 @@ var RelationshipWafRuleRevisions = /*#__PURE__*/function () {
* @param {module:model/RelationshipWafRuleRevisions} obj Optional instance to populate.
* @return {module:model/RelationshipWafRuleRevisions} The populated RelationshipWafRuleRevisions
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipWafRuleRevisions();
-
if (data.hasOwnProperty('waf_rule_revisions')) {
obj['waf_rule_revisions'] = _RelationshipWafRuleRevisionWafRuleRevisions["default"].constructFromObject(data['waf_rule_revisions']);
}
}
-
return obj;
}
}]);
-
return RelationshipWafRuleRevisions;
}();
/**
* @member {module:model/RelationshipWafRuleRevisionWafRuleRevisions} waf_rule_revisions
*/
-
-
RelationshipWafRuleRevisions.prototype['waf_rule_revisions'] = undefined;
var _default = RelationshipWafRuleRevisions;
exports["default"] = _default;
@@ -95898,23 +92134,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipMemberWafRule = _interopRequireDefault(__nccwpck_require__(11872));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipWafRuleWafRule model module.
* @module model/RelationshipWafRuleWafRule
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipWafRuleWafRule = /*#__PURE__*/function () {
/**
@@ -95923,19 +92155,18 @@ var RelationshipWafRuleWafRule = /*#__PURE__*/function () {
*/
function RelationshipWafRuleWafRule() {
_classCallCheck(this, RelationshipWafRuleWafRule);
-
RelationshipWafRuleWafRule.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipWafRuleWafRule, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipWafRuleWafRule
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -95943,29 +92174,23 @@ var RelationshipWafRuleWafRule = /*#__PURE__*/function () {
* @param {module:model/RelationshipWafRuleWafRule} obj Optional instance to populate.
* @return {module:model/RelationshipWafRuleWafRule} The populated RelationshipWafRuleWafRule
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipWafRuleWafRule();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberWafRule["default"]]);
}
}
-
return obj;
}
}]);
-
return RelationshipWafRuleWafRule;
}();
/**
* @member {Array.RelationshipWafRules
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -96027,29 +92247,23 @@ var RelationshipWafRules = /*#__PURE__*/function () {
* @param {module:model/RelationshipWafRules} obj Optional instance to populate.
* @return {module:model/RelationshipWafRules} The populated RelationshipWafRules
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipWafRules();
-
if (data.hasOwnProperty('waf_rules')) {
obj['waf_rules'] = _RelationshipWafRuleWafRule["default"].constructFromObject(data['waf_rules']);
}
}
-
return obj;
}
}]);
-
return RelationshipWafRules;
}();
/**
* @member {module:model/RelationshipWafRuleWafRule} waf_rules
*/
-
-
RelationshipWafRules.prototype['waf_rules'] = undefined;
var _default = RelationshipWafRules;
exports["default"] = _default;
@@ -96066,23 +92280,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipWafTagsWafTags = _interopRequireDefault(__nccwpck_require__(64566));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipWafTags model module.
* @module model/RelationshipWafTags
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipWafTags = /*#__PURE__*/function () {
/**
@@ -96091,19 +92301,18 @@ var RelationshipWafTags = /*#__PURE__*/function () {
*/
function RelationshipWafTags() {
_classCallCheck(this, RelationshipWafTags);
-
RelationshipWafTags.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipWafTags, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipWafTags
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -96111,29 +92320,23 @@ var RelationshipWafTags = /*#__PURE__*/function () {
* @param {module:model/RelationshipWafTags} obj Optional instance to populate.
* @return {module:model/RelationshipWafTags} The populated RelationshipWafTags
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipWafTags();
-
if (data.hasOwnProperty('waf_tags')) {
obj['waf_tags'] = _RelationshipWafTagsWafTags["default"].constructFromObject(data['waf_tags']);
}
}
-
return obj;
}
}]);
-
return RelationshipWafTags;
}();
/**
* @member {module:model/RelationshipWafTagsWafTags} waf_tags
*/
-
-
RelationshipWafTags.prototype['waf_tags'] = undefined;
var _default = RelationshipWafTags;
exports["default"] = _default;
@@ -96150,23 +92353,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipMemberWafTag = _interopRequireDefault(__nccwpck_require__(30245));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipWafTagsWafTags model module.
* @module model/RelationshipWafTagsWafTags
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipWafTagsWafTags = /*#__PURE__*/function () {
/**
@@ -96175,19 +92374,18 @@ var RelationshipWafTagsWafTags = /*#__PURE__*/function () {
*/
function RelationshipWafTagsWafTags() {
_classCallCheck(this, RelationshipWafTagsWafTags);
-
RelationshipWafTagsWafTags.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipWafTagsWafTags, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipWafTagsWafTags
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -96195,29 +92393,23 @@ var RelationshipWafTagsWafTags = /*#__PURE__*/function () {
* @param {module:model/RelationshipWafTagsWafTags} obj Optional instance to populate.
* @return {module:model/RelationshipWafTagsWafTags} The populated RelationshipWafTagsWafTags
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipWafTagsWafTags();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_RelationshipMemberWafTag["default"]]);
}
}
-
return obj;
}
}]);
-
return RelationshipWafTagsWafTags;
}();
/**
* @member {Array.RelationshipsForInvitation
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -96291,61 +92473,51 @@ var RelationshipsForInvitation = /*#__PURE__*/function () {
* @param {module:model/RelationshipsForInvitation} obj Optional instance to populate.
* @return {module:model/RelationshipsForInvitation} The populated RelationshipsForInvitation
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipsForInvitation();
-
_RelationshipCustomer["default"].constructFromObject(data, obj);
-
_RelationshipServiceInvitations["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('customer')) {
obj['customer'] = _RelationshipCustomerCustomer["default"].constructFromObject(data['customer']);
}
-
if (data.hasOwnProperty('service_invitations')) {
obj['service_invitations'] = _RelationshipServiceInvitationsServiceInvitations["default"].constructFromObject(data['service_invitations']);
}
}
-
return obj;
}
}]);
-
return RelationshipsForInvitation;
}();
/**
* @member {module:model/RelationshipCustomerCustomer} customer
*/
-
-
RelationshipsForInvitation.prototype['customer'] = undefined;
+
/**
* @member {module:model/RelationshipServiceInvitationsServiceInvitations} service_invitations
*/
+RelationshipsForInvitation.prototype['service_invitations'] = undefined;
-RelationshipsForInvitation.prototype['service_invitations'] = undefined; // Implement RelationshipCustomer interface:
-
+// Implement RelationshipCustomer interface:
/**
* @member {module:model/RelationshipCustomerCustomer} customer
*/
-
-_RelationshipCustomer["default"].prototype['customer'] = undefined; // Implement RelationshipServiceInvitations interface:
-
+_RelationshipCustomer["default"].prototype['customer'] = undefined;
+// Implement RelationshipServiceInvitations interface:
/**
* @member {module:model/RelationshipServiceInvitationsServiceInvitations} service_invitations
*/
-
_RelationshipServiceInvitations["default"].prototype['service_invitations'] = undefined;
var _default = RelationshipsForInvitation;
exports["default"] = _default;
/***/ }),
-/***/ 88309:
+/***/ 70861:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -96355,29 +92527,105 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _RelationshipTlsActivationTlsActivation = _interopRequireDefault(__nccwpck_require__(56521));
+var _RelationshipTlsActivations = _interopRequireDefault(__nccwpck_require__(52001));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The RelationshipsForMutualAuthentication model module.
+ * @module model/RelationshipsForMutualAuthentication
+ * @version v3.1.0
+ */
+var RelationshipsForMutualAuthentication = /*#__PURE__*/function () {
+ /**
+ * Constructs a new RelationshipsForMutualAuthentication
.
+ * @alias module:model/RelationshipsForMutualAuthentication
+ * @implements module:model/RelationshipTlsActivations
+ */
+ function RelationshipsForMutualAuthentication() {
+ _classCallCheck(this, RelationshipsForMutualAuthentication);
+ _RelationshipTlsActivations["default"].initialize(this);
+ RelationshipsForMutualAuthentication.initialize(this);
+ }
-var _RelationshipService = _interopRequireDefault(__nccwpck_require__(12979));
-
-var _RelationshipServiceService = _interopRequireDefault(__nccwpck_require__(25370));
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(RelationshipsForMutualAuthentication, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
-var _RelationshipUser = _interopRequireDefault(__nccwpck_require__(6378));
+ /**
+ * Constructs a RelationshipsForMutualAuthentication
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RelationshipsForMutualAuthentication} obj Optional instance to populate.
+ * @return {module:model/RelationshipsForMutualAuthentication} The populated RelationshipsForMutualAuthentication
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RelationshipsForMutualAuthentication();
+ _RelationshipTlsActivations["default"].constructFromObject(data, obj);
+ if (data.hasOwnProperty('tls_activations')) {
+ obj['tls_activations'] = _RelationshipTlsActivationTlsActivation["default"].constructFromObject(data['tls_activations']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return RelationshipsForMutualAuthentication;
+}();
+/**
+ * @member {module:model/RelationshipTlsActivationTlsActivation} tls_activations
+ */
+RelationshipsForMutualAuthentication.prototype['tls_activations'] = undefined;
-var _RelationshipUserUser = _interopRequireDefault(__nccwpck_require__(5269));
+// Implement RelationshipTlsActivations interface:
+/**
+ * @member {module:model/RelationshipTlsActivationTlsActivation} tls_activations
+ */
+_RelationshipTlsActivations["default"].prototype['tls_activations'] = undefined;
+var _default = RelationshipsForMutualAuthentication;
+exports["default"] = _default;
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+/***/ }),
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+/***/ 88309:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+"use strict";
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _RelationshipMemberService = _interopRequireDefault(__nccwpck_require__(91519));
+var _RelationshipService = _interopRequireDefault(__nccwpck_require__(12979));
+var _RelationshipUser = _interopRequireDefault(__nccwpck_require__(6378));
+var _RelationshipUserUser = _interopRequireDefault(__nccwpck_require__(5269));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipsForStar model module.
* @module model/RelationshipsForStar
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipsForStar = /*#__PURE__*/function () {
/**
@@ -96388,23 +92636,20 @@ var RelationshipsForStar = /*#__PURE__*/function () {
*/
function RelationshipsForStar() {
_classCallCheck(this, RelationshipsForStar);
-
_RelationshipUser["default"].initialize(this);
-
_RelationshipService["default"].initialize(this);
-
RelationshipsForStar.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipsForStar, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipsForStar
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -96412,54 +92657,44 @@ var RelationshipsForStar = /*#__PURE__*/function () {
* @param {module:model/RelationshipsForStar} obj Optional instance to populate.
* @return {module:model/RelationshipsForStar} The populated RelationshipsForStar
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipsForStar();
-
_RelationshipUser["default"].constructFromObject(data, obj);
-
_RelationshipService["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('user')) {
obj['user'] = _RelationshipUserUser["default"].constructFromObject(data['user']);
}
-
if (data.hasOwnProperty('service')) {
- obj['service'] = _RelationshipServiceService["default"].constructFromObject(data['service']);
+ obj['service'] = _RelationshipMemberService["default"].constructFromObject(data['service']);
}
}
-
return obj;
}
}]);
-
return RelationshipsForStar;
}();
/**
* @member {module:model/RelationshipUserUser} user
*/
-
-
RelationshipsForStar.prototype['user'] = undefined;
+
/**
- * @member {module:model/RelationshipServiceService} service
+ * @member {module:model/RelationshipMemberService} service
*/
+RelationshipsForStar.prototype['service'] = undefined;
-RelationshipsForStar.prototype['service'] = undefined; // Implement RelationshipUser interface:
-
+// Implement RelationshipUser interface:
/**
* @member {module:model/RelationshipUserUser} user
*/
-
-_RelationshipUser["default"].prototype['user'] = undefined; // Implement RelationshipService interface:
-
+_RelationshipUser["default"].prototype['user'] = undefined;
+// Implement RelationshipService interface:
/**
- * @member {module:model/RelationshipServiceService} service
+ * @member {module:model/RelationshipMemberService} service
*/
-
_RelationshipService["default"].prototype['service'] = undefined;
var _default = RelationshipsForStar;
exports["default"] = _default;
@@ -96476,23 +92711,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipTlsCertificateTlsCertificate = _interopRequireDefault(__nccwpck_require__(65582));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipsForTlsActivation model module.
* @module model/RelationshipsForTlsActivation
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipsForTlsActivation = /*#__PURE__*/function () {
/**
@@ -96501,19 +92732,18 @@ var RelationshipsForTlsActivation = /*#__PURE__*/function () {
*/
function RelationshipsForTlsActivation() {
_classCallCheck(this, RelationshipsForTlsActivation);
-
RelationshipsForTlsActivation.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipsForTlsActivation, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipsForTlsActivation
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -96521,29 +92751,23 @@ var RelationshipsForTlsActivation = /*#__PURE__*/function () {
* @param {module:model/RelationshipsForTlsActivation} obj Optional instance to populate.
* @return {module:model/RelationshipsForTlsActivation} The populated RelationshipsForTlsActivation
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipsForTlsActivation();
-
if (data.hasOwnProperty('tls_certificate')) {
obj['tls_certificate'] = _RelationshipTlsCertificateTlsCertificate["default"].constructFromObject(data['tls_certificate']);
}
}
-
return obj;
}
}]);
-
return RelationshipsForTlsActivation;
}();
/**
* @member {module:model/RelationshipTlsCertificateTlsCertificate} tls_certificate
*/
-
-
RelationshipsForTlsActivation.prototype['tls_certificate'] = undefined;
var _default = RelationshipsForTlsActivation;
exports["default"] = _default;
@@ -96560,27 +92784,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
-var _RelationshipTlsConfigurationTlsConfiguration = _interopRequireDefault(__nccwpck_require__(72358));
-
var _RelationshipTlsConfigurations = _interopRequireDefault(__nccwpck_require__(24913));
-
-var _RelationshipTlsDomainTlsDomain = _interopRequireDefault(__nccwpck_require__(85349));
-
+var _RelationshipTlsConfigurationsTlsConfigurations = _interopRequireDefault(__nccwpck_require__(32614));
+var _RelationshipTlsDomainsTlsDomains = _interopRequireDefault(__nccwpck_require__(15329));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipsForTlsBulkCertificate model module.
* @module model/RelationshipsForTlsBulkCertificate
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipsForTlsBulkCertificate = /*#__PURE__*/function () {
/**
@@ -96590,21 +92808,19 @@ var RelationshipsForTlsBulkCertificate = /*#__PURE__*/function () {
*/
function RelationshipsForTlsBulkCertificate() {
_classCallCheck(this, RelationshipsForTlsBulkCertificate);
-
_RelationshipTlsConfigurations["default"].initialize(this);
-
RelationshipsForTlsBulkCertificate.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipsForTlsBulkCertificate, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipsForTlsBulkCertificate
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -96612,46 +92828,38 @@ var RelationshipsForTlsBulkCertificate = /*#__PURE__*/function () {
* @param {module:model/RelationshipsForTlsBulkCertificate} obj Optional instance to populate.
* @return {module:model/RelationshipsForTlsBulkCertificate} The populated RelationshipsForTlsBulkCertificate
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipsForTlsBulkCertificate();
-
_RelationshipTlsConfigurations["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('tls_configurations')) {
- obj['tls_configurations'] = _RelationshipTlsConfigurationTlsConfiguration["default"].constructFromObject(data['tls_configurations']);
+ obj['tls_configurations'] = _RelationshipTlsConfigurationsTlsConfigurations["default"].constructFromObject(data['tls_configurations']);
}
-
if (data.hasOwnProperty('tls_domains')) {
- obj['tls_domains'] = _RelationshipTlsDomainTlsDomain["default"].constructFromObject(data['tls_domains']);
+ obj['tls_domains'] = _RelationshipTlsDomainsTlsDomains["default"].constructFromObject(data['tls_domains']);
}
}
-
return obj;
}
}]);
-
return RelationshipsForTlsBulkCertificate;
}();
/**
- * @member {module:model/RelationshipTlsConfigurationTlsConfiguration} tls_configurations
+ * @member {module:model/RelationshipTlsConfigurationsTlsConfigurations} tls_configurations
*/
-
-
RelationshipsForTlsBulkCertificate.prototype['tls_configurations'] = undefined;
+
/**
- * @member {module:model/RelationshipTlsDomainTlsDomain} tls_domains
+ * @member {module:model/RelationshipTlsDomainsTlsDomains} tls_domains
*/
+RelationshipsForTlsBulkCertificate.prototype['tls_domains'] = undefined;
-RelationshipsForTlsBulkCertificate.prototype['tls_domains'] = undefined; // Implement RelationshipTlsConfigurations interface:
-
+// Implement RelationshipTlsConfigurations interface:
/**
- * @member {module:model/RelationshipTlsConfigurationTlsConfiguration} tls_configurations
+ * @member {module:model/RelationshipTlsConfigurationsTlsConfigurations} tls_configurations
*/
-
_RelationshipTlsConfigurations["default"].prototype['tls_configurations'] = undefined;
var _default = RelationshipsForTlsBulkCertificate;
exports["default"] = _default;
@@ -96668,23 +92876,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
-var _RelationshipServiceService = _interopRequireDefault(__nccwpck_require__(25370));
-
+var _RelationshipMemberService = _interopRequireDefault(__nccwpck_require__(91519));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipsForTlsConfiguration model module.
* @module model/RelationshipsForTlsConfiguration
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipsForTlsConfiguration = /*#__PURE__*/function () {
/**
@@ -96693,19 +92897,18 @@ var RelationshipsForTlsConfiguration = /*#__PURE__*/function () {
*/
function RelationshipsForTlsConfiguration() {
_classCallCheck(this, RelationshipsForTlsConfiguration);
-
RelationshipsForTlsConfiguration.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipsForTlsConfiguration, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipsForTlsConfiguration
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -96713,36 +92916,30 @@ var RelationshipsForTlsConfiguration = /*#__PURE__*/function () {
* @param {module:model/RelationshipsForTlsConfiguration} obj Optional instance to populate.
* @return {module:model/RelationshipsForTlsConfiguration} The populated RelationshipsForTlsConfiguration
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipsForTlsConfiguration();
-
if (data.hasOwnProperty('service')) {
- obj['service'] = _RelationshipServiceService["default"].constructFromObject(data['service']);
+ obj['service'] = _RelationshipMemberService["default"].constructFromObject(data['service']);
}
}
-
return obj;
}
}]);
-
return RelationshipsForTlsConfiguration;
}();
/**
- * @member {module:model/RelationshipServiceService} service
+ * @member {module:model/RelationshipMemberService} service
*/
-
-
RelationshipsForTlsConfiguration.prototype['service'] = undefined;
var _default = RelationshipsForTlsConfiguration;
exports["default"] = _default;
/***/ }),
-/***/ 71794:
+/***/ 63842:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -96752,27 +92949,104 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _RelationshipTlsPrivateKey = _interopRequireDefault(__nccwpck_require__(86679));
+var _RelationshipTlsPrivateKeyTlsPrivateKey = _interopRequireDefault(__nccwpck_require__(98613));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The RelationshipsForTlsCsr model module.
+ * @module model/RelationshipsForTlsCsr
+ * @version v3.1.0
+ */
+var RelationshipsForTlsCsr = /*#__PURE__*/function () {
+ /**
+ * Constructs a new RelationshipsForTlsCsr
.
+ * @alias module:model/RelationshipsForTlsCsr
+ * @implements module:model/RelationshipTlsPrivateKey
+ */
+ function RelationshipsForTlsCsr() {
+ _classCallCheck(this, RelationshipsForTlsCsr);
+ _RelationshipTlsPrivateKey["default"].initialize(this);
+ RelationshipsForTlsCsr.initialize(this);
+ }
-var _RelationshipTlsActivationTlsActivation = _interopRequireDefault(__nccwpck_require__(56521));
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(RelationshipsForTlsCsr, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
-var _RelationshipTlsSubscriptionTlsSubscription = _interopRequireDefault(__nccwpck_require__(47868));
+ /**
+ * Constructs a RelationshipsForTlsCsr
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RelationshipsForTlsCsr} obj Optional instance to populate.
+ * @return {module:model/RelationshipsForTlsCsr} The populated RelationshipsForTlsCsr
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RelationshipsForTlsCsr();
+ _RelationshipTlsPrivateKey["default"].constructFromObject(data, obj);
+ if (data.hasOwnProperty('tls_private_key')) {
+ obj['tls_private_key'] = _RelationshipTlsPrivateKeyTlsPrivateKey["default"].constructFromObject(data['tls_private_key']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return RelationshipsForTlsCsr;
+}();
+/**
+ * @member {module:model/RelationshipTlsPrivateKeyTlsPrivateKey} tls_private_key
+ */
+RelationshipsForTlsCsr.prototype['tls_private_key'] = undefined;
-var _RelationshipTlsSubscriptions = _interopRequireDefault(__nccwpck_require__(66078));
+// Implement RelationshipTlsPrivateKey interface:
+/**
+ * @member {module:model/RelationshipTlsPrivateKeyTlsPrivateKey} tls_private_key
+ */
+_RelationshipTlsPrivateKey["default"].prototype['tls_private_key'] = undefined;
+var _default = RelationshipsForTlsCsr;
+exports["default"] = _default;
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+/***/ }),
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+/***/ 71794:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+"use strict";
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _RelationshipTlsActivationTlsActivation = _interopRequireDefault(__nccwpck_require__(56521));
+var _RelationshipTlsSubscriptionTlsSubscription = _interopRequireDefault(__nccwpck_require__(47868));
+var _RelationshipTlsSubscriptions = _interopRequireDefault(__nccwpck_require__(66078));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipsForTlsDomain model module.
* @module model/RelationshipsForTlsDomain
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipsForTlsDomain = /*#__PURE__*/function () {
/**
@@ -96782,21 +93056,19 @@ var RelationshipsForTlsDomain = /*#__PURE__*/function () {
*/
function RelationshipsForTlsDomain() {
_classCallCheck(this, RelationshipsForTlsDomain);
-
_RelationshipTlsSubscriptions["default"].initialize(this);
-
RelationshipsForTlsDomain.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipsForTlsDomain, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipsForTlsDomain
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -96804,46 +93076,38 @@ var RelationshipsForTlsDomain = /*#__PURE__*/function () {
* @param {module:model/RelationshipsForTlsDomain} obj Optional instance to populate.
* @return {module:model/RelationshipsForTlsDomain} The populated RelationshipsForTlsDomain
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipsForTlsDomain();
-
_RelationshipTlsSubscriptions["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('tls_subscriptions')) {
obj['tls_subscriptions'] = _RelationshipTlsSubscriptionTlsSubscription["default"].constructFromObject(data['tls_subscriptions']);
}
-
if (data.hasOwnProperty('tls_activations')) {
obj['tls_activations'] = _RelationshipTlsActivationTlsActivation["default"].constructFromObject(data['tls_activations']);
}
}
-
return obj;
}
}]);
-
return RelationshipsForTlsDomain;
}();
/**
* @member {module:model/RelationshipTlsSubscriptionTlsSubscription} tls_subscriptions
*/
-
-
RelationshipsForTlsDomain.prototype['tls_subscriptions'] = undefined;
+
/**
* @member {module:model/RelationshipTlsActivationTlsActivation} tls_activations
*/
+RelationshipsForTlsDomain.prototype['tls_activations'] = undefined;
-RelationshipsForTlsDomain.prototype['tls_activations'] = undefined; // Implement RelationshipTlsSubscriptions interface:
-
+// Implement RelationshipTlsSubscriptions interface:
/**
* @member {module:model/RelationshipTlsSubscriptionTlsSubscription} tls_subscriptions
*/
-
_RelationshipTlsSubscriptions["default"].prototype['tls_subscriptions'] = undefined;
var _default = RelationshipsForTlsDomain;
exports["default"] = _default;
@@ -96860,27 +93124,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipTlsActivationTlsActivation = _interopRequireDefault(__nccwpck_require__(56521));
-
var _RelationshipTlsActivations = _interopRequireDefault(__nccwpck_require__(52001));
-
-var _RelationshipTlsDomainTlsDomain = _interopRequireDefault(__nccwpck_require__(85349));
-
+var _RelationshipTlsDomainsTlsDomains = _interopRequireDefault(__nccwpck_require__(15329));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipsForTlsPrivateKey model module.
* @module model/RelationshipsForTlsPrivateKey
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipsForTlsPrivateKey = /*#__PURE__*/function () {
/**
@@ -96890,21 +93148,19 @@ var RelationshipsForTlsPrivateKey = /*#__PURE__*/function () {
*/
function RelationshipsForTlsPrivateKey() {
_classCallCheck(this, RelationshipsForTlsPrivateKey);
-
_RelationshipTlsActivations["default"].initialize(this);
-
RelationshipsForTlsPrivateKey.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipsForTlsPrivateKey, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipsForTlsPrivateKey
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -96912,46 +93168,38 @@ var RelationshipsForTlsPrivateKey = /*#__PURE__*/function () {
* @param {module:model/RelationshipsForTlsPrivateKey} obj Optional instance to populate.
* @return {module:model/RelationshipsForTlsPrivateKey} The populated RelationshipsForTlsPrivateKey
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipsForTlsPrivateKey();
-
_RelationshipTlsActivations["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('tls_activations')) {
obj['tls_activations'] = _RelationshipTlsActivationTlsActivation["default"].constructFromObject(data['tls_activations']);
}
-
if (data.hasOwnProperty('tls_domains')) {
- obj['tls_domains'] = _RelationshipTlsDomainTlsDomain["default"].constructFromObject(data['tls_domains']);
+ obj['tls_domains'] = _RelationshipTlsDomainsTlsDomains["default"].constructFromObject(data['tls_domains']);
}
}
-
return obj;
}
}]);
-
return RelationshipsForTlsPrivateKey;
}();
/**
* @member {module:model/RelationshipTlsActivationTlsActivation} tls_activations
*/
-
-
RelationshipsForTlsPrivateKey.prototype['tls_activations'] = undefined;
+
/**
- * @member {module:model/RelationshipTlsDomainTlsDomain} tls_domains
+ * @member {module:model/RelationshipTlsDomainsTlsDomains} tls_domains
*/
+RelationshipsForTlsPrivateKey.prototype['tls_domains'] = undefined;
-RelationshipsForTlsPrivateKey.prototype['tls_domains'] = undefined; // Implement RelationshipTlsActivations interface:
-
+// Implement RelationshipTlsActivations interface:
/**
* @member {module:model/RelationshipTlsActivationTlsActivation} tls_activations
*/
-
_RelationshipTlsActivations["default"].prototype['tls_activations'] = undefined;
var _default = RelationshipsForTlsPrivateKey;
exports["default"] = _default;
@@ -96968,31 +93216,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
-var _RelationshipTlsCertificateTlsCertificate = _interopRequireDefault(__nccwpck_require__(65582));
-
var _RelationshipTlsCertificates = _interopRequireDefault(__nccwpck_require__(9212));
-
+var _RelationshipTlsCertificatesTlsCertificates = _interopRequireDefault(__nccwpck_require__(42894));
var _RelationshipTlsConfigurationTlsConfiguration = _interopRequireDefault(__nccwpck_require__(72358));
-
-var _RelationshipTlsDomainTlsDomain = _interopRequireDefault(__nccwpck_require__(85349));
-
var _RelationshipTlsDomains = _interopRequireDefault(__nccwpck_require__(80673));
-
+var _RelationshipTlsDomainsTlsDomains = _interopRequireDefault(__nccwpck_require__(15329));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipsForTlsSubscription model module.
* @module model/RelationshipsForTlsSubscription
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipsForTlsSubscription = /*#__PURE__*/function () {
/**
@@ -97003,23 +93243,20 @@ var RelationshipsForTlsSubscription = /*#__PURE__*/function () {
*/
function RelationshipsForTlsSubscription() {
_classCallCheck(this, RelationshipsForTlsSubscription);
-
_RelationshipTlsDomains["default"].initialize(this);
-
_RelationshipTlsCertificates["default"].initialize(this);
-
RelationshipsForTlsSubscription.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipsForTlsSubscription, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipsForTlsSubscription
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -97027,63 +93264,52 @@ var RelationshipsForTlsSubscription = /*#__PURE__*/function () {
* @param {module:model/RelationshipsForTlsSubscription} obj Optional instance to populate.
* @return {module:model/RelationshipsForTlsSubscription} The populated RelationshipsForTlsSubscription
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipsForTlsSubscription();
-
_RelationshipTlsDomains["default"].constructFromObject(data, obj);
-
_RelationshipTlsCertificates["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('tls_domains')) {
- obj['tls_domains'] = _RelationshipTlsDomainTlsDomain["default"].constructFromObject(data['tls_domains']);
+ obj['tls_domains'] = _RelationshipTlsDomainsTlsDomains["default"].constructFromObject(data['tls_domains']);
}
-
if (data.hasOwnProperty('tls_certificates')) {
- obj['tls_certificates'] = _RelationshipTlsCertificateTlsCertificate["default"].constructFromObject(data['tls_certificates']);
+ obj['tls_certificates'] = _RelationshipTlsCertificatesTlsCertificates["default"].constructFromObject(data['tls_certificates']);
}
-
if (data.hasOwnProperty('tls_configuration')) {
obj['tls_configuration'] = _RelationshipTlsConfigurationTlsConfiguration["default"].constructFromObject(data['tls_configuration']);
}
}
-
return obj;
}
}]);
-
return RelationshipsForTlsSubscription;
}();
/**
- * @member {module:model/RelationshipTlsDomainTlsDomain} tls_domains
+ * @member {module:model/RelationshipTlsDomainsTlsDomains} tls_domains
*/
-
-
RelationshipsForTlsSubscription.prototype['tls_domains'] = undefined;
+
/**
- * @member {module:model/RelationshipTlsCertificateTlsCertificate} tls_certificates
+ * @member {module:model/RelationshipTlsCertificatesTlsCertificates} tls_certificates
*/
-
RelationshipsForTlsSubscription.prototype['tls_certificates'] = undefined;
+
/**
* @member {module:model/RelationshipTlsConfigurationTlsConfiguration} tls_configuration
*/
+RelationshipsForTlsSubscription.prototype['tls_configuration'] = undefined;
-RelationshipsForTlsSubscription.prototype['tls_configuration'] = undefined; // Implement RelationshipTlsDomains interface:
-
+// Implement RelationshipTlsDomains interface:
/**
- * @member {module:model/RelationshipTlsDomainTlsDomain} tls_domains
+ * @member {module:model/RelationshipTlsDomainsTlsDomains} tls_domains
*/
-
-_RelationshipTlsDomains["default"].prototype['tls_domains'] = undefined; // Implement RelationshipTlsCertificates interface:
-
+_RelationshipTlsDomains["default"].prototype['tls_domains'] = undefined;
+// Implement RelationshipTlsCertificates interface:
/**
- * @member {module:model/RelationshipTlsCertificateTlsCertificate} tls_certificates
+ * @member {module:model/RelationshipTlsCertificatesTlsCertificates} tls_certificates
*/
-
_RelationshipTlsCertificates["default"].prototype['tls_certificates'] = undefined;
var _default = RelationshipsForTlsSubscription;
exports["default"] = _default;
@@ -97100,29 +93326,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipWafFirewallVersion = _interopRequireDefault(__nccwpck_require__(58948));
-
var _RelationshipWafFirewallVersionWafFirewallVersion = _interopRequireDefault(__nccwpck_require__(27192));
-
var _RelationshipWafRuleRevision = _interopRequireDefault(__nccwpck_require__(80958));
-
var _RelationshipWafRuleRevisionWafRuleRevisions = _interopRequireDefault(__nccwpck_require__(21908));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipsForWafActiveRule model module.
* @module model/RelationshipsForWafActiveRule
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipsForWafActiveRule = /*#__PURE__*/function () {
/**
@@ -97133,23 +93352,20 @@ var RelationshipsForWafActiveRule = /*#__PURE__*/function () {
*/
function RelationshipsForWafActiveRule() {
_classCallCheck(this, RelationshipsForWafActiveRule);
-
_RelationshipWafFirewallVersion["default"].initialize(this);
-
_RelationshipWafRuleRevision["default"].initialize(this);
-
RelationshipsForWafActiveRule.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipsForWafActiveRule, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipsForWafActiveRule
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -97157,54 +93373,44 @@ var RelationshipsForWafActiveRule = /*#__PURE__*/function () {
* @param {module:model/RelationshipsForWafActiveRule} obj Optional instance to populate.
* @return {module:model/RelationshipsForWafActiveRule} The populated RelationshipsForWafActiveRule
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipsForWafActiveRule();
-
_RelationshipWafFirewallVersion["default"].constructFromObject(data, obj);
-
_RelationshipWafRuleRevision["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('waf_firewall_version')) {
obj['waf_firewall_version'] = _RelationshipWafFirewallVersionWafFirewallVersion["default"].constructFromObject(data['waf_firewall_version']);
}
-
if (data.hasOwnProperty('waf_rule_revisions')) {
obj['waf_rule_revisions'] = _RelationshipWafRuleRevisionWafRuleRevisions["default"].constructFromObject(data['waf_rule_revisions']);
}
}
-
return obj;
}
}]);
-
return RelationshipsForWafActiveRule;
}();
/**
* @member {module:model/RelationshipWafFirewallVersionWafFirewallVersion} waf_firewall_version
*/
-
-
RelationshipsForWafActiveRule.prototype['waf_firewall_version'] = undefined;
+
/**
* @member {module:model/RelationshipWafRuleRevisionWafRuleRevisions} waf_rule_revisions
*/
+RelationshipsForWafActiveRule.prototype['waf_rule_revisions'] = undefined;
-RelationshipsForWafActiveRule.prototype['waf_rule_revisions'] = undefined; // Implement RelationshipWafFirewallVersion interface:
-
+// Implement RelationshipWafFirewallVersion interface:
/**
* @member {module:model/RelationshipWafFirewallVersionWafFirewallVersion} waf_firewall_version
*/
-
-_RelationshipWafFirewallVersion["default"].prototype['waf_firewall_version'] = undefined; // Implement RelationshipWafRuleRevision interface:
-
+_RelationshipWafFirewallVersion["default"].prototype['waf_firewall_version'] = undefined;
+// Implement RelationshipWafRuleRevision interface:
/**
* @member {module:model/RelationshipWafRuleRevisionWafRuleRevisions} waf_rule_revisions
*/
-
_RelationshipWafRuleRevision["default"].prototype['waf_rule_revisions'] = undefined;
var _default = RelationshipsForWafActiveRule;
exports["default"] = _default;
@@ -97221,29 +93427,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipWafRuleRevisionWafRuleRevisions = _interopRequireDefault(__nccwpck_require__(21908));
-
var _RelationshipWafRuleRevisions = _interopRequireDefault(__nccwpck_require__(106));
-
var _RelationshipWafRuleWafRule = _interopRequireDefault(__nccwpck_require__(54790));
-
var _RelationshipWafRules = _interopRequireDefault(__nccwpck_require__(61566));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipsForWafExclusion model module.
* @module model/RelationshipsForWafExclusion
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipsForWafExclusion = /*#__PURE__*/function () {
/**
@@ -97254,23 +93453,20 @@ var RelationshipsForWafExclusion = /*#__PURE__*/function () {
*/
function RelationshipsForWafExclusion() {
_classCallCheck(this, RelationshipsForWafExclusion);
-
_RelationshipWafRules["default"].initialize(this);
-
_RelationshipWafRuleRevisions["default"].initialize(this);
-
RelationshipsForWafExclusion.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipsForWafExclusion, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipsForWafExclusion
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -97278,54 +93474,44 @@ var RelationshipsForWafExclusion = /*#__PURE__*/function () {
* @param {module:model/RelationshipsForWafExclusion} obj Optional instance to populate.
* @return {module:model/RelationshipsForWafExclusion} The populated RelationshipsForWafExclusion
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipsForWafExclusion();
-
_RelationshipWafRules["default"].constructFromObject(data, obj);
-
_RelationshipWafRuleRevisions["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('waf_rules')) {
obj['waf_rules'] = _RelationshipWafRuleWafRule["default"].constructFromObject(data['waf_rules']);
}
-
if (data.hasOwnProperty('waf_rule_revisions')) {
obj['waf_rule_revisions'] = _RelationshipWafRuleRevisionWafRuleRevisions["default"].constructFromObject(data['waf_rule_revisions']);
}
}
-
return obj;
}
}]);
-
return RelationshipsForWafExclusion;
}();
/**
* @member {module:model/RelationshipWafRuleWafRule} waf_rules
*/
-
-
RelationshipsForWafExclusion.prototype['waf_rules'] = undefined;
+
/**
* @member {module:model/RelationshipWafRuleRevisionWafRuleRevisions} waf_rule_revisions
*/
+RelationshipsForWafExclusion.prototype['waf_rule_revisions'] = undefined;
-RelationshipsForWafExclusion.prototype['waf_rule_revisions'] = undefined; // Implement RelationshipWafRules interface:
-
+// Implement RelationshipWafRules interface:
/**
* @member {module:model/RelationshipWafRuleWafRule} waf_rules
*/
-
-_RelationshipWafRules["default"].prototype['waf_rules'] = undefined; // Implement RelationshipWafRuleRevisions interface:
-
+_RelationshipWafRules["default"].prototype['waf_rules'] = undefined;
+// Implement RelationshipWafRuleRevisions interface:
/**
* @member {module:model/RelationshipWafRuleRevisionWafRuleRevisions} waf_rule_revisions
*/
-
_RelationshipWafRuleRevisions["default"].prototype['waf_rule_revisions'] = undefined;
var _default = RelationshipsForWafExclusion;
exports["default"] = _default;
@@ -97342,29 +93528,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipWafActiveRules = _interopRequireDefault(__nccwpck_require__(22021));
-
var _RelationshipWafActiveRulesWafActiveRules = _interopRequireDefault(__nccwpck_require__(79034));
-
var _RelationshipWafFirewallVersionWafFirewallVersion = _interopRequireDefault(__nccwpck_require__(27192));
-
var _RelationshipWafFirewallVersions = _interopRequireDefault(__nccwpck_require__(66331));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipsForWafFirewallVersion model module.
* @module model/RelationshipsForWafFirewallVersion
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipsForWafFirewallVersion = /*#__PURE__*/function () {
/**
@@ -97375,23 +93554,20 @@ var RelationshipsForWafFirewallVersion = /*#__PURE__*/function () {
*/
function RelationshipsForWafFirewallVersion() {
_classCallCheck(this, RelationshipsForWafFirewallVersion);
-
_RelationshipWafFirewallVersions["default"].initialize(this);
-
_RelationshipWafActiveRules["default"].initialize(this);
-
RelationshipsForWafFirewallVersion.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipsForWafFirewallVersion, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipsForWafFirewallVersion
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -97399,54 +93575,44 @@ var RelationshipsForWafFirewallVersion = /*#__PURE__*/function () {
* @param {module:model/RelationshipsForWafFirewallVersion} obj Optional instance to populate.
* @return {module:model/RelationshipsForWafFirewallVersion} The populated RelationshipsForWafFirewallVersion
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipsForWafFirewallVersion();
-
_RelationshipWafFirewallVersions["default"].constructFromObject(data, obj);
-
_RelationshipWafActiveRules["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('waf_firewall_versions')) {
obj['waf_firewall_versions'] = _RelationshipWafFirewallVersionWafFirewallVersion["default"].constructFromObject(data['waf_firewall_versions']);
}
-
if (data.hasOwnProperty('waf_active_rules')) {
obj['waf_active_rules'] = _RelationshipWafActiveRulesWafActiveRules["default"].constructFromObject(data['waf_active_rules']);
}
}
-
return obj;
}
}]);
-
return RelationshipsForWafFirewallVersion;
}();
/**
* @member {module:model/RelationshipWafFirewallVersionWafFirewallVersion} waf_firewall_versions
*/
-
-
RelationshipsForWafFirewallVersion.prototype['waf_firewall_versions'] = undefined;
+
/**
* @member {module:model/RelationshipWafActiveRulesWafActiveRules} waf_active_rules
*/
+RelationshipsForWafFirewallVersion.prototype['waf_active_rules'] = undefined;
-RelationshipsForWafFirewallVersion.prototype['waf_active_rules'] = undefined; // Implement RelationshipWafFirewallVersions interface:
-
+// Implement RelationshipWafFirewallVersions interface:
/**
* @member {module:model/RelationshipWafFirewallVersionWafFirewallVersion} waf_firewall_versions
*/
-
-_RelationshipWafFirewallVersions["default"].prototype['waf_firewall_versions'] = undefined; // Implement RelationshipWafActiveRules interface:
-
+_RelationshipWafFirewallVersions["default"].prototype['waf_firewall_versions'] = undefined;
+// Implement RelationshipWafActiveRules interface:
/**
* @member {module:model/RelationshipWafActiveRulesWafActiveRules} waf_active_rules
*/
-
_RelationshipWafActiveRules["default"].prototype['waf_active_rules'] = undefined;
var _default = RelationshipsForWafFirewallVersion;
exports["default"] = _default;
@@ -97463,29 +93629,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipWafRuleRevisionWafRuleRevisions = _interopRequireDefault(__nccwpck_require__(21908));
-
var _RelationshipWafRuleRevisions = _interopRequireDefault(__nccwpck_require__(106));
-
var _RelationshipWafTags = _interopRequireDefault(__nccwpck_require__(30386));
-
var _RelationshipWafTagsWafTags = _interopRequireDefault(__nccwpck_require__(64566));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RelationshipsForWafRule model module.
* @module model/RelationshipsForWafRule
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RelationshipsForWafRule = /*#__PURE__*/function () {
/**
@@ -97496,23 +93655,20 @@ var RelationshipsForWafRule = /*#__PURE__*/function () {
*/
function RelationshipsForWafRule() {
_classCallCheck(this, RelationshipsForWafRule);
-
_RelationshipWafTags["default"].initialize(this);
-
_RelationshipWafRuleRevisions["default"].initialize(this);
-
RelationshipsForWafRule.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RelationshipsForWafRule, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RelationshipsForWafRule
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -97520,54 +93676,44 @@ var RelationshipsForWafRule = /*#__PURE__*/function () {
* @param {module:model/RelationshipsForWafRule} obj Optional instance to populate.
* @return {module:model/RelationshipsForWafRule} The populated RelationshipsForWafRule
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RelationshipsForWafRule();
-
_RelationshipWafTags["default"].constructFromObject(data, obj);
-
_RelationshipWafRuleRevisions["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('waf_tags')) {
obj['waf_tags'] = _RelationshipWafTagsWafTags["default"].constructFromObject(data['waf_tags']);
}
-
if (data.hasOwnProperty('waf_rule_revisions')) {
obj['waf_rule_revisions'] = _RelationshipWafRuleRevisionWafRuleRevisions["default"].constructFromObject(data['waf_rule_revisions']);
}
}
-
return obj;
}
}]);
-
return RelationshipsForWafRule;
}();
/**
* @member {module:model/RelationshipWafTagsWafTags} waf_tags
*/
-
-
RelationshipsForWafRule.prototype['waf_tags'] = undefined;
+
/**
* @member {module:model/RelationshipWafRuleRevisionWafRuleRevisions} waf_rule_revisions
*/
+RelationshipsForWafRule.prototype['waf_rule_revisions'] = undefined;
-RelationshipsForWafRule.prototype['waf_rule_revisions'] = undefined; // Implement RelationshipWafTags interface:
-
+// Implement RelationshipWafTags interface:
/**
* @member {module:model/RelationshipWafTagsWafTags} waf_tags
*/
-
-_RelationshipWafTags["default"].prototype['waf_tags'] = undefined; // Implement RelationshipWafRuleRevisions interface:
-
+_RelationshipWafTags["default"].prototype['waf_tags'] = undefined;
+// Implement RelationshipWafRuleRevisions interface:
/**
* @member {module:model/RelationshipWafRuleRevisionWafRuleRevisions} waf_rule_revisions
*/
-
_RelationshipWafRuleRevisions["default"].prototype['waf_rule_revisions'] = undefined;
var _default = RelationshipsForWafRule;
exports["default"] = _default;
@@ -97584,21 +93730,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RequestSettings model module.
* @module model/RequestSettings
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RequestSettings = /*#__PURE__*/function () {
/**
@@ -97607,19 +93750,18 @@ var RequestSettings = /*#__PURE__*/function () {
*/
function RequestSettings() {
_classCallCheck(this, RequestSettings);
-
RequestSettings.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RequestSettings, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RequestSettings
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -97627,191 +93769,169 @@ var RequestSettings = /*#__PURE__*/function () {
* @param {module:model/RequestSettings} obj Optional instance to populate.
* @return {module:model/RequestSettings} The populated RequestSettings
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RequestSettings();
-
if (data.hasOwnProperty('action')) {
obj['action'] = _ApiClient["default"].convertToType(data['action'], 'String');
}
-
if (data.hasOwnProperty('bypass_busy_wait')) {
obj['bypass_busy_wait'] = _ApiClient["default"].convertToType(data['bypass_busy_wait'], 'Number');
}
-
if (data.hasOwnProperty('default_host')) {
obj['default_host'] = _ApiClient["default"].convertToType(data['default_host'], 'String');
}
-
if (data.hasOwnProperty('force_miss')) {
obj['force_miss'] = _ApiClient["default"].convertToType(data['force_miss'], 'Number');
}
-
if (data.hasOwnProperty('force_ssl')) {
obj['force_ssl'] = _ApiClient["default"].convertToType(data['force_ssl'], 'Number');
}
-
if (data.hasOwnProperty('geo_headers')) {
obj['geo_headers'] = _ApiClient["default"].convertToType(data['geo_headers'], 'Number');
}
-
if (data.hasOwnProperty('hash_keys')) {
obj['hash_keys'] = _ApiClient["default"].convertToType(data['hash_keys'], 'String');
}
-
if (data.hasOwnProperty('max_stale_age')) {
obj['max_stale_age'] = _ApiClient["default"].convertToType(data['max_stale_age'], 'Number');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('request_condition')) {
obj['request_condition'] = _ApiClient["default"].convertToType(data['request_condition'], 'String');
}
-
if (data.hasOwnProperty('timer_support')) {
obj['timer_support'] = _ApiClient["default"].convertToType(data['timer_support'], 'Number');
}
-
if (data.hasOwnProperty('xff')) {
obj['xff'] = _ApiClient["default"].convertToType(data['xff'], 'String');
}
}
-
return obj;
}
}]);
-
return RequestSettings;
}();
/**
* Allows you to terminate request handling and immediately perform an action.
* @member {module:model/RequestSettings.ActionEnum} action
*/
-
-
RequestSettings.prototype['action'] = undefined;
+
/**
* Disable collapsed forwarding, so you don't wait for other objects to origin.
* @member {Number} bypass_busy_wait
*/
-
RequestSettings.prototype['bypass_busy_wait'] = undefined;
+
/**
* Sets the host header.
* @member {String} default_host
*/
-
RequestSettings.prototype['default_host'] = undefined;
+
/**
* Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable.
* @member {Number} force_miss
*/
-
RequestSettings.prototype['force_miss'] = undefined;
+
/**
* Forces the request use SSL (redirects a non-SSL to SSL).
* @member {Number} force_ssl
*/
-
RequestSettings.prototype['force_ssl'] = undefined;
+
/**
* Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers.
* @member {Number} geo_headers
*/
-
RequestSettings.prototype['geo_headers'] = undefined;
+
/**
* Comma separated list of varnish request object fields that should be in the hash key.
* @member {String} hash_keys
*/
-
RequestSettings.prototype['hash_keys'] = undefined;
+
/**
* How old an object is allowed to be to serve stale-if-error or stale-while-revalidate.
* @member {Number} max_stale_age
*/
-
RequestSettings.prototype['max_stale_age'] = undefined;
+
/**
* Name for the request settings.
* @member {String} name
*/
-
RequestSettings.prototype['name'] = undefined;
+
/**
* Condition which, if met, will select this configuration during a request. Optional.
* @member {String} request_condition
*/
-
RequestSettings.prototype['request_condition'] = undefined;
+
/**
* Injects the X-Timer info into the request for viewing origin fetch durations.
* @member {Number} timer_support
*/
-
RequestSettings.prototype['timer_support'] = undefined;
+
/**
* Short for X-Forwarded-For.
* @member {module:model/RequestSettings.XffEnum} xff
*/
-
RequestSettings.prototype['xff'] = undefined;
+
/**
* Allowed values for the action
property.
* @enum {String}
* @readonly
*/
-
RequestSettings['ActionEnum'] = {
/**
* value: "lookup"
* @const
*/
"lookup": "lookup",
-
/**
* value: "pass"
* @const
*/
"pass": "pass"
};
+
/**
* Allowed values for the xff
property.
* @enum {String}
* @readonly
*/
-
RequestSettings['XffEnum'] = {
/**
* value: "clear"
* @const
*/
"clear": "clear",
-
/**
* value: "leave"
* @const
*/
"leave": "leave",
-
/**
* value: "append"
* @const
*/
"append": "append",
-
/**
* value: "append_all"
* @const
*/
"append_all": "append_all",
-
/**
* value: "overwrite"
* @const
@@ -97833,27 +93953,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RequestSettings = _interopRequireDefault(__nccwpck_require__(72422));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The RequestSettingsResponse model module.
* @module model/RequestSettingsResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var RequestSettingsResponse = /*#__PURE__*/function () {
/**
@@ -97865,25 +93979,21 @@ var RequestSettingsResponse = /*#__PURE__*/function () {
*/
function RequestSettingsResponse() {
_classCallCheck(this, RequestSettingsResponse);
-
_RequestSettings["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
RequestSettingsResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(RequestSettingsResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a RequestSettingsResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -97891,348 +94001,302 @@ var RequestSettingsResponse = /*#__PURE__*/function () {
* @param {module:model/RequestSettingsResponse} obj Optional instance to populate.
* @return {module:model/RequestSettingsResponse} The populated RequestSettingsResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new RequestSettingsResponse();
-
_RequestSettings["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('action')) {
obj['action'] = _ApiClient["default"].convertToType(data['action'], 'String');
}
-
if (data.hasOwnProperty('bypass_busy_wait')) {
obj['bypass_busy_wait'] = _ApiClient["default"].convertToType(data['bypass_busy_wait'], 'Number');
}
-
if (data.hasOwnProperty('default_host')) {
obj['default_host'] = _ApiClient["default"].convertToType(data['default_host'], 'String');
}
-
if (data.hasOwnProperty('force_miss')) {
obj['force_miss'] = _ApiClient["default"].convertToType(data['force_miss'], 'Number');
}
-
if (data.hasOwnProperty('force_ssl')) {
obj['force_ssl'] = _ApiClient["default"].convertToType(data['force_ssl'], 'Number');
}
-
if (data.hasOwnProperty('geo_headers')) {
obj['geo_headers'] = _ApiClient["default"].convertToType(data['geo_headers'], 'Number');
}
-
if (data.hasOwnProperty('hash_keys')) {
obj['hash_keys'] = _ApiClient["default"].convertToType(data['hash_keys'], 'String');
}
-
if (data.hasOwnProperty('max_stale_age')) {
obj['max_stale_age'] = _ApiClient["default"].convertToType(data['max_stale_age'], 'Number');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('request_condition')) {
obj['request_condition'] = _ApiClient["default"].convertToType(data['request_condition'], 'String');
}
-
if (data.hasOwnProperty('timer_support')) {
obj['timer_support'] = _ApiClient["default"].convertToType(data['timer_support'], 'Number');
}
-
if (data.hasOwnProperty('xff')) {
obj['xff'] = _ApiClient["default"].convertToType(data['xff'], 'String');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
}
-
return obj;
}
}]);
-
return RequestSettingsResponse;
}();
/**
* Allows you to terminate request handling and immediately perform an action.
* @member {module:model/RequestSettingsResponse.ActionEnum} action
*/
-
-
RequestSettingsResponse.prototype['action'] = undefined;
+
/**
* Disable collapsed forwarding, so you don't wait for other objects to origin.
* @member {Number} bypass_busy_wait
*/
-
RequestSettingsResponse.prototype['bypass_busy_wait'] = undefined;
+
/**
* Sets the host header.
* @member {String} default_host
*/
-
RequestSettingsResponse.prototype['default_host'] = undefined;
+
/**
* Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable.
* @member {Number} force_miss
*/
-
RequestSettingsResponse.prototype['force_miss'] = undefined;
+
/**
* Forces the request use SSL (redirects a non-SSL to SSL).
* @member {Number} force_ssl
*/
-
RequestSettingsResponse.prototype['force_ssl'] = undefined;
+
/**
* Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers.
* @member {Number} geo_headers
*/
-
RequestSettingsResponse.prototype['geo_headers'] = undefined;
+
/**
* Comma separated list of varnish request object fields that should be in the hash key.
* @member {String} hash_keys
*/
-
RequestSettingsResponse.prototype['hash_keys'] = undefined;
+
/**
* How old an object is allowed to be to serve stale-if-error or stale-while-revalidate.
* @member {Number} max_stale_age
*/
-
RequestSettingsResponse.prototype['max_stale_age'] = undefined;
+
/**
* Name for the request settings.
* @member {String} name
*/
-
RequestSettingsResponse.prototype['name'] = undefined;
+
/**
* Condition which, if met, will select this configuration during a request. Optional.
* @member {String} request_condition
*/
-
RequestSettingsResponse.prototype['request_condition'] = undefined;
+
/**
* Injects the X-Timer info into the request for viewing origin fetch durations.
* @member {Number} timer_support
*/
-
RequestSettingsResponse.prototype['timer_support'] = undefined;
+
/**
* Short for X-Forwarded-For.
* @member {module:model/RequestSettingsResponse.XffEnum} xff
*/
-
RequestSettingsResponse.prototype['xff'] = undefined;
+
/**
* @member {String} service_id
*/
-
RequestSettingsResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
-
RequestSettingsResponse.prototype['version'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
RequestSettingsResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
RequestSettingsResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
+RequestSettingsResponse.prototype['updated_at'] = undefined;
-RequestSettingsResponse.prototype['updated_at'] = undefined; // Implement RequestSettings interface:
-
+// Implement RequestSettings interface:
/**
* Allows you to terminate request handling and immediately perform an action.
* @member {module:model/RequestSettings.ActionEnum} action
*/
-
_RequestSettings["default"].prototype['action'] = undefined;
/**
* Disable collapsed forwarding, so you don't wait for other objects to origin.
* @member {Number} bypass_busy_wait
*/
-
_RequestSettings["default"].prototype['bypass_busy_wait'] = undefined;
/**
* Sets the host header.
* @member {String} default_host
*/
-
_RequestSettings["default"].prototype['default_host'] = undefined;
/**
* Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable.
* @member {Number} force_miss
*/
-
_RequestSettings["default"].prototype['force_miss'] = undefined;
/**
* Forces the request use SSL (redirects a non-SSL to SSL).
* @member {Number} force_ssl
*/
-
_RequestSettings["default"].prototype['force_ssl'] = undefined;
/**
* Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers.
* @member {Number} geo_headers
*/
-
_RequestSettings["default"].prototype['geo_headers'] = undefined;
/**
* Comma separated list of varnish request object fields that should be in the hash key.
* @member {String} hash_keys
*/
-
_RequestSettings["default"].prototype['hash_keys'] = undefined;
/**
* How old an object is allowed to be to serve stale-if-error or stale-while-revalidate.
* @member {Number} max_stale_age
*/
-
_RequestSettings["default"].prototype['max_stale_age'] = undefined;
/**
* Name for the request settings.
* @member {String} name
*/
-
_RequestSettings["default"].prototype['name'] = undefined;
/**
* Condition which, if met, will select this configuration during a request. Optional.
* @member {String} request_condition
*/
-
_RequestSettings["default"].prototype['request_condition'] = undefined;
/**
* Injects the X-Timer info into the request for viewing origin fetch durations.
* @member {Number} timer_support
*/
-
_RequestSettings["default"].prototype['timer_support'] = undefined;
/**
* Short for X-Forwarded-For.
* @member {module:model/RequestSettings.XffEnum} xff
*/
-
-_RequestSettings["default"].prototype['xff'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_RequestSettings["default"].prototype['xff'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
-_ServiceIdAndVersion["default"].prototype['version'] = undefined; // Implement Timestamps interface:
-
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
_Timestamps["default"].prototype['updated_at'] = undefined;
+
/**
* Allowed values for the action
property.
* @enum {String}
* @readonly
*/
-
RequestSettingsResponse['ActionEnum'] = {
/**
* value: "lookup"
* @const
*/
"lookup": "lookup",
-
/**
* value: "pass"
* @const
*/
"pass": "pass"
};
+
/**
* Allowed values for the xff
property.
* @enum {String}
* @readonly
*/
-
RequestSettingsResponse['XffEnum'] = {
/**
* value: "clear"
* @const
*/
"clear": "clear",
-
/**
* value: "leave"
* @const
*/
"leave": "leave",
-
/**
* value: "append"
* @const
*/
"append": "append",
-
/**
* value: "append_all"
* @const
*/
"append_all": "append_all",
-
/**
* value: "overwrite"
* @const
@@ -98254,21 +94318,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Resource model module.
* @module model/Resource
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Resource = /*#__PURE__*/function () {
/**
@@ -98277,19 +94338,18 @@ var Resource = /*#__PURE__*/function () {
*/
function Resource() {
_classCallCheck(this, Resource);
-
Resource.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Resource, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Resource
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -98297,30 +94357,24 @@ var Resource = /*#__PURE__*/function () {
* @param {module:model/Resource} obj Optional instance to populate.
* @return {module:model/Resource} The populated Resource
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Resource();
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
}
-
return obj;
}
}]);
-
return Resource;
}();
/**
* The name of the resource.
* @member {String} name
*/
-
-
Resource.prototype['name'] = undefined;
var _default = Resource;
exports["default"] = _default;
@@ -98337,25 +94391,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Resource = _interopRequireDefault(__nccwpck_require__(21417));
-
var _ResourceCreateAllOf = _interopRequireDefault(__nccwpck_require__(57636));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ResourceCreate model module.
* @module model/ResourceCreate
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ResourceCreate = /*#__PURE__*/function () {
/**
@@ -98366,23 +94415,20 @@ var ResourceCreate = /*#__PURE__*/function () {
*/
function ResourceCreate() {
_classCallCheck(this, ResourceCreate);
-
_Resource["default"].initialize(this);
-
_ResourceCreateAllOf["default"].initialize(this);
-
ResourceCreate.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ResourceCreate, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ResourceCreate
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -98390,58 +94436,48 @@ var ResourceCreate = /*#__PURE__*/function () {
* @param {module:model/ResourceCreate} obj Optional instance to populate.
* @return {module:model/ResourceCreate} The populated ResourceCreate
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ResourceCreate();
-
_Resource["default"].constructFromObject(data, obj);
-
_ResourceCreateAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('resource_id')) {
obj['resource_id'] = _ApiClient["default"].convertToType(data['resource_id'], 'String');
}
}
-
return obj;
}
}]);
-
return ResourceCreate;
}();
/**
* The name of the resource.
* @member {String} name
*/
-
-
ResourceCreate.prototype['name'] = undefined;
+
/**
* The ID of the linked resource.
* @member {String} resource_id
*/
+ResourceCreate.prototype['resource_id'] = undefined;
-ResourceCreate.prototype['resource_id'] = undefined; // Implement Resource interface:
-
+// Implement Resource interface:
/**
* The name of the resource.
* @member {String} name
*/
-
-_Resource["default"].prototype['name'] = undefined; // Implement ResourceCreateAllOf interface:
-
+_Resource["default"].prototype['name'] = undefined;
+// Implement ResourceCreateAllOf interface:
/**
* The ID of the linked resource.
* @member {String} resource_id
*/
-
_ResourceCreateAllOf["default"].prototype['resource_id'] = undefined;
var _default = ResourceCreate;
exports["default"] = _default;
@@ -98458,21 +94494,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ResourceCreateAllOf model module.
* @module model/ResourceCreateAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ResourceCreateAllOf = /*#__PURE__*/function () {
/**
@@ -98481,19 +94514,18 @@ var ResourceCreateAllOf = /*#__PURE__*/function () {
*/
function ResourceCreateAllOf() {
_classCallCheck(this, ResourceCreateAllOf);
-
ResourceCreateAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ResourceCreateAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ResourceCreateAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -98501,30 +94533,24 @@ var ResourceCreateAllOf = /*#__PURE__*/function () {
* @param {module:model/ResourceCreateAllOf} obj Optional instance to populate.
* @return {module:model/ResourceCreateAllOf} The populated ResourceCreateAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ResourceCreateAllOf();
-
if (data.hasOwnProperty('resource_id')) {
obj['resource_id'] = _ApiClient["default"].convertToType(data['resource_id'], 'String');
}
}
-
return obj;
}
}]);
-
return ResourceCreateAllOf;
}();
/**
* The ID of the linked resource.
* @member {String} resource_id
*/
-
-
ResourceCreateAllOf.prototype['resource_id'] = undefined;
var _default = ResourceCreateAllOf;
exports["default"] = _default;
@@ -98541,29 +94567,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _ResourceCreate = _interopRequireDefault(__nccwpck_require__(5872));
-
var _ResourceResponseAllOf = _interopRequireDefault(__nccwpck_require__(76922));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
var _TypeResource = _interopRequireDefault(__nccwpck_require__(29246));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ResourceResponse model module.
* @module model/ResourceResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ResourceResponse = /*#__PURE__*/function () {
/**
@@ -98575,25 +94594,21 @@ var ResourceResponse = /*#__PURE__*/function () {
*/
function ResourceResponse() {
_classCallCheck(this, ResourceResponse);
-
_Timestamps["default"].initialize(this);
-
_ResourceCreate["default"].initialize(this);
-
_ResourceResponseAllOf["default"].initialize(this);
-
ResourceResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ResourceResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ResourceResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -98601,187 +94616,160 @@ var ResourceResponse = /*#__PURE__*/function () {
* @param {module:model/ResourceResponse} obj Optional instance to populate.
* @return {module:model/ResourceResponse} The populated ResourceResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ResourceResponse();
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ResourceCreate["default"].constructFromObject(data, obj);
-
_ResourceResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('resource_id')) {
obj['resource_id'] = _ApiClient["default"].convertToType(data['resource_id'], 'String');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('href')) {
obj['href'] = _ApiClient["default"].convertToType(data['href'], 'String');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('resource_type')) {
obj['resource_type'] = _TypeResource["default"].constructFromObject(data['resource_type']);
}
}
-
return obj;
}
}]);
-
return ResourceResponse;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
ResourceResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
ResourceResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
ResourceResponse.prototype['updated_at'] = undefined;
+
/**
* The name of the resource.
* @member {String} name
*/
-
ResourceResponse.prototype['name'] = undefined;
+
/**
* The ID of the linked resource.
* @member {String} resource_id
*/
-
ResourceResponse.prototype['resource_id'] = undefined;
+
/**
* An alphanumeric string identifying the resource.
* @member {String} id
*/
-
ResourceResponse.prototype['id'] = undefined;
+
/**
* The path to the resource.
* @member {String} href
*/
-
ResourceResponse.prototype['href'] = undefined;
+
/**
* Alphanumeric string identifying the service.
* @member {String} service_id
*/
-
ResourceResponse.prototype['service_id'] = undefined;
+
/**
* Integer identifying a service version.
* @member {Number} version
*/
-
ResourceResponse.prototype['version'] = undefined;
+
/**
* @member {module:model/TypeResource} resource_type
*/
+ResourceResponse.prototype['resource_type'] = undefined;
-ResourceResponse.prototype['resource_type'] = undefined; // Implement Timestamps interface:
-
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ResourceCreate interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ResourceCreate interface:
/**
* The name of the resource.
* @member {String} name
*/
-
_ResourceCreate["default"].prototype['name'] = undefined;
/**
* The ID of the linked resource.
* @member {String} resource_id
*/
-
-_ResourceCreate["default"].prototype['resource_id'] = undefined; // Implement ResourceResponseAllOf interface:
-
+_ResourceCreate["default"].prototype['resource_id'] = undefined;
+// Implement ResourceResponseAllOf interface:
/**
* An alphanumeric string identifying the resource.
* @member {String} id
*/
-
_ResourceResponseAllOf["default"].prototype['id'] = undefined;
/**
* The path to the resource.
* @member {String} href
*/
-
_ResourceResponseAllOf["default"].prototype['href'] = undefined;
/**
* Alphanumeric string identifying the service.
* @member {String} service_id
*/
-
_ResourceResponseAllOf["default"].prototype['service_id'] = undefined;
/**
* Integer identifying a service version.
* @member {Number} version
*/
-
_ResourceResponseAllOf["default"].prototype['version'] = undefined;
/**
* @member {module:model/TypeResource} resource_type
*/
-
_ResourceResponseAllOf["default"].prototype['resource_type'] = undefined;
var _default = ResourceResponse;
exports["default"] = _default;
@@ -98798,23 +94786,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeResource = _interopRequireDefault(__nccwpck_require__(29246));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ResourceResponseAllOf model module.
* @module model/ResourceResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ResourceResponseAllOf = /*#__PURE__*/function () {
/**
@@ -98823,19 +94807,18 @@ var ResourceResponseAllOf = /*#__PURE__*/function () {
*/
function ResourceResponseAllOf() {
_classCallCheck(this, ResourceResponseAllOf);
-
ResourceResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ResourceResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ResourceResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -98843,69 +94826,59 @@ var ResourceResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/ResourceResponseAllOf} obj Optional instance to populate.
* @return {module:model/ResourceResponseAllOf} The populated ResourceResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ResourceResponseAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('href')) {
obj['href'] = _ApiClient["default"].convertToType(data['href'], 'String');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('resource_type')) {
obj['resource_type'] = _TypeResource["default"].constructFromObject(data['resource_type']);
}
}
-
return obj;
}
}]);
-
return ResourceResponseAllOf;
}();
/**
* An alphanumeric string identifying the resource.
* @member {String} id
*/
-
-
ResourceResponseAllOf.prototype['id'] = undefined;
+
/**
* The path to the resource.
* @member {String} href
*/
-
ResourceResponseAllOf.prototype['href'] = undefined;
+
/**
* Alphanumeric string identifying the service.
* @member {String} service_id
*/
-
ResourceResponseAllOf.prototype['service_id'] = undefined;
+
/**
* Integer identifying a service version.
* @member {Number} version
*/
-
ResourceResponseAllOf.prototype['version'] = undefined;
+
/**
* @member {module:model/TypeResource} resource_type
*/
-
ResourceResponseAllOf.prototype['resource_type'] = undefined;
var _default = ResourceResponseAllOf;
exports["default"] = _default;
@@ -98922,21 +94895,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ResponseObject model module.
* @module model/ResponseObject
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ResponseObject = /*#__PURE__*/function () {
/**
@@ -98945,19 +94915,18 @@ var ResponseObject = /*#__PURE__*/function () {
*/
function ResponseObject() {
_classCallCheck(this, ResponseObject);
-
ResponseObject.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ResponseObject, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ResponseObject
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -98965,92 +94934,80 @@ var ResponseObject = /*#__PURE__*/function () {
* @param {module:model/ResponseObject} obj Optional instance to populate.
* @return {module:model/ResponseObject} The populated ResponseObject
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ResponseObject();
-
if (data.hasOwnProperty('cache_condition')) {
obj['cache_condition'] = _ApiClient["default"].convertToType(data['cache_condition'], 'String');
}
-
if (data.hasOwnProperty('content')) {
obj['content'] = _ApiClient["default"].convertToType(data['content'], 'String');
}
-
if (data.hasOwnProperty('content_type')) {
obj['content_type'] = _ApiClient["default"].convertToType(data['content_type'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
}
-
if (data.hasOwnProperty('response')) {
obj['response'] = _ApiClient["default"].convertToType(data['response'], 'String');
}
-
if (data.hasOwnProperty('request_condition')) {
obj['request_condition'] = _ApiClient["default"].convertToType(data['request_condition'], 'String');
}
}
-
return obj;
}
}]);
-
return ResponseObject;
}();
/**
* Name of the cache condition controlling when this configuration applies.
* @member {String} cache_condition
*/
-
-
ResponseObject.prototype['cache_condition'] = undefined;
+
/**
* The content to deliver for the response object, can be empty.
* @member {String} content
*/
-
ResponseObject.prototype['content'] = undefined;
+
/**
* The MIME type of the content, can be empty.
* @member {String} content_type
*/
-
ResponseObject.prototype['content_type'] = undefined;
+
/**
* Name for the request settings.
* @member {String} name
*/
-
ResponseObject.prototype['name'] = undefined;
+
/**
* The HTTP status code.
* @member {Number} status
* @default 200
*/
-
ResponseObject.prototype['status'] = 200;
+
/**
* The HTTP response.
* @member {String} response
* @default 'Ok'
*/
-
ResponseObject.prototype['response'] = 'Ok';
+
/**
* Condition which, if met, will select this configuration during a request. Optional.
* @member {String} request_condition
*/
-
ResponseObject.prototype['request_condition'] = undefined;
var _default = ResponseObject;
exports["default"] = _default;
@@ -99067,27 +95024,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _ResponseObject = _interopRequireDefault(__nccwpck_require__(9794));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ResponseObjectResponse model module.
* @module model/ResponseObjectResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ResponseObjectResponse = /*#__PURE__*/function () {
/**
@@ -99099,25 +95050,21 @@ var ResponseObjectResponse = /*#__PURE__*/function () {
*/
function ResponseObjectResponse() {
_classCallCheck(this, ResponseObjectResponse);
-
_ResponseObject["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
ResponseObjectResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ResponseObjectResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ResponseObjectResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -99125,221 +95072,190 @@ var ResponseObjectResponse = /*#__PURE__*/function () {
* @param {module:model/ResponseObjectResponse} obj Optional instance to populate.
* @return {module:model/ResponseObjectResponse} The populated ResponseObjectResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ResponseObjectResponse();
-
_ResponseObject["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('cache_condition')) {
obj['cache_condition'] = _ApiClient["default"].convertToType(data['cache_condition'], 'String');
}
-
if (data.hasOwnProperty('content')) {
obj['content'] = _ApiClient["default"].convertToType(data['content'], 'String');
}
-
if (data.hasOwnProperty('content_type')) {
obj['content_type'] = _ApiClient["default"].convertToType(data['content_type'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Number');
}
-
if (data.hasOwnProperty('response')) {
obj['response'] = _ApiClient["default"].convertToType(data['response'], 'String');
}
-
if (data.hasOwnProperty('request_condition')) {
obj['request_condition'] = _ApiClient["default"].convertToType(data['request_condition'], 'String');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
}
-
return obj;
}
}]);
-
return ResponseObjectResponse;
}();
/**
* Name of the cache condition controlling when this configuration applies.
* @member {String} cache_condition
*/
-
-
ResponseObjectResponse.prototype['cache_condition'] = undefined;
+
/**
* The content to deliver for the response object, can be empty.
* @member {String} content
*/
-
ResponseObjectResponse.prototype['content'] = undefined;
+
/**
* The MIME type of the content, can be empty.
* @member {String} content_type
*/
-
ResponseObjectResponse.prototype['content_type'] = undefined;
+
/**
* Name for the request settings.
* @member {String} name
*/
-
ResponseObjectResponse.prototype['name'] = undefined;
+
/**
* The HTTP status code.
* @member {Number} status
* @default 200
*/
-
ResponseObjectResponse.prototype['status'] = 200;
+
/**
* The HTTP response.
* @member {String} response
* @default 'Ok'
*/
-
ResponseObjectResponse.prototype['response'] = 'Ok';
+
/**
* Condition which, if met, will select this configuration during a request. Optional.
* @member {String} request_condition
*/
-
ResponseObjectResponse.prototype['request_condition'] = undefined;
+
/**
* @member {String} service_id
*/
-
ResponseObjectResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
-
ResponseObjectResponse.prototype['version'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
ResponseObjectResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
ResponseObjectResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
+ResponseObjectResponse.prototype['updated_at'] = undefined;
-ResponseObjectResponse.prototype['updated_at'] = undefined; // Implement ResponseObject interface:
-
+// Implement ResponseObject interface:
/**
* Name of the cache condition controlling when this configuration applies.
* @member {String} cache_condition
*/
-
_ResponseObject["default"].prototype['cache_condition'] = undefined;
/**
* The content to deliver for the response object, can be empty.
* @member {String} content
*/
-
_ResponseObject["default"].prototype['content'] = undefined;
/**
* The MIME type of the content, can be empty.
* @member {String} content_type
*/
-
_ResponseObject["default"].prototype['content_type'] = undefined;
/**
* Name for the request settings.
* @member {String} name
*/
-
_ResponseObject["default"].prototype['name'] = undefined;
/**
* The HTTP status code.
* @member {Number} status
* @default 200
*/
-
_ResponseObject["default"].prototype['status'] = 200;
/**
* The HTTP response.
* @member {String} response
* @default 'Ok'
*/
-
_ResponseObject["default"].prototype['response'] = 'Ok';
/**
* Condition which, if met, will select this configuration during a request. Optional.
* @member {String} request_condition
*/
-
-_ResponseObject["default"].prototype['request_condition'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_ResponseObject["default"].prototype['request_condition'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
-_ServiceIdAndVersion["default"].prototype['version'] = undefined; // Implement Timestamps interface:
-
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
_Timestamps["default"].prototype['updated_at'] = undefined;
var _default = ResponseObjectResponse;
exports["default"] = _default;
@@ -99356,21 +95272,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Results model module.
* @module model/Results
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Results = /*#__PURE__*/function () {
/**
@@ -99380,19 +95293,18 @@ var Results = /*#__PURE__*/function () {
*/
function Results() {
_classCallCheck(this, Results);
-
Results.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Results, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Results
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -99400,1801 +95312,1879 @@ var Results = /*#__PURE__*/function () {
* @param {module:model/Results} obj Optional instance to populate.
* @return {module:model/Results} The populated Results
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Results();
-
if (data.hasOwnProperty('requests')) {
obj['requests'] = _ApiClient["default"].convertToType(data['requests'], 'Number');
}
-
if (data.hasOwnProperty('hits')) {
obj['hits'] = _ApiClient["default"].convertToType(data['hits'], 'Number');
}
-
if (data.hasOwnProperty('hits_time')) {
obj['hits_time'] = _ApiClient["default"].convertToType(data['hits_time'], 'Number');
}
-
if (data.hasOwnProperty('miss')) {
obj['miss'] = _ApiClient["default"].convertToType(data['miss'], 'Number');
}
-
if (data.hasOwnProperty('miss_time')) {
obj['miss_time'] = _ApiClient["default"].convertToType(data['miss_time'], 'Number');
}
-
if (data.hasOwnProperty('pass')) {
obj['pass'] = _ApiClient["default"].convertToType(data['pass'], 'Number');
}
-
if (data.hasOwnProperty('pass_time')) {
obj['pass_time'] = _ApiClient["default"].convertToType(data['pass_time'], 'Number');
}
-
if (data.hasOwnProperty('errors')) {
obj['errors'] = _ApiClient["default"].convertToType(data['errors'], 'Number');
}
-
if (data.hasOwnProperty('restarts')) {
obj['restarts'] = _ApiClient["default"].convertToType(data['restarts'], 'Number');
}
-
if (data.hasOwnProperty('hit_ratio')) {
obj['hit_ratio'] = _ApiClient["default"].convertToType(data['hit_ratio'], 'Number');
}
-
if (data.hasOwnProperty('bandwidth')) {
obj['bandwidth'] = _ApiClient["default"].convertToType(data['bandwidth'], 'Number');
}
-
if (data.hasOwnProperty('body_size')) {
obj['body_size'] = _ApiClient["default"].convertToType(data['body_size'], 'Number');
}
-
if (data.hasOwnProperty('header_size')) {
obj['header_size'] = _ApiClient["default"].convertToType(data['header_size'], 'Number');
}
-
if (data.hasOwnProperty('req_body_bytes')) {
obj['req_body_bytes'] = _ApiClient["default"].convertToType(data['req_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('req_header_bytes')) {
obj['req_header_bytes'] = _ApiClient["default"].convertToType(data['req_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('resp_body_bytes')) {
obj['resp_body_bytes'] = _ApiClient["default"].convertToType(data['resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('resp_header_bytes')) {
obj['resp_header_bytes'] = _ApiClient["default"].convertToType(data['resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('bereq_body_bytes')) {
obj['bereq_body_bytes'] = _ApiClient["default"].convertToType(data['bereq_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('bereq_header_bytes')) {
obj['bereq_header_bytes'] = _ApiClient["default"].convertToType(data['bereq_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('uncacheable')) {
obj['uncacheable'] = _ApiClient["default"].convertToType(data['uncacheable'], 'Number');
}
-
if (data.hasOwnProperty('pipe')) {
obj['pipe'] = _ApiClient["default"].convertToType(data['pipe'], 'Number');
}
-
if (data.hasOwnProperty('synth')) {
obj['synth'] = _ApiClient["default"].convertToType(data['synth'], 'Number');
}
-
if (data.hasOwnProperty('tls')) {
obj['tls'] = _ApiClient["default"].convertToType(data['tls'], 'Number');
}
-
if (data.hasOwnProperty('tls_v10')) {
obj['tls_v10'] = _ApiClient["default"].convertToType(data['tls_v10'], 'Number');
}
-
if (data.hasOwnProperty('tls_v11')) {
obj['tls_v11'] = _ApiClient["default"].convertToType(data['tls_v11'], 'Number');
}
-
if (data.hasOwnProperty('tls_v12')) {
obj['tls_v12'] = _ApiClient["default"].convertToType(data['tls_v12'], 'Number');
}
-
if (data.hasOwnProperty('tls_v13')) {
obj['tls_v13'] = _ApiClient["default"].convertToType(data['tls_v13'], 'Number');
}
-
if (data.hasOwnProperty('edge_requests')) {
obj['edge_requests'] = _ApiClient["default"].convertToType(data['edge_requests'], 'Number');
}
-
if (data.hasOwnProperty('edge_resp_header_bytes')) {
obj['edge_resp_header_bytes'] = _ApiClient["default"].convertToType(data['edge_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('edge_resp_body_bytes')) {
obj['edge_resp_body_bytes'] = _ApiClient["default"].convertToType(data['edge_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('edge_hit_requests')) {
obj['edge_hit_requests'] = _ApiClient["default"].convertToType(data['edge_hit_requests'], 'Number');
}
-
if (data.hasOwnProperty('edge_miss_requests')) {
obj['edge_miss_requests'] = _ApiClient["default"].convertToType(data['edge_miss_requests'], 'Number');
}
-
if (data.hasOwnProperty('origin_fetches')) {
obj['origin_fetches'] = _ApiClient["default"].convertToType(data['origin_fetches'], 'Number');
}
-
if (data.hasOwnProperty('origin_fetch_header_bytes')) {
obj['origin_fetch_header_bytes'] = _ApiClient["default"].convertToType(data['origin_fetch_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('origin_fetch_body_bytes')) {
obj['origin_fetch_body_bytes'] = _ApiClient["default"].convertToType(data['origin_fetch_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('origin_fetch_resp_header_bytes')) {
obj['origin_fetch_resp_header_bytes'] = _ApiClient["default"].convertToType(data['origin_fetch_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('origin_fetch_resp_body_bytes')) {
obj['origin_fetch_resp_body_bytes'] = _ApiClient["default"].convertToType(data['origin_fetch_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('origin_revalidations')) {
obj['origin_revalidations'] = _ApiClient["default"].convertToType(data['origin_revalidations'], 'Number');
}
-
if (data.hasOwnProperty('origin_cache_fetches')) {
obj['origin_cache_fetches'] = _ApiClient["default"].convertToType(data['origin_cache_fetches'], 'Number');
}
-
if (data.hasOwnProperty('shield')) {
obj['shield'] = _ApiClient["default"].convertToType(data['shield'], 'Number');
}
-
if (data.hasOwnProperty('shield_resp_body_bytes')) {
obj['shield_resp_body_bytes'] = _ApiClient["default"].convertToType(data['shield_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('shield_resp_header_bytes')) {
obj['shield_resp_header_bytes'] = _ApiClient["default"].convertToType(data['shield_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('shield_fetches')) {
obj['shield_fetches'] = _ApiClient["default"].convertToType(data['shield_fetches'], 'Number');
}
-
if (data.hasOwnProperty('shield_fetch_header_bytes')) {
obj['shield_fetch_header_bytes'] = _ApiClient["default"].convertToType(data['shield_fetch_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('shield_fetch_body_bytes')) {
obj['shield_fetch_body_bytes'] = _ApiClient["default"].convertToType(data['shield_fetch_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('shield_fetch_resp_header_bytes')) {
obj['shield_fetch_resp_header_bytes'] = _ApiClient["default"].convertToType(data['shield_fetch_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('shield_fetch_resp_body_bytes')) {
obj['shield_fetch_resp_body_bytes'] = _ApiClient["default"].convertToType(data['shield_fetch_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('shield_revalidations')) {
obj['shield_revalidations'] = _ApiClient["default"].convertToType(data['shield_revalidations'], 'Number');
}
-
if (data.hasOwnProperty('shield_cache_fetches')) {
obj['shield_cache_fetches'] = _ApiClient["default"].convertToType(data['shield_cache_fetches'], 'Number');
}
-
if (data.hasOwnProperty('ipv6')) {
obj['ipv6'] = _ApiClient["default"].convertToType(data['ipv6'], 'Number');
}
-
if (data.hasOwnProperty('otfp')) {
obj['otfp'] = _ApiClient["default"].convertToType(data['otfp'], 'Number');
}
-
if (data.hasOwnProperty('otfp_resp_body_bytes')) {
obj['otfp_resp_body_bytes'] = _ApiClient["default"].convertToType(data['otfp_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('otfp_resp_header_bytes')) {
obj['otfp_resp_header_bytes'] = _ApiClient["default"].convertToType(data['otfp_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('otfp_shield_resp_body_bytes')) {
obj['otfp_shield_resp_body_bytes'] = _ApiClient["default"].convertToType(data['otfp_shield_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('otfp_shield_resp_header_bytes')) {
obj['otfp_shield_resp_header_bytes'] = _ApiClient["default"].convertToType(data['otfp_shield_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('otfp_manifests')) {
obj['otfp_manifests'] = _ApiClient["default"].convertToType(data['otfp_manifests'], 'Number');
}
-
if (data.hasOwnProperty('otfp_deliver_time')) {
obj['otfp_deliver_time'] = _ApiClient["default"].convertToType(data['otfp_deliver_time'], 'Number');
}
-
if (data.hasOwnProperty('otfp_shield_time')) {
obj['otfp_shield_time'] = _ApiClient["default"].convertToType(data['otfp_shield_time'], 'Number');
}
-
if (data.hasOwnProperty('video')) {
obj['video'] = _ApiClient["default"].convertToType(data['video'], 'Number');
}
-
if (data.hasOwnProperty('pci')) {
obj['pci'] = _ApiClient["default"].convertToType(data['pci'], 'Number');
}
-
if (data.hasOwnProperty('log')) {
obj['log'] = _ApiClient["default"].convertToType(data['log'], 'Number');
}
-
if (data.hasOwnProperty('log_bytes')) {
obj['log_bytes'] = _ApiClient["default"].convertToType(data['log_bytes'], 'Number');
}
-
if (data.hasOwnProperty('http2')) {
obj['http2'] = _ApiClient["default"].convertToType(data['http2'], 'Number');
}
-
if (data.hasOwnProperty('http3')) {
obj['http3'] = _ApiClient["default"].convertToType(data['http3'], 'Number');
}
-
if (data.hasOwnProperty('waf_logged')) {
obj['waf_logged'] = _ApiClient["default"].convertToType(data['waf_logged'], 'Number');
}
-
if (data.hasOwnProperty('waf_blocked')) {
obj['waf_blocked'] = _ApiClient["default"].convertToType(data['waf_blocked'], 'Number');
}
-
if (data.hasOwnProperty('waf_passed')) {
obj['waf_passed'] = _ApiClient["default"].convertToType(data['waf_passed'], 'Number');
}
-
if (data.hasOwnProperty('attack_req_body_bytes')) {
obj['attack_req_body_bytes'] = _ApiClient["default"].convertToType(data['attack_req_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('attack_req_header_bytes')) {
obj['attack_req_header_bytes'] = _ApiClient["default"].convertToType(data['attack_req_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('attack_logged_req_body_bytes')) {
obj['attack_logged_req_body_bytes'] = _ApiClient["default"].convertToType(data['attack_logged_req_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('attack_logged_req_header_bytes')) {
obj['attack_logged_req_header_bytes'] = _ApiClient["default"].convertToType(data['attack_logged_req_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('attack_blocked_req_body_bytes')) {
obj['attack_blocked_req_body_bytes'] = _ApiClient["default"].convertToType(data['attack_blocked_req_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('attack_blocked_req_header_bytes')) {
obj['attack_blocked_req_header_bytes'] = _ApiClient["default"].convertToType(data['attack_blocked_req_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('attack_passed_req_body_bytes')) {
obj['attack_passed_req_body_bytes'] = _ApiClient["default"].convertToType(data['attack_passed_req_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('attack_passed_req_header_bytes')) {
obj['attack_passed_req_header_bytes'] = _ApiClient["default"].convertToType(data['attack_passed_req_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('attack_resp_synth_bytes')) {
obj['attack_resp_synth_bytes'] = _ApiClient["default"].convertToType(data['attack_resp_synth_bytes'], 'Number');
}
-
if (data.hasOwnProperty('imgopto')) {
obj['imgopto'] = _ApiClient["default"].convertToType(data['imgopto'], 'Number');
}
-
if (data.hasOwnProperty('imgopto_resp_body_bytes')) {
obj['imgopto_resp_body_bytes'] = _ApiClient["default"].convertToType(data['imgopto_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('imgopto_resp_header_bytes')) {
obj['imgopto_resp_header_bytes'] = _ApiClient["default"].convertToType(data['imgopto_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('imgopto_shield_resp_body_bytes')) {
obj['imgopto_shield_resp_body_bytes'] = _ApiClient["default"].convertToType(data['imgopto_shield_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('imgopto_shield_resp_header_bytes')) {
obj['imgopto_shield_resp_header_bytes'] = _ApiClient["default"].convertToType(data['imgopto_shield_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('imgvideo')) {
obj['imgvideo'] = _ApiClient["default"].convertToType(data['imgvideo'], 'Number');
}
-
if (data.hasOwnProperty('imgvideo_frames')) {
obj['imgvideo_frames'] = _ApiClient["default"].convertToType(data['imgvideo_frames'], 'Number');
}
-
if (data.hasOwnProperty('imgvideo_resp_header_bytes')) {
obj['imgvideo_resp_header_bytes'] = _ApiClient["default"].convertToType(data['imgvideo_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('imgvideo_resp_body_bytes')) {
obj['imgvideo_resp_body_bytes'] = _ApiClient["default"].convertToType(data['imgvideo_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('imgvideo_shield_resp_header_bytes')) {
obj['imgvideo_shield_resp_header_bytes'] = _ApiClient["default"].convertToType(data['imgvideo_shield_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('imgvideo_shield_resp_body_bytes')) {
obj['imgvideo_shield_resp_body_bytes'] = _ApiClient["default"].convertToType(data['imgvideo_shield_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('imgvideo_shield')) {
obj['imgvideo_shield'] = _ApiClient["default"].convertToType(data['imgvideo_shield'], 'Number');
}
-
if (data.hasOwnProperty('imgvideo_shield_frames')) {
obj['imgvideo_shield_frames'] = _ApiClient["default"].convertToType(data['imgvideo_shield_frames'], 'Number');
}
-
if (data.hasOwnProperty('status_200')) {
obj['status_200'] = _ApiClient["default"].convertToType(data['status_200'], 'Number');
}
-
if (data.hasOwnProperty('status_204')) {
obj['status_204'] = _ApiClient["default"].convertToType(data['status_204'], 'Number');
}
-
if (data.hasOwnProperty('status_206')) {
obj['status_206'] = _ApiClient["default"].convertToType(data['status_206'], 'Number');
}
-
if (data.hasOwnProperty('status_301')) {
obj['status_301'] = _ApiClient["default"].convertToType(data['status_301'], 'Number');
}
-
if (data.hasOwnProperty('status_302')) {
obj['status_302'] = _ApiClient["default"].convertToType(data['status_302'], 'Number');
}
-
if (data.hasOwnProperty('status_304')) {
obj['status_304'] = _ApiClient["default"].convertToType(data['status_304'], 'Number');
}
-
if (data.hasOwnProperty('status_400')) {
obj['status_400'] = _ApiClient["default"].convertToType(data['status_400'], 'Number');
}
-
if (data.hasOwnProperty('status_401')) {
obj['status_401'] = _ApiClient["default"].convertToType(data['status_401'], 'Number');
}
-
if (data.hasOwnProperty('status_403')) {
obj['status_403'] = _ApiClient["default"].convertToType(data['status_403'], 'Number');
}
-
if (data.hasOwnProperty('status_404')) {
obj['status_404'] = _ApiClient["default"].convertToType(data['status_404'], 'Number');
}
-
+ if (data.hasOwnProperty('status_406')) {
+ obj['status_406'] = _ApiClient["default"].convertToType(data['status_406'], 'Number');
+ }
if (data.hasOwnProperty('status_416')) {
obj['status_416'] = _ApiClient["default"].convertToType(data['status_416'], 'Number');
}
-
if (data.hasOwnProperty('status_429')) {
obj['status_429'] = _ApiClient["default"].convertToType(data['status_429'], 'Number');
}
-
if (data.hasOwnProperty('status_500')) {
obj['status_500'] = _ApiClient["default"].convertToType(data['status_500'], 'Number');
}
-
if (data.hasOwnProperty('status_501')) {
obj['status_501'] = _ApiClient["default"].convertToType(data['status_501'], 'Number');
}
-
if (data.hasOwnProperty('status_502')) {
obj['status_502'] = _ApiClient["default"].convertToType(data['status_502'], 'Number');
}
-
if (data.hasOwnProperty('status_503')) {
obj['status_503'] = _ApiClient["default"].convertToType(data['status_503'], 'Number');
}
-
if (data.hasOwnProperty('status_504')) {
obj['status_504'] = _ApiClient["default"].convertToType(data['status_504'], 'Number');
}
-
if (data.hasOwnProperty('status_505')) {
obj['status_505'] = _ApiClient["default"].convertToType(data['status_505'], 'Number');
}
-
if (data.hasOwnProperty('status_1xx')) {
obj['status_1xx'] = _ApiClient["default"].convertToType(data['status_1xx'], 'Number');
}
-
if (data.hasOwnProperty('status_2xx')) {
obj['status_2xx'] = _ApiClient["default"].convertToType(data['status_2xx'], 'Number');
}
-
if (data.hasOwnProperty('status_3xx')) {
obj['status_3xx'] = _ApiClient["default"].convertToType(data['status_3xx'], 'Number');
}
-
if (data.hasOwnProperty('status_4xx')) {
obj['status_4xx'] = _ApiClient["default"].convertToType(data['status_4xx'], 'Number');
}
-
if (data.hasOwnProperty('status_5xx')) {
obj['status_5xx'] = _ApiClient["default"].convertToType(data['status_5xx'], 'Number');
}
-
if (data.hasOwnProperty('object_size_1k')) {
obj['object_size_1k'] = _ApiClient["default"].convertToType(data['object_size_1k'], 'Number');
}
-
if (data.hasOwnProperty('object_size_10k')) {
obj['object_size_10k'] = _ApiClient["default"].convertToType(data['object_size_10k'], 'Number');
}
-
if (data.hasOwnProperty('object_size_100k')) {
obj['object_size_100k'] = _ApiClient["default"].convertToType(data['object_size_100k'], 'Number');
}
-
if (data.hasOwnProperty('object_size_1m')) {
obj['object_size_1m'] = _ApiClient["default"].convertToType(data['object_size_1m'], 'Number');
}
-
if (data.hasOwnProperty('object_size_10m')) {
obj['object_size_10m'] = _ApiClient["default"].convertToType(data['object_size_10m'], 'Number');
}
-
if (data.hasOwnProperty('object_size_100m')) {
obj['object_size_100m'] = _ApiClient["default"].convertToType(data['object_size_100m'], 'Number');
}
-
if (data.hasOwnProperty('object_size_1g')) {
obj['object_size_1g'] = _ApiClient["default"].convertToType(data['object_size_1g'], 'Number');
}
-
if (data.hasOwnProperty('recv_sub_time')) {
obj['recv_sub_time'] = _ApiClient["default"].convertToType(data['recv_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('recv_sub_count')) {
obj['recv_sub_count'] = _ApiClient["default"].convertToType(data['recv_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('hash_sub_time')) {
obj['hash_sub_time'] = _ApiClient["default"].convertToType(data['hash_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('hash_sub_count')) {
obj['hash_sub_count'] = _ApiClient["default"].convertToType(data['hash_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('miss_sub_time')) {
obj['miss_sub_time'] = _ApiClient["default"].convertToType(data['miss_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('miss_sub_count')) {
obj['miss_sub_count'] = _ApiClient["default"].convertToType(data['miss_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('fetch_sub_time')) {
obj['fetch_sub_time'] = _ApiClient["default"].convertToType(data['fetch_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('fetch_sub_count')) {
obj['fetch_sub_count'] = _ApiClient["default"].convertToType(data['fetch_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('pass_sub_time')) {
obj['pass_sub_time'] = _ApiClient["default"].convertToType(data['pass_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('pass_sub_count')) {
obj['pass_sub_count'] = _ApiClient["default"].convertToType(data['pass_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('pipe_sub_time')) {
obj['pipe_sub_time'] = _ApiClient["default"].convertToType(data['pipe_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('pipe_sub_count')) {
obj['pipe_sub_count'] = _ApiClient["default"].convertToType(data['pipe_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('deliver_sub_time')) {
obj['deliver_sub_time'] = _ApiClient["default"].convertToType(data['deliver_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('deliver_sub_count')) {
obj['deliver_sub_count'] = _ApiClient["default"].convertToType(data['deliver_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('error_sub_time')) {
obj['error_sub_time'] = _ApiClient["default"].convertToType(data['error_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('error_sub_count')) {
obj['error_sub_count'] = _ApiClient["default"].convertToType(data['error_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('hit_sub_time')) {
obj['hit_sub_time'] = _ApiClient["default"].convertToType(data['hit_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('hit_sub_count')) {
obj['hit_sub_count'] = _ApiClient["default"].convertToType(data['hit_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('prehash_sub_time')) {
obj['prehash_sub_time'] = _ApiClient["default"].convertToType(data['prehash_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('prehash_sub_count')) {
obj['prehash_sub_count'] = _ApiClient["default"].convertToType(data['prehash_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('predeliver_sub_time')) {
obj['predeliver_sub_time'] = _ApiClient["default"].convertToType(data['predeliver_sub_time'], 'Number');
}
-
if (data.hasOwnProperty('predeliver_sub_count')) {
obj['predeliver_sub_count'] = _ApiClient["default"].convertToType(data['predeliver_sub_count'], 'Number');
}
-
if (data.hasOwnProperty('tls_handshake_sent_bytes')) {
obj['tls_handshake_sent_bytes'] = _ApiClient["default"].convertToType(data['tls_handshake_sent_bytes'], 'Number');
}
-
if (data.hasOwnProperty('hit_resp_body_bytes')) {
obj['hit_resp_body_bytes'] = _ApiClient["default"].convertToType(data['hit_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('miss_resp_body_bytes')) {
obj['miss_resp_body_bytes'] = _ApiClient["default"].convertToType(data['miss_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('pass_resp_body_bytes')) {
obj['pass_resp_body_bytes'] = _ApiClient["default"].convertToType(data['pass_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('segblock_origin_fetches')) {
obj['segblock_origin_fetches'] = _ApiClient["default"].convertToType(data['segblock_origin_fetches'], 'Number');
}
-
if (data.hasOwnProperty('segblock_shield_fetches')) {
obj['segblock_shield_fetches'] = _ApiClient["default"].convertToType(data['segblock_shield_fetches'], 'Number');
}
-
if (data.hasOwnProperty('compute_requests')) {
obj['compute_requests'] = _ApiClient["default"].convertToType(data['compute_requests'], 'Number');
}
-
if (data.hasOwnProperty('compute_request_time_ms')) {
obj['compute_request_time_ms'] = _ApiClient["default"].convertToType(data['compute_request_time_ms'], 'Number');
}
-
if (data.hasOwnProperty('compute_ram_used')) {
obj['compute_ram_used'] = _ApiClient["default"].convertToType(data['compute_ram_used'], 'Number');
}
-
if (data.hasOwnProperty('compute_execution_time_ms')) {
obj['compute_execution_time_ms'] = _ApiClient["default"].convertToType(data['compute_execution_time_ms'], 'Number');
}
-
if (data.hasOwnProperty('compute_req_header_bytes')) {
obj['compute_req_header_bytes'] = _ApiClient["default"].convertToType(data['compute_req_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('compute_req_body_bytes')) {
obj['compute_req_body_bytes'] = _ApiClient["default"].convertToType(data['compute_req_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('compute_resp_header_bytes')) {
obj['compute_resp_header_bytes'] = _ApiClient["default"].convertToType(data['compute_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('compute_resp_body_bytes')) {
obj['compute_resp_body_bytes'] = _ApiClient["default"].convertToType(data['compute_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('compute_resp_status_1xx')) {
obj['compute_resp_status_1xx'] = _ApiClient["default"].convertToType(data['compute_resp_status_1xx'], 'Number');
}
-
if (data.hasOwnProperty('compute_resp_status_2xx')) {
obj['compute_resp_status_2xx'] = _ApiClient["default"].convertToType(data['compute_resp_status_2xx'], 'Number');
}
-
if (data.hasOwnProperty('compute_resp_status_3xx')) {
obj['compute_resp_status_3xx'] = _ApiClient["default"].convertToType(data['compute_resp_status_3xx'], 'Number');
}
-
if (data.hasOwnProperty('compute_resp_status_4xx')) {
obj['compute_resp_status_4xx'] = _ApiClient["default"].convertToType(data['compute_resp_status_4xx'], 'Number');
}
-
if (data.hasOwnProperty('compute_resp_status_5xx')) {
obj['compute_resp_status_5xx'] = _ApiClient["default"].convertToType(data['compute_resp_status_5xx'], 'Number');
}
-
if (data.hasOwnProperty('compute_bereq_header_bytes')) {
obj['compute_bereq_header_bytes'] = _ApiClient["default"].convertToType(data['compute_bereq_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('compute_bereq_body_bytes')) {
obj['compute_bereq_body_bytes'] = _ApiClient["default"].convertToType(data['compute_bereq_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('compute_beresp_header_bytes')) {
obj['compute_beresp_header_bytes'] = _ApiClient["default"].convertToType(data['compute_beresp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('compute_beresp_body_bytes')) {
obj['compute_beresp_body_bytes'] = _ApiClient["default"].convertToType(data['compute_beresp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('compute_bereqs')) {
obj['compute_bereqs'] = _ApiClient["default"].convertToType(data['compute_bereqs'], 'Number');
}
-
if (data.hasOwnProperty('compute_bereq_errors')) {
obj['compute_bereq_errors'] = _ApiClient["default"].convertToType(data['compute_bereq_errors'], 'Number');
}
-
if (data.hasOwnProperty('compute_resource_limit_exceeded')) {
obj['compute_resource_limit_exceeded'] = _ApiClient["default"].convertToType(data['compute_resource_limit_exceeded'], 'Number');
}
-
if (data.hasOwnProperty('compute_heap_limit_exceeded')) {
obj['compute_heap_limit_exceeded'] = _ApiClient["default"].convertToType(data['compute_heap_limit_exceeded'], 'Number');
}
-
if (data.hasOwnProperty('compute_stack_limit_exceeded')) {
obj['compute_stack_limit_exceeded'] = _ApiClient["default"].convertToType(data['compute_stack_limit_exceeded'], 'Number');
}
-
if (data.hasOwnProperty('compute_globals_limit_exceeded')) {
obj['compute_globals_limit_exceeded'] = _ApiClient["default"].convertToType(data['compute_globals_limit_exceeded'], 'Number');
}
-
if (data.hasOwnProperty('compute_guest_errors')) {
obj['compute_guest_errors'] = _ApiClient["default"].convertToType(data['compute_guest_errors'], 'Number');
}
-
if (data.hasOwnProperty('compute_runtime_errors')) {
obj['compute_runtime_errors'] = _ApiClient["default"].convertToType(data['compute_runtime_errors'], 'Number');
}
-
if (data.hasOwnProperty('edge_hit_resp_body_bytes')) {
obj['edge_hit_resp_body_bytes'] = _ApiClient["default"].convertToType(data['edge_hit_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('edge_hit_resp_header_bytes')) {
obj['edge_hit_resp_header_bytes'] = _ApiClient["default"].convertToType(data['edge_hit_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('edge_miss_resp_body_bytes')) {
obj['edge_miss_resp_body_bytes'] = _ApiClient["default"].convertToType(data['edge_miss_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('edge_miss_resp_header_bytes')) {
obj['edge_miss_resp_header_bytes'] = _ApiClient["default"].convertToType(data['edge_miss_resp_header_bytes'], 'Number');
}
-
if (data.hasOwnProperty('origin_cache_fetch_resp_body_bytes')) {
obj['origin_cache_fetch_resp_body_bytes'] = _ApiClient["default"].convertToType(data['origin_cache_fetch_resp_body_bytes'], 'Number');
}
-
if (data.hasOwnProperty('origin_cache_fetch_resp_header_bytes')) {
obj['origin_cache_fetch_resp_header_bytes'] = _ApiClient["default"].convertToType(data['origin_cache_fetch_resp_header_bytes'], 'Number');
}
+ if (data.hasOwnProperty('shield_hit_requests')) {
+ obj['shield_hit_requests'] = _ApiClient["default"].convertToType(data['shield_hit_requests'], 'Number');
+ }
+ if (data.hasOwnProperty('shield_miss_requests')) {
+ obj['shield_miss_requests'] = _ApiClient["default"].convertToType(data['shield_miss_requests'], 'Number');
+ }
+ if (data.hasOwnProperty('shield_hit_resp_header_bytes')) {
+ obj['shield_hit_resp_header_bytes'] = _ApiClient["default"].convertToType(data['shield_hit_resp_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('shield_hit_resp_body_bytes')) {
+ obj['shield_hit_resp_body_bytes'] = _ApiClient["default"].convertToType(data['shield_hit_resp_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('shield_miss_resp_header_bytes')) {
+ obj['shield_miss_resp_header_bytes'] = _ApiClient["default"].convertToType(data['shield_miss_resp_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('shield_miss_resp_body_bytes')) {
+ obj['shield_miss_resp_body_bytes'] = _ApiClient["default"].convertToType(data['shield_miss_resp_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_req_header_bytes')) {
+ obj['websocket_req_header_bytes'] = _ApiClient["default"].convertToType(data['websocket_req_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_req_body_bytes')) {
+ obj['websocket_req_body_bytes'] = _ApiClient["default"].convertToType(data['websocket_req_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_resp_header_bytes')) {
+ obj['websocket_resp_header_bytes'] = _ApiClient["default"].convertToType(data['websocket_resp_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_resp_body_bytes')) {
+ obj['websocket_resp_body_bytes'] = _ApiClient["default"].convertToType(data['websocket_resp_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_bereq_header_bytes')) {
+ obj['websocket_bereq_header_bytes'] = _ApiClient["default"].convertToType(data['websocket_bereq_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_bereq_body_bytes')) {
+ obj['websocket_bereq_body_bytes'] = _ApiClient["default"].convertToType(data['websocket_bereq_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_beresp_header_bytes')) {
+ obj['websocket_beresp_header_bytes'] = _ApiClient["default"].convertToType(data['websocket_beresp_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_beresp_body_bytes')) {
+ obj['websocket_beresp_body_bytes'] = _ApiClient["default"].convertToType(data['websocket_beresp_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('websocket_conn_time_ms')) {
+ obj['websocket_conn_time_ms'] = _ApiClient["default"].convertToType(data['websocket_conn_time_ms'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_recv_publishes')) {
+ obj['fanout_recv_publishes'] = _ApiClient["default"].convertToType(data['fanout_recv_publishes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_send_publishes')) {
+ obj['fanout_send_publishes'] = _ApiClient["default"].convertToType(data['fanout_send_publishes'], 'Number');
+ }
+ if (data.hasOwnProperty('object_store_read_requests')) {
+ obj['object_store_read_requests'] = _ApiClient["default"].convertToType(data['object_store_read_requests'], 'Number');
+ }
+ if (data.hasOwnProperty('object_store_write_requests')) {
+ obj['object_store_write_requests'] = _ApiClient["default"].convertToType(data['object_store_write_requests'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_req_header_bytes')) {
+ obj['fanout_req_header_bytes'] = _ApiClient["default"].convertToType(data['fanout_req_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_req_body_bytes')) {
+ obj['fanout_req_body_bytes'] = _ApiClient["default"].convertToType(data['fanout_req_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_resp_header_bytes')) {
+ obj['fanout_resp_header_bytes'] = _ApiClient["default"].convertToType(data['fanout_resp_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_resp_body_bytes')) {
+ obj['fanout_resp_body_bytes'] = _ApiClient["default"].convertToType(data['fanout_resp_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_bereq_header_bytes')) {
+ obj['fanout_bereq_header_bytes'] = _ApiClient["default"].convertToType(data['fanout_bereq_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_bereq_body_bytes')) {
+ obj['fanout_bereq_body_bytes'] = _ApiClient["default"].convertToType(data['fanout_bereq_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_beresp_header_bytes')) {
+ obj['fanout_beresp_header_bytes'] = _ApiClient["default"].convertToType(data['fanout_beresp_header_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_beresp_body_bytes')) {
+ obj['fanout_beresp_body_bytes'] = _ApiClient["default"].convertToType(data['fanout_beresp_body_bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('fanout_conn_time_ms')) {
+ obj['fanout_conn_time_ms'] = _ApiClient["default"].convertToType(data['fanout_conn_time_ms'], 'Number');
+ }
}
-
return obj;
}
}]);
-
return Results;
}();
/**
* Number of requests processed.
* @member {Number} requests
*/
-
-
Results.prototype['requests'] = undefined;
+
/**
* Number of cache hits.
* @member {Number} hits
*/
-
Results.prototype['hits'] = undefined;
+
/**
* Total amount of time spent processing cache hits (in seconds).
* @member {Number} hits_time
*/
-
Results.prototype['hits_time'] = undefined;
+
/**
* Number of cache misses.
* @member {Number} miss
*/
-
Results.prototype['miss'] = undefined;
+
/**
* Total amount of time spent processing cache misses (in seconds).
* @member {Number} miss_time
*/
-
Results.prototype['miss_time'] = undefined;
+
/**
* Number of requests that passed through the CDN without being cached.
* @member {Number} pass
*/
-
Results.prototype['pass'] = undefined;
+
/**
* Total amount of time spent processing cache passes (in seconds).
* @member {Number} pass_time
*/
-
Results.prototype['pass_time'] = undefined;
+
/**
* Number of cache errors.
* @member {Number} errors
*/
-
Results.prototype['errors'] = undefined;
+
/**
* Number of restarts performed.
* @member {Number} restarts
*/
-
Results.prototype['restarts'] = undefined;
+
/**
* Ratio of cache hits to cache misses (between 0 and 1).
* @member {Number} hit_ratio
*/
-
Results.prototype['hit_ratio'] = undefined;
+
/**
- * Total bytes delivered (`resp_header_bytes` + `resp_body_bytes` + `bereq_header_bytes` + `bereq_body_bytes` + `compute_resp_header_bytes` + `compute_resp_body_bytes` + `compute_bereq_header_bytes` + `compute_bereq_body_bytes`).
+ * Total bytes delivered (`resp_header_bytes` + `resp_body_bytes` + `bereq_header_bytes` + `bereq_body_bytes` + `compute_resp_header_bytes` + `compute_resp_body_bytes` + `compute_bereq_header_bytes` + `compute_bereq_body_bytes` + `websocket_resp_header_bytes` + `websocket_resp_body_bytes` + `websocket_bereq_header_bytes` + `websocket_bereq_body_bytes`).
* @member {Number} bandwidth
*/
-
Results.prototype['bandwidth'] = undefined;
+
/**
* Total body bytes delivered (alias for resp_body_bytes).
* @member {Number} body_size
*/
-
Results.prototype['body_size'] = undefined;
+
/**
* Total header bytes delivered (alias for resp_header_bytes).
* @member {Number} header_size
*/
-
Results.prototype['header_size'] = undefined;
+
/**
* Total body bytes received.
* @member {Number} req_body_bytes
*/
-
Results.prototype['req_body_bytes'] = undefined;
+
/**
* Total header bytes received.
* @member {Number} req_header_bytes
*/
-
Results.prototype['req_header_bytes'] = undefined;
+
/**
* Total body bytes delivered (edge_resp_body_bytes + shield_resp_body_bytes).
* @member {Number} resp_body_bytes
*/
-
Results.prototype['resp_body_bytes'] = undefined;
+
/**
* Total header bytes delivered (edge_resp_header_bytes + shield_resp_header_bytes).
* @member {Number} resp_header_bytes
*/
-
Results.prototype['resp_header_bytes'] = undefined;
+
/**
* Total body bytes sent to origin.
* @member {Number} bereq_body_bytes
*/
-
Results.prototype['bereq_body_bytes'] = undefined;
+
/**
* Total header bytes sent to origin.
* @member {Number} bereq_header_bytes
*/
-
Results.prototype['bereq_header_bytes'] = undefined;
+
/**
* Number of requests that were designated uncachable.
* @member {Number} uncacheable
*/
-
Results.prototype['uncacheable'] = undefined;
+
/**
* Optional. Pipe operations performed (legacy feature).
* @member {Number} pipe
*/
-
Results.prototype['pipe'] = undefined;
+
/**
* Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement).
* @member {Number} synth
*/
-
Results.prototype['synth'] = undefined;
+
/**
* Number of requests that were received over TLS.
* @member {Number} tls
*/
-
Results.prototype['tls'] = undefined;
+
/**
* Number of requests received over TLS 1.0.
* @member {Number} tls_v10
*/
-
Results.prototype['tls_v10'] = undefined;
+
/**
* Number of requests received over TLS 1.1.
* @member {Number} tls_v11
*/
-
Results.prototype['tls_v11'] = undefined;
+
/**
* Number of requests received over TLS 1.2.
* @member {Number} tls_v12
*/
-
Results.prototype['tls_v12'] = undefined;
+
/**
* Number of requests received over TLS 1.3.
* @member {Number} tls_v13
*/
-
Results.prototype['tls_v13'] = undefined;
+
/**
* Number of requests sent by end users to Fastly.
* @member {Number} edge_requests
*/
-
Results.prototype['edge_requests'] = undefined;
+
/**
* Total header bytes delivered from Fastly to the end user.
* @member {Number} edge_resp_header_bytes
*/
-
Results.prototype['edge_resp_header_bytes'] = undefined;
+
/**
* Total body bytes delivered from Fastly to the end user.
* @member {Number} edge_resp_body_bytes
*/
-
Results.prototype['edge_resp_body_bytes'] = undefined;
+
/**
* Number of requests sent by end users to Fastly that resulted in a hit at the edge.
* @member {Number} edge_hit_requests
*/
-
Results.prototype['edge_hit_requests'] = undefined;
+
/**
* Number of requests sent by end users to Fastly that resulted in a miss at the edge.
* @member {Number} edge_miss_requests
*/
-
Results.prototype['edge_miss_requests'] = undefined;
+
/**
* Number of requests sent to origin.
* @member {Number} origin_fetches
*/
-
Results.prototype['origin_fetches'] = undefined;
+
/**
* Total request header bytes sent to origin.
* @member {Number} origin_fetch_header_bytes
*/
-
Results.prototype['origin_fetch_header_bytes'] = undefined;
+
/**
* Total request body bytes sent to origin.
* @member {Number} origin_fetch_body_bytes
*/
-
Results.prototype['origin_fetch_body_bytes'] = undefined;
+
/**
* Total header bytes received from origin.
* @member {Number} origin_fetch_resp_header_bytes
*/
-
Results.prototype['origin_fetch_resp_header_bytes'] = undefined;
+
/**
* Total body bytes received from origin.
* @member {Number} origin_fetch_resp_body_bytes
*/
-
Results.prototype['origin_fetch_resp_body_bytes'] = undefined;
+
/**
* Number of responses received from origin with a `304` status code in response to an `If-Modified-Since` or `If-None-Match` request. Under regular scenarios, a revalidation will imply a cache hit. However, if using Fastly Image Optimizer or segmented caching this may result in a cache miss.
* @member {Number} origin_revalidations
*/
-
Results.prototype['origin_revalidations'] = undefined;
+
/**
* The total number of completed requests made to backends (origins) that returned cacheable content.
* @member {Number} origin_cache_fetches
*/
-
Results.prototype['origin_cache_fetches'] = undefined;
+
/**
* Number of requests from edge to the shield POP.
* @member {Number} shield
*/
-
Results.prototype['shield'] = undefined;
+
/**
* Total body bytes delivered via a shield.
* @member {Number} shield_resp_body_bytes
*/
-
Results.prototype['shield_resp_body_bytes'] = undefined;
+
/**
* Total header bytes delivered via a shield.
* @member {Number} shield_resp_header_bytes
*/
-
Results.prototype['shield_resp_header_bytes'] = undefined;
+
/**
* Number of requests made from one Fastly POP to another, as part of shielding.
* @member {Number} shield_fetches
*/
-
Results.prototype['shield_fetches'] = undefined;
+
/**
* Total request header bytes sent to a shield.
* @member {Number} shield_fetch_header_bytes
*/
-
Results.prototype['shield_fetch_header_bytes'] = undefined;
+
/**
* Total request body bytes sent to a shield.
* @member {Number} shield_fetch_body_bytes
*/
-
Results.prototype['shield_fetch_body_bytes'] = undefined;
+
/**
* Total response header bytes sent from a shield to the edge.
* @member {Number} shield_fetch_resp_header_bytes
*/
-
Results.prototype['shield_fetch_resp_header_bytes'] = undefined;
+
/**
* Total response body bytes sent from a shield to the edge.
* @member {Number} shield_fetch_resp_body_bytes
*/
-
Results.prototype['shield_fetch_resp_body_bytes'] = undefined;
+
/**
* Number of responses received from origin with a `304` status code, in response to an `If-Modified-Since` or `If-None-Match` request to a shield. Under regular scenarios, a revalidation will imply a cache hit. However, if using segmented caching this may result in a cache miss.
* @member {Number} shield_revalidations
*/
-
Results.prototype['shield_revalidations'] = undefined;
+
/**
* The total number of completed requests made to shields that returned cacheable content.
* @member {Number} shield_cache_fetches
*/
-
Results.prototype['shield_cache_fetches'] = undefined;
+
/**
* Number of requests that were received over IPv6.
* @member {Number} ipv6
*/
-
Results.prototype['ipv6'] = undefined;
+
/**
* Number of responses that came from the Fastly On-the-Fly Packaging service for video-on-demand.
* @member {Number} otfp
*/
-
Results.prototype['otfp'] = undefined;
+
/**
* Total body bytes delivered from the Fastly On-the-Fly Packaging service for video-on-demand.
* @member {Number} otfp_resp_body_bytes
*/
-
Results.prototype['otfp_resp_body_bytes'] = undefined;
+
/**
* Total header bytes delivered from the Fastly On-the-Fly Packaging service for video-on-demand.
* @member {Number} otfp_resp_header_bytes
*/
-
Results.prototype['otfp_resp_header_bytes'] = undefined;
+
/**
* Total body bytes delivered via a shield for the Fastly On-the-Fly Packaging service for video-on-demand.
* @member {Number} otfp_shield_resp_body_bytes
*/
-
Results.prototype['otfp_shield_resp_body_bytes'] = undefined;
+
/**
* Total header bytes delivered via a shield for the Fastly On-the-Fly Packaging service for video-on-demand.
* @member {Number} otfp_shield_resp_header_bytes
*/
-
Results.prototype['otfp_shield_resp_header_bytes'] = undefined;
+
/**
* Number of responses that were manifest files from the Fastly On-the-Fly Packaging service for video-on-demand.
* @member {Number} otfp_manifests
*/
-
Results.prototype['otfp_manifests'] = undefined;
+
/**
* Total amount of time spent delivering a response from the Fastly On-the-Fly Packaging service for video-on-demand (in seconds).
* @member {Number} otfp_deliver_time
*/
-
Results.prototype['otfp_deliver_time'] = undefined;
+
/**
* Total amount of time spent delivering a response via a shield from the Fastly On-the-Fly Packaging service for video-on-demand (in seconds).
* @member {Number} otfp_shield_time
*/
-
Results.prototype['otfp_shield_time'] = undefined;
+
/**
* Number of responses with the video segment or video manifest MIME type (i.e., application/x-mpegurl, application/vnd.apple.mpegurl, application/f4m, application/dash+xml, application/vnd.ms-sstr+xml, ideo/mp2t, audio/aac, video/f4f, video/x-flv, video/mp4, audio/mp4).
* @member {Number} video
*/
-
Results.prototype['video'] = undefined;
+
/**
* Number of responses with the PCI flag turned on.
* @member {Number} pci
*/
-
Results.prototype['pci'] = undefined;
+
/**
* Number of log lines sent.
* @member {Number} log
*/
-
Results.prototype['log'] = undefined;
+
/**
* Total log bytes sent.
* @member {Number} log_bytes
*/
-
Results.prototype['log_bytes'] = undefined;
+
/**
* Number of requests received over HTTP/2.
* @member {Number} http2
*/
-
Results.prototype['http2'] = undefined;
+
/**
* Number of requests received over HTTP/3.
* @member {Number} http3
*/
-
Results.prototype['http3'] = undefined;
+
/**
* Number of requests that triggered a WAF rule and were logged.
* @member {Number} waf_logged
*/
-
Results.prototype['waf_logged'] = undefined;
+
/**
* Number of requests that triggered a WAF rule and were blocked.
* @member {Number} waf_blocked
*/
-
Results.prototype['waf_blocked'] = undefined;
+
/**
* Number of requests that triggered a WAF rule and were passed.
* @member {Number} waf_passed
*/
-
Results.prototype['waf_passed'] = undefined;
+
/**
* Total body bytes received from requests that triggered a WAF rule.
* @member {Number} attack_req_body_bytes
*/
-
Results.prototype['attack_req_body_bytes'] = undefined;
+
/**
* Total header bytes received from requests that triggered a WAF rule.
* @member {Number} attack_req_header_bytes
*/
-
Results.prototype['attack_req_header_bytes'] = undefined;
+
/**
* Total body bytes received from requests that triggered a WAF rule that was logged.
* @member {Number} attack_logged_req_body_bytes
*/
-
Results.prototype['attack_logged_req_body_bytes'] = undefined;
+
/**
* Total header bytes received from requests that triggered a WAF rule that was logged.
* @member {Number} attack_logged_req_header_bytes
*/
-
Results.prototype['attack_logged_req_header_bytes'] = undefined;
+
/**
* Total body bytes received from requests that triggered a WAF rule that was blocked.
* @member {Number} attack_blocked_req_body_bytes
*/
-
Results.prototype['attack_blocked_req_body_bytes'] = undefined;
+
/**
* Total header bytes received from requests that triggered a WAF rule that was blocked.
* @member {Number} attack_blocked_req_header_bytes
*/
-
Results.prototype['attack_blocked_req_header_bytes'] = undefined;
+
/**
* Total body bytes received from requests that triggered a WAF rule that was passed.
* @member {Number} attack_passed_req_body_bytes
*/
-
Results.prototype['attack_passed_req_body_bytes'] = undefined;
+
/**
* Total header bytes received from requests that triggered a WAF rule that was passed.
* @member {Number} attack_passed_req_header_bytes
*/
-
Results.prototype['attack_passed_req_header_bytes'] = undefined;
+
/**
* Total bytes delivered for requests that triggered a WAF rule and returned a synthetic response.
* @member {Number} attack_resp_synth_bytes
*/
-
Results.prototype['attack_resp_synth_bytes'] = undefined;
+
/**
* Number of responses that came from the Fastly Image Optimizer service. If the service receives 10 requests for an image, this stat will be 10 regardless of how many times the image was transformed.
* @member {Number} imgopto
*/
-
Results.prototype['imgopto'] = undefined;
+
/**
* Total body bytes delivered from the Fastly Image Optimizer service, including shield traffic.
* @member {Number} imgopto_resp_body_bytes
*/
-
Results.prototype['imgopto_resp_body_bytes'] = undefined;
+
/**
* Total header bytes delivered from the Fastly Image Optimizer service, including shield traffic.
* @member {Number} imgopto_resp_header_bytes
*/
-
Results.prototype['imgopto_resp_header_bytes'] = undefined;
+
/**
* Total body bytes delivered via a shield from the Fastly Image Optimizer service.
* @member {Number} imgopto_shield_resp_body_bytes
*/
-
Results.prototype['imgopto_shield_resp_body_bytes'] = undefined;
+
/**
* Total header bytes delivered via a shield from the Fastly Image Optimizer service.
* @member {Number} imgopto_shield_resp_header_bytes
*/
-
Results.prototype['imgopto_shield_resp_header_bytes'] = undefined;
+
/**
* Number of video responses that came from the Fastly Image Optimizer service.
* @member {Number} imgvideo
*/
-
Results.prototype['imgvideo'] = undefined;
+
/**
* Number of video frames that came from the Fastly Image Optimizer service. A video frame is an individual image within a sequence of video.
* @member {Number} imgvideo_frames
*/
-
Results.prototype['imgvideo_frames'] = undefined;
+
/**
* Total header bytes of video delivered from the Fastly Image Optimizer service.
* @member {Number} imgvideo_resp_header_bytes
*/
-
Results.prototype['imgvideo_resp_header_bytes'] = undefined;
+
/**
* Total body bytes of video delivered from the Fastly Image Optimizer service.
* @member {Number} imgvideo_resp_body_bytes
*/
-
Results.prototype['imgvideo_resp_body_bytes'] = undefined;
+
/**
* Total header bytes of video delivered via a shield from the Fastly Image Optimizer service.
* @member {Number} imgvideo_shield_resp_header_bytes
*/
-
Results.prototype['imgvideo_shield_resp_header_bytes'] = undefined;
+
/**
* Total body bytes of video delivered via a shield from the Fastly Image Optimizer service.
* @member {Number} imgvideo_shield_resp_body_bytes
*/
-
Results.prototype['imgvideo_shield_resp_body_bytes'] = undefined;
+
/**
* Number of video responses delivered via a shield that came from the Fastly Image Optimizer service.
* @member {Number} imgvideo_shield
*/
-
Results.prototype['imgvideo_shield'] = undefined;
+
/**
* Number of video frames delivered via a shield that came from the Fastly Image Optimizer service. A video frame is an individual image within a sequence of video.
* @member {Number} imgvideo_shield_frames
*/
-
Results.prototype['imgvideo_shield_frames'] = undefined;
+
/**
* Number of responses sent with status code 200 (Success).
* @member {Number} status_200
*/
-
Results.prototype['status_200'] = undefined;
+
/**
* Number of responses sent with status code 204 (No Content).
* @member {Number} status_204
*/
-
Results.prototype['status_204'] = undefined;
+
/**
* Number of responses sent with status code 206 (Partial Content).
* @member {Number} status_206
*/
-
Results.prototype['status_206'] = undefined;
+
/**
* Number of responses sent with status code 301 (Moved Permanently).
* @member {Number} status_301
*/
-
Results.prototype['status_301'] = undefined;
+
/**
* Number of responses sent with status code 302 (Found).
* @member {Number} status_302
*/
-
Results.prototype['status_302'] = undefined;
+
/**
* Number of responses sent with status code 304 (Not Modified).
* @member {Number} status_304
*/
-
Results.prototype['status_304'] = undefined;
+
/**
* Number of responses sent with status code 400 (Bad Request).
* @member {Number} status_400
*/
-
Results.prototype['status_400'] = undefined;
+
/**
* Number of responses sent with status code 401 (Unauthorized).
* @member {Number} status_401
*/
-
Results.prototype['status_401'] = undefined;
+
/**
* Number of responses sent with status code 403 (Forbidden).
* @member {Number} status_403
*/
-
Results.prototype['status_403'] = undefined;
+
/**
* Number of responses sent with status code 404 (Not Found).
* @member {Number} status_404
*/
-
Results.prototype['status_404'] = undefined;
+
+/**
+ * Number of responses sent with status code 406 (Not Acceptable).
+ * @member {Number} status_406
+ */
+Results.prototype['status_406'] = undefined;
+
/**
* Number of responses sent with status code 416 (Range Not Satisfiable).
* @member {Number} status_416
*/
-
Results.prototype['status_416'] = undefined;
+
/**
* Number of responses sent with status code 429 (Too Many Requests).
* @member {Number} status_429
*/
-
Results.prototype['status_429'] = undefined;
+
/**
* Number of responses sent with status code 500 (Internal Server Error).
* @member {Number} status_500
*/
-
Results.prototype['status_500'] = undefined;
+
/**
* Number of responses sent with status code 501 (Not Implemented).
* @member {Number} status_501
*/
-
Results.prototype['status_501'] = undefined;
+
/**
* Number of responses sent with status code 502 (Bad Gateway).
* @member {Number} status_502
*/
-
Results.prototype['status_502'] = undefined;
+
/**
* Number of responses sent with status code 503 (Service Unavailable).
* @member {Number} status_503
*/
-
Results.prototype['status_503'] = undefined;
+
/**
* Number of responses sent with status code 504 (Gateway Timeout).
* @member {Number} status_504
*/
-
Results.prototype['status_504'] = undefined;
+
/**
* Number of responses sent with status code 505 (HTTP Version Not Supported).
* @member {Number} status_505
*/
-
Results.prototype['status_505'] = undefined;
+
/**
* Number of \"Informational\" category status codes delivered.
* @member {Number} status_1xx
*/
-
Results.prototype['status_1xx'] = undefined;
+
/**
* Number of \"Success\" status codes delivered.
* @member {Number} status_2xx
*/
-
Results.prototype['status_2xx'] = undefined;
+
/**
* Number of \"Redirection\" codes delivered.
* @member {Number} status_3xx
*/
-
Results.prototype['status_3xx'] = undefined;
+
/**
* Number of \"Client Error\" codes delivered.
* @member {Number} status_4xx
*/
-
Results.prototype['status_4xx'] = undefined;
+
/**
* Number of \"Server Error\" codes delivered.
* @member {Number} status_5xx
*/
-
Results.prototype['status_5xx'] = undefined;
+
/**
* Number of objects served that were under 1KB in size.
* @member {Number} object_size_1k
*/
-
Results.prototype['object_size_1k'] = undefined;
+
/**
* Number of objects served that were between 1KB and 10KB in size.
* @member {Number} object_size_10k
*/
-
Results.prototype['object_size_10k'] = undefined;
+
/**
* Number of objects served that were between 10KB and 100KB in size.
* @member {Number} object_size_100k
*/
-
Results.prototype['object_size_100k'] = undefined;
+
/**
* Number of objects served that were between 100KB and 1MB in size.
* @member {Number} object_size_1m
*/
-
Results.prototype['object_size_1m'] = undefined;
+
/**
* Number of objects served that were between 1MB and 10MB in size.
* @member {Number} object_size_10m
*/
-
Results.prototype['object_size_10m'] = undefined;
+
/**
* Number of objects served that were between 10MB and 100MB in size.
* @member {Number} object_size_100m
*/
-
Results.prototype['object_size_100m'] = undefined;
+
/**
* Number of objects served that were between 100MB and 1GB in size.
* @member {Number} object_size_1g
*/
-
Results.prototype['object_size_1g'] = undefined;
+
/**
* Time spent inside the `vcl_recv` Varnish subroutine (in seconds).
* @member {Number} recv_sub_time
*/
-
Results.prototype['recv_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_recv` Varnish subroutine.
* @member {Number} recv_sub_count
*/
-
Results.prototype['recv_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_hash` Varnish subroutine (in seconds).
* @member {Number} hash_sub_time
*/
-
Results.prototype['hash_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_hash` Varnish subroutine.
* @member {Number} hash_sub_count
*/
-
Results.prototype['hash_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_miss` Varnish subroutine (in seconds).
* @member {Number} miss_sub_time
*/
-
Results.prototype['miss_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_miss` Varnish subroutine.
* @member {Number} miss_sub_count
*/
-
Results.prototype['miss_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_fetch` Varnish subroutine (in seconds).
* @member {Number} fetch_sub_time
*/
-
Results.prototype['fetch_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_fetch` Varnish subroutine.
* @member {Number} fetch_sub_count
*/
-
Results.prototype['fetch_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_pass` Varnish subroutine (in seconds).
* @member {Number} pass_sub_time
*/
-
Results.prototype['pass_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_pass` Varnish subroutine.
* @member {Number} pass_sub_count
*/
-
Results.prototype['pass_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_pipe` Varnish subroutine (in seconds).
* @member {Number} pipe_sub_time
*/
-
Results.prototype['pipe_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_pipe` Varnish subroutine.
* @member {Number} pipe_sub_count
*/
-
Results.prototype['pipe_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_deliver` Varnish subroutine (in seconds).
* @member {Number} deliver_sub_time
*/
-
Results.prototype['deliver_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_deliver` Varnish subroutine.
* @member {Number} deliver_sub_count
*/
-
Results.prototype['deliver_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_error` Varnish subroutine (in seconds).
* @member {Number} error_sub_time
*/
-
Results.prototype['error_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_error` Varnish subroutine.
* @member {Number} error_sub_count
*/
-
Results.prototype['error_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_hit` Varnish subroutine (in seconds).
* @member {Number} hit_sub_time
*/
-
Results.prototype['hit_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_hit` Varnish subroutine.
* @member {Number} hit_sub_count
*/
-
Results.prototype['hit_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_prehash` Varnish subroutine (in seconds).
* @member {Number} prehash_sub_time
*/
-
Results.prototype['prehash_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_prehash` Varnish subroutine.
* @member {Number} prehash_sub_count
*/
-
Results.prototype['prehash_sub_count'] = undefined;
+
/**
* Time spent inside the `vcl_predeliver` Varnish subroutine (in seconds).
* @member {Number} predeliver_sub_time
*/
-
Results.prototype['predeliver_sub_time'] = undefined;
+
/**
* Number of executions of the `vcl_predeliver` Varnish subroutine.
* @member {Number} predeliver_sub_count
*/
-
Results.prototype['predeliver_sub_count'] = undefined;
+
/**
* Number of bytes transferred during TLS handshake.
* @member {Number} tls_handshake_sent_bytes
*/
-
Results.prototype['tls_handshake_sent_bytes'] = undefined;
+
/**
* Total body bytes delivered for cache hits.
* @member {Number} hit_resp_body_bytes
*/
-
Results.prototype['hit_resp_body_bytes'] = undefined;
+
/**
* Total body bytes delivered for cache misses.
* @member {Number} miss_resp_body_bytes
*/
-
Results.prototype['miss_resp_body_bytes'] = undefined;
+
/**
* Total body bytes delivered for cache passes.
* @member {Number} pass_resp_body_bytes
*/
-
Results.prototype['pass_resp_body_bytes'] = undefined;
+
/**
* Number of `Range` requests to origin for segments of resources when using segmented caching.
* @member {Number} segblock_origin_fetches
*/
-
Results.prototype['segblock_origin_fetches'] = undefined;
+
/**
* Number of `Range` requests to a shield for segments of resources when using segmented caching.
* @member {Number} segblock_shield_fetches
*/
-
Results.prototype['segblock_shield_fetches'] = undefined;
+
/**
* The total number of requests that were received for your service by Fastly.
* @member {Number} compute_requests
*/
-
Results.prototype['compute_requests'] = undefined;
+
/**
* The total, actual amount of time used to process your requests, including active CPU time (in milliseconds).
* @member {Number} compute_request_time_ms
*/
-
Results.prototype['compute_request_time_ms'] = undefined;
+
/**
* The amount of RAM used for your service by Fastly (in bytes).
* @member {Number} compute_ram_used
*/
-
Results.prototype['compute_ram_used'] = undefined;
+
/**
* The amount of active CPU time used to process your requests (in milliseconds).
* @member {Number} compute_execution_time_ms
*/
-
Results.prototype['compute_execution_time_ms'] = undefined;
+
/**
* Total header bytes received by Compute@Edge.
* @member {Number} compute_req_header_bytes
*/
-
Results.prototype['compute_req_header_bytes'] = undefined;
+
/**
* Total body bytes received by Compute@Edge.
* @member {Number} compute_req_body_bytes
*/
-
Results.prototype['compute_req_body_bytes'] = undefined;
+
/**
* Total header bytes sent from Compute@Edge to end user.
* @member {Number} compute_resp_header_bytes
*/
-
Results.prototype['compute_resp_header_bytes'] = undefined;
+
/**
* Total body bytes sent from Compute@Edge to end user.
* @member {Number} compute_resp_body_bytes
*/
-
Results.prototype['compute_resp_body_bytes'] = undefined;
+
/**
* Number of \"Informational\" category status codes delivered by Compute@Edge.
* @member {Number} compute_resp_status_1xx
*/
-
Results.prototype['compute_resp_status_1xx'] = undefined;
+
/**
* Number of \"Success\" category status codes delivered by Compute@Edge.
* @member {Number} compute_resp_status_2xx
*/
-
Results.prototype['compute_resp_status_2xx'] = undefined;
+
/**
* Number of \"Redirection\" category status codes delivered by Compute@Edge.
* @member {Number} compute_resp_status_3xx
*/
-
Results.prototype['compute_resp_status_3xx'] = undefined;
+
/**
* Number of \"Client Error\" category status codes delivered by Compute@Edge.
* @member {Number} compute_resp_status_4xx
*/
-
Results.prototype['compute_resp_status_4xx'] = undefined;
+
/**
* Number of \"Server Error\" category status codes delivered by Compute@Edge.
* @member {Number} compute_resp_status_5xx
*/
-
Results.prototype['compute_resp_status_5xx'] = undefined;
+
/**
* Total header bytes sent to backends (origins) by Compute@Edge.
* @member {Number} compute_bereq_header_bytes
*/
-
Results.prototype['compute_bereq_header_bytes'] = undefined;
+
/**
* Total body bytes sent to backends (origins) by Compute@Edge.
* @member {Number} compute_bereq_body_bytes
*/
-
Results.prototype['compute_bereq_body_bytes'] = undefined;
+
/**
* Total header bytes received from backends (origins) by Compute@Edge.
* @member {Number} compute_beresp_header_bytes
*/
-
Results.prototype['compute_beresp_header_bytes'] = undefined;
+
/**
* Total body bytes received from backends (origins) by Compute@Edge.
* @member {Number} compute_beresp_body_bytes
*/
-
Results.prototype['compute_beresp_body_bytes'] = undefined;
+
/**
* Number of backend requests started.
* @member {Number} compute_bereqs
*/
-
Results.prototype['compute_bereqs'] = undefined;
+
/**
* Number of backend request errors, including timeouts.
* @member {Number} compute_bereq_errors
*/
-
Results.prototype['compute_bereq_errors'] = undefined;
+
/**
* Number of times a guest exceeded its resource limit, includes heap, stack, globals, and code execution timeout.
* @member {Number} compute_resource_limit_exceeded
*/
-
Results.prototype['compute_resource_limit_exceeded'] = undefined;
+
/**
* Number of times a guest exceeded its heap limit.
* @member {Number} compute_heap_limit_exceeded
*/
-
Results.prototype['compute_heap_limit_exceeded'] = undefined;
+
/**
* Number of times a guest exceeded its stack limit.
* @member {Number} compute_stack_limit_exceeded
*/
-
Results.prototype['compute_stack_limit_exceeded'] = undefined;
+
/**
* Number of times a guest exceeded its globals limit.
* @member {Number} compute_globals_limit_exceeded
*/
-
Results.prototype['compute_globals_limit_exceeded'] = undefined;
+
/**
* Number of times a service experienced a guest code error.
* @member {Number} compute_guest_errors
*/
-
Results.prototype['compute_guest_errors'] = undefined;
+
/**
* Number of times a service experienced a guest runtime error.
* @member {Number} compute_runtime_errors
*/
-
Results.prototype['compute_runtime_errors'] = undefined;
+
/**
* Body bytes delivered for edge hits.
* @member {Number} edge_hit_resp_body_bytes
*/
-
Results.prototype['edge_hit_resp_body_bytes'] = undefined;
+
/**
* Header bytes delivered for edge hits.
* @member {Number} edge_hit_resp_header_bytes
*/
-
Results.prototype['edge_hit_resp_header_bytes'] = undefined;
+
/**
* Body bytes delivered for edge misses.
* @member {Number} edge_miss_resp_body_bytes
*/
-
Results.prototype['edge_miss_resp_body_bytes'] = undefined;
+
/**
* Header bytes delivered for edge misses.
* @member {Number} edge_miss_resp_header_bytes
*/
-
Results.prototype['edge_miss_resp_header_bytes'] = undefined;
+
/**
* Body bytes received from origin for cacheable content.
* @member {Number} origin_cache_fetch_resp_body_bytes
*/
+Results.prototype['origin_cache_fetch_resp_body_bytes'] = undefined;
+
+/**
+ * Header bytes received from an origin for cacheable content.
+ * @member {Number} origin_cache_fetch_resp_header_bytes
+ */
+Results.prototype['origin_cache_fetch_resp_header_bytes'] = undefined;
+
+/**
+ * Number of requests that resulted in a hit at a shield.
+ * @member {Number} shield_hit_requests
+ */
+Results.prototype['shield_hit_requests'] = undefined;
+
+/**
+ * Number of requests that resulted in a miss at a shield.
+ * @member {Number} shield_miss_requests
+ */
+Results.prototype['shield_miss_requests'] = undefined;
+
+/**
+ * Header bytes delivered for shield hits.
+ * @member {Number} shield_hit_resp_header_bytes
+ */
+Results.prototype['shield_hit_resp_header_bytes'] = undefined;
+
+/**
+ * Body bytes delivered for shield hits.
+ * @member {Number} shield_hit_resp_body_bytes
+ */
+Results.prototype['shield_hit_resp_body_bytes'] = undefined;
+
+/**
+ * Header bytes delivered for shield misses.
+ * @member {Number} shield_miss_resp_header_bytes
+ */
+Results.prototype['shield_miss_resp_header_bytes'] = undefined;
+
+/**
+ * Body bytes delivered for shield misses.
+ * @member {Number} shield_miss_resp_body_bytes
+ */
+Results.prototype['shield_miss_resp_body_bytes'] = undefined;
+
+/**
+ * Total header bytes received from end users over passthrough WebSocket connections.
+ * @member {Number} websocket_req_header_bytes
+ */
+Results.prototype['websocket_req_header_bytes'] = undefined;
+
+/**
+ * Total message content bytes received from end users over passthrough WebSocket connections.
+ * @member {Number} websocket_req_body_bytes
+ */
+Results.prototype['websocket_req_body_bytes'] = undefined;
+
+/**
+ * Total header bytes sent to end users over passthrough WebSocket connections.
+ * @member {Number} websocket_resp_header_bytes
+ */
+Results.prototype['websocket_resp_header_bytes'] = undefined;
+
+/**
+ * Total message content bytes sent to end users over passthrough WebSocket connections.
+ * @member {Number} websocket_resp_body_bytes
+ */
+Results.prototype['websocket_resp_body_bytes'] = undefined;
+
+/**
+ * Total header bytes sent to backends over passthrough WebSocket connections.
+ * @member {Number} websocket_bereq_header_bytes
+ */
+Results.prototype['websocket_bereq_header_bytes'] = undefined;
+
+/**
+ * Total message content bytes sent to backends over passthrough WebSocket connections.
+ * @member {Number} websocket_bereq_body_bytes
+ */
+Results.prototype['websocket_bereq_body_bytes'] = undefined;
+
+/**
+ * Total header bytes received from backends over passthrough WebSocket connections.
+ * @member {Number} websocket_beresp_header_bytes
+ */
+Results.prototype['websocket_beresp_header_bytes'] = undefined;
+
+/**
+ * Total message content bytes received from backends over passthrough WebSocket connections.
+ * @member {Number} websocket_beresp_body_bytes
+ */
+Results.prototype['websocket_beresp_body_bytes'] = undefined;
+
+/**
+ * Total duration of passthrough WebSocket connections with end users.
+ * @member {Number} websocket_conn_time_ms
+ */
+Results.prototype['websocket_conn_time_ms'] = undefined;
+
+/**
+ * Total published messages received from the publish API endpoint.
+ * @member {Number} fanout_recv_publishes
+ */
+Results.prototype['fanout_recv_publishes'] = undefined;
+
+/**
+ * Total published messages sent to end users.
+ * @member {Number} fanout_send_publishes
+ */
+Results.prototype['fanout_send_publishes'] = undefined;
+
+/**
+ * The total number of reads received for the object store.
+ * @member {Number} object_store_read_requests
+ */
+Results.prototype['object_store_read_requests'] = undefined;
+
+/**
+ * The total number of writes received for the object store.
+ * @member {Number} object_store_write_requests
+ */
+Results.prototype['object_store_write_requests'] = undefined;
+
+/**
+ * Total header bytes received from end users over Fanout connections.
+ * @member {Number} fanout_req_header_bytes
+ */
+Results.prototype['fanout_req_header_bytes'] = undefined;
+
+/**
+ * Total body or message content bytes received from end users over Fanout connections.
+ * @member {Number} fanout_req_body_bytes
+ */
+Results.prototype['fanout_req_body_bytes'] = undefined;
+
+/**
+ * Total header bytes sent to end users over Fanout connections.
+ * @member {Number} fanout_resp_header_bytes
+ */
+Results.prototype['fanout_resp_header_bytes'] = undefined;
+
+/**
+ * Total body or message content bytes sent to end users over Fanout connections, excluding published message content.
+ * @member {Number} fanout_resp_body_bytes
+ */
+Results.prototype['fanout_resp_body_bytes'] = undefined;
+
+/**
+ * Total header bytes sent to backends over Fanout connections.
+ * @member {Number} fanout_bereq_header_bytes
+ */
+Results.prototype['fanout_bereq_header_bytes'] = undefined;
+
+/**
+ * Total body or message content bytes sent to backends over Fanout connections.
+ * @member {Number} fanout_bereq_body_bytes
+ */
+Results.prototype['fanout_bereq_body_bytes'] = undefined;
+
+/**
+ * Total header bytes received from backends over Fanout connections.
+ * @member {Number} fanout_beresp_header_bytes
+ */
+Results.prototype['fanout_beresp_header_bytes'] = undefined;
+
+/**
+ * Total body or message content bytes received from backends over Fanout connections.
+ * @member {Number} fanout_beresp_body_bytes
+ */
+Results.prototype['fanout_beresp_body_bytes'] = undefined;
-Results.prototype['origin_cache_fetch_resp_body_bytes'] = undefined;
/**
- * Header bytes received from an origin for cacheable content.
- * @member {Number} origin_cache_fetch_resp_header_bytes
+ * Total duration of Fanout connections with end users.
+ * @member {Number} fanout_conn_time_ms
*/
-
-Results.prototype['origin_cache_fetch_resp_header_bytes'] = undefined;
+Results.prototype['fanout_conn_time_ms'] = undefined;
var _default = Results;
exports["default"] = _default;
@@ -101210,19 +97200,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class RoleUser.
* @enum {}
@@ -101231,16 +97217,11 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var RoleUser = /*#__PURE__*/function () {
function RoleUser() {
_classCallCheck(this, RoleUser);
-
_defineProperty(this, "user", "user");
-
_defineProperty(this, "billing", "billing");
-
_defineProperty(this, "engineer", "engineer");
-
_defineProperty(this, "superuser", "superuser");
}
-
_createClass(RoleUser, null, [{
key: "constructFromObject",
value:
@@ -101253,10 +97234,8 @@ var RoleUser = /*#__PURE__*/function () {
return object;
}
}]);
-
return RoleUser;
}();
-
exports["default"] = RoleUser;
/***/ }),
@@ -101271,27 +97250,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Contact = _interopRequireDefault(__nccwpck_require__(71406));
-
var _ContactResponseAllOf = _interopRequireDefault(__nccwpck_require__(35531));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The SchemasContactResponse model module.
* @module model/SchemasContactResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var SchemasContactResponse = /*#__PURE__*/function () {
/**
@@ -101303,25 +97276,21 @@ var SchemasContactResponse = /*#__PURE__*/function () {
*/
function SchemasContactResponse() {
_classCallCheck(this, SchemasContactResponse);
-
_Contact["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ContactResponseAllOf["default"].initialize(this);
-
SchemasContactResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(SchemasContactResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a SchemasContactResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -101329,225 +97298,193 @@ var SchemasContactResponse = /*#__PURE__*/function () {
* @param {module:model/SchemasContactResponse} obj Optional instance to populate.
* @return {module:model/SchemasContactResponse} The populated SchemasContactResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new SchemasContactResponse();
-
_Contact["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ContactResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('user_id')) {
obj['user_id'] = _ApiClient["default"].convertToType(data['user_id'], 'String');
}
-
if (data.hasOwnProperty('contact_type')) {
obj['contact_type'] = _ApiClient["default"].convertToType(data['contact_type'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('email')) {
obj['email'] = _ApiClient["default"].convertToType(data['email'], 'String');
}
-
if (data.hasOwnProperty('phone')) {
obj['phone'] = _ApiClient["default"].convertToType(data['phone'], 'String');
}
-
if (data.hasOwnProperty('customer_id')) {
obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return SchemasContactResponse;
}();
/**
* The alphanumeric string representing the user for this customer contact.
* @member {String} user_id
*/
-
-
SchemasContactResponse.prototype['user_id'] = undefined;
+
/**
* The type of contact.
* @member {module:model/SchemasContactResponse.ContactTypeEnum} contact_type
*/
-
SchemasContactResponse.prototype['contact_type'] = undefined;
+
/**
* The name of this contact, when user_id is not provided.
* @member {String} name
*/
-
SchemasContactResponse.prototype['name'] = undefined;
+
/**
* The email of this contact, when a user_id is not provided.
* @member {String} email
*/
-
SchemasContactResponse.prototype['email'] = undefined;
+
/**
* The phone number for this contact. Required for primary, technical, and security contact types.
* @member {String} phone
*/
-
SchemasContactResponse.prototype['phone'] = undefined;
+
/**
* The alphanumeric string representing the customer for this customer contact.
* @member {String} customer_id
*/
-
SchemasContactResponse.prototype['customer_id'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
SchemasContactResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
SchemasContactResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
SchemasContactResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} id
*/
+SchemasContactResponse.prototype['id'] = undefined;
-SchemasContactResponse.prototype['id'] = undefined; // Implement Contact interface:
-
+// Implement Contact interface:
/**
* The alphanumeric string representing the user for this customer contact.
* @member {String} user_id
*/
-
_Contact["default"].prototype['user_id'] = undefined;
/**
* The type of contact.
* @member {module:model/Contact.ContactTypeEnum} contact_type
*/
-
_Contact["default"].prototype['contact_type'] = undefined;
/**
* The name of this contact, when user_id is not provided.
* @member {String} name
*/
-
_Contact["default"].prototype['name'] = undefined;
/**
* The email of this contact, when a user_id is not provided.
* @member {String} email
*/
-
_Contact["default"].prototype['email'] = undefined;
/**
* The phone number for this contact. Required for primary, technical, and security contact types.
* @member {String} phone
*/
-
_Contact["default"].prototype['phone'] = undefined;
/**
* The alphanumeric string representing the customer for this customer contact.
* @member {String} customer_id
*/
-
-_Contact["default"].prototype['customer_id'] = undefined; // Implement Timestamps interface:
-
+_Contact["default"].prototype['customer_id'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ContactResponseAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ContactResponseAllOf interface:
/**
* @member {String} id
*/
-
_ContactResponseAllOf["default"].prototype['id'] = undefined;
+
/**
* Allowed values for the contact_type
property.
* @enum {String}
* @readonly
*/
-
SchemasContactResponse['ContactTypeEnum'] = {
/**
* value: "primary"
* @const
*/
"primary": "primary",
-
/**
* value: "billing"
* @const
*/
"billing": "billing",
-
/**
* value: "technical"
* @const
*/
"technical": "technical",
-
/**
* value: "security"
* @const
*/
"security": "security",
-
/**
* value: "emergency"
* @const
*/
"emergency": "emergency",
-
/**
* value: "general compliance"
* @const
@@ -101569,29 +97506,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Snippet = _interopRequireDefault(__nccwpck_require__(23150));
-
var _SnippetResponseAllOf = _interopRequireDefault(__nccwpck_require__(85977));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The SchemasSnippetResponse model module.
* @module model/SchemasSnippetResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var SchemasSnippetResponse = /*#__PURE__*/function () {
/**
@@ -101604,27 +97534,22 @@ var SchemasSnippetResponse = /*#__PURE__*/function () {
*/
function SchemasSnippetResponse() {
_classCallCheck(this, SchemasSnippetResponse);
-
_Snippet["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_SnippetResponseAllOf["default"].initialize(this);
-
SchemasSnippetResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(SchemasSnippetResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a SchemasSnippetResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -101632,620 +97557,262 @@ var SchemasSnippetResponse = /*#__PURE__*/function () {
* @param {module:model/SchemasSnippetResponse} obj Optional instance to populate.
* @return {module:model/SchemasSnippetResponse} The populated SchemasSnippetResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new SchemasSnippetResponse();
-
_Snippet["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_SnippetResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('dynamic')) {
obj['dynamic'] = _ApiClient["default"].convertToType(data['dynamic'], 'Number');
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
}
-
if (data.hasOwnProperty('content')) {
obj['content'] = _ApiClient["default"].convertToType(data['content'], 'String');
}
-
if (data.hasOwnProperty('priority')) {
obj['priority'] = _ApiClient["default"].convertToType(data['priority'], 'Number');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return SchemasSnippetResponse;
}();
/**
* The name for the snippet.
* @member {String} name
*/
-
-
SchemasSnippetResponse.prototype['name'] = undefined;
+
/**
* Sets the snippet version.
* @member {module:model/SchemasSnippetResponse.DynamicEnum} dynamic
*/
-
SchemasSnippetResponse.prototype['dynamic'] = undefined;
+
/**
* The location in generated VCL where the snippet should be placed.
* @member {module:model/SchemasSnippetResponse.TypeEnum} type
*/
-
SchemasSnippetResponse.prototype['type'] = undefined;
+
/**
* The VCL code that specifies exactly what the snippet does.
* @member {String} content
*/
-
SchemasSnippetResponse.prototype['content'] = undefined;
+
/**
* Priority determines execution order. Lower numbers execute first.
* @member {Number} priority
* @default 100
*/
-
SchemasSnippetResponse.prototype['priority'] = 100;
+
/**
* @member {String} service_id
*/
-
SchemasSnippetResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
-
SchemasSnippetResponse.prototype['version'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
SchemasSnippetResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
SchemasSnippetResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
SchemasSnippetResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} id
*/
+SchemasSnippetResponse.prototype['id'] = undefined;
-SchemasSnippetResponse.prototype['id'] = undefined; // Implement Snippet interface:
-
+// Implement Snippet interface:
/**
* The name for the snippet.
* @member {String} name
*/
-
_Snippet["default"].prototype['name'] = undefined;
/**
* Sets the snippet version.
* @member {module:model/Snippet.DynamicEnum} dynamic
*/
-
_Snippet["default"].prototype['dynamic'] = undefined;
/**
* The location in generated VCL where the snippet should be placed.
* @member {module:model/Snippet.TypeEnum} type
*/
-
_Snippet["default"].prototype['type'] = undefined;
/**
* The VCL code that specifies exactly what the snippet does.
* @member {String} content
*/
-
_Snippet["default"].prototype['content'] = undefined;
/**
* Priority determines execution order. Lower numbers execute first.
* @member {Number} priority
* @default 100
*/
-
-_Snippet["default"].prototype['priority'] = 100; // Implement ServiceIdAndVersion interface:
-
+_Snippet["default"].prototype['priority'] = 100;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
-_ServiceIdAndVersion["default"].prototype['version'] = undefined; // Implement Timestamps interface:
-
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement SnippetResponseAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement SnippetResponseAllOf interface:
/**
* @member {String} id
*/
-
_SnippetResponseAllOf["default"].prototype['id'] = undefined;
+
/**
* Allowed values for the dynamic
property.
* @enum {Number}
* @readonly
*/
-
SchemasSnippetResponse['DynamicEnum'] = {
/**
* value: 0
* @const
*/
"0": 0,
-
/**
* value: 1
* @const
*/
"1": 1
};
+
/**
* Allowed values for the type
property.
* @enum {String}
* @readonly
*/
-
SchemasSnippetResponse['TypeEnum'] = {
/**
* value: "init"
* @const
*/
"init": "init",
-
/**
* value: "recv"
* @const
*/
"recv": "recv",
-
/**
* value: "hash"
* @const
*/
"hash": "hash",
-
/**
* value: "hit"
* @const
*/
"hit": "hit",
-
/**
* value: "miss"
* @const
*/
"miss": "miss",
-
/**
* value: "pass"
* @const
*/
"pass": "pass",
-
/**
* value: "fetch"
* @const
*/
"fetch": "fetch",
-
/**
* value: "error"
- * @const
- */
- "error": "error",
-
- /**
- * value: "deliver"
- * @const
- */
- "deliver": "deliver",
-
- /**
- * value: "log"
- * @const
- */
- "log": "log",
-
- /**
- * value: "none"
- * @const
- */
- "none": "none"
-};
-var _default = SchemasSnippetResponse;
-exports["default"] = _default;
-
-/***/ }),
-
-/***/ 54695:
-/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-
-"use strict";
-
-
-Object.defineProperty(exports, "__esModule", ({
- value: true
-}));
-exports["default"] = void 0;
-
-var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
-var _RoleUser = _interopRequireDefault(__nccwpck_require__(51858));
-
-var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
-var _User = _interopRequireDefault(__nccwpck_require__(67292));
-
-var _UserResponseAllOf = _interopRequireDefault(__nccwpck_require__(45770));
-
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-/**
- * The SchemasUserResponse model module.
- * @module model/SchemasUserResponse
- * @version 3.0.0-beta2
- */
-var SchemasUserResponse = /*#__PURE__*/function () {
- /**
- * Constructs a new SchemasUserResponse
.
- * @alias module:model/SchemasUserResponse
- * @implements module:model/User
- * @implements module:model/Timestamps
- * @implements module:model/UserResponseAllOf
- */
- function SchemasUserResponse() {
- _classCallCheck(this, SchemasUserResponse);
-
- _User["default"].initialize(this);
-
- _Timestamps["default"].initialize(this);
-
- _UserResponseAllOf["default"].initialize(this);
-
- SchemasUserResponse.initialize(this);
- }
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
-
-
- _createClass(SchemasUserResponse, null, [{
- key: "initialize",
- value: function initialize(obj) {}
- /**
- * Constructs a SchemasUserResponse
from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/SchemasUserResponse} obj Optional instance to populate.
- * @return {module:model/SchemasUserResponse} The populated SchemasUserResponse
instance.
- */
-
- }, {
- key: "constructFromObject",
- value: function constructFromObject(data, obj) {
- if (data) {
- obj = obj || new SchemasUserResponse();
-
- _User["default"].constructFromObject(data, obj);
-
- _Timestamps["default"].constructFromObject(data, obj);
-
- _UserResponseAllOf["default"].constructFromObject(data, obj);
-
- if (data.hasOwnProperty('login')) {
- obj['login'] = _ApiClient["default"].convertToType(data['login'], 'String');
- }
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
- }
-
- if (data.hasOwnProperty('limit_services')) {
- obj['limit_services'] = _ApiClient["default"].convertToType(data['limit_services'], 'Boolean');
- }
-
- if (data.hasOwnProperty('locked')) {
- obj['locked'] = _ApiClient["default"].convertToType(data['locked'], 'Boolean');
- }
-
- if (data.hasOwnProperty('require_new_password')) {
- obj['require_new_password'] = _ApiClient["default"].convertToType(data['require_new_password'], 'Boolean');
- }
-
- if (data.hasOwnProperty('role')) {
- obj['role'] = _RoleUser["default"].constructFromObject(data['role']);
- }
-
- if (data.hasOwnProperty('two_factor_auth_enabled')) {
- obj['two_factor_auth_enabled'] = _ApiClient["default"].convertToType(data['two_factor_auth_enabled'], 'Boolean');
- }
-
- if (data.hasOwnProperty('two_factor_setup_required')) {
- obj['two_factor_setup_required'] = _ApiClient["default"].convertToType(data['two_factor_setup_required'], 'Boolean');
- }
-
- if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
- }
-
- if (data.hasOwnProperty('deleted_at')) {
- obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
- }
-
- if (data.hasOwnProperty('updated_at')) {
- obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
- }
-
- if (data.hasOwnProperty('id')) {
- obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
- }
-
- if (data.hasOwnProperty('email_hash')) {
- obj['email_hash'] = _ApiClient["default"].convertToType(data['email_hash'], 'String');
- }
-
- if (data.hasOwnProperty('customer_id')) {
- obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
- }
- }
-
- return obj;
- }
- }]);
-
- return SchemasUserResponse;
-}();
-/**
- * The login associated with the user (typically, an email address).
- * @member {String} login
- */
-
-
-SchemasUserResponse.prototype['login'] = undefined;
-/**
- * The real life name of the user.
- * @member {String} name
- */
-
-SchemasUserResponse.prototype['name'] = undefined;
-/**
- * Indicates that the user has limited access to the customer's services.
- * @member {Boolean} limit_services
- */
-
-SchemasUserResponse.prototype['limit_services'] = undefined;
-/**
- * Indicates whether the is account is locked for editing or not.
- * @member {Boolean} locked
- */
-
-SchemasUserResponse.prototype['locked'] = undefined;
-/**
- * Indicates if a new password is required at next login.
- * @member {Boolean} require_new_password
- */
-
-SchemasUserResponse.prototype['require_new_password'] = undefined;
-/**
- * @member {module:model/RoleUser} role
- */
-
-SchemasUserResponse.prototype['role'] = undefined;
-/**
- * Indicates if 2FA is enabled on the user.
- * @member {Boolean} two_factor_auth_enabled
- */
-
-SchemasUserResponse.prototype['two_factor_auth_enabled'] = undefined;
-/**
- * Indicates if 2FA is required by the user's customer account.
- * @member {Boolean} two_factor_setup_required
- */
-
-SchemasUserResponse.prototype['two_factor_setup_required'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-
-SchemasUserResponse.prototype['created_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
- */
-
-SchemasUserResponse.prototype['deleted_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
- */
-
-SchemasUserResponse.prototype['updated_at'] = undefined;
-/**
- * @member {String} id
- */
-
-SchemasUserResponse.prototype['id'] = undefined;
-/**
- * The alphanumeric string identifying a email login.
- * @member {String} email_hash
- */
-
-SchemasUserResponse.prototype['email_hash'] = undefined;
-/**
- * @member {String} customer_id
- */
-
-SchemasUserResponse.prototype['customer_id'] = undefined; // Implement User interface:
-
-/**
- * The login associated with the user (typically, an email address).
- * @member {String} login
- */
-
-_User["default"].prototype['login'] = undefined;
-/**
- * The real life name of the user.
- * @member {String} name
- */
-
-_User["default"].prototype['name'] = undefined;
-/**
- * Indicates that the user has limited access to the customer's services.
- * @member {Boolean} limit_services
- */
-
-_User["default"].prototype['limit_services'] = undefined;
-/**
- * Indicates whether the is account is locked for editing or not.
- * @member {Boolean} locked
- */
-
-_User["default"].prototype['locked'] = undefined;
-/**
- * Indicates if a new password is required at next login.
- * @member {Boolean} require_new_password
- */
-
-_User["default"].prototype['require_new_password'] = undefined;
-/**
- * @member {module:model/RoleUser} role
- */
-
-_User["default"].prototype['role'] = undefined;
-/**
- * Indicates if 2FA is enabled on the user.
- * @member {Boolean} two_factor_auth_enabled
- */
-
-_User["default"].prototype['two_factor_auth_enabled'] = undefined;
-/**
- * Indicates if 2FA is required by the user's customer account.
- * @member {Boolean} two_factor_setup_required
- */
-
-_User["default"].prototype['two_factor_setup_required'] = undefined; // Implement Timestamps interface:
-
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-
-_Timestamps["default"].prototype['created_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
- */
-
-_Timestamps["default"].prototype['deleted_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
- */
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement UserResponseAllOf interface:
-
-/**
- * @member {String} id
- */
-
-_UserResponseAllOf["default"].prototype['id'] = undefined;
-/**
- * The alphanumeric string identifying a email login.
- * @member {String} email_hash
- */
-
-_UserResponseAllOf["default"].prototype['email_hash'] = undefined;
-/**
- * @member {String} customer_id
- */
-
-_UserResponseAllOf["default"].prototype['customer_id'] = undefined;
-var _default = SchemasUserResponse;
+ * @const
+ */
+ "error": "error",
+ /**
+ * value: "deliver"
+ * @const
+ */
+ "deliver": "deliver",
+ /**
+ * value: "log"
+ * @const
+ */
+ "log": "log",
+ /**
+ * value: "none"
+ * @const
+ */
+ "none": "none"
+};
+var _default = SchemasSnippetResponse;
exports["default"] = _default;
/***/ }),
-/***/ 31726:
+/***/ 54695:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -102255,213 +97822,261 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
-var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
+var _RoleUser = _interopRequireDefault(__nccwpck_require__(51858));
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
-var _Vcl = _interopRequireDefault(__nccwpck_require__(11613));
-
+var _User = _interopRequireDefault(__nccwpck_require__(67292));
+var _UserResponseAllOf = _interopRequireDefault(__nccwpck_require__(45770));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The SchemasVclResponse model module.
- * @module model/SchemasVclResponse
- * @version 3.0.0-beta2
+ * The SchemasUserResponse model module.
+ * @module model/SchemasUserResponse
+ * @version v3.1.0
*/
-var SchemasVclResponse = /*#__PURE__*/function () {
+var SchemasUserResponse = /*#__PURE__*/function () {
/**
- * Constructs a new SchemasVclResponse
.
- * @alias module:model/SchemasVclResponse
- * @implements module:model/Vcl
- * @implements module:model/ServiceIdAndVersion
+ * Constructs a new SchemasUserResponse
.
+ * @alias module:model/SchemasUserResponse
+ * @implements module:model/User
* @implements module:model/Timestamps
+ * @implements module:model/UserResponseAllOf
*/
- function SchemasVclResponse() {
- _classCallCheck(this, SchemasVclResponse);
-
- _Vcl["default"].initialize(this);
-
- _ServiceIdAndVersion["default"].initialize(this);
-
+ function SchemasUserResponse() {
+ _classCallCheck(this, SchemasUserResponse);
+ _User["default"].initialize(this);
_Timestamps["default"].initialize(this);
-
- SchemasVclResponse.initialize(this);
+ _UserResponseAllOf["default"].initialize(this);
+ SchemasUserResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(SchemasVclResponse, null, [{
+ _createClass(SchemasUserResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a SchemasVclResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a SchemasUserResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/SchemasVclResponse} obj Optional instance to populate.
- * @return {module:model/SchemasVclResponse} The populated SchemasVclResponse
instance.
+ * @param {module:model/SchemasUserResponse} obj Optional instance to populate.
+ * @return {module:model/SchemasUserResponse} The populated SchemasUserResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new SchemasVclResponse();
-
- _Vcl["default"].constructFromObject(data, obj);
-
- _ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
+ obj = obj || new SchemasUserResponse();
+ _User["default"].constructFromObject(data, obj);
_Timestamps["default"].constructFromObject(data, obj);
-
- if (data.hasOwnProperty('content')) {
- obj['content'] = _ApiClient["default"].convertToType(data['content'], 'String');
- }
-
- if (data.hasOwnProperty('main')) {
- obj['main'] = _ApiClient["default"].convertToType(data['main'], 'Boolean');
+ _UserResponseAllOf["default"].constructFromObject(data, obj);
+ if (data.hasOwnProperty('login')) {
+ obj['login'] = _ApiClient["default"].convertToType(data['login'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
- if (data.hasOwnProperty('service_id')) {
- obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
+ if (data.hasOwnProperty('limit_services')) {
+ obj['limit_services'] = _ApiClient["default"].convertToType(data['limit_services'], 'Boolean');
}
-
- if (data.hasOwnProperty('version')) {
- obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
+ if (data.hasOwnProperty('locked')) {
+ obj['locked'] = _ApiClient["default"].convertToType(data['locked'], 'Boolean');
+ }
+ if (data.hasOwnProperty('require_new_password')) {
+ obj['require_new_password'] = _ApiClient["default"].convertToType(data['require_new_password'], 'Boolean');
+ }
+ if (data.hasOwnProperty('role')) {
+ obj['role'] = _RoleUser["default"].constructFromObject(data['role']);
+ }
+ if (data.hasOwnProperty('two_factor_auth_enabled')) {
+ obj['two_factor_auth_enabled'] = _ApiClient["default"].convertToType(data['two_factor_auth_enabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('two_factor_setup_required')) {
+ obj['two_factor_setup_required'] = _ApiClient["default"].convertToType(data['two_factor_setup_required'], 'Boolean');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('email_hash')) {
+ obj['email_hash'] = _ApiClient["default"].convertToType(data['email_hash'], 'String');
+ }
+ if (data.hasOwnProperty('customer_id')) {
+ obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
+ }
}
-
return obj;
}
}]);
-
- return SchemasVclResponse;
+ return SchemasUserResponse;
}();
/**
- * The VCL code to be included.
- * @member {String} content
+ * @member {String} login
+ */
+SchemasUserResponse.prototype['login'] = undefined;
+
+/**
+ * The real life name of the user.
+ * @member {String} name
*/
+SchemasUserResponse.prototype['name'] = undefined;
+/**
+ * Indicates that the user has limited access to the customer's services.
+ * @member {Boolean} limit_services
+ */
+SchemasUserResponse.prototype['limit_services'] = undefined;
-SchemasVclResponse.prototype['content'] = undefined;
/**
- * Set to `true` when this is the main VCL, otherwise `false`.
- * @member {Boolean} main
+ * Indicates whether the is account is locked for editing or not.
+ * @member {Boolean} locked
*/
+SchemasUserResponse.prototype['locked'] = undefined;
-SchemasVclResponse.prototype['main'] = undefined;
/**
- * The name of this VCL.
- * @member {String} name
+ * Indicates if a new password is required at next login.
+ * @member {Boolean} require_new_password
+ */
+SchemasUserResponse.prototype['require_new_password'] = undefined;
+
+/**
+ * @member {module:model/RoleUser} role
*/
+SchemasUserResponse.prototype['role'] = undefined;
-SchemasVclResponse.prototype['name'] = undefined;
/**
- * @member {String} service_id
+ * Indicates if 2FA is enabled on the user.
+ * @member {Boolean} two_factor_auth_enabled
*/
+SchemasUserResponse.prototype['two_factor_auth_enabled'] = undefined;
-SchemasVclResponse.prototype['service_id'] = undefined;
/**
- * @member {Number} version
+ * Indicates if 2FA is required by the user's customer account.
+ * @member {Boolean} two_factor_setup_required
*/
+SchemasUserResponse.prototype['two_factor_setup_required'] = undefined;
-SchemasVclResponse.prototype['version'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
+SchemasUserResponse.prototype['created_at'] = undefined;
-SchemasVclResponse.prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
+SchemasUserResponse.prototype['deleted_at'] = undefined;
-SchemasVclResponse.prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
+SchemasUserResponse.prototype['updated_at'] = undefined;
-SchemasVclResponse.prototype['updated_at'] = undefined; // Implement Vcl interface:
+/**
+ * @member {String} id
+ */
+SchemasUserResponse.prototype['id'] = undefined;
/**
- * The VCL code to be included.
- * @member {String} content
+ * The alphanumeric string identifying a email login.
+ * @member {String} email_hash
*/
+SchemasUserResponse.prototype['email_hash'] = undefined;
-_Vcl["default"].prototype['content'] = undefined;
/**
- * Set to `true` when this is the main VCL, otherwise `false`.
- * @member {Boolean} main
+ * @member {String} customer_id
*/
+SchemasUserResponse.prototype['customer_id'] = undefined;
-_Vcl["default"].prototype['main'] = undefined;
+// Implement User interface:
/**
- * The name of this VCL.
+ * @member {String} login
+ */
+_User["default"].prototype['login'] = undefined;
+/**
+ * The real life name of the user.
* @member {String} name
*/
-
-_Vcl["default"].prototype['name'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_User["default"].prototype['name'] = undefined;
/**
- * @member {String} service_id
+ * Indicates that the user has limited access to the customer's services.
+ * @member {Boolean} limit_services
*/
-
-_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
+_User["default"].prototype['limit_services'] = undefined;
/**
- * @member {Number} version
+ * Indicates whether the is account is locked for editing or not.
+ * @member {Boolean} locked
*/
-
-_ServiceIdAndVersion["default"].prototype['version'] = undefined; // Implement Timestamps interface:
-
+_User["default"].prototype['locked'] = undefined;
+/**
+ * Indicates if a new password is required at next login.
+ * @member {Boolean} require_new_password
+ */
+_User["default"].prototype['require_new_password'] = undefined;
+/**
+ * @member {module:model/RoleUser} role
+ */
+_User["default"].prototype['role'] = undefined;
+/**
+ * Indicates if 2FA is enabled on the user.
+ * @member {Boolean} two_factor_auth_enabled
+ */
+_User["default"].prototype['two_factor_auth_enabled'] = undefined;
+/**
+ * Indicates if 2FA is required by the user's customer account.
+ * @member {Boolean} two_factor_setup_required
+ */
+_User["default"].prototype['two_factor_setup_required'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
_Timestamps["default"].prototype['updated_at'] = undefined;
-var _default = SchemasVclResponse;
+// Implement UserResponseAllOf interface:
+/**
+ * @member {String} id
+ */
+_UserResponseAllOf["default"].prototype['id'] = undefined;
+/**
+ * The alphanumeric string identifying a email login.
+ * @member {String} email_hash
+ */
+_UserResponseAllOf["default"].prototype['email_hash'] = undefined;
+/**
+ * @member {String} customer_id
+ */
+_UserResponseAllOf["default"].prototype['customer_id'] = undefined;
+var _default = SchemasUserResponse;
exports["default"] = _default;
/***/ }),
@@ -102476,21 +98091,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The SchemasVersion model module.
* @module model/SchemasVersion
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var SchemasVersion = /*#__PURE__*/function () {
/**
@@ -102499,19 +98111,18 @@ var SchemasVersion = /*#__PURE__*/function () {
*/
function SchemasVersion() {
_classCallCheck(this, SchemasVersion);
-
SchemasVersion.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(SchemasVersion, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a SchemasVersion
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -102519,46 +98130,36 @@ var SchemasVersion = /*#__PURE__*/function () {
* @param {module:model/SchemasVersion} obj Optional instance to populate.
* @return {module:model/SchemasVersion} The populated SchemasVersion
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new SchemasVersion();
-
if (data.hasOwnProperty('active')) {
obj['active'] = _ApiClient["default"].convertToType(data['active'], 'Boolean');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('deployed')) {
obj['deployed'] = _ApiClient["default"].convertToType(data['deployed'], 'Boolean');
}
-
if (data.hasOwnProperty('locked')) {
obj['locked'] = _ApiClient["default"].convertToType(data['locked'], 'Boolean');
}
-
if (data.hasOwnProperty('number')) {
obj['number'] = _ApiClient["default"].convertToType(data['number'], 'Number');
}
-
if (data.hasOwnProperty('staging')) {
obj['staging'] = _ApiClient["default"].convertToType(data['staging'], 'Boolean');
}
-
if (data.hasOwnProperty('testing')) {
obj['testing'] = _ApiClient["default"].convertToType(data['testing'], 'Boolean');
}
}
-
return obj;
}
}]);
-
return SchemasVersion;
}();
/**
@@ -102566,47 +98167,45 @@ var SchemasVersion = /*#__PURE__*/function () {
* @member {Boolean} active
* @default false
*/
-
-
SchemasVersion.prototype['active'] = false;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
SchemasVersion.prototype['comment'] = undefined;
+
/**
* Unused at this time.
* @member {Boolean} deployed
*/
-
SchemasVersion.prototype['deployed'] = undefined;
+
/**
* Whether this version is locked or not. Objects can not be added or edited on locked versions.
* @member {Boolean} locked
* @default false
*/
-
SchemasVersion.prototype['locked'] = false;
+
/**
* The number of this version.
* @member {Number} number
*/
-
SchemasVersion.prototype['number'] = undefined;
+
/**
* Unused at this time.
* @member {Boolean} staging
* @default false
*/
-
SchemasVersion.prototype['staging'] = false;
+
/**
* Unused at this time.
* @member {Boolean} testing
* @default false
*/
-
SchemasVersion.prototype['testing'] = false;
var _default = SchemasVersion;
exports["default"] = _default;
@@ -102623,27 +98222,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _SchemasVersion = _interopRequireDefault(__nccwpck_require__(8991));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
var _VersionResponseAllOf = _interopRequireDefault(__nccwpck_require__(83708));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The SchemasVersionResponse model module.
* @module model/SchemasVersionResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var SchemasVersionResponse = /*#__PURE__*/function () {
/**
@@ -102655,25 +98248,21 @@ var SchemasVersionResponse = /*#__PURE__*/function () {
*/
function SchemasVersionResponse() {
_classCallCheck(this, SchemasVersionResponse);
-
_SchemasVersion["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_VersionResponseAllOf["default"].initialize(this);
-
SchemasVersionResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(SchemasVersionResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a SchemasVersionResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -102681,68 +98270,51 @@ var SchemasVersionResponse = /*#__PURE__*/function () {
* @param {module:model/SchemasVersionResponse} obj Optional instance to populate.
* @return {module:model/SchemasVersionResponse} The populated SchemasVersionResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new SchemasVersionResponse();
-
_SchemasVersion["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_VersionResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('active')) {
obj['active'] = _ApiClient["default"].convertToType(data['active'], 'Boolean');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('deployed')) {
obj['deployed'] = _ApiClient["default"].convertToType(data['deployed'], 'Boolean');
}
-
if (data.hasOwnProperty('locked')) {
obj['locked'] = _ApiClient["default"].convertToType(data['locked'], 'Boolean');
}
-
if (data.hasOwnProperty('number')) {
obj['number'] = _ApiClient["default"].convertToType(data['number'], 'Number');
}
-
if (data.hasOwnProperty('staging')) {
obj['staging'] = _ApiClient["default"].convertToType(data['staging'], 'Boolean');
}
-
if (data.hasOwnProperty('testing')) {
obj['testing'] = _ApiClient["default"].convertToType(data['testing'], 'Boolean');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
}
-
return obj;
}
}]);
-
return SchemasVersionResponse;
}();
/**
@@ -102750,142 +98322,130 @@ var SchemasVersionResponse = /*#__PURE__*/function () {
* @member {Boolean} active
* @default false
*/
-
-
SchemasVersionResponse.prototype['active'] = false;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
SchemasVersionResponse.prototype['comment'] = undefined;
+
/**
* Unused at this time.
* @member {Boolean} deployed
*/
-
SchemasVersionResponse.prototype['deployed'] = undefined;
+
/**
* Whether this version is locked or not. Objects can not be added or edited on locked versions.
* @member {Boolean} locked
* @default false
*/
-
SchemasVersionResponse.prototype['locked'] = false;
+
/**
* The number of this version.
* @member {Number} number
*/
-
SchemasVersionResponse.prototype['number'] = undefined;
+
/**
* Unused at this time.
* @member {Boolean} staging
* @default false
*/
-
SchemasVersionResponse.prototype['staging'] = false;
+
/**
* Unused at this time.
* @member {Boolean} testing
* @default false
*/
-
SchemasVersionResponse.prototype['testing'] = false;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
SchemasVersionResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
SchemasVersionResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
SchemasVersionResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
+SchemasVersionResponse.prototype['service_id'] = undefined;
-SchemasVersionResponse.prototype['service_id'] = undefined; // Implement SchemasVersion interface:
-
+// Implement SchemasVersion interface:
/**
* Whether this is the active version or not.
* @member {Boolean} active
* @default false
*/
-
_SchemasVersion["default"].prototype['active'] = false;
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
_SchemasVersion["default"].prototype['comment'] = undefined;
/**
* Unused at this time.
* @member {Boolean} deployed
*/
-
_SchemasVersion["default"].prototype['deployed'] = undefined;
/**
* Whether this version is locked or not. Objects can not be added or edited on locked versions.
* @member {Boolean} locked
* @default false
*/
-
_SchemasVersion["default"].prototype['locked'] = false;
/**
* The number of this version.
* @member {Number} number
*/
-
_SchemasVersion["default"].prototype['number'] = undefined;
/**
* Unused at this time.
* @member {Boolean} staging
* @default false
*/
-
_SchemasVersion["default"].prototype['staging'] = false;
/**
* Unused at this time.
* @member {Boolean} testing
* @default false
*/
-
-_SchemasVersion["default"].prototype['testing'] = false; // Implement Timestamps interface:
-
+_SchemasVersion["default"].prototype['testing'] = false;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement VersionResponseAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement VersionResponseAllOf interface:
/**
* @member {String} service_id
*/
-
_VersionResponseAllOf["default"].prototype['service_id'] = undefined;
var _default = SchemasVersionResponse;
exports["default"] = _default;
@@ -102902,23 +98462,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _SchemasWafFirewallVersionData = _interopRequireDefault(__nccwpck_require__(6335));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The SchemasWafFirewallVersion model module.
* @module model/SchemasWafFirewallVersion
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var SchemasWafFirewallVersion = /*#__PURE__*/function () {
/**
@@ -102927,19 +98483,18 @@ var SchemasWafFirewallVersion = /*#__PURE__*/function () {
*/
function SchemasWafFirewallVersion() {
_classCallCheck(this, SchemasWafFirewallVersion);
-
SchemasWafFirewallVersion.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(SchemasWafFirewallVersion, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a SchemasWafFirewallVersion
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -102947,29 +98502,23 @@ var SchemasWafFirewallVersion = /*#__PURE__*/function () {
* @param {module:model/SchemasWafFirewallVersion} obj Optional instance to populate.
* @return {module:model/SchemasWafFirewallVersion} The populated SchemasWafFirewallVersion
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new SchemasWafFirewallVersion();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _SchemasWafFirewallVersionData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return SchemasWafFirewallVersion;
}();
/**
* @member {module:model/SchemasWafFirewallVersionData} data
*/
-
-
SchemasWafFirewallVersion.prototype['data'] = undefined;
var _default = SchemasWafFirewallVersion;
exports["default"] = _default;
@@ -102986,25 +98535,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeWafFirewallVersion = _interopRequireDefault(__nccwpck_require__(87741));
-
var _WafFirewallVersionDataAttributes = _interopRequireDefault(__nccwpck_require__(89329));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The SchemasWafFirewallVersionData model module.
* @module model/SchemasWafFirewallVersionData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var SchemasWafFirewallVersionData = /*#__PURE__*/function () {
/**
@@ -103013,19 +98557,18 @@ var SchemasWafFirewallVersionData = /*#__PURE__*/function () {
*/
function SchemasWafFirewallVersionData() {
_classCallCheck(this, SchemasWafFirewallVersionData);
-
SchemasWafFirewallVersionData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(SchemasWafFirewallVersionData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a SchemasWafFirewallVersionData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -103033,38 +98576,31 @@ var SchemasWafFirewallVersionData = /*#__PURE__*/function () {
* @param {module:model/SchemasWafFirewallVersionData} obj Optional instance to populate.
* @return {module:model/SchemasWafFirewallVersionData} The populated SchemasWafFirewallVersionData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new SchemasWafFirewallVersionData();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafFirewallVersion["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _WafFirewallVersionDataAttributes["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return SchemasWafFirewallVersionData;
}();
/**
* @member {module:model/TypeWafFirewallVersion} type
*/
-
-
SchemasWafFirewallVersionData.prototype['type'] = undefined;
+
/**
* @member {module:model/WafFirewallVersionDataAttributes} attributes
*/
-
SchemasWafFirewallVersionData.prototype['attributes'] = undefined;
var _default = SchemasWafFirewallVersionData;
exports["default"] = _default;
@@ -103081,21 +98617,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Server model module.
* @module model/Server
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Server = /*#__PURE__*/function () {
/**
@@ -103104,19 +98637,18 @@ var Server = /*#__PURE__*/function () {
*/
function Server() {
_classCallCheck(this, Server);
-
Server.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Server, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Server
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -103124,46 +98656,36 @@ var Server = /*#__PURE__*/function () {
* @param {module:model/Server} obj Optional instance to populate.
* @return {module:model/Server} The populated Server
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Server();
-
if (data.hasOwnProperty('weight')) {
obj['weight'] = _ApiClient["default"].convertToType(data['weight'], 'Number');
}
-
if (data.hasOwnProperty('max_conn')) {
obj['max_conn'] = _ApiClient["default"].convertToType(data['max_conn'], 'Number');
}
-
if (data.hasOwnProperty('port')) {
obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
-
if (data.hasOwnProperty('address')) {
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('disabled')) {
obj['disabled'] = _ApiClient["default"].convertToType(data['disabled'], 'Boolean');
}
-
if (data.hasOwnProperty('override_host')) {
obj['override_host'] = _ApiClient["default"].convertToType(data['override_host'], 'String');
}
}
-
return obj;
}
}]);
-
return Server;
}();
/**
@@ -103171,48 +98693,46 @@ var Server = /*#__PURE__*/function () {
* @member {Number} weight
* @default 100
*/
-
-
Server.prototype['weight'] = 100;
+
/**
* Maximum number of connections. If the value is `0`, it inherits the value from pool's `max_conn_default`.
* @member {Number} max_conn
* @default 0
*/
-
Server.prototype['max_conn'] = 0;
+
/**
* Port number. Setting port `443` does not force TLS. Set `use_tls` in pool to force TLS.
* @member {Number} port
* @default 80
*/
-
Server.prototype['port'] = 80;
+
/**
* A hostname, IPv4, or IPv6 address for the server. Required.
* @member {String} address
*/
-
Server.prototype['address'] = undefined;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
Server.prototype['comment'] = undefined;
+
/**
* Allows servers to be enabled and disabled in a pool.
* @member {Boolean} disabled
* @default false
*/
-
Server.prototype['disabled'] = false;
+
/**
* The hostname to override the Host header. Defaults to `null` meaning no override of the Host header if not set. This setting can also be added to a Pool definition. However, the server setting will override the Pool setting.
* @member {String} override_host
* @default 'null'
*/
-
Server.prototype['override_host'] = 'null';
var _default = Server;
exports["default"] = _default;
@@ -103229,27 +98749,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Server = _interopRequireDefault(__nccwpck_require__(59213));
-
var _ServerResponseAllOf = _interopRequireDefault(__nccwpck_require__(88985));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServerResponse model module.
* @module model/ServerResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServerResponse = /*#__PURE__*/function () {
/**
@@ -103261,25 +98775,21 @@ var ServerResponse = /*#__PURE__*/function () {
*/
function ServerResponse() {
_classCallCheck(this, ServerResponse);
-
_Server["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_ServerResponseAllOf["default"].initialize(this);
-
ServerResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServerResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServerResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -103287,76 +98797,57 @@ var ServerResponse = /*#__PURE__*/function () {
* @param {module:model/ServerResponse} obj Optional instance to populate.
* @return {module:model/ServerResponse} The populated ServerResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServerResponse();
-
_Server["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServerResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('weight')) {
obj['weight'] = _ApiClient["default"].convertToType(data['weight'], 'Number');
}
-
if (data.hasOwnProperty('max_conn')) {
obj['max_conn'] = _ApiClient["default"].convertToType(data['max_conn'], 'Number');
}
-
if (data.hasOwnProperty('port')) {
obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
}
-
if (data.hasOwnProperty('address')) {
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('disabled')) {
obj['disabled'] = _ApiClient["default"].convertToType(data['disabled'], 'Boolean');
}
-
if (data.hasOwnProperty('override_host')) {
obj['override_host'] = _ApiClient["default"].convertToType(data['override_host'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('pool_id')) {
obj['pool_id'] = _ApiClient["default"].convertToType(data['pool_id'], 'String');
}
}
-
return obj;
}
}]);
-
return ServerResponse;
}();
/**
@@ -103364,164 +98855,150 @@ var ServerResponse = /*#__PURE__*/function () {
* @member {Number} weight
* @default 100
*/
-
-
ServerResponse.prototype['weight'] = 100;
+
/**
* Maximum number of connections. If the value is `0`, it inherits the value from pool's `max_conn_default`.
* @member {Number} max_conn
* @default 0
*/
-
ServerResponse.prototype['max_conn'] = 0;
+
/**
* Port number. Setting port `443` does not force TLS. Set `use_tls` in pool to force TLS.
* @member {Number} port
* @default 80
*/
-
ServerResponse.prototype['port'] = 80;
+
/**
* A hostname, IPv4, or IPv6 address for the server. Required.
* @member {String} address
*/
-
ServerResponse.prototype['address'] = undefined;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
ServerResponse.prototype['comment'] = undefined;
+
/**
* Allows servers to be enabled and disabled in a pool.
* @member {Boolean} disabled
* @default false
*/
-
ServerResponse.prototype['disabled'] = false;
+
/**
* The hostname to override the Host header. Defaults to `null` meaning no override of the Host header if not set. This setting can also be added to a Pool definition. However, the server setting will override the Pool setting.
* @member {String} override_host
* @default 'null'
*/
-
ServerResponse.prototype['override_host'] = 'null';
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
ServerResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
ServerResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
ServerResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
ServerResponse.prototype['service_id'] = undefined;
+
/**
* @member {String} id
*/
-
ServerResponse.prototype['id'] = undefined;
+
/**
* @member {String} pool_id
*/
+ServerResponse.prototype['pool_id'] = undefined;
-ServerResponse.prototype['pool_id'] = undefined; // Implement Server interface:
-
+// Implement Server interface:
/**
* Weight (`1-100`) used to load balance this server against others.
* @member {Number} weight
* @default 100
*/
-
_Server["default"].prototype['weight'] = 100;
/**
* Maximum number of connections. If the value is `0`, it inherits the value from pool's `max_conn_default`.
* @member {Number} max_conn
* @default 0
*/
-
_Server["default"].prototype['max_conn'] = 0;
/**
* Port number. Setting port `443` does not force TLS. Set `use_tls` in pool to force TLS.
* @member {Number} port
* @default 80
*/
-
_Server["default"].prototype['port'] = 80;
/**
* A hostname, IPv4, or IPv6 address for the server. Required.
* @member {String} address
*/
-
_Server["default"].prototype['address'] = undefined;
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
_Server["default"].prototype['comment'] = undefined;
/**
* Allows servers to be enabled and disabled in a pool.
* @member {Boolean} disabled
* @default false
*/
-
_Server["default"].prototype['disabled'] = false;
/**
* The hostname to override the Host header. Defaults to `null` meaning no override of the Host header if not set. This setting can also be added to a Pool definition. However, the server setting will override the Pool setting.
* @member {String} override_host
* @default 'null'
*/
-
-_Server["default"].prototype['override_host'] = 'null'; // Implement Timestamps interface:
-
+_Server["default"].prototype['override_host'] = 'null';
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement ServerResponseAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement ServerResponseAllOf interface:
/**
* @member {String} service_id
*/
-
_ServerResponseAllOf["default"].prototype['service_id'] = undefined;
/**
* @member {String} id
*/
-
_ServerResponseAllOf["default"].prototype['id'] = undefined;
/**
* @member {String} pool_id
*/
-
_ServerResponseAllOf["default"].prototype['pool_id'] = undefined;
var _default = ServerResponse;
exports["default"] = _default;
@@ -103538,21 +99015,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServerResponseAllOf model module.
* @module model/ServerResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServerResponseAllOf = /*#__PURE__*/function () {
/**
@@ -103561,19 +99035,18 @@ var ServerResponseAllOf = /*#__PURE__*/function () {
*/
function ServerResponseAllOf() {
_classCallCheck(this, ServerResponseAllOf);
-
ServerResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServerResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServerResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -103581,47 +99054,39 @@ var ServerResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/ServerResponseAllOf} obj Optional instance to populate.
* @return {module:model/ServerResponseAllOf} The populated ServerResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServerResponseAllOf();
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('pool_id')) {
obj['pool_id'] = _ApiClient["default"].convertToType(data['pool_id'], 'String');
}
}
-
return obj;
}
}]);
-
return ServerResponseAllOf;
}();
/**
* @member {String} service_id
*/
-
-
ServerResponseAllOf.prototype['service_id'] = undefined;
+
/**
* @member {String} id
*/
-
ServerResponseAllOf.prototype['id'] = undefined;
+
/**
* @member {String} pool_id
*/
-
ServerResponseAllOf.prototype['pool_id'] = undefined;
var _default = ServerResponseAllOf;
exports["default"] = _default;
@@ -103638,21 +99103,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Service model module.
* @module model/Service
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Service = /*#__PURE__*/function () {
/**
@@ -103661,19 +99123,18 @@ var Service = /*#__PURE__*/function () {
*/
function Service() {
_classCallCheck(this, Service);
-
Service.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Service, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Service
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -103681,49 +99142,42 @@ var Service = /*#__PURE__*/function () {
* @param {module:model/Service} obj Optional instance to populate.
* @return {module:model/Service} The populated Service
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Service();
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('customer_id')) {
obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
}
-
return obj;
}
}]);
-
return Service;
}();
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
-
Service.prototype['comment'] = undefined;
+
/**
* The name of the service.
* @member {String} name
*/
-
Service.prototype['name'] = undefined;
+
/**
+ * Alphanumeric string identifying the customer.
* @member {String} customer_id
*/
-
Service.prototype['customer_id'] = undefined;
var _default = Service;
exports["default"] = _default;
@@ -103740,23 +99194,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _ServiceAuthorizationData = _interopRequireDefault(__nccwpck_require__(12097));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceAuthorization model module.
* @module model/ServiceAuthorization
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceAuthorization = /*#__PURE__*/function () {
/**
@@ -103765,19 +99215,18 @@ var ServiceAuthorization = /*#__PURE__*/function () {
*/
function ServiceAuthorization() {
_classCallCheck(this, ServiceAuthorization);
-
ServiceAuthorization.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceAuthorization, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceAuthorization
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -103785,29 +99234,23 @@ var ServiceAuthorization = /*#__PURE__*/function () {
* @param {module:model/ServiceAuthorization} obj Optional instance to populate.
* @return {module:model/ServiceAuthorization} The populated ServiceAuthorization
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceAuthorization();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ServiceAuthorizationData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return ServiceAuthorization;
}();
/**
* @member {module:model/ServiceAuthorizationData} data
*/
-
-
ServiceAuthorization.prototype['data'] = undefined;
var _default = ServiceAuthorization;
exports["default"] = _default;
@@ -103824,29 +99267,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
-var _RelationshipService = _interopRequireDefault(__nccwpck_require__(12979));
-
-var _RelationshipUser = _interopRequireDefault(__nccwpck_require__(6378));
-
var _ServiceAuthorizationDataAttributes = _interopRequireDefault(__nccwpck_require__(28935));
-
+var _ServiceAuthorizationDataRelationships = _interopRequireDefault(__nccwpck_require__(95296));
var _TypeServiceAuthorization = _interopRequireDefault(__nccwpck_require__(3642));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceAuthorizationData model module.
* @module model/ServiceAuthorizationData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceAuthorizationData = /*#__PURE__*/function () {
/**
@@ -103855,19 +99290,18 @@ var ServiceAuthorizationData = /*#__PURE__*/function () {
*/
function ServiceAuthorizationData() {
_classCallCheck(this, ServiceAuthorizationData);
-
ServiceAuthorizationData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceAuthorizationData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceAuthorizationData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -103875,47 +99309,39 @@ var ServiceAuthorizationData = /*#__PURE__*/function () {
* @param {module:model/ServiceAuthorizationData} obj Optional instance to populate.
* @return {module:model/ServiceAuthorizationData} The populated ServiceAuthorizationData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceAuthorizationData();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeServiceAuthorization["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _ServiceAuthorizationDataAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
- obj['relationships'] = _ApiClient["default"].convertToType(data['relationships'], Object);
+ obj['relationships'] = _ServiceAuthorizationDataRelationships["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return ServiceAuthorizationData;
}();
/**
* @member {module:model/TypeServiceAuthorization} type
*/
-
-
ServiceAuthorizationData.prototype['type'] = undefined;
+
/**
* @member {module:model/ServiceAuthorizationDataAttributes} attributes
*/
-
ServiceAuthorizationData.prototype['attributes'] = undefined;
+
/**
- * @member {Object} relationships
+ * @member {module:model/ServiceAuthorizationDataRelationships} relationships
*/
-
ServiceAuthorizationData.prototype['relationships'] = undefined;
var _default = ServiceAuthorizationData;
exports["default"] = _default;
@@ -103932,23 +99358,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Permission = _interopRequireDefault(__nccwpck_require__(85532));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceAuthorizationDataAttributes model module.
* @module model/ServiceAuthorizationDataAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceAuthorizationDataAttributes = /*#__PURE__*/function () {
/**
@@ -103957,19 +99379,18 @@ var ServiceAuthorizationDataAttributes = /*#__PURE__*/function () {
*/
function ServiceAuthorizationDataAttributes() {
_classCallCheck(this, ServiceAuthorizationDataAttributes);
-
ServiceAuthorizationDataAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceAuthorizationDataAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceAuthorizationDataAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -103977,36 +99398,30 @@ var ServiceAuthorizationDataAttributes = /*#__PURE__*/function () {
* @param {module:model/ServiceAuthorizationDataAttributes} obj Optional instance to populate.
* @return {module:model/ServiceAuthorizationDataAttributes} The populated ServiceAuthorizationDataAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceAuthorizationDataAttributes();
-
if (data.hasOwnProperty('permission')) {
obj['permission'] = _Permission["default"].constructFromObject(data['permission']);
}
}
-
return obj;
}
}]);
-
return ServiceAuthorizationDataAttributes;
}();
/**
* @member {module:model/Permission} permission
*/
-
-
ServiceAuthorizationDataAttributes.prototype['permission'] = undefined;
var _default = ServiceAuthorizationDataAttributes;
exports["default"] = _default;
/***/ }),
-/***/ 19206:
+/***/ 95296:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -104016,23 +99431,256 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _RelationshipMemberService = _interopRequireDefault(__nccwpck_require__(91519));
+var _ServiceAuthorizationDataRelationshipsUser = _interopRequireDefault(__nccwpck_require__(1090));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ServiceAuthorizationDataRelationships model module.
+ * @module model/ServiceAuthorizationDataRelationships
+ * @version v3.1.0
+ */
+var ServiceAuthorizationDataRelationships = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ServiceAuthorizationDataRelationships
.
+ * @alias module:model/ServiceAuthorizationDataRelationships
+ */
+ function ServiceAuthorizationDataRelationships() {
+ _classCallCheck(this, ServiceAuthorizationDataRelationships);
+ ServiceAuthorizationDataRelationships.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ServiceAuthorizationDataRelationships, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a ServiceAuthorizationDataRelationships
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ServiceAuthorizationDataRelationships} obj Optional instance to populate.
+ * @return {module:model/ServiceAuthorizationDataRelationships} The populated ServiceAuthorizationDataRelationships
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ServiceAuthorizationDataRelationships();
+ if (data.hasOwnProperty('service')) {
+ obj['service'] = _RelationshipMemberService["default"].constructFromObject(data['service']);
+ }
+ if (data.hasOwnProperty('user')) {
+ obj['user'] = _ServiceAuthorizationDataRelationshipsUser["default"].constructFromObject(data['user']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return ServiceAuthorizationDataRelationships;
+}();
+/**
+ * @member {module:model/RelationshipMemberService} service
+ */
+ServiceAuthorizationDataRelationships.prototype['service'] = undefined;
+
+/**
+ * @member {module:model/ServiceAuthorizationDataRelationshipsUser} user
+ */
+ServiceAuthorizationDataRelationships.prototype['user'] = undefined;
+var _default = ServiceAuthorizationDataRelationships;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 1090:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
-var _ServiceAuthorizationResponseData = _interopRequireDefault(__nccwpck_require__(42082));
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _ServiceAuthorizationDataRelationshipsUserData = _interopRequireDefault(__nccwpck_require__(48555));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ServiceAuthorizationDataRelationshipsUser model module.
+ * @module model/ServiceAuthorizationDataRelationshipsUser
+ * @version v3.1.0
+ */
+var ServiceAuthorizationDataRelationshipsUser = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ServiceAuthorizationDataRelationshipsUser
.
+ * The ID of the user being given access to the service.
+ * @alias module:model/ServiceAuthorizationDataRelationshipsUser
+ */
+ function ServiceAuthorizationDataRelationshipsUser() {
+ _classCallCheck(this, ServiceAuthorizationDataRelationshipsUser);
+ ServiceAuthorizationDataRelationshipsUser.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ServiceAuthorizationDataRelationshipsUser, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a ServiceAuthorizationDataRelationshipsUser
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ServiceAuthorizationDataRelationshipsUser} obj Optional instance to populate.
+ * @return {module:model/ServiceAuthorizationDataRelationshipsUser} The populated ServiceAuthorizationDataRelationshipsUser
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ServiceAuthorizationDataRelationshipsUser();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _ServiceAuthorizationDataRelationshipsUserData["default"].constructFromObject(data['data']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return ServiceAuthorizationDataRelationshipsUser;
+}();
+/**
+ * @member {module:model/ServiceAuthorizationDataRelationshipsUserData} data
+ */
+ServiceAuthorizationDataRelationshipsUser.prototype['data'] = undefined;
+var _default = ServiceAuthorizationDataRelationshipsUser;
+exports["default"] = _default;
+
+/***/ }),
+/***/ 48555:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _TypeUser = _interopRequireDefault(__nccwpck_require__(13529));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ServiceAuthorizationDataRelationshipsUserData model module.
+ * @module model/ServiceAuthorizationDataRelationshipsUserData
+ * @version v3.1.0
+ */
+var ServiceAuthorizationDataRelationshipsUserData = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ServiceAuthorizationDataRelationshipsUserData
.
+ * @alias module:model/ServiceAuthorizationDataRelationshipsUserData
+ */
+ function ServiceAuthorizationDataRelationshipsUserData() {
+ _classCallCheck(this, ServiceAuthorizationDataRelationshipsUserData);
+ ServiceAuthorizationDataRelationshipsUserData.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ServiceAuthorizationDataRelationshipsUserData, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a ServiceAuthorizationDataRelationshipsUserData
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ServiceAuthorizationDataRelationshipsUserData} obj Optional instance to populate.
+ * @return {module:model/ServiceAuthorizationDataRelationshipsUserData} The populated ServiceAuthorizationDataRelationshipsUserData
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ServiceAuthorizationDataRelationshipsUserData();
+ if (data.hasOwnProperty('type')) {
+ obj['type'] = _TypeUser["default"].constructFromObject(data['type']);
+ }
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return ServiceAuthorizationDataRelationshipsUserData;
+}();
+/**
+ * @member {module:model/TypeUser} type
+ */
+ServiceAuthorizationDataRelationshipsUserData.prototype['type'] = undefined;
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+/**
+ * @member {String} id
+ */
+ServiceAuthorizationDataRelationshipsUserData.prototype['id'] = undefined;
+var _default = ServiceAuthorizationDataRelationshipsUserData;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 19206:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _ServiceAuthorizationResponseData = _interopRequireDefault(__nccwpck_require__(42082));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceAuthorizationResponse model module.
* @module model/ServiceAuthorizationResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceAuthorizationResponse = /*#__PURE__*/function () {
/**
@@ -104041,19 +99689,18 @@ var ServiceAuthorizationResponse = /*#__PURE__*/function () {
*/
function ServiceAuthorizationResponse() {
_classCallCheck(this, ServiceAuthorizationResponse);
-
ServiceAuthorizationResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceAuthorizationResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceAuthorizationResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -104061,29 +99708,23 @@ var ServiceAuthorizationResponse = /*#__PURE__*/function () {
* @param {module:model/ServiceAuthorizationResponse} obj Optional instance to populate.
* @return {module:model/ServiceAuthorizationResponse} The populated ServiceAuthorizationResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceAuthorizationResponse();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ServiceAuthorizationResponseData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return ServiceAuthorizationResponse;
}();
/**
* @member {module:model/ServiceAuthorizationResponseData} data
*/
-
-
ServiceAuthorizationResponse.prototype['data'] = undefined;
var _default = ServiceAuthorizationResponse;
exports["default"] = _default;
@@ -104100,33 +99741,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
-var _RelationshipService = _interopRequireDefault(__nccwpck_require__(12979));
-
-var _RelationshipUser = _interopRequireDefault(__nccwpck_require__(6378));
-
var _ServiceAuthorizationData = _interopRequireDefault(__nccwpck_require__(12097));
-
+var _ServiceAuthorizationDataRelationships = _interopRequireDefault(__nccwpck_require__(95296));
var _ServiceAuthorizationResponseDataAllOf = _interopRequireDefault(__nccwpck_require__(59581));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
var _TypeServiceAuthorization = _interopRequireDefault(__nccwpck_require__(3642));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceAuthorizationResponseData model module.
* @module model/ServiceAuthorizationResponseData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceAuthorizationResponseData = /*#__PURE__*/function () {
/**
@@ -104137,23 +99768,20 @@ var ServiceAuthorizationResponseData = /*#__PURE__*/function () {
*/
function ServiceAuthorizationResponseData() {
_classCallCheck(this, ServiceAuthorizationResponseData);
-
_ServiceAuthorizationData["default"].initialize(this);
-
_ServiceAuthorizationResponseDataAllOf["default"].initialize(this);
-
ServiceAuthorizationResponseData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceAuthorizationResponseData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceAuthorizationResponseData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -104161,87 +99789,72 @@ var ServiceAuthorizationResponseData = /*#__PURE__*/function () {
* @param {module:model/ServiceAuthorizationResponseData} obj Optional instance to populate.
* @return {module:model/ServiceAuthorizationResponseData} The populated ServiceAuthorizationResponseData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceAuthorizationResponseData();
-
_ServiceAuthorizationData["default"].constructFromObject(data, obj);
-
_ServiceAuthorizationResponseDataAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeServiceAuthorization["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _Timestamps["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
- obj['relationships'] = _ApiClient["default"].convertToType(data['relationships'], Object);
+ obj['relationships'] = _ServiceAuthorizationDataRelationships["default"].constructFromObject(data['relationships']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return ServiceAuthorizationResponseData;
}();
/**
* @member {module:model/TypeServiceAuthorization} type
*/
-
-
ServiceAuthorizationResponseData.prototype['type'] = undefined;
+
/**
* @member {module:model/Timestamps} attributes
*/
-
ServiceAuthorizationResponseData.prototype['attributes'] = undefined;
+
/**
- * @member {Object} relationships
+ * @member {module:model/ServiceAuthorizationDataRelationships} relationships
*/
-
ServiceAuthorizationResponseData.prototype['relationships'] = undefined;
+
/**
* @member {String} id
*/
+ServiceAuthorizationResponseData.prototype['id'] = undefined;
-ServiceAuthorizationResponseData.prototype['id'] = undefined; // Implement ServiceAuthorizationData interface:
-
+// Implement ServiceAuthorizationData interface:
/**
* @member {module:model/TypeServiceAuthorization} type
*/
-
_ServiceAuthorizationData["default"].prototype['type'] = undefined;
/**
* @member {module:model/ServiceAuthorizationDataAttributes} attributes
*/
-
_ServiceAuthorizationData["default"].prototype['attributes'] = undefined;
/**
- * @member {Object} relationships
+ * @member {module:model/ServiceAuthorizationDataRelationships} relationships
*/
-
-_ServiceAuthorizationData["default"].prototype['relationships'] = undefined; // Implement ServiceAuthorizationResponseDataAllOf interface:
-
+_ServiceAuthorizationData["default"].prototype['relationships'] = undefined;
+// Implement ServiceAuthorizationResponseDataAllOf interface:
/**
* @member {String} id
*/
-
_ServiceAuthorizationResponseDataAllOf["default"].prototype['id'] = undefined;
/**
* @member {module:model/Timestamps} attributes
*/
-
_ServiceAuthorizationResponseDataAllOf["default"].prototype['attributes'] = undefined;
var _default = ServiceAuthorizationResponseData;
exports["default"] = _default;
@@ -104258,23 +99871,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceAuthorizationResponseDataAllOf model module.
* @module model/ServiceAuthorizationResponseDataAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceAuthorizationResponseDataAllOf = /*#__PURE__*/function () {
/**
@@ -104283,19 +99892,18 @@ var ServiceAuthorizationResponseDataAllOf = /*#__PURE__*/function () {
*/
function ServiceAuthorizationResponseDataAllOf() {
_classCallCheck(this, ServiceAuthorizationResponseDataAllOf);
-
ServiceAuthorizationResponseDataAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceAuthorizationResponseDataAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceAuthorizationResponseDataAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -104303,38 +99911,31 @@ var ServiceAuthorizationResponseDataAllOf = /*#__PURE__*/function () {
* @param {module:model/ServiceAuthorizationResponseDataAllOf} obj Optional instance to populate.
* @return {module:model/ServiceAuthorizationResponseDataAllOf} The populated ServiceAuthorizationResponseDataAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceAuthorizationResponseDataAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _Timestamps["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return ServiceAuthorizationResponseDataAllOf;
}();
/**
* @member {String} id
*/
-
-
ServiceAuthorizationResponseDataAllOf.prototype['id'] = undefined;
+
/**
* @member {module:model/Timestamps} attributes
*/
-
ServiceAuthorizationResponseDataAllOf.prototype['attributes'] = undefined;
var _default = ServiceAuthorizationResponseDataAllOf;
exports["default"] = _default;
@@ -104351,31 +99952,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Pagination = _interopRequireDefault(__nccwpck_require__(89281));
-
var _PaginationLinks = _interopRequireDefault(__nccwpck_require__(97779));
-
var _PaginationMeta = _interopRequireDefault(__nccwpck_require__(93986));
-
var _ServiceAuthorizationResponseData = _interopRequireDefault(__nccwpck_require__(42082));
-
var _ServiceAuthorizationsResponseAllOf = _interopRequireDefault(__nccwpck_require__(69053));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceAuthorizationsResponse model module.
* @module model/ServiceAuthorizationsResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceAuthorizationsResponse = /*#__PURE__*/function () {
/**
@@ -104386,23 +99979,20 @@ var ServiceAuthorizationsResponse = /*#__PURE__*/function () {
*/
function ServiceAuthorizationsResponse() {
_classCallCheck(this, ServiceAuthorizationsResponse);
-
_Pagination["default"].initialize(this);
-
_ServiceAuthorizationsResponseAllOf["default"].initialize(this);
-
ServiceAuthorizationsResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceAuthorizationsResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceAuthorizationsResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -104410,68 +100000,56 @@ var ServiceAuthorizationsResponse = /*#__PURE__*/function () {
* @param {module:model/ServiceAuthorizationsResponse} obj Optional instance to populate.
* @return {module:model/ServiceAuthorizationsResponse} The populated ServiceAuthorizationsResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceAuthorizationsResponse();
-
_Pagination["default"].constructFromObject(data, obj);
-
_ServiceAuthorizationsResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('links')) {
obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_ServiceAuthorizationResponseData["default"]]);
}
}
-
return obj;
}
}]);
-
return ServiceAuthorizationsResponse;
}();
/**
* @member {module:model/PaginationLinks} links
*/
-
-
ServiceAuthorizationsResponse.prototype['links'] = undefined;
+
/**
* @member {module:model/PaginationMeta} meta
*/
-
ServiceAuthorizationsResponse.prototype['meta'] = undefined;
+
/**
* @member {Array.ServiceAuthorizationsResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -104533,29 +100106,23 @@ var ServiceAuthorizationsResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/ServiceAuthorizationsResponseAllOf} obj Optional instance to populate.
* @return {module:model/ServiceAuthorizationsResponseAllOf} The populated ServiceAuthorizationsResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceAuthorizationsResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_ServiceAuthorizationResponseData["default"]]);
}
}
-
return obj;
}
}]);
-
return ServiceAuthorizationsResponseAllOf;
}();
/**
* @member {Array.ServiceCreate
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -104625,102 +100184,89 @@ var ServiceCreate = /*#__PURE__*/function () {
* @param {module:model/ServiceCreate} obj Optional instance to populate.
* @return {module:model/ServiceCreate} The populated ServiceCreate
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceCreate();
-
_Service["default"].constructFromObject(data, obj);
-
_ServiceCreateAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('customer_id')) {
obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
}
}
-
return obj;
}
}]);
-
return ServiceCreate;
}();
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
-
ServiceCreate.prototype['comment'] = undefined;
+
/**
* The name of the service.
* @member {String} name
*/
-
ServiceCreate.prototype['name'] = undefined;
+
/**
+ * Alphanumeric string identifying the customer.
* @member {String} customer_id
*/
-
ServiceCreate.prototype['customer_id'] = undefined;
+
/**
* The type of this service.
* @member {module:model/ServiceCreate.TypeEnum} type
*/
+ServiceCreate.prototype['type'] = undefined;
-ServiceCreate.prototype['type'] = undefined; // Implement Service interface:
-
+// Implement Service interface:
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
_Service["default"].prototype['comment'] = undefined;
/**
* The name of the service.
* @member {String} name
*/
-
_Service["default"].prototype['name'] = undefined;
/**
+ * Alphanumeric string identifying the customer.
* @member {String} customer_id
*/
-
-_Service["default"].prototype['customer_id'] = undefined; // Implement ServiceCreateAllOf interface:
-
+_Service["default"].prototype['customer_id'] = undefined;
+// Implement ServiceCreateAllOf interface:
/**
* The type of this service.
* @member {module:model/ServiceCreateAllOf.TypeEnum} type
*/
-
_ServiceCreateAllOf["default"].prototype['type'] = undefined;
+
/**
* Allowed values for the type
property.
* @enum {String}
* @readonly
*/
-
ServiceCreate['TypeEnum'] = {
/**
* value: "vcl"
* @const
*/
"vcl": "vcl",
-
/**
* value: "wasm"
* @const
@@ -104742,21 +100288,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceCreateAllOf model module.
* @module model/ServiceCreateAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceCreateAllOf = /*#__PURE__*/function () {
/**
@@ -104765,19 +100308,18 @@ var ServiceCreateAllOf = /*#__PURE__*/function () {
*/
function ServiceCreateAllOf() {
_classCallCheck(this, ServiceCreateAllOf);
-
ServiceCreateAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceCreateAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceCreateAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -104785,44 +100327,37 @@ var ServiceCreateAllOf = /*#__PURE__*/function () {
* @param {module:model/ServiceCreateAllOf} obj Optional instance to populate.
* @return {module:model/ServiceCreateAllOf} The populated ServiceCreateAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceCreateAllOf();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
}
}
-
return obj;
}
}]);
-
return ServiceCreateAllOf;
}();
/**
* The type of this service.
* @member {module:model/ServiceCreateAllOf.TypeEnum} type
*/
-
-
ServiceCreateAllOf.prototype['type'] = undefined;
+
/**
* Allowed values for the type
property.
* @enum {String}
* @readonly
*/
-
ServiceCreateAllOf['TypeEnum'] = {
/**
* value: "vcl"
* @const
*/
"vcl": "vcl",
-
/**
* value: "wasm"
* @const
@@ -104844,31 +100379,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _SchemasVersionResponse = _interopRequireDefault(__nccwpck_require__(474));
-
var _ServiceDetailAllOf = _interopRequireDefault(__nccwpck_require__(3879));
-
var _ServiceResponse = _interopRequireDefault(__nccwpck_require__(14449));
-
var _ServiceVersionDetail = _interopRequireDefault(__nccwpck_require__(67698));
-
var _ServiceVersionDetailOrNull = _interopRequireDefault(__nccwpck_require__(71314));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceDetail model module.
* @module model/ServiceDetail
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceDetail = /*#__PURE__*/function () {
/**
@@ -104879,23 +100406,20 @@ var ServiceDetail = /*#__PURE__*/function () {
*/
function ServiceDetail() {
_classCallCheck(this, ServiceDetail);
-
_ServiceResponse["default"].initialize(this);
-
_ServiceDetailAllOf["default"].initialize(this);
-
ServiceDetail.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceDetail, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceDetail
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -104903,240 +100427,209 @@ var ServiceDetail = /*#__PURE__*/function () {
* @param {module:model/ServiceDetail} obj Optional instance to populate.
* @return {module:model/ServiceDetail} The populated ServiceDetail
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceDetail();
-
_ServiceResponse["default"].constructFromObject(data, obj);
-
_ServiceDetailAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('customer_id')) {
obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('publish_key')) {
obj['publish_key'] = _ApiClient["default"].convertToType(data['publish_key'], 'String');
}
-
if (data.hasOwnProperty('paused')) {
obj['paused'] = _ApiClient["default"].convertToType(data['paused'], 'Boolean');
}
-
if (data.hasOwnProperty('versions')) {
obj['versions'] = _ApiClient["default"].convertToType(data['versions'], [_SchemasVersionResponse["default"]]);
}
-
if (data.hasOwnProperty('active_version')) {
obj['active_version'] = _ServiceVersionDetailOrNull["default"].constructFromObject(data['active_version']);
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ServiceVersionDetail["default"].constructFromObject(data['version']);
}
}
-
return obj;
}
}]);
-
return ServiceDetail;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
ServiceDetail.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
ServiceDetail.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
ServiceDetail.prototype['updated_at'] = undefined;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
ServiceDetail.prototype['comment'] = undefined;
+
/**
* The name of the service.
* @member {String} name
*/
-
ServiceDetail.prototype['name'] = undefined;
+
/**
+ * Alphanumeric string identifying the customer.
* @member {String} customer_id
*/
-
ServiceDetail.prototype['customer_id'] = undefined;
+
/**
* The type of this service.
* @member {module:model/ServiceDetail.TypeEnum} type
*/
-
ServiceDetail.prototype['type'] = undefined;
+
/**
* @member {String} id
*/
-
ServiceDetail.prototype['id'] = undefined;
+
/**
* Unused at this time.
* @member {String} publish_key
*/
-
ServiceDetail.prototype['publish_key'] = undefined;
+
/**
* Whether the service is paused. Services are paused due to a lack of traffic for an extended period of time. Services are resumed either when a draft version is activated or a locked version is cloned and reactivated.
* @member {Boolean} paused
*/
-
ServiceDetail.prototype['paused'] = undefined;
+
/**
* A list of [versions](/reference/api/services/version/) associated with the service.
* @member {Array.type
property.
* @enum {String}
* @readonly
*/
-
ServiceDetail['TypeEnum'] = {
/**
* value: "vcl"
* @const
*/
"vcl": "vcl",
-
/**
* value: "wasm"
* @const
@@ -105158,25 +100651,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _ServiceVersionDetail = _interopRequireDefault(__nccwpck_require__(67698));
-
var _ServiceVersionDetailOrNull = _interopRequireDefault(__nccwpck_require__(71314));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceDetailAllOf model module.
* @module model/ServiceDetailAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceDetailAllOf = /*#__PURE__*/function () {
/**
@@ -105185,19 +100673,18 @@ var ServiceDetailAllOf = /*#__PURE__*/function () {
*/
function ServiceDetailAllOf() {
_classCallCheck(this, ServiceDetailAllOf);
-
ServiceDetailAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceDetailAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceDetailAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -105205,38 +100692,31 @@ var ServiceDetailAllOf = /*#__PURE__*/function () {
* @param {module:model/ServiceDetailAllOf} obj Optional instance to populate.
* @return {module:model/ServiceDetailAllOf} The populated ServiceDetailAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceDetailAllOf();
-
if (data.hasOwnProperty('active_version')) {
obj['active_version'] = _ServiceVersionDetailOrNull["default"].constructFromObject(data['active_version']);
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ServiceVersionDetail["default"].constructFromObject(data['version']);
}
}
-
return obj;
}
}]);
-
return ServiceDetailAllOf;
}();
/**
* @member {module:model/ServiceVersionDetailOrNull} active_version
*/
-
-
ServiceDetailAllOf.prototype['active_version'] = undefined;
+
/**
* @member {module:model/ServiceVersionDetail} version
*/
-
ServiceDetailAllOf.prototype['version'] = undefined;
var _default = ServiceDetailAllOf;
exports["default"] = _default;
@@ -105253,21 +100733,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceIdAndVersion model module.
* @module model/ServiceIdAndVersion
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceIdAndVersion = /*#__PURE__*/function () {
/**
@@ -105276,19 +100753,18 @@ var ServiceIdAndVersion = /*#__PURE__*/function () {
*/
function ServiceIdAndVersion() {
_classCallCheck(this, ServiceIdAndVersion);
-
ServiceIdAndVersion.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceIdAndVersion, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceIdAndVersion
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -105296,38 +100772,31 @@ var ServiceIdAndVersion = /*#__PURE__*/function () {
* @param {module:model/ServiceIdAndVersion} obj Optional instance to populate.
* @return {module:model/ServiceIdAndVersion} The populated ServiceIdAndVersion
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceIdAndVersion();
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return ServiceIdAndVersion;
}();
/**
* @member {String} service_id
*/
-
-
ServiceIdAndVersion.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
-
ServiceIdAndVersion.prototype['version'] = undefined;
var _default = ServiceIdAndVersion;
exports["default"] = _default;
@@ -105344,23 +100813,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _ServiceInvitationData = _interopRequireDefault(__nccwpck_require__(7635));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceInvitation model module.
* @module model/ServiceInvitation
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceInvitation = /*#__PURE__*/function () {
/**
@@ -105369,19 +100834,18 @@ var ServiceInvitation = /*#__PURE__*/function () {
*/
function ServiceInvitation() {
_classCallCheck(this, ServiceInvitation);
-
ServiceInvitation.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceInvitation, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceInvitation
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -105389,29 +100853,23 @@ var ServiceInvitation = /*#__PURE__*/function () {
* @param {module:model/ServiceInvitation} obj Optional instance to populate.
* @return {module:model/ServiceInvitation} The populated ServiceInvitation
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceInvitation();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ServiceInvitationData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return ServiceInvitation;
}();
/**
* @member {module:model/ServiceInvitationData} data
*/
-
-
ServiceInvitation.prototype['data'] = undefined;
var _default = ServiceInvitation;
exports["default"] = _default;
@@ -105428,27 +100886,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
-var _RelationshipService = _interopRequireDefault(__nccwpck_require__(12979));
-
var _ServiceInvitationDataAttributes = _interopRequireDefault(__nccwpck_require__(33193));
-
+var _ServiceInvitationDataRelationships = _interopRequireDefault(__nccwpck_require__(79368));
var _TypeServiceInvitation = _interopRequireDefault(__nccwpck_require__(93394));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceInvitationData model module.
* @module model/ServiceInvitationData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceInvitationData = /*#__PURE__*/function () {
/**
@@ -105457,19 +100909,18 @@ var ServiceInvitationData = /*#__PURE__*/function () {
*/
function ServiceInvitationData() {
_classCallCheck(this, ServiceInvitationData);
-
ServiceInvitationData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceInvitationData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceInvitationData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -105477,48 +100928,39 @@ var ServiceInvitationData = /*#__PURE__*/function () {
* @param {module:model/ServiceInvitationData} obj Optional instance to populate.
* @return {module:model/ServiceInvitationData} The populated ServiceInvitationData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceInvitationData();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeServiceInvitation["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _ServiceInvitationDataAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
- obj['relationships'] = _ApiClient["default"].convertToType(data['relationships'], _RelationshipService["default"]);
+ obj['relationships'] = _ServiceInvitationDataRelationships["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return ServiceInvitationData;
}();
/**
* @member {module:model/TypeServiceInvitation} type
*/
-
-
ServiceInvitationData.prototype['type'] = undefined;
+
/**
* @member {module:model/ServiceInvitationDataAttributes} attributes
*/
-
ServiceInvitationData.prototype['attributes'] = undefined;
+
/**
- * Service the accepting user will have access to.
- * @member {module:model/RelationshipService} relationships
+ * @member {module:model/ServiceInvitationDataRelationships} relationships
*/
-
ServiceInvitationData.prototype['relationships'] = undefined;
var _default = ServiceInvitationData;
exports["default"] = _default;
@@ -105535,21 +100977,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceInvitationDataAttributes model module.
* @module model/ServiceInvitationDataAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceInvitationDataAttributes = /*#__PURE__*/function () {
/**
@@ -105558,19 +100997,18 @@ var ServiceInvitationDataAttributes = /*#__PURE__*/function () {
*/
function ServiceInvitationDataAttributes() {
_classCallCheck(this, ServiceInvitationDataAttributes);
-
ServiceInvitationDataAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceInvitationDataAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceInvitationDataAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -105578,22 +101016,18 @@ var ServiceInvitationDataAttributes = /*#__PURE__*/function () {
* @param {module:model/ServiceInvitationDataAttributes} obj Optional instance to populate.
* @return {module:model/ServiceInvitationDataAttributes} The populated ServiceInvitationDataAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceInvitationDataAttributes();
-
if (data.hasOwnProperty('permission')) {
obj['permission'] = _ApiClient["default"].convertToType(data['permission'], 'String');
}
}
-
return obj;
}
}]);
-
return ServiceInvitationDataAttributes;
}();
/**
@@ -105601,34 +101035,29 @@ var ServiceInvitationDataAttributes = /*#__PURE__*/function () {
* @member {module:model/ServiceInvitationDataAttributes.PermissionEnum} permission
* @default 'full'
*/
-
-
ServiceInvitationDataAttributes.prototype['permission'] = undefined;
+
/**
* Allowed values for the permission
property.
* @enum {String}
* @readonly
*/
-
ServiceInvitationDataAttributes['PermissionEnum'] = {
/**
* value: "full"
* @const
*/
"full": "full",
-
/**
* value: "read_only"
* @const
*/
"read_only": "read_only",
-
/**
* value: "purge_select"
* @const
*/
"purge_select": "purge_select",
-
/**
* value: "purge_all"
* @const
@@ -105640,7 +101069,7 @@ exports["default"] = _default;
/***/ }),
-/***/ 29258:
+/***/ 79368:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -105650,27 +101079,95 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _RelationshipMemberService = _interopRequireDefault(__nccwpck_require__(91519));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ServiceInvitationDataRelationships model module.
+ * @module model/ServiceInvitationDataRelationships
+ * @version v3.1.0
+ */
+var ServiceInvitationDataRelationships = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ServiceInvitationDataRelationships
.
+ * Service the accepting user will have access to.
+ * @alias module:model/ServiceInvitationDataRelationships
+ */
+ function ServiceInvitationDataRelationships() {
+ _classCallCheck(this, ServiceInvitationDataRelationships);
+ ServiceInvitationDataRelationships.initialize(this);
+ }
-var _ServiceInvitation = _interopRequireDefault(__nccwpck_require__(42127));
-
-var _ServiceInvitationResponseAllOf = _interopRequireDefault(__nccwpck_require__(20532));
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ServiceInvitationDataRelationships, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
-var _ServiceInvitationResponseAllOfData = _interopRequireDefault(__nccwpck_require__(35921));
+ /**
+ * Constructs a ServiceInvitationDataRelationships
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ServiceInvitationDataRelationships} obj Optional instance to populate.
+ * @return {module:model/ServiceInvitationDataRelationships} The populated ServiceInvitationDataRelationships
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ServiceInvitationDataRelationships();
+ if (data.hasOwnProperty('service')) {
+ obj['service'] = _RelationshipMemberService["default"].constructFromObject(data['service']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return ServiceInvitationDataRelationships;
+}();
+/**
+ * @member {module:model/RelationshipMemberService} service
+ */
+ServiceInvitationDataRelationships.prototype['service'] = undefined;
+var _default = ServiceInvitationDataRelationships;
+exports["default"] = _default;
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+/***/ }),
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+/***/ 29258:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+"use strict";
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _ServiceInvitation = _interopRequireDefault(__nccwpck_require__(42127));
+var _ServiceInvitationResponseAllOf = _interopRequireDefault(__nccwpck_require__(20532));
+var _ServiceInvitationResponseAllOfData = _interopRequireDefault(__nccwpck_require__(35921));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceInvitationResponse model module.
* @module model/ServiceInvitationResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceInvitationResponse = /*#__PURE__*/function () {
/**
@@ -105681,23 +101178,20 @@ var ServiceInvitationResponse = /*#__PURE__*/function () {
*/
function ServiceInvitationResponse() {
_classCallCheck(this, ServiceInvitationResponse);
-
_ServiceInvitation["default"].initialize(this);
-
_ServiceInvitationResponseAllOf["default"].initialize(this);
-
ServiceInvitationResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceInvitationResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceInvitationResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -105705,45 +101199,36 @@ var ServiceInvitationResponse = /*#__PURE__*/function () {
* @param {module:model/ServiceInvitationResponse} obj Optional instance to populate.
* @return {module:model/ServiceInvitationResponse} The populated ServiceInvitationResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceInvitationResponse();
-
_ServiceInvitation["default"].constructFromObject(data, obj);
-
_ServiceInvitationResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ServiceInvitationResponseAllOfData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return ServiceInvitationResponse;
}();
/**
* @member {module:model/ServiceInvitationResponseAllOfData} data
*/
+ServiceInvitationResponse.prototype['data'] = undefined;
-
-ServiceInvitationResponse.prototype['data'] = undefined; // Implement ServiceInvitation interface:
-
+// Implement ServiceInvitation interface:
/**
* @member {module:model/ServiceInvitationData} data
*/
-
-_ServiceInvitation["default"].prototype['data'] = undefined; // Implement ServiceInvitationResponseAllOf interface:
-
+_ServiceInvitation["default"].prototype['data'] = undefined;
+// Implement ServiceInvitationResponseAllOf interface:
/**
* @member {module:model/ServiceInvitationResponseAllOfData} data
*/
-
_ServiceInvitationResponseAllOf["default"].prototype['data'] = undefined;
var _default = ServiceInvitationResponse;
exports["default"] = _default;
@@ -105760,23 +101245,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _ServiceInvitationResponseAllOfData = _interopRequireDefault(__nccwpck_require__(35921));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceInvitationResponseAllOf model module.
* @module model/ServiceInvitationResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceInvitationResponseAllOf = /*#__PURE__*/function () {
/**
@@ -105785,19 +101266,18 @@ var ServiceInvitationResponseAllOf = /*#__PURE__*/function () {
*/
function ServiceInvitationResponseAllOf() {
_classCallCheck(this, ServiceInvitationResponseAllOf);
-
ServiceInvitationResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceInvitationResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceInvitationResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -105805,29 +101285,23 @@ var ServiceInvitationResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/ServiceInvitationResponseAllOf} obj Optional instance to populate.
* @return {module:model/ServiceInvitationResponseAllOf} The populated ServiceInvitationResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceInvitationResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ServiceInvitationResponseAllOfData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return ServiceInvitationResponseAllOf;
}();
/**
* @member {module:model/ServiceInvitationResponseAllOfData} data
*/
-
-
ServiceInvitationResponseAllOf.prototype['data'] = undefined;
var _default = ServiceInvitationResponseAllOf;
exports["default"] = _default;
@@ -105844,23 +101318,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceInvitationResponseAllOfData model module.
* @module model/ServiceInvitationResponseAllOfData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceInvitationResponseAllOfData = /*#__PURE__*/function () {
/**
@@ -105869,19 +101339,18 @@ var ServiceInvitationResponseAllOfData = /*#__PURE__*/function () {
*/
function ServiceInvitationResponseAllOfData() {
_classCallCheck(this, ServiceInvitationResponseAllOfData);
-
ServiceInvitationResponseAllOfData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceInvitationResponseAllOfData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceInvitationResponseAllOfData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -105889,38 +101358,31 @@ var ServiceInvitationResponseAllOfData = /*#__PURE__*/function () {
* @param {module:model/ServiceInvitationResponseAllOfData} obj Optional instance to populate.
* @return {module:model/ServiceInvitationResponseAllOfData} The populated ServiceInvitationResponseAllOfData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceInvitationResponseAllOfData();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _Timestamps["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return ServiceInvitationResponseAllOfData;
}();
/**
* @member {String} id
*/
-
-
ServiceInvitationResponseAllOfData.prototype['id'] = undefined;
+
/**
* @member {module:model/Timestamps} attributes
*/
-
ServiceInvitationResponseAllOfData.prototype['attributes'] = undefined;
var _default = ServiceInvitationResponseAllOfData;
exports["default"] = _default;
@@ -105937,29 +101399,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _SchemasVersionResponse = _interopRequireDefault(__nccwpck_require__(474));
-
var _ServiceCreate = _interopRequireDefault(__nccwpck_require__(94532));
-
var _ServiceListResponseAllOf = _interopRequireDefault(__nccwpck_require__(9169));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceListResponse model module.
* @module model/ServiceListResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceListResponse = /*#__PURE__*/function () {
/**
@@ -105971,25 +101426,21 @@ var ServiceListResponse = /*#__PURE__*/function () {
*/
function ServiceListResponse() {
_classCallCheck(this, ServiceListResponse);
-
_Timestamps["default"].initialize(this);
-
_ServiceCreate["default"].initialize(this);
-
_ServiceListResponseAllOf["default"].initialize(this);
-
ServiceListResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceListResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceListResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -105997,199 +101448,173 @@ var ServiceListResponse = /*#__PURE__*/function () {
* @param {module:model/ServiceListResponse} obj Optional instance to populate.
* @return {module:model/ServiceListResponse} The populated ServiceListResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceListResponse();
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceCreate["default"].constructFromObject(data, obj);
-
_ServiceListResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('customer_id')) {
obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('versions')) {
obj['versions'] = _ApiClient["default"].convertToType(data['versions'], [_SchemasVersionResponse["default"]]);
}
}
-
return obj;
}
}]);
-
return ServiceListResponse;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
ServiceListResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
ServiceListResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
ServiceListResponse.prototype['updated_at'] = undefined;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
ServiceListResponse.prototype['comment'] = undefined;
+
/**
* The name of the service.
* @member {String} name
*/
-
ServiceListResponse.prototype['name'] = undefined;
+
/**
+ * Alphanumeric string identifying the customer.
* @member {String} customer_id
*/
-
ServiceListResponse.prototype['customer_id'] = undefined;
+
/**
* The type of this service.
* @member {module:model/ServiceListResponse.TypeEnum} type
*/
-
ServiceListResponse.prototype['type'] = undefined;
+
/**
* @member {String} id
*/
-
ServiceListResponse.prototype['id'] = undefined;
+
/**
* Current [version](/reference/api/services/version/) of the service.
* @member {Number} version
*/
-
ServiceListResponse.prototype['version'] = undefined;
+
/**
* A list of [versions](/reference/api/services/version/) associated with the service.
* @member {Array.type
property.
* @enum {String}
* @readonly
*/
-
ServiceListResponse['TypeEnum'] = {
/**
* value: "vcl"
* @const
*/
"vcl": "vcl",
-
/**
* value: "wasm"
* @const
@@ -106211,23 +101636,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _SchemasVersionResponse = _interopRequireDefault(__nccwpck_require__(474));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceListResponseAllOf model module.
* @module model/ServiceListResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceListResponseAllOf = /*#__PURE__*/function () {
/**
@@ -106236,19 +101657,18 @@ var ServiceListResponseAllOf = /*#__PURE__*/function () {
*/
function ServiceListResponseAllOf() {
_classCallCheck(this, ServiceListResponseAllOf);
-
ServiceListResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceListResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceListResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -106256,49 +101676,41 @@ var ServiceListResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/ServiceListResponseAllOf} obj Optional instance to populate.
* @return {module:model/ServiceListResponseAllOf} The populated ServiceListResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceListResponseAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('versions')) {
obj['versions'] = _ApiClient["default"].convertToType(data['versions'], [_SchemasVersionResponse["default"]]);
}
}
-
return obj;
}
}]);
-
return ServiceListResponseAllOf;
}();
/**
* @member {String} id
*/
-
-
ServiceListResponseAllOf.prototype['id'] = undefined;
+
/**
* Current [version](/reference/api/services/version/) of the service.
* @member {Number} version
*/
-
ServiceListResponseAllOf.prototype['version'] = undefined;
+
/**
* A list of [versions](/reference/api/services/version/) associated with the service.
* @member {Array.ServiceResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -106375,215 +101776,187 @@ var ServiceResponse = /*#__PURE__*/function () {
* @param {module:model/ServiceResponse} obj Optional instance to populate.
* @return {module:model/ServiceResponse} The populated ServiceResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceResponse();
-
_Timestamps["default"].constructFromObject(data, obj);
-
_ServiceCreate["default"].constructFromObject(data, obj);
-
_ServiceResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('customer_id')) {
obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('publish_key')) {
obj['publish_key'] = _ApiClient["default"].convertToType(data['publish_key'], 'String');
}
-
if (data.hasOwnProperty('paused')) {
obj['paused'] = _ApiClient["default"].convertToType(data['paused'], 'Boolean');
}
-
if (data.hasOwnProperty('versions')) {
obj['versions'] = _ApiClient["default"].convertToType(data['versions'], [_SchemasVersionResponse["default"]]);
}
}
-
return obj;
}
}]);
-
return ServiceResponse;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
ServiceResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
ServiceResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
ServiceResponse.prototype['updated_at'] = undefined;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
ServiceResponse.prototype['comment'] = undefined;
+
/**
* The name of the service.
* @member {String} name
*/
-
ServiceResponse.prototype['name'] = undefined;
+
/**
+ * Alphanumeric string identifying the customer.
* @member {String} customer_id
*/
-
ServiceResponse.prototype['customer_id'] = undefined;
+
/**
* The type of this service.
* @member {module:model/ServiceResponse.TypeEnum} type
*/
-
ServiceResponse.prototype['type'] = undefined;
+
/**
* @member {String} id
*/
-
ServiceResponse.prototype['id'] = undefined;
+
/**
* Unused at this time.
* @member {String} publish_key
*/
-
ServiceResponse.prototype['publish_key'] = undefined;
+
/**
* Whether the service is paused. Services are paused due to a lack of traffic for an extended period of time. Services are resumed either when a draft version is activated or a locked version is cloned and reactivated.
* @member {Boolean} paused
*/
-
ServiceResponse.prototype['paused'] = undefined;
+
/**
* A list of [versions](/reference/api/services/version/) associated with the service.
* @member {Array.type
property.
* @enum {String}
* @readonly
*/
-
ServiceResponse['TypeEnum'] = {
/**
* value: "vcl"
* @const
*/
"vcl": "vcl",
-
/**
* value: "wasm"
* @const
@@ -106605,23 +101978,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _SchemasVersionResponse = _interopRequireDefault(__nccwpck_require__(474));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The ServiceResponseAllOf model module.
* @module model/ServiceResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var ServiceResponseAllOf = /*#__PURE__*/function () {
/**
@@ -106630,19 +101999,18 @@ var ServiceResponseAllOf = /*#__PURE__*/function () {
*/
function ServiceResponseAllOf() {
_classCallCheck(this, ServiceResponseAllOf);
-
ServiceResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -106650,59 +102018,50 @@ var ServiceResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/ServiceResponseAllOf} obj Optional instance to populate.
* @return {module:model/ServiceResponseAllOf} The populated ServiceResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceResponseAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('publish_key')) {
obj['publish_key'] = _ApiClient["default"].convertToType(data['publish_key'], 'String');
}
-
if (data.hasOwnProperty('paused')) {
obj['paused'] = _ApiClient["default"].convertToType(data['paused'], 'Boolean');
}
-
if (data.hasOwnProperty('versions')) {
obj['versions'] = _ApiClient["default"].convertToType(data['versions'], [_SchemasVersionResponse["default"]]);
}
}
-
return obj;
}
}]);
-
return ServiceResponseAllOf;
}();
/**
* @member {String} id
*/
-
-
ServiceResponseAllOf.prototype['id'] = undefined;
+
/**
* Unused at this time.
* @member {String} publish_key
*/
-
ServiceResponseAllOf.prototype['publish_key'] = undefined;
+
/**
* Whether the service is paused. Services are paused due to a lack of traffic for an extended period of time. Services are resumed either when a draft version is activated or a locked version is cloned and reactivated.
* @member {Boolean} paused
*/
-
ServiceResponseAllOf.prototype['paused'] = undefined;
+
/**
* A list of [versions](/reference/api/services/version/) associated with the service.
* @member {Array.ServiceVersionDetail
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -106798,122 +102136,92 @@ var ServiceVersionDetail = /*#__PURE__*/function () {
* @param {module:model/ServiceVersionDetail} obj Optional instance to populate.
* @return {module:model/ServiceVersionDetail} The populated ServiceVersionDetail
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceVersionDetail();
-
_SchemasVersionResponse["default"].constructFromObject(data, obj);
-
_VersionDetail["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('active')) {
obj['active'] = _ApiClient["default"].convertToType(data['active'], 'Boolean');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('deployed')) {
obj['deployed'] = _ApiClient["default"].convertToType(data['deployed'], 'Boolean');
}
-
if (data.hasOwnProperty('locked')) {
obj['locked'] = _ApiClient["default"].convertToType(data['locked'], 'Boolean');
}
-
if (data.hasOwnProperty('number')) {
obj['number'] = _ApiClient["default"].convertToType(data['number'], 'Number');
}
-
if (data.hasOwnProperty('staging')) {
obj['staging'] = _ApiClient["default"].convertToType(data['staging'], 'Boolean');
}
-
if (data.hasOwnProperty('testing')) {
obj['testing'] = _ApiClient["default"].convertToType(data['testing'], 'Boolean');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('backends')) {
obj['backends'] = _ApiClient["default"].convertToType(data['backends'], [_BackendResponse["default"]]);
}
-
if (data.hasOwnProperty('cache_settings')) {
obj['cache_settings'] = _ApiClient["default"].convertToType(data['cache_settings'], [_CacheSettingResponse["default"]]);
}
-
if (data.hasOwnProperty('conditions')) {
obj['conditions'] = _ApiClient["default"].convertToType(data['conditions'], [_ConditionResponse["default"]]);
}
-
if (data.hasOwnProperty('directors')) {
obj['directors'] = _ApiClient["default"].convertToType(data['directors'], [_Director["default"]]);
}
-
if (data.hasOwnProperty('domains')) {
obj['domains'] = _ApiClient["default"].convertToType(data['domains'], [_DomainResponse["default"]]);
}
-
if (data.hasOwnProperty('gzips')) {
obj['gzips'] = _ApiClient["default"].convertToType(data['gzips'], [_GzipResponse["default"]]);
}
-
if (data.hasOwnProperty('headers')) {
obj['headers'] = _ApiClient["default"].convertToType(data['headers'], [_HeaderResponse["default"]]);
}
-
if (data.hasOwnProperty('healthchecks')) {
obj['healthchecks'] = _ApiClient["default"].convertToType(data['healthchecks'], [_HealthcheckResponse["default"]]);
}
-
if (data.hasOwnProperty('request_settings')) {
obj['request_settings'] = _ApiClient["default"].convertToType(data['request_settings'], [_RequestSettingsResponse["default"]]);
}
-
if (data.hasOwnProperty('response_objects')) {
obj['response_objects'] = _ApiClient["default"].convertToType(data['response_objects'], [_ResponseObjectResponse["default"]]);
}
-
if (data.hasOwnProperty('settings')) {
- obj['settings'] = _ApiClient["default"].convertToType(data['settings'], _Settings["default"]);
+ obj['settings'] = _VersionDetailSettings["default"].constructFromObject(data['settings']);
}
-
if (data.hasOwnProperty('snippets')) {
obj['snippets'] = _ApiClient["default"].convertToType(data['snippets'], [_SchemasSnippetResponse["default"]]);
}
-
if (data.hasOwnProperty('vcls')) {
- obj['vcls'] = _ApiClient["default"].convertToType(data['vcls'], [_SchemasVclResponse["default"]]);
+ obj['vcls'] = _ApiClient["default"].convertToType(data['vcls'], [_VclResponse["default"]]);
}
-
if (data.hasOwnProperty('wordpress')) {
obj['wordpress'] = _ApiClient["default"].convertToType(data['wordpress'], [Object]);
}
}
-
return obj;
}
}]);
-
return ServiceVersionDetail;
}();
/**
@@ -106921,309 +102229,281 @@ var ServiceVersionDetail = /*#__PURE__*/function () {
* @member {Boolean} active
* @default false
*/
-
-
ServiceVersionDetail.prototype['active'] = false;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
ServiceVersionDetail.prototype['comment'] = undefined;
+
/**
* Unused at this time.
* @member {Boolean} deployed
*/
-
ServiceVersionDetail.prototype['deployed'] = undefined;
+
/**
* Whether this version is locked or not. Objects can not be added or edited on locked versions.
* @member {Boolean} locked
* @default false
*/
-
ServiceVersionDetail.prototype['locked'] = false;
+
/**
* The number of this version.
* @member {Number} number
*/
-
ServiceVersionDetail.prototype['number'] = undefined;
+
/**
* Unused at this time.
* @member {Boolean} staging
* @default false
*/
-
ServiceVersionDetail.prototype['staging'] = false;
+
/**
* Unused at this time.
* @member {Boolean} testing
* @default false
*/
-
ServiceVersionDetail.prototype['testing'] = false;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
ServiceVersionDetail.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
ServiceVersionDetail.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
ServiceVersionDetail.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
ServiceVersionDetail.prototype['service_id'] = undefined;
+
/**
* List of backends associated to this service.
* @member {Array.ServiceVersionDetailOrNull
.
* @alias module:model/ServiceVersionDetailOrNull
- * @implements module:model/ServiceVersionDetail
+ * @implements module:model/SchemasVersionResponse
+ * @implements module:model/VersionDetail
*/
function ServiceVersionDetailOrNull() {
_classCallCheck(this, ServiceVersionDetailOrNull);
-
- _ServiceVersionDetail["default"].initialize(this);
-
+ _SchemasVersionResponse["default"].initialize(this);
+ _VersionDetail["default"].initialize(this);
ServiceVersionDetailOrNull.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(ServiceVersionDetailOrNull, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a ServiceVersionDetailOrNull
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -107314,120 +102578,92 @@ var ServiceVersionDetailOrNull = /*#__PURE__*/function () {
* @param {module:model/ServiceVersionDetailOrNull} obj Optional instance to populate.
* @return {module:model/ServiceVersionDetailOrNull} The populated ServiceVersionDetailOrNull
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new ServiceVersionDetailOrNull();
-
- _ServiceVersionDetail["default"].constructFromObject(data, obj);
-
+ _SchemasVersionResponse["default"].constructFromObject(data, obj);
+ _VersionDetail["default"].constructFromObject(data, obj);
if (data.hasOwnProperty('active')) {
obj['active'] = _ApiClient["default"].convertToType(data['active'], 'Boolean');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('deployed')) {
obj['deployed'] = _ApiClient["default"].convertToType(data['deployed'], 'Boolean');
}
-
if (data.hasOwnProperty('locked')) {
obj['locked'] = _ApiClient["default"].convertToType(data['locked'], 'Boolean');
}
-
if (data.hasOwnProperty('number')) {
obj['number'] = _ApiClient["default"].convertToType(data['number'], 'Number');
}
-
if (data.hasOwnProperty('staging')) {
obj['staging'] = _ApiClient["default"].convertToType(data['staging'], 'Boolean');
}
-
if (data.hasOwnProperty('testing')) {
obj['testing'] = _ApiClient["default"].convertToType(data['testing'], 'Boolean');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('backends')) {
obj['backends'] = _ApiClient["default"].convertToType(data['backends'], [_BackendResponse["default"]]);
}
-
if (data.hasOwnProperty('cache_settings')) {
obj['cache_settings'] = _ApiClient["default"].convertToType(data['cache_settings'], [_CacheSettingResponse["default"]]);
}
-
if (data.hasOwnProperty('conditions')) {
obj['conditions'] = _ApiClient["default"].convertToType(data['conditions'], [_ConditionResponse["default"]]);
}
-
if (data.hasOwnProperty('directors')) {
obj['directors'] = _ApiClient["default"].convertToType(data['directors'], [_Director["default"]]);
}
-
if (data.hasOwnProperty('domains')) {
obj['domains'] = _ApiClient["default"].convertToType(data['domains'], [_DomainResponse["default"]]);
}
-
if (data.hasOwnProperty('gzips')) {
obj['gzips'] = _ApiClient["default"].convertToType(data['gzips'], [_GzipResponse["default"]]);
}
-
if (data.hasOwnProperty('headers')) {
obj['headers'] = _ApiClient["default"].convertToType(data['headers'], [_HeaderResponse["default"]]);
}
-
if (data.hasOwnProperty('healthchecks')) {
obj['healthchecks'] = _ApiClient["default"].convertToType(data['healthchecks'], [_HealthcheckResponse["default"]]);
}
-
if (data.hasOwnProperty('request_settings')) {
obj['request_settings'] = _ApiClient["default"].convertToType(data['request_settings'], [_RequestSettingsResponse["default"]]);
}
-
if (data.hasOwnProperty('response_objects')) {
obj['response_objects'] = _ApiClient["default"].convertToType(data['response_objects'], [_ResponseObjectResponse["default"]]);
}
-
if (data.hasOwnProperty('settings')) {
- obj['settings'] = _ApiClient["default"].convertToType(data['settings'], _Settings["default"]);
+ obj['settings'] = _VersionDetailSettings["default"].constructFromObject(data['settings']);
}
-
if (data.hasOwnProperty('snippets')) {
obj['snippets'] = _ApiClient["default"].convertToType(data['snippets'], [_SchemasSnippetResponse["default"]]);
}
-
if (data.hasOwnProperty('vcls')) {
- obj['vcls'] = _ApiClient["default"].convertToType(data['vcls'], [_SchemasVclResponse["default"]]);
+ obj['vcls'] = _ApiClient["default"].convertToType(data['vcls'], [_VclResponse["default"]]);
}
-
if (data.hasOwnProperty('wordpress')) {
obj['wordpress'] = _ApiClient["default"].convertToType(data['wordpress'], [Object]);
}
}
-
return obj;
}
}]);
-
return ServiceVersionDetailOrNull;
}();
/**
@@ -107435,309 +102671,282 @@ var ServiceVersionDetailOrNull = /*#__PURE__*/function () {
* @member {Boolean} active
* @default false
*/
-
-
ServiceVersionDetailOrNull.prototype['active'] = false;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
ServiceVersionDetailOrNull.prototype['comment'] = undefined;
+
/**
* Unused at this time.
* @member {Boolean} deployed
*/
-
ServiceVersionDetailOrNull.prototype['deployed'] = undefined;
+
/**
* Whether this version is locked or not. Objects can not be added or edited on locked versions.
* @member {Boolean} locked
* @default false
*/
-
ServiceVersionDetailOrNull.prototype['locked'] = false;
+
/**
* The number of this version.
* @member {Number} number
*/
-
ServiceVersionDetailOrNull.prototype['number'] = undefined;
+
/**
* Unused at this time.
* @member {Boolean} staging
* @default false
*/
-
ServiceVersionDetailOrNull.prototype['staging'] = false;
+
/**
* Unused at this time.
* @member {Boolean} testing
* @default false
*/
-
ServiceVersionDetailOrNull.prototype['testing'] = false;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
ServiceVersionDetailOrNull.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
ServiceVersionDetailOrNull.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
ServiceVersionDetailOrNull.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
ServiceVersionDetailOrNull.prototype['service_id'] = undefined;
+
/**
* List of backends associated to this service.
* @member {Array.Settings
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -107796,62 +103001,53 @@ var Settings = /*#__PURE__*/function () {
* @param {module:model/Settings} obj Optional instance to populate.
* @return {module:model/Settings} The populated Settings
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Settings();
-
if (data.hasOwnProperty('general.default_host')) {
obj['general.default_host'] = _ApiClient["default"].convertToType(data['general.default_host'], 'String');
}
-
if (data.hasOwnProperty('general.default_ttl')) {
obj['general.default_ttl'] = _ApiClient["default"].convertToType(data['general.default_ttl'], 'Number');
}
-
if (data.hasOwnProperty('general.stale_if_error')) {
obj['general.stale_if_error'] = _ApiClient["default"].convertToType(data['general.stale_if_error'], 'Boolean');
}
-
if (data.hasOwnProperty('general.stale_if_error_ttl')) {
obj['general.stale_if_error_ttl'] = _ApiClient["default"].convertToType(data['general.stale_if_error_ttl'], 'Number');
}
}
-
return obj;
}
}]);
-
return Settings;
}();
/**
* The default host name for the version.
* @member {String} general.default_host
*/
-
-
Settings.prototype['general.default_host'] = undefined;
+
/**
* The default time-to-live (TTL) for the version.
* @member {Number} general.default_ttl
*/
-
Settings.prototype['general.default_ttl'] = undefined;
+
/**
* Enables serving a stale object if there is an error.
* @member {Boolean} general.stale_if_error
* @default false
*/
-
Settings.prototype['general.stale_if_error'] = false;
+
/**
* The default time-to-live (TTL) for serving the stale object for the version.
* @member {Number} general.stale_if_error_ttl
* @default 43200
*/
-
Settings.prototype['general.stale_if_error_ttl'] = 43200;
var _default = Settings;
exports["default"] = _default;
@@ -107868,25 +103064,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Settings = _interopRequireDefault(__nccwpck_require__(37819));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The SettingsResponse model module.
* @module model/SettingsResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var SettingsResponse = /*#__PURE__*/function () {
/**
@@ -107897,23 +103088,20 @@ var SettingsResponse = /*#__PURE__*/function () {
*/
function SettingsResponse() {
_classCallCheck(this, SettingsResponse);
-
_Settings["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
SettingsResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(SettingsResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a SettingsResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -107921,122 +103109,104 @@ var SettingsResponse = /*#__PURE__*/function () {
* @param {module:model/SettingsResponse} obj Optional instance to populate.
* @return {module:model/SettingsResponse} The populated SettingsResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new SettingsResponse();
-
_Settings["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('general.default_host')) {
obj['general.default_host'] = _ApiClient["default"].convertToType(data['general.default_host'], 'String');
}
-
if (data.hasOwnProperty('general.default_ttl')) {
obj['general.default_ttl'] = _ApiClient["default"].convertToType(data['general.default_ttl'], 'Number');
}
-
if (data.hasOwnProperty('general.stale_if_error')) {
obj['general.stale_if_error'] = _ApiClient["default"].convertToType(data['general.stale_if_error'], 'Boolean');
}
-
if (data.hasOwnProperty('general.stale_if_error_ttl')) {
obj['general.stale_if_error_ttl'] = _ApiClient["default"].convertToType(data['general.stale_if_error_ttl'], 'Number');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
}
-
return obj;
}
}]);
-
return SettingsResponse;
}();
/**
* The default host name for the version.
* @member {String} general.default_host
*/
-
-
SettingsResponse.prototype['general.default_host'] = undefined;
+
/**
* The default time-to-live (TTL) for the version.
* @member {Number} general.default_ttl
*/
-
SettingsResponse.prototype['general.default_ttl'] = undefined;
+
/**
* Enables serving a stale object if there is an error.
* @member {Boolean} general.stale_if_error
* @default false
*/
-
SettingsResponse.prototype['general.stale_if_error'] = false;
+
/**
* The default time-to-live (TTL) for serving the stale object for the version.
* @member {Number} general.stale_if_error_ttl
* @default 43200
*/
-
SettingsResponse.prototype['general.stale_if_error_ttl'] = 43200;
+
/**
* @member {String} service_id
*/
-
SettingsResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
+SettingsResponse.prototype['version'] = undefined;
-SettingsResponse.prototype['version'] = undefined; // Implement Settings interface:
-
+// Implement Settings interface:
/**
* The default host name for the version.
* @member {String} general.default_host
*/
-
_Settings["default"].prototype['general.default_host'] = undefined;
/**
* The default time-to-live (TTL) for the version.
* @member {Number} general.default_ttl
*/
-
_Settings["default"].prototype['general.default_ttl'] = undefined;
/**
* Enables serving a stale object if there is an error.
* @member {Boolean} general.stale_if_error
* @default false
*/
-
_Settings["default"].prototype['general.stale_if_error'] = false;
/**
* The default time-to-live (TTL) for serving the stale object for the version.
* @member {Number} general.stale_if_error_ttl
* @default 43200
*/
-
-_Settings["default"].prototype['general.stale_if_error_ttl'] = 43200; // Implement ServiceIdAndVersion interface:
-
+_Settings["default"].prototype['general.stale_if_error_ttl'] = 43200;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
_ServiceIdAndVersion["default"].prototype['version'] = undefined;
var _default = SettingsResponse;
exports["default"] = _default;
@@ -108053,21 +103223,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Snippet model module.
* @module model/Snippet
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Snippet = /*#__PURE__*/function () {
/**
@@ -108076,19 +103243,18 @@ var Snippet = /*#__PURE__*/function () {
*/
function Snippet() {
_classCallCheck(this, Snippet);
-
Snippet.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Snippet, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Snippet
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -108096,158 +103262,137 @@ var Snippet = /*#__PURE__*/function () {
* @param {module:model/Snippet} obj Optional instance to populate.
* @return {module:model/Snippet} The populated Snippet
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Snippet();
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('dynamic')) {
obj['dynamic'] = _ApiClient["default"].convertToType(data['dynamic'], 'Number');
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
}
-
if (data.hasOwnProperty('content')) {
obj['content'] = _ApiClient["default"].convertToType(data['content'], 'String');
}
-
if (data.hasOwnProperty('priority')) {
obj['priority'] = _ApiClient["default"].convertToType(data['priority'], 'Number');
}
}
-
return obj;
}
}]);
-
return Snippet;
}();
/**
* The name for the snippet.
* @member {String} name
*/
-
-
Snippet.prototype['name'] = undefined;
+
/**
* Sets the snippet version.
* @member {module:model/Snippet.DynamicEnum} dynamic
*/
-
Snippet.prototype['dynamic'] = undefined;
+
/**
* The location in generated VCL where the snippet should be placed.
* @member {module:model/Snippet.TypeEnum} type
*/
-
Snippet.prototype['type'] = undefined;
+
/**
* The VCL code that specifies exactly what the snippet does.
* @member {String} content
*/
-
Snippet.prototype['content'] = undefined;
+
/**
* Priority determines execution order. Lower numbers execute first.
* @member {Number} priority
* @default 100
*/
-
Snippet.prototype['priority'] = 100;
+
/**
* Allowed values for the dynamic
property.
* @enum {Number}
* @readonly
*/
-
Snippet['DynamicEnum'] = {
/**
* value: 0
* @const
*/
"0": 0,
-
/**
* value: 1
* @const
*/
"1": 1
};
+
/**
* Allowed values for the type
property.
* @enum {String}
* @readonly
*/
-
Snippet['TypeEnum'] = {
/**
* value: "init"
* @const
*/
"init": "init",
-
/**
* value: "recv"
* @const
*/
"recv": "recv",
-
/**
* value: "hash"
* @const
*/
"hash": "hash",
-
/**
* value: "hit"
* @const
*/
"hit": "hit",
-
/**
* value: "miss"
* @const
*/
"miss": "miss",
-
/**
* value: "pass"
* @const
*/
"pass": "pass",
-
/**
* value: "fetch"
* @const
*/
"fetch": "fetch",
-
/**
* value: "error"
* @const
*/
"error": "error",
-
/**
* value: "deliver"
* @const
*/
"deliver": "deliver",
-
/**
* value: "log"
* @const
*/
"log": "log",
-
/**
* value: "none"
* @const
@@ -108269,29 +103414,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Snippet = _interopRequireDefault(__nccwpck_require__(23150));
-
var _SnippetResponseAllOf = _interopRequireDefault(__nccwpck_require__(85977));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The SnippetResponse model module.
* @module model/SnippetResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var SnippetResponse = /*#__PURE__*/function () {
/**
@@ -108304,27 +103442,22 @@ var SnippetResponse = /*#__PURE__*/function () {
*/
function SnippetResponse() {
_classCallCheck(this, SnippetResponse);
-
_Snippet["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_SnippetResponseAllOf["default"].initialize(this);
-
SnippetResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(SnippetResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a SnippetResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -108332,291 +103465,250 @@ var SnippetResponse = /*#__PURE__*/function () {
* @param {module:model/SnippetResponse} obj Optional instance to populate.
* @return {module:model/SnippetResponse} The populated SnippetResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new SnippetResponse();
-
_Snippet["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_SnippetResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('dynamic')) {
obj['dynamic'] = _ApiClient["default"].convertToType(data['dynamic'], 'Number');
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
}
-
if (data.hasOwnProperty('content')) {
obj['content'] = _ApiClient["default"].convertToType(data['content'], 'String');
}
-
if (data.hasOwnProperty('priority')) {
obj['priority'] = _ApiClient["default"].convertToType(data['priority'], 'Number');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return SnippetResponse;
}();
/**
* The name for the snippet.
* @member {String} name
*/
-
-
SnippetResponse.prototype['name'] = undefined;
+
/**
* Sets the snippet version.
* @member {module:model/SnippetResponse.DynamicEnum} dynamic
*/
-
SnippetResponse.prototype['dynamic'] = undefined;
+
/**
* The location in generated VCL where the snippet should be placed.
* @member {module:model/SnippetResponse.TypeEnum} type
*/
-
SnippetResponse.prototype['type'] = undefined;
+
/**
* The VCL code that specifies exactly what the snippet does.
* @member {String} content
*/
-
SnippetResponse.prototype['content'] = undefined;
+
/**
* Priority determines execution order. Lower numbers execute first.
* @member {Number} priority
* @default 100
*/
-
SnippetResponse.prototype['priority'] = 100;
+
/**
* @member {String} service_id
*/
-
SnippetResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
-
SnippetResponse.prototype['version'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
SnippetResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
SnippetResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
SnippetResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} id
*/
+SnippetResponse.prototype['id'] = undefined;
-SnippetResponse.prototype['id'] = undefined; // Implement Snippet interface:
-
+// Implement Snippet interface:
/**
* The name for the snippet.
* @member {String} name
*/
-
_Snippet["default"].prototype['name'] = undefined;
/**
* Sets the snippet version.
* @member {module:model/Snippet.DynamicEnum} dynamic
*/
-
_Snippet["default"].prototype['dynamic'] = undefined;
/**
* The location in generated VCL where the snippet should be placed.
* @member {module:model/Snippet.TypeEnum} type
*/
-
_Snippet["default"].prototype['type'] = undefined;
/**
* The VCL code that specifies exactly what the snippet does.
* @member {String} content
*/
-
_Snippet["default"].prototype['content'] = undefined;
/**
* Priority determines execution order. Lower numbers execute first.
* @member {Number} priority
* @default 100
*/
-
-_Snippet["default"].prototype['priority'] = 100; // Implement ServiceIdAndVersion interface:
-
+_Snippet["default"].prototype['priority'] = 100;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
-_ServiceIdAndVersion["default"].prototype['version'] = undefined; // Implement Timestamps interface:
-
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement SnippetResponseAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement SnippetResponseAllOf interface:
/**
* @member {String} id
*/
-
_SnippetResponseAllOf["default"].prototype['id'] = undefined;
+
/**
* Allowed values for the dynamic
property.
* @enum {Number}
* @readonly
*/
-
SnippetResponse['DynamicEnum'] = {
/**
* value: 0
* @const
*/
"0": 0,
-
/**
* value: 1
* @const
*/
"1": 1
};
+
/**
* Allowed values for the type
property.
* @enum {String}
* @readonly
*/
-
SnippetResponse['TypeEnum'] = {
/**
* value: "init"
* @const
*/
"init": "init",
-
/**
* value: "recv"
* @const
*/
"recv": "recv",
-
/**
* value: "hash"
* @const
*/
"hash": "hash",
-
/**
* value: "hit"
* @const
*/
"hit": "hit",
-
/**
* value: "miss"
* @const
*/
"miss": "miss",
-
/**
* value: "pass"
* @const
*/
"pass": "pass",
-
/**
* value: "fetch"
* @const
*/
"fetch": "fetch",
-
/**
* value: "error"
* @const
*/
"error": "error",
-
/**
* value: "deliver"
* @const
*/
"deliver": "deliver",
-
/**
* value: "log"
* @const
*/
"log": "log",
-
/**
* value: "none"
* @const
@@ -108638,21 +103730,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The SnippetResponseAllOf model module.
* @module model/SnippetResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var SnippetResponseAllOf = /*#__PURE__*/function () {
/**
@@ -108661,19 +103750,18 @@ var SnippetResponseAllOf = /*#__PURE__*/function () {
*/
function SnippetResponseAllOf() {
_classCallCheck(this, SnippetResponseAllOf);
-
SnippetResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(SnippetResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a SnippetResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -108681,29 +103769,23 @@ var SnippetResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/SnippetResponseAllOf} obj Optional instance to populate.
* @return {module:model/SnippetResponseAllOf} The populated SnippetResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new SnippetResponseAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return SnippetResponseAllOf;
}();
/**
* @member {String} id
*/
-
-
SnippetResponseAllOf.prototype['id'] = undefined;
var _default = SnippetResponseAllOf;
exports["default"] = _default;
@@ -108720,23 +103802,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _StarData = _interopRequireDefault(__nccwpck_require__(1973));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Star model module.
* @module model/Star
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Star = /*#__PURE__*/function () {
/**
@@ -108745,19 +103823,18 @@ var Star = /*#__PURE__*/function () {
*/
function Star() {
_classCallCheck(this, Star);
-
Star.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Star, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Star
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -108765,29 +103842,23 @@ var Star = /*#__PURE__*/function () {
* @param {module:model/Star} obj Optional instance to populate.
* @return {module:model/Star} The populated Star
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Star();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _StarData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return Star;
}();
/**
* @member {module:model/StarData} data
*/
-
-
Star.prototype['data'] = undefined;
var _default = Star;
exports["default"] = _default;
@@ -108804,25 +103875,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipsForStar = _interopRequireDefault(__nccwpck_require__(88309));
-
var _TypeStar = _interopRequireDefault(__nccwpck_require__(83095));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The StarData model module.
* @module model/StarData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var StarData = /*#__PURE__*/function () {
/**
@@ -108831,19 +103897,18 @@ var StarData = /*#__PURE__*/function () {
*/
function StarData() {
_classCallCheck(this, StarData);
-
StarData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(StarData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a StarData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -108851,38 +103916,31 @@ var StarData = /*#__PURE__*/function () {
* @param {module:model/StarData} obj Optional instance to populate.
* @return {module:model/StarData} The populated StarData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new StarData();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeStar["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipsForStar["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return StarData;
}();
/**
* @member {module:model/TypeStar} type
*/
-
-
StarData.prototype['type'] = undefined;
+
/**
* @member {module:model/RelationshipsForStar} relationships
*/
-
StarData.prototype['relationships'] = undefined;
var _default = StarData;
exports["default"] = _default;
@@ -108899,25 +103957,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Star = _interopRequireDefault(__nccwpck_require__(52553));
-
var _StarResponseAllOf = _interopRequireDefault(__nccwpck_require__(39114));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The StarResponse model module.
* @module model/StarResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var StarResponse = /*#__PURE__*/function () {
/**
@@ -108928,23 +103981,20 @@ var StarResponse = /*#__PURE__*/function () {
*/
function StarResponse() {
_classCallCheck(this, StarResponse);
-
_Star["default"].initialize(this);
-
_StarResponseAllOf["default"].initialize(this);
-
StarResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(StarResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a StarResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -108952,45 +104002,36 @@ var StarResponse = /*#__PURE__*/function () {
* @param {module:model/StarResponse} obj Optional instance to populate.
* @return {module:model/StarResponse} The populated StarResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new StarResponse();
-
_Star["default"].constructFromObject(data, obj);
-
_StarResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
}
}
-
return obj;
}
}]);
-
return StarResponse;
}();
/**
* @member {Object} data
*/
+StarResponse.prototype['data'] = undefined;
-
-StarResponse.prototype['data'] = undefined; // Implement Star interface:
-
+// Implement Star interface:
/**
* @member {module:model/StarData} data
*/
-
-_Star["default"].prototype['data'] = undefined; // Implement StarResponseAllOf interface:
-
+_Star["default"].prototype['data'] = undefined;
+// Implement StarResponseAllOf interface:
/**
* @member {Object} data
*/
-
_StarResponseAllOf["default"].prototype['data'] = undefined;
var _default = StarResponse;
exports["default"] = _default;
@@ -109007,21 +104048,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The StarResponseAllOf model module.
* @module model/StarResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var StarResponseAllOf = /*#__PURE__*/function () {
/**
@@ -109030,19 +104068,18 @@ var StarResponseAllOf = /*#__PURE__*/function () {
*/
function StarResponseAllOf() {
_classCallCheck(this, StarResponseAllOf);
-
StarResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(StarResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a StarResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -109050,29 +104087,23 @@ var StarResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/StarResponseAllOf} obj Optional instance to populate.
* @return {module:model/StarResponseAllOf} The populated StarResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new StarResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
}
}
-
return obj;
}
}]);
-
return StarResponseAllOf;
}();
/**
* @member {Object} data
*/
-
-
StarResponseAllOf.prototype['data'] = undefined;
var _default = StarResponseAllOf;
exports["default"] = _default;
@@ -109089,23 +104120,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Results = _interopRequireDefault(__nccwpck_require__(37457));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Stats model module.
* @module model/Stats
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Stats = /*#__PURE__*/function () {
/**
@@ -109114,19 +104141,18 @@ var Stats = /*#__PURE__*/function () {
*/
function Stats() {
_classCallCheck(this, Stats);
-
Stats.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Stats, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Stats
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -109134,38 +104160,32 @@ var Stats = /*#__PURE__*/function () {
* @param {module:model/Stats} obj Optional instance to populate.
* @return {module:model/Stats} The populated Stats
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Stats();
-
if (data.hasOwnProperty('stats')) {
obj['stats'] = _ApiClient["default"].convertToType(data['stats'], {
'String': _Results["default"]
});
}
}
-
return obj;
}
}]);
-
return Stats;
}();
/**
* @member {Object.Store
.
+ * @alias module:model/Store
+ */
+ function Store() {
+ _classCallCheck(this, Store);
+ Store.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(Store, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a Store
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Store} obj Optional instance to populate.
+ * @return {module:model/Store} The populated Store
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Store();
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return Store;
+}();
+/**
+ * A human-readable name for the store.
+ * @member {String} name
+ */
+Store.prototype['name'] = undefined;
+var _default = Store;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 21164:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The StoreResponse model module.
+ * @module model/StoreResponse
+ * @version v3.1.0
+ */
+var StoreResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new StoreResponse
.
+ * @alias module:model/StoreResponse
+ */
+ function StoreResponse() {
+ _classCallCheck(this, StoreResponse);
+ StoreResponse.initialize(this);
+ }
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(StoreResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+ /**
+ * Constructs a StoreResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/StoreResponse} obj Optional instance to populate.
+ * @return {module:model/StoreResponse} The populated StoreResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new StoreResponse();
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return StoreResponse;
+}();
+/**
+ * ID of the store.
+ * @member {String} id
+ */
+StoreResponse.prototype['id'] = undefined;
+
+/**
+ * A human-readable name for the store.
+ * @member {String} name
+ */
+StoreResponse.prototype['name'] = undefined;
+var _default = StoreResponse;
+exports["default"] = _default;
+
+/***/ }),
+/***/ 28216:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Timestamps model module.
* @module model/Timestamps
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Timestamps = /*#__PURE__*/function () {
/**
@@ -109198,19 +104370,18 @@ var Timestamps = /*#__PURE__*/function () {
*/
function Timestamps() {
_classCallCheck(this, Timestamps);
-
Timestamps.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Timestamps, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Timestamps
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -109218,50 +104389,42 @@ var Timestamps = /*#__PURE__*/function () {
* @param {module:model/Timestamps} obj Optional instance to populate.
* @return {module:model/Timestamps} The populated Timestamps
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Timestamps();
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
}
-
return obj;
}
}]);
-
return Timestamps;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
Timestamps.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
Timestamps.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
Timestamps.prototype['updated_at'] = undefined;
var _default = Timestamps;
exports["default"] = _default;
@@ -109278,21 +104441,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TimestampsNoDelete model module.
* @module model/TimestampsNoDelete
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TimestampsNoDelete = /*#__PURE__*/function () {
/**
@@ -109301,19 +104461,18 @@ var TimestampsNoDelete = /*#__PURE__*/function () {
*/
function TimestampsNoDelete() {
_classCallCheck(this, TimestampsNoDelete);
-
TimestampsNoDelete.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TimestampsNoDelete, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TimestampsNoDelete
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -109321,40 +104480,33 @@ var TimestampsNoDelete = /*#__PURE__*/function () {
* @param {module:model/TimestampsNoDelete} obj Optional instance to populate.
* @return {module:model/TimestampsNoDelete} The populated TimestampsNoDelete
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TimestampsNoDelete();
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
}
-
return obj;
}
}]);
-
return TimestampsNoDelete;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
TimestampsNoDelete.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
TimestampsNoDelete.prototype['updated_at'] = undefined;
var _default = TimestampsNoDelete;
exports["default"] = _default;
@@ -109371,23 +104523,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TlsActivationData = _interopRequireDefault(__nccwpck_require__(25928));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsActivation model module.
* @module model/TlsActivation
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsActivation = /*#__PURE__*/function () {
/**
@@ -109396,19 +104544,18 @@ var TlsActivation = /*#__PURE__*/function () {
*/
function TlsActivation() {
_classCallCheck(this, TlsActivation);
-
TlsActivation.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsActivation, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsActivation
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -109416,29 +104563,23 @@ var TlsActivation = /*#__PURE__*/function () {
* @param {module:model/TlsActivation} obj Optional instance to populate.
* @return {module:model/TlsActivation} The populated TlsActivation
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsActivation();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _TlsActivationData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return TlsActivation;
}();
/**
* @member {module:model/TlsActivationData} data
*/
-
-
TlsActivation.prototype['data'] = undefined;
var _default = TlsActivation;
exports["default"] = _default;
@@ -109455,25 +104596,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipsForTlsActivation = _interopRequireDefault(__nccwpck_require__(30567));
-
var _TypeTlsActivation = _interopRequireDefault(__nccwpck_require__(43401));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsActivationData model module.
* @module model/TlsActivationData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsActivationData = /*#__PURE__*/function () {
/**
@@ -109482,19 +104618,18 @@ var TlsActivationData = /*#__PURE__*/function () {
*/
function TlsActivationData() {
_classCallCheck(this, TlsActivationData);
-
TlsActivationData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsActivationData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsActivationData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -109502,38 +104637,31 @@ var TlsActivationData = /*#__PURE__*/function () {
* @param {module:model/TlsActivationData} obj Optional instance to populate.
* @return {module:model/TlsActivationData} The populated TlsActivationData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsActivationData();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsActivation["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipsForTlsActivation["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return TlsActivationData;
}();
/**
* @member {module:model/TypeTlsActivation} type
*/
-
-
TlsActivationData.prototype['type'] = undefined;
+
/**
* @member {module:model/RelationshipsForTlsActivation} relationships
*/
-
TlsActivationData.prototype['relationships'] = undefined;
var _default = TlsActivationData;
exports["default"] = _default;
@@ -109550,23 +104678,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TlsActivationResponseData = _interopRequireDefault(__nccwpck_require__(85118));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsActivationResponse model module.
* @module model/TlsActivationResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsActivationResponse = /*#__PURE__*/function () {
/**
@@ -109575,19 +104699,18 @@ var TlsActivationResponse = /*#__PURE__*/function () {
*/
function TlsActivationResponse() {
_classCallCheck(this, TlsActivationResponse);
-
TlsActivationResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsActivationResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsActivationResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -109595,29 +104718,23 @@ var TlsActivationResponse = /*#__PURE__*/function () {
* @param {module:model/TlsActivationResponse} obj Optional instance to populate.
* @return {module:model/TlsActivationResponse} The populated TlsActivationResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsActivationResponse();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _TlsActivationResponseData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return TlsActivationResponse;
}();
/**
* @member {module:model/TlsActivationResponseData} data
*/
-
-
TlsActivationResponse.prototype['data'] = undefined;
var _default = TlsActivationResponse;
exports["default"] = _default;
@@ -109634,31 +104751,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipsForTlsActivation = _interopRequireDefault(__nccwpck_require__(30567));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
var _TlsActivationData = _interopRequireDefault(__nccwpck_require__(25928));
-
var _TlsActivationResponseDataAllOf = _interopRequireDefault(__nccwpck_require__(89517));
-
var _TypeTlsActivation = _interopRequireDefault(__nccwpck_require__(43401));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsActivationResponseData model module.
* @module model/TlsActivationResponseData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsActivationResponseData = /*#__PURE__*/function () {
/**
@@ -109669,23 +104778,20 @@ var TlsActivationResponseData = /*#__PURE__*/function () {
*/
function TlsActivationResponseData() {
_classCallCheck(this, TlsActivationResponseData);
-
_TlsActivationData["default"].initialize(this);
-
_TlsActivationResponseDataAllOf["default"].initialize(this);
-
TlsActivationResponseData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsActivationResponseData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsActivationResponseData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -109693,82 +104799,68 @@ var TlsActivationResponseData = /*#__PURE__*/function () {
* @param {module:model/TlsActivationResponseData} obj Optional instance to populate.
* @return {module:model/TlsActivationResponseData} The populated TlsActivationResponseData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsActivationResponseData();
-
_TlsActivationData["default"].constructFromObject(data, obj);
-
_TlsActivationResponseDataAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsActivation["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipsForTlsActivation["default"].constructFromObject(data['relationships']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _Timestamps["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return TlsActivationResponseData;
}();
/**
* @member {module:model/TypeTlsActivation} type
*/
-
-
TlsActivationResponseData.prototype['type'] = undefined;
+
/**
* @member {module:model/RelationshipsForTlsActivation} relationships
*/
-
TlsActivationResponseData.prototype['relationships'] = undefined;
+
/**
* @member {String} id
*/
-
TlsActivationResponseData.prototype['id'] = undefined;
+
/**
* @member {module:model/Timestamps} attributes
*/
+TlsActivationResponseData.prototype['attributes'] = undefined;
-TlsActivationResponseData.prototype['attributes'] = undefined; // Implement TlsActivationData interface:
-
+// Implement TlsActivationData interface:
/**
* @member {module:model/TypeTlsActivation} type
*/
-
_TlsActivationData["default"].prototype['type'] = undefined;
/**
* @member {module:model/RelationshipsForTlsActivation} relationships
*/
-
-_TlsActivationData["default"].prototype['relationships'] = undefined; // Implement TlsActivationResponseDataAllOf interface:
-
+_TlsActivationData["default"].prototype['relationships'] = undefined;
+// Implement TlsActivationResponseDataAllOf interface:
/**
* @member {String} id
*/
-
_TlsActivationResponseDataAllOf["default"].prototype['id'] = undefined;
/**
* @member {module:model/Timestamps} attributes
*/
-
_TlsActivationResponseDataAllOf["default"].prototype['attributes'] = undefined;
var _default = TlsActivationResponseData;
exports["default"] = _default;
@@ -109785,23 +104877,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsActivationResponseDataAllOf model module.
* @module model/TlsActivationResponseDataAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsActivationResponseDataAllOf = /*#__PURE__*/function () {
/**
@@ -109810,19 +104898,18 @@ var TlsActivationResponseDataAllOf = /*#__PURE__*/function () {
*/
function TlsActivationResponseDataAllOf() {
_classCallCheck(this, TlsActivationResponseDataAllOf);
-
TlsActivationResponseDataAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsActivationResponseDataAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsActivationResponseDataAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -109830,38 +104917,31 @@ var TlsActivationResponseDataAllOf = /*#__PURE__*/function () {
* @param {module:model/TlsActivationResponseDataAllOf} obj Optional instance to populate.
* @return {module:model/TlsActivationResponseDataAllOf} The populated TlsActivationResponseDataAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsActivationResponseDataAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _Timestamps["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return TlsActivationResponseDataAllOf;
}();
/**
* @member {String} id
*/
-
-
TlsActivationResponseDataAllOf.prototype['id'] = undefined;
+
/**
* @member {module:model/Timestamps} attributes
*/
-
TlsActivationResponseDataAllOf.prototype['attributes'] = undefined;
var _default = TlsActivationResponseDataAllOf;
exports["default"] = _default;
@@ -109878,31 +104958,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Pagination = _interopRequireDefault(__nccwpck_require__(89281));
-
var _PaginationLinks = _interopRequireDefault(__nccwpck_require__(97779));
-
var _PaginationMeta = _interopRequireDefault(__nccwpck_require__(93986));
-
var _TlsActivationResponseData = _interopRequireDefault(__nccwpck_require__(85118));
-
var _TlsActivationsResponseAllOf = _interopRequireDefault(__nccwpck_require__(22554));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsActivationsResponse model module.
* @module model/TlsActivationsResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsActivationsResponse = /*#__PURE__*/function () {
/**
@@ -109913,23 +104985,20 @@ var TlsActivationsResponse = /*#__PURE__*/function () {
*/
function TlsActivationsResponse() {
_classCallCheck(this, TlsActivationsResponse);
-
_Pagination["default"].initialize(this);
-
_TlsActivationsResponseAllOf["default"].initialize(this);
-
TlsActivationsResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsActivationsResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsActivationsResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -109937,68 +105006,56 @@ var TlsActivationsResponse = /*#__PURE__*/function () {
* @param {module:model/TlsActivationsResponse} obj Optional instance to populate.
* @return {module:model/TlsActivationsResponse} The populated TlsActivationsResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsActivationsResponse();
-
_Pagination["default"].constructFromObject(data, obj);
-
_TlsActivationsResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('links')) {
obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TlsActivationResponseData["default"]]);
}
}
-
return obj;
}
}]);
-
return TlsActivationsResponse;
}();
/**
* @member {module:model/PaginationLinks} links
*/
-
-
TlsActivationsResponse.prototype['links'] = undefined;
+
/**
* @member {module:model/PaginationMeta} meta
*/
-
TlsActivationsResponse.prototype['meta'] = undefined;
+
/**
* @member {Array.TlsActivationsResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -110060,29 +105112,23 @@ var TlsActivationsResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/TlsActivationsResponseAllOf} obj Optional instance to populate.
* @return {module:model/TlsActivationsResponseAllOf} The populated TlsActivationsResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsActivationsResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TlsActivationResponseData["default"]]);
}
}
-
return obj;
}
}]);
-
return TlsActivationsResponseAllOf;
}();
/**
* @member {Array.TlsBulkCertificate
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -110144,29 +105185,23 @@ var TlsBulkCertificate = /*#__PURE__*/function () {
* @param {module:model/TlsBulkCertificate} obj Optional instance to populate.
* @return {module:model/TlsBulkCertificate} The populated TlsBulkCertificate
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsBulkCertificate();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _TlsBulkCertificateData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return TlsBulkCertificate;
}();
/**
* @member {module:model/TlsBulkCertificateData} data
*/
-
-
TlsBulkCertificate.prototype['data'] = undefined;
var _default = TlsBulkCertificate;
exports["default"] = _default;
@@ -110183,27 +105218,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipsForTlsBulkCertificate = _interopRequireDefault(__nccwpck_require__(69559));
-
var _TlsBulkCertificateDataAttributes = _interopRequireDefault(__nccwpck_require__(24248));
-
var _TypeTlsBulkCertificate = _interopRequireDefault(__nccwpck_require__(96431));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsBulkCertificateData model module.
* @module model/TlsBulkCertificateData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsBulkCertificateData = /*#__PURE__*/function () {
/**
@@ -110212,19 +105241,18 @@ var TlsBulkCertificateData = /*#__PURE__*/function () {
*/
function TlsBulkCertificateData() {
_classCallCheck(this, TlsBulkCertificateData);
-
TlsBulkCertificateData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsBulkCertificateData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsBulkCertificateData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -110232,47 +105260,39 @@ var TlsBulkCertificateData = /*#__PURE__*/function () {
* @param {module:model/TlsBulkCertificateData} obj Optional instance to populate.
* @return {module:model/TlsBulkCertificateData} The populated TlsBulkCertificateData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsBulkCertificateData();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsBulkCertificate["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _TlsBulkCertificateDataAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipsForTlsBulkCertificate["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return TlsBulkCertificateData;
}();
/**
* @member {module:model/TypeTlsBulkCertificate} type
*/
-
-
TlsBulkCertificateData.prototype['type'] = undefined;
+
/**
* @member {module:model/TlsBulkCertificateDataAttributes} attributes
*/
-
TlsBulkCertificateData.prototype['attributes'] = undefined;
+
/**
* @member {module:model/RelationshipsForTlsBulkCertificate} relationships
*/
-
TlsBulkCertificateData.prototype['relationships'] = undefined;
var _default = TlsBulkCertificateData;
exports["default"] = _default;
@@ -110289,21 +105309,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsBulkCertificateDataAttributes model module.
* @module model/TlsBulkCertificateDataAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsBulkCertificateDataAttributes = /*#__PURE__*/function () {
/**
@@ -110312,19 +105329,18 @@ var TlsBulkCertificateDataAttributes = /*#__PURE__*/function () {
*/
function TlsBulkCertificateDataAttributes() {
_classCallCheck(this, TlsBulkCertificateDataAttributes);
-
TlsBulkCertificateDataAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsBulkCertificateDataAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsBulkCertificateDataAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -110332,30 +105348,24 @@ var TlsBulkCertificateDataAttributes = /*#__PURE__*/function () {
* @param {module:model/TlsBulkCertificateDataAttributes} obj Optional instance to populate.
* @return {module:model/TlsBulkCertificateDataAttributes} The populated TlsBulkCertificateDataAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsBulkCertificateDataAttributes();
-
if (data.hasOwnProperty('allow_untrusted_root')) {
obj['allow_untrusted_root'] = _ApiClient["default"].convertToType(data['allow_untrusted_root'], 'Boolean');
}
-
if (data.hasOwnProperty('cert_blob')) {
obj['cert_blob'] = _ApiClient["default"].convertToType(data['cert_blob'], 'String');
}
-
if (data.hasOwnProperty('intermediates_blob')) {
obj['intermediates_blob'] = _ApiClient["default"].convertToType(data['intermediates_blob'], 'String');
}
}
-
return obj;
}
}]);
-
return TlsBulkCertificateDataAttributes;
}();
/**
@@ -110363,20 +105373,18 @@ var TlsBulkCertificateDataAttributes = /*#__PURE__*/function () {
* @member {Boolean} allow_untrusted_root
* @default false
*/
-
-
TlsBulkCertificateDataAttributes.prototype['allow_untrusted_root'] = false;
+
/**
* The PEM-formatted certificate blob. Required.
* @member {String} cert_blob
*/
-
TlsBulkCertificateDataAttributes.prototype['cert_blob'] = undefined;
+
/**
* The PEM-formatted chain of intermediate blobs. Required.
* @member {String} intermediates_blob
*/
-
TlsBulkCertificateDataAttributes.prototype['intermediates_blob'] = undefined;
var _default = TlsBulkCertificateDataAttributes;
exports["default"] = _default;
@@ -110393,23 +105401,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TlsBulkCertificateResponseData = _interopRequireDefault(__nccwpck_require__(83660));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsBulkCertificateResponse model module.
* @module model/TlsBulkCertificateResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsBulkCertificateResponse = /*#__PURE__*/function () {
/**
@@ -110418,19 +105422,18 @@ var TlsBulkCertificateResponse = /*#__PURE__*/function () {
*/
function TlsBulkCertificateResponse() {
_classCallCheck(this, TlsBulkCertificateResponse);
-
TlsBulkCertificateResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsBulkCertificateResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsBulkCertificateResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -110438,29 +105441,23 @@ var TlsBulkCertificateResponse = /*#__PURE__*/function () {
* @param {module:model/TlsBulkCertificateResponse} obj Optional instance to populate.
* @return {module:model/TlsBulkCertificateResponse} The populated TlsBulkCertificateResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsBulkCertificateResponse();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _TlsBulkCertificateResponseData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return TlsBulkCertificateResponse;
}();
/**
* @member {module:model/TlsBulkCertificateResponseData} data
*/
-
-
TlsBulkCertificateResponse.prototype['data'] = undefined;
var _default = TlsBulkCertificateResponse;
exports["default"] = _default;
@@ -110477,25 +105474,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
var _TlsBulkCertificateResponseAttributesAllOf = _interopRequireDefault(__nccwpck_require__(53207));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsBulkCertificateResponseAttributes model module.
* @module model/TlsBulkCertificateResponseAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsBulkCertificateResponseAttributes = /*#__PURE__*/function () {
/**
@@ -110506,23 +105498,20 @@ var TlsBulkCertificateResponseAttributes = /*#__PURE__*/function () {
*/
function TlsBulkCertificateResponseAttributes() {
_classCallCheck(this, TlsBulkCertificateResponseAttributes);
-
_Timestamps["default"].initialize(this);
-
_TlsBulkCertificateResponseAttributesAllOf["default"].initialize(this);
-
TlsBulkCertificateResponseAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsBulkCertificateResponseAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsBulkCertificateResponseAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -110530,122 +105519,104 @@ var TlsBulkCertificateResponseAttributes = /*#__PURE__*/function () {
* @param {module:model/TlsBulkCertificateResponseAttributes} obj Optional instance to populate.
* @return {module:model/TlsBulkCertificateResponseAttributes} The populated TlsBulkCertificateResponseAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsBulkCertificateResponseAttributes();
-
_Timestamps["default"].constructFromObject(data, obj);
-
_TlsBulkCertificateResponseAttributesAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('not_after')) {
obj['not_after'] = _ApiClient["default"].convertToType(data['not_after'], 'Date');
}
-
if (data.hasOwnProperty('not_before')) {
obj['not_before'] = _ApiClient["default"].convertToType(data['not_before'], 'Date');
}
-
if (data.hasOwnProperty('replace')) {
obj['replace'] = _ApiClient["default"].convertToType(data['replace'], 'Boolean');
}
}
-
return obj;
}
}]);
-
return TlsBulkCertificateResponseAttributes;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
TlsBulkCertificateResponseAttributes.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
TlsBulkCertificateResponseAttributes.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
TlsBulkCertificateResponseAttributes.prototype['updated_at'] = undefined;
+
/**
* Time-stamp (GMT) when the certificate will expire. Must be in the future to be used to terminate TLS traffic.
* @member {Date} not_after
*/
-
TlsBulkCertificateResponseAttributes.prototype['not_after'] = undefined;
+
/**
* Time-stamp (GMT) when the certificate will become valid. Must be in the past to be used to terminate TLS traffic.
* @member {Date} not_before
*/
-
TlsBulkCertificateResponseAttributes.prototype['not_before'] = undefined;
+
/**
* A recommendation from Fastly indicating the key associated with this certificate is in need of rotation.
* @member {Boolean} replace
*/
+TlsBulkCertificateResponseAttributes.prototype['replace'] = undefined;
-TlsBulkCertificateResponseAttributes.prototype['replace'] = undefined; // Implement Timestamps interface:
-
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement TlsBulkCertificateResponseAttributesAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement TlsBulkCertificateResponseAttributesAllOf interface:
/**
* Time-stamp (GMT) when the certificate will expire. Must be in the future to be used to terminate TLS traffic.
* @member {Date} not_after
*/
-
_TlsBulkCertificateResponseAttributesAllOf["default"].prototype['not_after'] = undefined;
/**
* Time-stamp (GMT) when the certificate will become valid. Must be in the past to be used to terminate TLS traffic.
* @member {Date} not_before
*/
-
_TlsBulkCertificateResponseAttributesAllOf["default"].prototype['not_before'] = undefined;
/**
* A recommendation from Fastly indicating the key associated with this certificate is in need of rotation.
* @member {Boolean} replace
*/
-
_TlsBulkCertificateResponseAttributesAllOf["default"].prototype['replace'] = undefined;
var _default = TlsBulkCertificateResponseAttributes;
exports["default"] = _default;
@@ -110662,21 +105633,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsBulkCertificateResponseAttributesAllOf model module.
* @module model/TlsBulkCertificateResponseAttributesAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsBulkCertificateResponseAttributesAllOf = /*#__PURE__*/function () {
/**
@@ -110685,19 +105653,18 @@ var TlsBulkCertificateResponseAttributesAllOf = /*#__PURE__*/function () {
*/
function TlsBulkCertificateResponseAttributesAllOf() {
_classCallCheck(this, TlsBulkCertificateResponseAttributesAllOf);
-
TlsBulkCertificateResponseAttributesAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsBulkCertificateResponseAttributesAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsBulkCertificateResponseAttributesAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -110705,50 +105672,42 @@ var TlsBulkCertificateResponseAttributesAllOf = /*#__PURE__*/function () {
* @param {module:model/TlsBulkCertificateResponseAttributesAllOf} obj Optional instance to populate.
* @return {module:model/TlsBulkCertificateResponseAttributesAllOf} The populated TlsBulkCertificateResponseAttributesAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsBulkCertificateResponseAttributesAllOf();
-
if (data.hasOwnProperty('not_after')) {
obj['not_after'] = _ApiClient["default"].convertToType(data['not_after'], 'Date');
}
-
if (data.hasOwnProperty('not_before')) {
obj['not_before'] = _ApiClient["default"].convertToType(data['not_before'], 'Date');
}
-
if (data.hasOwnProperty('replace')) {
obj['replace'] = _ApiClient["default"].convertToType(data['replace'], 'Boolean');
}
}
-
return obj;
}
}]);
-
return TlsBulkCertificateResponseAttributesAllOf;
}();
/**
* Time-stamp (GMT) when the certificate will expire. Must be in the future to be used to terminate TLS traffic.
* @member {Date} not_after
*/
-
-
TlsBulkCertificateResponseAttributesAllOf.prototype['not_after'] = undefined;
+
/**
* Time-stamp (GMT) when the certificate will become valid. Must be in the past to be used to terminate TLS traffic.
* @member {Date} not_before
*/
-
TlsBulkCertificateResponseAttributesAllOf.prototype['not_before'] = undefined;
+
/**
* A recommendation from Fastly indicating the key associated with this certificate is in need of rotation.
* @member {Boolean} replace
*/
-
TlsBulkCertificateResponseAttributesAllOf.prototype['replace'] = undefined;
var _default = TlsBulkCertificateResponseAttributesAllOf;
exports["default"] = _default;
@@ -110765,31 +105724,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipsForTlsBulkCertificate = _interopRequireDefault(__nccwpck_require__(69559));
-
var _TlsBulkCertificateData = _interopRequireDefault(__nccwpck_require__(41080));
-
var _TlsBulkCertificateResponseAttributes = _interopRequireDefault(__nccwpck_require__(69990));
-
var _TlsBulkCertificateResponseDataAllOf = _interopRequireDefault(__nccwpck_require__(6396));
-
var _TypeTlsBulkCertificate = _interopRequireDefault(__nccwpck_require__(96431));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsBulkCertificateResponseData model module.
* @module model/TlsBulkCertificateResponseData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsBulkCertificateResponseData = /*#__PURE__*/function () {
/**
@@ -110800,23 +105751,20 @@ var TlsBulkCertificateResponseData = /*#__PURE__*/function () {
*/
function TlsBulkCertificateResponseData() {
_classCallCheck(this, TlsBulkCertificateResponseData);
-
_TlsBulkCertificateData["default"].initialize(this);
-
_TlsBulkCertificateResponseDataAllOf["default"].initialize(this);
-
TlsBulkCertificateResponseData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsBulkCertificateResponseData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsBulkCertificateResponseData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -110824,87 +105772,72 @@ var TlsBulkCertificateResponseData = /*#__PURE__*/function () {
* @param {module:model/TlsBulkCertificateResponseData} obj Optional instance to populate.
* @return {module:model/TlsBulkCertificateResponseData} The populated TlsBulkCertificateResponseData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsBulkCertificateResponseData();
-
_TlsBulkCertificateData["default"].constructFromObject(data, obj);
-
_TlsBulkCertificateResponseDataAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsBulkCertificate["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _TlsBulkCertificateResponseAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipsForTlsBulkCertificate["default"].constructFromObject(data['relationships']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return TlsBulkCertificateResponseData;
}();
/**
* @member {module:model/TypeTlsBulkCertificate} type
*/
-
-
TlsBulkCertificateResponseData.prototype['type'] = undefined;
+
/**
* @member {module:model/TlsBulkCertificateResponseAttributes} attributes
*/
-
TlsBulkCertificateResponseData.prototype['attributes'] = undefined;
+
/**
* @member {module:model/RelationshipsForTlsBulkCertificate} relationships
*/
-
TlsBulkCertificateResponseData.prototype['relationships'] = undefined;
+
/**
* @member {String} id
*/
+TlsBulkCertificateResponseData.prototype['id'] = undefined;
-TlsBulkCertificateResponseData.prototype['id'] = undefined; // Implement TlsBulkCertificateData interface:
-
+// Implement TlsBulkCertificateData interface:
/**
* @member {module:model/TypeTlsBulkCertificate} type
*/
-
_TlsBulkCertificateData["default"].prototype['type'] = undefined;
/**
* @member {module:model/TlsBulkCertificateDataAttributes} attributes
*/
-
_TlsBulkCertificateData["default"].prototype['attributes'] = undefined;
/**
* @member {module:model/RelationshipsForTlsBulkCertificate} relationships
*/
-
-_TlsBulkCertificateData["default"].prototype['relationships'] = undefined; // Implement TlsBulkCertificateResponseDataAllOf interface:
-
+_TlsBulkCertificateData["default"].prototype['relationships'] = undefined;
+// Implement TlsBulkCertificateResponseDataAllOf interface:
/**
* @member {String} id
*/
-
_TlsBulkCertificateResponseDataAllOf["default"].prototype['id'] = undefined;
/**
* @member {module:model/TlsBulkCertificateResponseAttributes} attributes
*/
-
_TlsBulkCertificateResponseDataAllOf["default"].prototype['attributes'] = undefined;
var _default = TlsBulkCertificateResponseData;
exports["default"] = _default;
@@ -110921,23 +105854,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TlsBulkCertificateResponseAttributes = _interopRequireDefault(__nccwpck_require__(69990));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsBulkCertificateResponseDataAllOf model module.
* @module model/TlsBulkCertificateResponseDataAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsBulkCertificateResponseDataAllOf = /*#__PURE__*/function () {
/**
@@ -110946,19 +105875,18 @@ var TlsBulkCertificateResponseDataAllOf = /*#__PURE__*/function () {
*/
function TlsBulkCertificateResponseDataAllOf() {
_classCallCheck(this, TlsBulkCertificateResponseDataAllOf);
-
TlsBulkCertificateResponseDataAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsBulkCertificateResponseDataAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsBulkCertificateResponseDataAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -110966,38 +105894,31 @@ var TlsBulkCertificateResponseDataAllOf = /*#__PURE__*/function () {
* @param {module:model/TlsBulkCertificateResponseDataAllOf} obj Optional instance to populate.
* @return {module:model/TlsBulkCertificateResponseDataAllOf} The populated TlsBulkCertificateResponseDataAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsBulkCertificateResponseDataAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _TlsBulkCertificateResponseAttributes["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return TlsBulkCertificateResponseDataAllOf;
}();
/**
* @member {String} id
*/
-
-
TlsBulkCertificateResponseDataAllOf.prototype['id'] = undefined;
+
/**
* @member {module:model/TlsBulkCertificateResponseAttributes} attributes
*/
-
TlsBulkCertificateResponseDataAllOf.prototype['attributes'] = undefined;
var _default = TlsBulkCertificateResponseDataAllOf;
exports["default"] = _default;
@@ -111014,31 +105935,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Pagination = _interopRequireDefault(__nccwpck_require__(89281));
-
var _PaginationLinks = _interopRequireDefault(__nccwpck_require__(97779));
-
var _PaginationMeta = _interopRequireDefault(__nccwpck_require__(93986));
-
var _TlsBulkCertificateResponseData = _interopRequireDefault(__nccwpck_require__(83660));
-
var _TlsBulkCertificatesResponseAllOf = _interopRequireDefault(__nccwpck_require__(77002));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsBulkCertificatesResponse model module.
* @module model/TlsBulkCertificatesResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsBulkCertificatesResponse = /*#__PURE__*/function () {
/**
@@ -111049,23 +105962,20 @@ var TlsBulkCertificatesResponse = /*#__PURE__*/function () {
*/
function TlsBulkCertificatesResponse() {
_classCallCheck(this, TlsBulkCertificatesResponse);
-
_Pagination["default"].initialize(this);
-
_TlsBulkCertificatesResponseAllOf["default"].initialize(this);
-
TlsBulkCertificatesResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsBulkCertificatesResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsBulkCertificatesResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -111073,68 +105983,56 @@ var TlsBulkCertificatesResponse = /*#__PURE__*/function () {
* @param {module:model/TlsBulkCertificatesResponse} obj Optional instance to populate.
* @return {module:model/TlsBulkCertificatesResponse} The populated TlsBulkCertificatesResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsBulkCertificatesResponse();
-
_Pagination["default"].constructFromObject(data, obj);
-
_TlsBulkCertificatesResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('links')) {
obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TlsBulkCertificateResponseData["default"]]);
}
}
-
return obj;
}
}]);
-
return TlsBulkCertificatesResponse;
}();
/**
* @member {module:model/PaginationLinks} links
*/
-
-
TlsBulkCertificatesResponse.prototype['links'] = undefined;
+
/**
* @member {module:model/PaginationMeta} meta
*/
-
TlsBulkCertificatesResponse.prototype['meta'] = undefined;
+
/**
* @member {Array.TlsBulkCertificatesResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -111196,29 +106089,23 @@ var TlsBulkCertificatesResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/TlsBulkCertificatesResponseAllOf} obj Optional instance to populate.
* @return {module:model/TlsBulkCertificatesResponseAllOf} The populated TlsBulkCertificatesResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsBulkCertificatesResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TlsBulkCertificateResponseData["default"]]);
}
}
-
return obj;
}
}]);
-
return TlsBulkCertificatesResponseAllOf;
}();
/**
* @member {Array.TlsCertificate
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -111280,29 +106162,23 @@ var TlsCertificate = /*#__PURE__*/function () {
* @param {module:model/TlsCertificate} obj Optional instance to populate.
* @return {module:model/TlsCertificate} The populated TlsCertificate
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsCertificate();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _TlsCertificateData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return TlsCertificate;
}();
/**
* @member {module:model/TlsCertificateData} data
*/
-
-
TlsCertificate.prototype['data'] = undefined;
var _default = TlsCertificate;
exports["default"] = _default;
@@ -111319,27 +106195,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipTlsDomains = _interopRequireDefault(__nccwpck_require__(80673));
-
var _TlsCertificateDataAttributes = _interopRequireDefault(__nccwpck_require__(99423));
-
var _TypeTlsCertificate = _interopRequireDefault(__nccwpck_require__(70556));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsCertificateData model module.
* @module model/TlsCertificateData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsCertificateData = /*#__PURE__*/function () {
/**
@@ -111348,19 +106218,18 @@ var TlsCertificateData = /*#__PURE__*/function () {
*/
function TlsCertificateData() {
_classCallCheck(this, TlsCertificateData);
-
TlsCertificateData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsCertificateData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsCertificateData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -111368,47 +106237,39 @@ var TlsCertificateData = /*#__PURE__*/function () {
* @param {module:model/TlsCertificateData} obj Optional instance to populate.
* @return {module:model/TlsCertificateData} The populated TlsCertificateData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsCertificateData();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsCertificate["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _TlsCertificateDataAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipTlsDomains["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return TlsCertificateData;
}();
/**
* @member {module:model/TypeTlsCertificate} type
*/
-
-
TlsCertificateData.prototype['type'] = undefined;
+
/**
* @member {module:model/TlsCertificateDataAttributes} attributes
*/
-
TlsCertificateData.prototype['attributes'] = undefined;
+
/**
* @member {module:model/RelationshipTlsDomains} relationships
*/
-
TlsCertificateData.prototype['relationships'] = undefined;
var _default = TlsCertificateData;
exports["default"] = _default;
@@ -111425,21 +106286,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsCertificateDataAttributes model module.
* @module model/TlsCertificateDataAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsCertificateDataAttributes = /*#__PURE__*/function () {
/**
@@ -111448,19 +106306,18 @@ var TlsCertificateDataAttributes = /*#__PURE__*/function () {
*/
function TlsCertificateDataAttributes() {
_classCallCheck(this, TlsCertificateDataAttributes);
-
TlsCertificateDataAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsCertificateDataAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsCertificateDataAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -111468,40 +106325,33 @@ var TlsCertificateDataAttributes = /*#__PURE__*/function () {
* @param {module:model/TlsCertificateDataAttributes} obj Optional instance to populate.
* @return {module:model/TlsCertificateDataAttributes} The populated TlsCertificateDataAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsCertificateDataAttributes();
-
if (data.hasOwnProperty('cert_blob')) {
obj['cert_blob'] = _ApiClient["default"].convertToType(data['cert_blob'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
}
-
return obj;
}
}]);
-
return TlsCertificateDataAttributes;
}();
/**
* The PEM-formatted certificate blob. Required.
* @member {String} cert_blob
*/
-
-
TlsCertificateDataAttributes.prototype['cert_blob'] = undefined;
+
/**
* A customizable name for your certificate. Defaults to the certificate's Common Name or first Subject Alternative Names (SAN) entry. Optional.
* @member {String} name
*/
-
TlsCertificateDataAttributes.prototype['name'] = undefined;
var _default = TlsCertificateDataAttributes;
exports["default"] = _default;
@@ -111518,23 +106368,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TlsCertificateResponseData = _interopRequireDefault(__nccwpck_require__(60567));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsCertificateResponse model module.
* @module model/TlsCertificateResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsCertificateResponse = /*#__PURE__*/function () {
/**
@@ -111543,19 +106389,18 @@ var TlsCertificateResponse = /*#__PURE__*/function () {
*/
function TlsCertificateResponse() {
_classCallCheck(this, TlsCertificateResponse);
-
TlsCertificateResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsCertificateResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsCertificateResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -111563,29 +106408,23 @@ var TlsCertificateResponse = /*#__PURE__*/function () {
* @param {module:model/TlsCertificateResponse} obj Optional instance to populate.
* @return {module:model/TlsCertificateResponse} The populated TlsCertificateResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsCertificateResponse();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _TlsCertificateResponseData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return TlsCertificateResponse;
}();
/**
* @member {module:model/TlsCertificateResponseData} data
*/
-
-
TlsCertificateResponse.prototype['data'] = undefined;
var _default = TlsCertificateResponse;
exports["default"] = _default;
@@ -111602,25 +106441,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
var _TlsCertificateResponseAttributesAllOf = _interopRequireDefault(__nccwpck_require__(52546));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsCertificateResponseAttributes model module.
* @module model/TlsCertificateResponseAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsCertificateResponseAttributes = /*#__PURE__*/function () {
/**
@@ -111631,23 +106465,20 @@ var TlsCertificateResponseAttributes = /*#__PURE__*/function () {
*/
function TlsCertificateResponseAttributes() {
_classCallCheck(this, TlsCertificateResponseAttributes);
-
_Timestamps["default"].initialize(this);
-
_TlsCertificateResponseAttributesAllOf["default"].initialize(this);
-
TlsCertificateResponseAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsCertificateResponseAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsCertificateResponseAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -111655,186 +106486,160 @@ var TlsCertificateResponseAttributes = /*#__PURE__*/function () {
* @param {module:model/TlsCertificateResponseAttributes} obj Optional instance to populate.
* @return {module:model/TlsCertificateResponseAttributes} The populated TlsCertificateResponseAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsCertificateResponseAttributes();
-
_Timestamps["default"].constructFromObject(data, obj);
-
_TlsCertificateResponseAttributesAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('issued_to')) {
obj['issued_to'] = _ApiClient["default"].convertToType(data['issued_to'], 'String');
}
-
if (data.hasOwnProperty('issuer')) {
obj['issuer'] = _ApiClient["default"].convertToType(data['issuer'], 'String');
}
-
if (data.hasOwnProperty('serial_number')) {
obj['serial_number'] = _ApiClient["default"].convertToType(data['serial_number'], 'String');
}
-
if (data.hasOwnProperty('signature_algorithm')) {
obj['signature_algorithm'] = _ApiClient["default"].convertToType(data['signature_algorithm'], 'String');
}
-
if (data.hasOwnProperty('not_after')) {
obj['not_after'] = _ApiClient["default"].convertToType(data['not_after'], 'Date');
}
-
if (data.hasOwnProperty('not_before')) {
obj['not_before'] = _ApiClient["default"].convertToType(data['not_before'], 'Date');
}
-
if (data.hasOwnProperty('replace')) {
obj['replace'] = _ApiClient["default"].convertToType(data['replace'], 'Boolean');
}
}
-
return obj;
}
}]);
-
return TlsCertificateResponseAttributes;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
TlsCertificateResponseAttributes.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
TlsCertificateResponseAttributes.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
TlsCertificateResponseAttributes.prototype['updated_at'] = undefined;
+
/**
* The hostname for which a certificate was issued.
* @member {String} issued_to
*/
-
TlsCertificateResponseAttributes.prototype['issued_to'] = undefined;
+
/**
* The certificate authority that issued the certificate.
* @member {String} issuer
*/
-
TlsCertificateResponseAttributes.prototype['issuer'] = undefined;
+
/**
* A value assigned by the issuer that is unique to a certificate.
* @member {String} serial_number
*/
-
TlsCertificateResponseAttributes.prototype['serial_number'] = undefined;
+
/**
* The algorithm used to sign the certificate.
* @member {String} signature_algorithm
*/
-
TlsCertificateResponseAttributes.prototype['signature_algorithm'] = undefined;
+
/**
* Time-stamp (GMT) when the certificate will expire. Must be in the future to be used to terminate TLS traffic.
* @member {Date} not_after
*/
-
TlsCertificateResponseAttributes.prototype['not_after'] = undefined;
+
/**
* Time-stamp (GMT) when the certificate will become valid. Must be in the past to be used to terminate TLS traffic.
* @member {Date} not_before
*/
-
TlsCertificateResponseAttributes.prototype['not_before'] = undefined;
+
/**
* A recommendation from Fastly indicating the key associated with this certificate is in need of rotation.
* @member {Boolean} replace
*/
+TlsCertificateResponseAttributes.prototype['replace'] = undefined;
-TlsCertificateResponseAttributes.prototype['replace'] = undefined; // Implement Timestamps interface:
-
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement TlsCertificateResponseAttributesAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement TlsCertificateResponseAttributesAllOf interface:
/**
* The hostname for which a certificate was issued.
* @member {String} issued_to
*/
-
_TlsCertificateResponseAttributesAllOf["default"].prototype['issued_to'] = undefined;
/**
* The certificate authority that issued the certificate.
* @member {String} issuer
*/
-
_TlsCertificateResponseAttributesAllOf["default"].prototype['issuer'] = undefined;
/**
* A value assigned by the issuer that is unique to a certificate.
* @member {String} serial_number
*/
-
_TlsCertificateResponseAttributesAllOf["default"].prototype['serial_number'] = undefined;
/**
* The algorithm used to sign the certificate.
* @member {String} signature_algorithm
*/
-
_TlsCertificateResponseAttributesAllOf["default"].prototype['signature_algorithm'] = undefined;
/**
* Time-stamp (GMT) when the certificate will expire. Must be in the future to be used to terminate TLS traffic.
* @member {Date} not_after
*/
-
_TlsCertificateResponseAttributesAllOf["default"].prototype['not_after'] = undefined;
/**
* Time-stamp (GMT) when the certificate will become valid. Must be in the past to be used to terminate TLS traffic.
* @member {Date} not_before
*/
-
_TlsCertificateResponseAttributesAllOf["default"].prototype['not_before'] = undefined;
/**
* A recommendation from Fastly indicating the key associated with this certificate is in need of rotation.
* @member {Boolean} replace
*/
-
_TlsCertificateResponseAttributesAllOf["default"].prototype['replace'] = undefined;
var _default = TlsCertificateResponseAttributes;
exports["default"] = _default;
@@ -111851,21 +106656,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsCertificateResponseAttributesAllOf model module.
* @module model/TlsCertificateResponseAttributesAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsCertificateResponseAttributesAllOf = /*#__PURE__*/function () {
/**
@@ -111874,19 +106676,18 @@ var TlsCertificateResponseAttributesAllOf = /*#__PURE__*/function () {
*/
function TlsCertificateResponseAttributesAllOf() {
_classCallCheck(this, TlsCertificateResponseAttributesAllOf);
-
TlsCertificateResponseAttributesAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsCertificateResponseAttributesAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsCertificateResponseAttributesAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -111894,90 +106695,78 @@ var TlsCertificateResponseAttributesAllOf = /*#__PURE__*/function () {
* @param {module:model/TlsCertificateResponseAttributesAllOf} obj Optional instance to populate.
* @return {module:model/TlsCertificateResponseAttributesAllOf} The populated TlsCertificateResponseAttributesAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsCertificateResponseAttributesAllOf();
-
if (data.hasOwnProperty('issued_to')) {
obj['issued_to'] = _ApiClient["default"].convertToType(data['issued_to'], 'String');
}
-
if (data.hasOwnProperty('issuer')) {
obj['issuer'] = _ApiClient["default"].convertToType(data['issuer'], 'String');
}
-
if (data.hasOwnProperty('serial_number')) {
obj['serial_number'] = _ApiClient["default"].convertToType(data['serial_number'], 'String');
}
-
if (data.hasOwnProperty('signature_algorithm')) {
obj['signature_algorithm'] = _ApiClient["default"].convertToType(data['signature_algorithm'], 'String');
}
-
if (data.hasOwnProperty('not_after')) {
obj['not_after'] = _ApiClient["default"].convertToType(data['not_after'], 'Date');
}
-
if (data.hasOwnProperty('not_before')) {
obj['not_before'] = _ApiClient["default"].convertToType(data['not_before'], 'Date');
}
-
if (data.hasOwnProperty('replace')) {
obj['replace'] = _ApiClient["default"].convertToType(data['replace'], 'Boolean');
}
}
-
return obj;
}
}]);
-
return TlsCertificateResponseAttributesAllOf;
}();
/**
* The hostname for which a certificate was issued.
* @member {String} issued_to
*/
-
-
TlsCertificateResponseAttributesAllOf.prototype['issued_to'] = undefined;
+
/**
* The certificate authority that issued the certificate.
* @member {String} issuer
*/
-
TlsCertificateResponseAttributesAllOf.prototype['issuer'] = undefined;
+
/**
* A value assigned by the issuer that is unique to a certificate.
* @member {String} serial_number
*/
-
TlsCertificateResponseAttributesAllOf.prototype['serial_number'] = undefined;
+
/**
* The algorithm used to sign the certificate.
* @member {String} signature_algorithm
*/
-
TlsCertificateResponseAttributesAllOf.prototype['signature_algorithm'] = undefined;
+
/**
* Time-stamp (GMT) when the certificate will expire. Must be in the future to be used to terminate TLS traffic.
* @member {Date} not_after
*/
-
TlsCertificateResponseAttributesAllOf.prototype['not_after'] = undefined;
+
/**
* Time-stamp (GMT) when the certificate will become valid. Must be in the past to be used to terminate TLS traffic.
* @member {Date} not_before
*/
-
TlsCertificateResponseAttributesAllOf.prototype['not_before'] = undefined;
+
/**
* A recommendation from Fastly indicating the key associated with this certificate is in need of rotation.
* @member {Boolean} replace
*/
-
TlsCertificateResponseAttributesAllOf.prototype['replace'] = undefined;
var _default = TlsCertificateResponseAttributesAllOf;
exports["default"] = _default;
@@ -111994,31 +106783,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipTlsDomains = _interopRequireDefault(__nccwpck_require__(80673));
-
var _TlsCertificateData = _interopRequireDefault(__nccwpck_require__(80367));
-
var _TlsCertificateResponseAttributes = _interopRequireDefault(__nccwpck_require__(19413));
-
var _TlsCertificateResponseDataAllOf = _interopRequireDefault(__nccwpck_require__(15363));
-
var _TypeTlsCertificate = _interopRequireDefault(__nccwpck_require__(70556));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsCertificateResponseData model module.
* @module model/TlsCertificateResponseData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsCertificateResponseData = /*#__PURE__*/function () {
/**
@@ -112029,23 +106810,20 @@ var TlsCertificateResponseData = /*#__PURE__*/function () {
*/
function TlsCertificateResponseData() {
_classCallCheck(this, TlsCertificateResponseData);
-
_TlsCertificateData["default"].initialize(this);
-
_TlsCertificateResponseDataAllOf["default"].initialize(this);
-
TlsCertificateResponseData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsCertificateResponseData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsCertificateResponseData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -112053,87 +106831,72 @@ var TlsCertificateResponseData = /*#__PURE__*/function () {
* @param {module:model/TlsCertificateResponseData} obj Optional instance to populate.
* @return {module:model/TlsCertificateResponseData} The populated TlsCertificateResponseData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsCertificateResponseData();
-
_TlsCertificateData["default"].constructFromObject(data, obj);
-
_TlsCertificateResponseDataAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsCertificate["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _TlsCertificateResponseAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipTlsDomains["default"].constructFromObject(data['relationships']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return TlsCertificateResponseData;
}();
/**
* @member {module:model/TypeTlsCertificate} type
*/
-
-
TlsCertificateResponseData.prototype['type'] = undefined;
+
/**
* @member {module:model/TlsCertificateResponseAttributes} attributes
*/
-
TlsCertificateResponseData.prototype['attributes'] = undefined;
+
/**
* @member {module:model/RelationshipTlsDomains} relationships
*/
-
TlsCertificateResponseData.prototype['relationships'] = undefined;
+
/**
* @member {String} id
*/
+TlsCertificateResponseData.prototype['id'] = undefined;
-TlsCertificateResponseData.prototype['id'] = undefined; // Implement TlsCertificateData interface:
-
+// Implement TlsCertificateData interface:
/**
* @member {module:model/TypeTlsCertificate} type
*/
-
_TlsCertificateData["default"].prototype['type'] = undefined;
/**
* @member {module:model/TlsCertificateDataAttributes} attributes
*/
-
_TlsCertificateData["default"].prototype['attributes'] = undefined;
/**
* @member {module:model/RelationshipTlsDomains} relationships
*/
-
-_TlsCertificateData["default"].prototype['relationships'] = undefined; // Implement TlsCertificateResponseDataAllOf interface:
-
+_TlsCertificateData["default"].prototype['relationships'] = undefined;
+// Implement TlsCertificateResponseDataAllOf interface:
/**
* @member {String} id
*/
-
_TlsCertificateResponseDataAllOf["default"].prototype['id'] = undefined;
/**
* @member {module:model/TlsCertificateResponseAttributes} attributes
*/
-
_TlsCertificateResponseDataAllOf["default"].prototype['attributes'] = undefined;
var _default = TlsCertificateResponseData;
exports["default"] = _default;
@@ -112150,23 +106913,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TlsCertificateResponseAttributes = _interopRequireDefault(__nccwpck_require__(19413));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsCertificateResponseDataAllOf model module.
* @module model/TlsCertificateResponseDataAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsCertificateResponseDataAllOf = /*#__PURE__*/function () {
/**
@@ -112175,19 +106934,18 @@ var TlsCertificateResponseDataAllOf = /*#__PURE__*/function () {
*/
function TlsCertificateResponseDataAllOf() {
_classCallCheck(this, TlsCertificateResponseDataAllOf);
-
TlsCertificateResponseDataAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsCertificateResponseDataAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsCertificateResponseDataAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -112195,38 +106953,31 @@ var TlsCertificateResponseDataAllOf = /*#__PURE__*/function () {
* @param {module:model/TlsCertificateResponseDataAllOf} obj Optional instance to populate.
* @return {module:model/TlsCertificateResponseDataAllOf} The populated TlsCertificateResponseDataAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsCertificateResponseDataAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _TlsCertificateResponseAttributes["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return TlsCertificateResponseDataAllOf;
}();
/**
* @member {String} id
*/
-
-
TlsCertificateResponseDataAllOf.prototype['id'] = undefined;
+
/**
* @member {module:model/TlsCertificateResponseAttributes} attributes
*/
-
TlsCertificateResponseDataAllOf.prototype['attributes'] = undefined;
var _default = TlsCertificateResponseDataAllOf;
exports["default"] = _default;
@@ -112243,31 +106994,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Pagination = _interopRequireDefault(__nccwpck_require__(89281));
-
var _PaginationLinks = _interopRequireDefault(__nccwpck_require__(97779));
-
var _PaginationMeta = _interopRequireDefault(__nccwpck_require__(93986));
-
var _TlsCertificateResponseData = _interopRequireDefault(__nccwpck_require__(60567));
-
var _TlsCertificatesResponseAllOf = _interopRequireDefault(__nccwpck_require__(19672));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsCertificatesResponse model module.
* @module model/TlsCertificatesResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsCertificatesResponse = /*#__PURE__*/function () {
/**
@@ -112278,23 +107021,20 @@ var TlsCertificatesResponse = /*#__PURE__*/function () {
*/
function TlsCertificatesResponse() {
_classCallCheck(this, TlsCertificatesResponse);
-
_Pagination["default"].initialize(this);
-
_TlsCertificatesResponseAllOf["default"].initialize(this);
-
TlsCertificatesResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsCertificatesResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsCertificatesResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -112302,68 +107042,56 @@ var TlsCertificatesResponse = /*#__PURE__*/function () {
* @param {module:model/TlsCertificatesResponse} obj Optional instance to populate.
* @return {module:model/TlsCertificatesResponse} The populated TlsCertificatesResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsCertificatesResponse();
-
_Pagination["default"].constructFromObject(data, obj);
-
_TlsCertificatesResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('links')) {
obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TlsCertificateResponseData["default"]]);
}
}
-
return obj;
}
}]);
-
return TlsCertificatesResponse;
}();
/**
* @member {module:model/PaginationLinks} links
*/
-
-
TlsCertificatesResponse.prototype['links'] = undefined;
+
/**
* @member {module:model/PaginationMeta} meta
*/
-
TlsCertificatesResponse.prototype['meta'] = undefined;
+
/**
* @member {Array.TlsCertificatesResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -112425,29 +107148,23 @@ var TlsCertificatesResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/TlsCertificatesResponseAllOf} obj Optional instance to populate.
* @return {module:model/TlsCertificatesResponseAllOf} The populated TlsCertificatesResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsCertificatesResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TlsCertificateResponseData["default"]]);
}
}
-
return obj;
}
}]);
-
return TlsCertificatesResponseAllOf;
}();
/**
* @member {Array.TlsCommon
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -112507,38 +107220,30 @@ var TlsCommon = /*#__PURE__*/function () {
* @param {module:model/TlsCommon} obj Optional instance to populate.
* @return {module:model/TlsCommon} The populated TlsCommon
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsCommon();
-
if (data.hasOwnProperty('tls_ca_cert')) {
obj['tls_ca_cert'] = _ApiClient["default"].convertToType(data['tls_ca_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_cert')) {
obj['tls_client_cert'] = _ApiClient["default"].convertToType(data['tls_client_cert'], 'String');
}
-
if (data.hasOwnProperty('tls_client_key')) {
obj['tls_client_key'] = _ApiClient["default"].convertToType(data['tls_client_key'], 'String');
}
-
if (data.hasOwnProperty('tls_cert_hostname')) {
obj['tls_cert_hostname'] = _ApiClient["default"].convertToType(data['tls_cert_hostname'], 'String');
}
-
if (data.hasOwnProperty('use_tls')) {
obj['use_tls'] = _ApiClient["default"].convertToType(data['use_tls'], 'Number');
}
}
-
return obj;
}
}]);
-
return TlsCommon;
}();
/**
@@ -112546,50 +107251,47 @@ var TlsCommon = /*#__PURE__*/function () {
* @member {String} tls_ca_cert
* @default 'null'
*/
-
-
TlsCommon.prototype['tls_ca_cert'] = 'null';
+
/**
* The client certificate used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_cert
* @default 'null'
*/
-
TlsCommon.prototype['tls_client_cert'] = 'null';
+
/**
* The client private key used to make authenticated requests. Must be in PEM format.
* @member {String} tls_client_key
* @default 'null'
*/
-
TlsCommon.prototype['tls_client_key'] = 'null';
+
/**
* The hostname used to verify a server's certificate. It can either be the Common Name (CN) or a Subject Alternative Name (SAN).
* @member {String} tls_cert_hostname
* @default 'null'
*/
-
TlsCommon.prototype['tls_cert_hostname'] = 'null';
+
/**
* Whether to use TLS.
* @member {module:model/TlsCommon.UseTlsEnum} use_tls
* @default UseTlsEnum.no_tls
*/
-
TlsCommon.prototype['use_tls'] = undefined;
+
/**
* Allowed values for the use_tls
property.
* @enum {Number}
* @readonly
*/
-
TlsCommon['UseTlsEnum'] = {
/**
* value: 0
* @const
*/
"no_tls": 0,
-
/**
* value: 1
* @const
@@ -112601,7 +107303,490 @@ exports["default"] = _default;
/***/ }),
-/***/ 27494:
+/***/ 27494:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _TlsConfigurationData = _interopRequireDefault(__nccwpck_require__(52720));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The TlsConfiguration model module.
+ * @module model/TlsConfiguration
+ * @version v3.1.0
+ */
+var TlsConfiguration = /*#__PURE__*/function () {
+ /**
+ * Constructs a new TlsConfiguration
.
+ * @alias module:model/TlsConfiguration
+ */
+ function TlsConfiguration() {
+ _classCallCheck(this, TlsConfiguration);
+ TlsConfiguration.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(TlsConfiguration, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a TlsConfiguration
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/TlsConfiguration} obj Optional instance to populate.
+ * @return {module:model/TlsConfiguration} The populated TlsConfiguration
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new TlsConfiguration();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _TlsConfigurationData["default"].constructFromObject(data['data']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return TlsConfiguration;
+}();
+/**
+ * @member {module:model/TlsConfigurationData} data
+ */
+TlsConfiguration.prototype['data'] = undefined;
+var _default = TlsConfiguration;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 52720:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _RelationshipsForTlsConfiguration = _interopRequireDefault(__nccwpck_require__(11582));
+var _TlsConfigurationDataAttributes = _interopRequireDefault(__nccwpck_require__(46704));
+var _TypeTlsConfiguration = _interopRequireDefault(__nccwpck_require__(39168));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The TlsConfigurationData model module.
+ * @module model/TlsConfigurationData
+ * @version v3.1.0
+ */
+var TlsConfigurationData = /*#__PURE__*/function () {
+ /**
+ * Constructs a new TlsConfigurationData
.
+ * @alias module:model/TlsConfigurationData
+ */
+ function TlsConfigurationData() {
+ _classCallCheck(this, TlsConfigurationData);
+ TlsConfigurationData.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(TlsConfigurationData, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a TlsConfigurationData
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/TlsConfigurationData} obj Optional instance to populate.
+ * @return {module:model/TlsConfigurationData} The populated TlsConfigurationData
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new TlsConfigurationData();
+ if (data.hasOwnProperty('type')) {
+ obj['type'] = _TypeTlsConfiguration["default"].constructFromObject(data['type']);
+ }
+ if (data.hasOwnProperty('attributes')) {
+ obj['attributes'] = _TlsConfigurationDataAttributes["default"].constructFromObject(data['attributes']);
+ }
+ if (data.hasOwnProperty('relationships')) {
+ obj['relationships'] = _RelationshipsForTlsConfiguration["default"].constructFromObject(data['relationships']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return TlsConfigurationData;
+}();
+/**
+ * @member {module:model/TypeTlsConfiguration} type
+ */
+TlsConfigurationData.prototype['type'] = undefined;
+
+/**
+ * @member {module:model/TlsConfigurationDataAttributes} attributes
+ */
+TlsConfigurationData.prototype['attributes'] = undefined;
+
+/**
+ * @member {module:model/RelationshipsForTlsConfiguration} relationships
+ */
+TlsConfigurationData.prototype['relationships'] = undefined;
+var _default = TlsConfigurationData;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 46704:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The TlsConfigurationDataAttributes model module.
+ * @module model/TlsConfigurationDataAttributes
+ * @version v3.1.0
+ */
+var TlsConfigurationDataAttributes = /*#__PURE__*/function () {
+ /**
+ * Constructs a new TlsConfigurationDataAttributes
.
+ * @alias module:model/TlsConfigurationDataAttributes
+ */
+ function TlsConfigurationDataAttributes() {
+ _classCallCheck(this, TlsConfigurationDataAttributes);
+ TlsConfigurationDataAttributes.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(TlsConfigurationDataAttributes, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a TlsConfigurationDataAttributes
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/TlsConfigurationDataAttributes} obj Optional instance to populate.
+ * @return {module:model/TlsConfigurationDataAttributes} The populated TlsConfigurationDataAttributes
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new TlsConfigurationDataAttributes();
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return TlsConfigurationDataAttributes;
+}();
+/**
+ * A custom name for your TLS configuration.
+ * @member {String} name
+ */
+TlsConfigurationDataAttributes.prototype['name'] = undefined;
+var _default = TlsConfigurationDataAttributes;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 79692:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _TlsConfigurationResponseData = _interopRequireDefault(__nccwpck_require__(36818));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The TlsConfigurationResponse model module.
+ * @module model/TlsConfigurationResponse
+ * @version v3.1.0
+ */
+var TlsConfigurationResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new TlsConfigurationResponse
.
+ * @alias module:model/TlsConfigurationResponse
+ */
+ function TlsConfigurationResponse() {
+ _classCallCheck(this, TlsConfigurationResponse);
+ TlsConfigurationResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(TlsConfigurationResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a TlsConfigurationResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/TlsConfigurationResponse} obj Optional instance to populate.
+ * @return {module:model/TlsConfigurationResponse} The populated TlsConfigurationResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new TlsConfigurationResponse();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _TlsConfigurationResponseData["default"].constructFromObject(data['data']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return TlsConfigurationResponse;
+}();
+/**
+ * @member {module:model/TlsConfigurationResponseData} data
+ */
+TlsConfigurationResponse.prototype['data'] = undefined;
+var _default = TlsConfigurationResponse;
+exports["default"] = _default;
+
+/***/ }),
+
+/***/ 35830:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
+var _TlsConfigurationResponseAttributesAllOf = _interopRequireDefault(__nccwpck_require__(11267));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The TlsConfigurationResponseAttributes model module.
+ * @module model/TlsConfigurationResponseAttributes
+ * @version v3.1.0
+ */
+var TlsConfigurationResponseAttributes = /*#__PURE__*/function () {
+ /**
+ * Constructs a new TlsConfigurationResponseAttributes
.
+ * @alias module:model/TlsConfigurationResponseAttributes
+ * @implements module:model/Timestamps
+ * @implements module:model/TlsConfigurationResponseAttributesAllOf
+ */
+ function TlsConfigurationResponseAttributes() {
+ _classCallCheck(this, TlsConfigurationResponseAttributes);
+ _Timestamps["default"].initialize(this);
+ _TlsConfigurationResponseAttributesAllOf["default"].initialize(this);
+ TlsConfigurationResponseAttributes.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(TlsConfigurationResponseAttributes, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a TlsConfigurationResponseAttributes
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/TlsConfigurationResponseAttributes} obj Optional instance to populate.
+ * @return {module:model/TlsConfigurationResponseAttributes} The populated TlsConfigurationResponseAttributes
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new TlsConfigurationResponseAttributes();
+ _Timestamps["default"].constructFromObject(data, obj);
+ _TlsConfigurationResponseAttributesAllOf["default"].constructFromObject(data, obj);
+ if (data.hasOwnProperty('created_at')) {
+ obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
+ }
+ if (data.hasOwnProperty('deleted_at')) {
+ obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
+ }
+ if (data.hasOwnProperty('updated_at')) {
+ obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
+ }
+ if (data.hasOwnProperty('default')) {
+ obj['default'] = _ApiClient["default"].convertToType(data['default'], 'Boolean');
+ }
+ if (data.hasOwnProperty('http_protocols')) {
+ obj['http_protocols'] = _ApiClient["default"].convertToType(data['http_protocols'], ['String']);
+ }
+ if (data.hasOwnProperty('tls_protocols')) {
+ obj['tls_protocols'] = _ApiClient["default"].convertToType(data['tls_protocols'], ['Number']);
+ }
+ if (data.hasOwnProperty('bulk')) {
+ obj['bulk'] = _ApiClient["default"].convertToType(data['bulk'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return TlsConfigurationResponseAttributes;
+}();
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} created_at
+ */
+TlsConfigurationResponseAttributes.prototype['created_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} deleted_at
+ */
+TlsConfigurationResponseAttributes.prototype['deleted_at'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} updated_at
+ */
+TlsConfigurationResponseAttributes.prototype['updated_at'] = undefined;
+
+/**
+ * Signifies whether or not Fastly will use this configuration as a default when creating a new [TLS Activation](/reference/api/tls/custom-certs/activations/).
+ * @member {Boolean} default
+ */
+TlsConfigurationResponseAttributes.prototype['default'] = undefined;
+
+/**
+ * HTTP protocols available on your configuration.
+ * @member {Array.TlsConfiguration
.
- * @alias module:model/TlsConfiguration
+ * Constructs a new TlsConfigurationResponseAttributesAllOf
.
+ * @alias module:model/TlsConfigurationResponseAttributesAllOf
*/
- function TlsConfiguration() {
- _classCallCheck(this, TlsConfiguration);
-
- TlsConfiguration.initialize(this);
+ function TlsConfigurationResponseAttributesAllOf() {
+ _classCallCheck(this, TlsConfigurationResponseAttributesAllOf);
+ TlsConfigurationResponseAttributesAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(TlsConfiguration, null, [{
+ _createClass(TlsConfigurationResponseAttributesAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a TlsConfiguration
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a TlsConfigurationResponseAttributesAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/TlsConfiguration} obj Optional instance to populate.
- * @return {module:model/TlsConfiguration} The populated TlsConfiguration
instance.
+ * @param {module:model/TlsConfigurationResponseAttributesAllOf} obj Optional instance to populate.
+ * @return {module:model/TlsConfigurationResponseAttributesAllOf} The populated TlsConfigurationResponseAttributesAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new TlsConfiguration();
-
- if (data.hasOwnProperty('data')) {
- obj['data'] = _TlsConfigurationData["default"].constructFromObject(data['data']);
+ obj = obj || new TlsConfigurationResponseAttributesAllOf();
+ if (data.hasOwnProperty('default')) {
+ obj['default'] = _ApiClient["default"].convertToType(data['default'], 'Boolean');
+ }
+ if (data.hasOwnProperty('http_protocols')) {
+ obj['http_protocols'] = _ApiClient["default"].convertToType(data['http_protocols'], ['String']);
+ }
+ if (data.hasOwnProperty('tls_protocols')) {
+ obj['tls_protocols'] = _ApiClient["default"].convertToType(data['tls_protocols'], ['Number']);
+ }
+ if (data.hasOwnProperty('bulk')) {
+ obj['bulk'] = _ApiClient["default"].convertToType(data['bulk'], 'Boolean');
}
}
-
return obj;
}
}]);
-
- return TlsConfiguration;
+ return TlsConfigurationResponseAttributesAllOf;
}();
/**
- * @member {module:model/TlsConfigurationData} data
+ * Signifies whether or not Fastly will use this configuration as a default when creating a new [TLS Activation](/reference/api/tls/custom-certs/activations/).
+ * @member {Boolean} default
+ */
+TlsConfigurationResponseAttributesAllOf.prototype['default'] = undefined;
+
+/**
+ * HTTP protocols available on your configuration.
+ * @member {Array.TlsConfigurationData
.
- * @alias module:model/TlsConfigurationData
+ * Constructs a new TlsConfigurationResponseData
.
+ * @alias module:model/TlsConfigurationResponseData
+ * @implements module:model/TlsConfigurationData
+ * @implements module:model/TlsConfigurationResponseDataAllOf
*/
- function TlsConfigurationData() {
- _classCallCheck(this, TlsConfigurationData);
-
- TlsConfigurationData.initialize(this);
+ function TlsConfigurationResponseData() {
+ _classCallCheck(this, TlsConfigurationResponseData);
+ _TlsConfigurationData["default"].initialize(this);
+ _TlsConfigurationResponseDataAllOf["default"].initialize(this);
+ TlsConfigurationResponseData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(TlsConfigurationData, null, [{
+ _createClass(TlsConfigurationResponseData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a TlsConfigurationData
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a TlsConfigurationResponseData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/TlsConfigurationData} obj Optional instance to populate.
- * @return {module:model/TlsConfigurationData} The populated TlsConfigurationData
instance.
+ * @param {module:model/TlsConfigurationResponseData} obj Optional instance to populate.
+ * @return {module:model/TlsConfigurationResponseData} The populated TlsConfigurationResponseData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new TlsConfigurationData();
-
+ obj = obj || new TlsConfigurationResponseData();
+ _TlsConfigurationData["default"].constructFromObject(data, obj);
+ _TlsConfigurationResponseDataAllOf["default"].constructFromObject(data, obj);
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsConfiguration["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
- obj['attributes'] = _TlsConfigurationDataAttributes["default"].constructFromObject(data['attributes']);
+ obj['attributes'] = _TlsConfigurationResponseAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipsForTlsConfiguration["default"].constructFromObject(data['relationships']);
}
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ }
}
-
return obj;
}
}]);
-
- return TlsConfigurationData;
+ return TlsConfigurationResponseData;
}();
/**
* @member {module:model/TypeTlsConfiguration} type
*/
+TlsConfigurationResponseData.prototype['type'] = undefined;
-
-TlsConfigurationData.prototype['type'] = undefined;
/**
- * @member {module:model/TlsConfigurationDataAttributes} attributes
+ * @member {module:model/TlsConfigurationResponseAttributes} attributes
*/
+TlsConfigurationResponseData.prototype['attributes'] = undefined;
-TlsConfigurationData.prototype['attributes'] = undefined;
/**
* @member {module:model/RelationshipsForTlsConfiguration} relationships
*/
+TlsConfigurationResponseData.prototype['relationships'] = undefined;
-TlsConfigurationData.prototype['relationships'] = undefined;
-var _default = TlsConfigurationData;
+/**
+ * @member {String} id
+ */
+TlsConfigurationResponseData.prototype['id'] = undefined;
+
+// Implement TlsConfigurationData interface:
+/**
+ * @member {module:model/TypeTlsConfiguration} type
+ */
+_TlsConfigurationData["default"].prototype['type'] = undefined;
+/**
+ * @member {module:model/TlsConfigurationDataAttributes} attributes
+ */
+_TlsConfigurationData["default"].prototype['attributes'] = undefined;
+/**
+ * @member {module:model/RelationshipsForTlsConfiguration} relationships
+ */
+_TlsConfigurationData["default"].prototype['relationships'] = undefined;
+// Implement TlsConfigurationResponseDataAllOf interface:
+/**
+ * @member {String} id
+ */
+_TlsConfigurationResponseDataAllOf["default"].prototype['id'] = undefined;
+/**
+ * @member {module:model/TlsConfigurationResponseAttributes} attributes
+ */
+_TlsConfigurationResponseDataAllOf["default"].prototype['attributes'] = undefined;
+var _default = TlsConfigurationResponseData;
exports["default"] = _default;
/***/ }),
-/***/ 46704:
+/***/ 22196:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -112801,80 +108026,78 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
+var _TlsConfigurationResponseAttributes = _interopRequireDefault(__nccwpck_require__(35830));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The TlsConfigurationDataAttributes model module.
- * @module model/TlsConfigurationDataAttributes
- * @version 3.0.0-beta2
+ * The TlsConfigurationResponseDataAllOf model module.
+ * @module model/TlsConfigurationResponseDataAllOf
+ * @version v3.1.0
*/
-var TlsConfigurationDataAttributes = /*#__PURE__*/function () {
+var TlsConfigurationResponseDataAllOf = /*#__PURE__*/function () {
/**
- * Constructs a new TlsConfigurationDataAttributes
.
- * @alias module:model/TlsConfigurationDataAttributes
+ * Constructs a new TlsConfigurationResponseDataAllOf
.
+ * @alias module:model/TlsConfigurationResponseDataAllOf
*/
- function TlsConfigurationDataAttributes() {
- _classCallCheck(this, TlsConfigurationDataAttributes);
-
- TlsConfigurationDataAttributes.initialize(this);
+ function TlsConfigurationResponseDataAllOf() {
+ _classCallCheck(this, TlsConfigurationResponseDataAllOf);
+ TlsConfigurationResponseDataAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(TlsConfigurationDataAttributes, null, [{
+ _createClass(TlsConfigurationResponseDataAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a TlsConfigurationDataAttributes
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a TlsConfigurationResponseDataAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/TlsConfigurationDataAttributes} obj Optional instance to populate.
- * @return {module:model/TlsConfigurationDataAttributes} The populated TlsConfigurationDataAttributes
instance.
+ * @param {module:model/TlsConfigurationResponseDataAllOf} obj Optional instance to populate.
+ * @return {module:model/TlsConfigurationResponseDataAllOf} The populated TlsConfigurationResponseDataAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new TlsConfigurationDataAttributes();
-
- if (data.hasOwnProperty('name')) {
- obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ obj = obj || new TlsConfigurationResponseDataAllOf();
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('attributes')) {
+ obj['attributes'] = _TlsConfigurationResponseAttributes["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
- return TlsConfigurationDataAttributes;
+ return TlsConfigurationResponseDataAllOf;
}();
/**
- * A custom name for your TLS configuration.
- * @member {String} name
+ * @member {String} id
*/
+TlsConfigurationResponseDataAllOf.prototype['id'] = undefined;
-
-TlsConfigurationDataAttributes.prototype['name'] = undefined;
-var _default = TlsConfigurationDataAttributes;
+/**
+ * @member {module:model/TlsConfigurationResponseAttributes} attributes
+ */
+TlsConfigurationResponseDataAllOf.prototype['attributes'] = undefined;
+var _default = TlsConfigurationResponseDataAllOf;
exports["default"] = _default;
/***/ }),
-/***/ 79692:
+/***/ 34352:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -112884,81 +108107,111 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
+var _Pagination = _interopRequireDefault(__nccwpck_require__(89281));
+var _PaginationLinks = _interopRequireDefault(__nccwpck_require__(97779));
+var _PaginationMeta = _interopRequireDefault(__nccwpck_require__(93986));
var _TlsConfigurationResponseData = _interopRequireDefault(__nccwpck_require__(36818));
-
+var _TlsConfigurationsResponseAllOf = _interopRequireDefault(__nccwpck_require__(56787));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The TlsConfigurationResponse model module.
- * @module model/TlsConfigurationResponse
- * @version 3.0.0-beta2
+ * The TlsConfigurationsResponse model module.
+ * @module model/TlsConfigurationsResponse
+ * @version v3.1.0
*/
-var TlsConfigurationResponse = /*#__PURE__*/function () {
+var TlsConfigurationsResponse = /*#__PURE__*/function () {
/**
- * Constructs a new TlsConfigurationResponse
.
- * @alias module:model/TlsConfigurationResponse
+ * Constructs a new TlsConfigurationsResponse
.
+ * @alias module:model/TlsConfigurationsResponse
+ * @implements module:model/Pagination
+ * @implements module:model/TlsConfigurationsResponseAllOf
*/
- function TlsConfigurationResponse() {
- _classCallCheck(this, TlsConfigurationResponse);
-
- TlsConfigurationResponse.initialize(this);
+ function TlsConfigurationsResponse() {
+ _classCallCheck(this, TlsConfigurationsResponse);
+ _Pagination["default"].initialize(this);
+ _TlsConfigurationsResponseAllOf["default"].initialize(this);
+ TlsConfigurationsResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(TlsConfigurationResponse, null, [{
+ _createClass(TlsConfigurationsResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a TlsConfigurationResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a TlsConfigurationsResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/TlsConfigurationResponse} obj Optional instance to populate.
- * @return {module:model/TlsConfigurationResponse} The populated TlsConfigurationResponse
instance.
+ * @param {module:model/TlsConfigurationsResponse} obj Optional instance to populate.
+ * @return {module:model/TlsConfigurationsResponse} The populated TlsConfigurationsResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new TlsConfigurationResponse();
-
+ obj = obj || new TlsConfigurationsResponse();
+ _Pagination["default"].constructFromObject(data, obj);
+ _TlsConfigurationsResponseAllOf["default"].constructFromObject(data, obj);
+ if (data.hasOwnProperty('links')) {
+ obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
+ }
+ if (data.hasOwnProperty('meta')) {
+ obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
+ }
if (data.hasOwnProperty('data')) {
- obj['data'] = _TlsConfigurationResponseData["default"].constructFromObject(data['data']);
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TlsConfigurationResponseData["default"]]);
}
}
-
return obj;
}
}]);
-
- return TlsConfigurationResponse;
+ return TlsConfigurationsResponse;
}();
/**
- * @member {module:model/TlsConfigurationResponseData} data
+ * @member {module:model/PaginationLinks} links
+ */
+TlsConfigurationsResponse.prototype['links'] = undefined;
+
+/**
+ * @member {module:model/PaginationMeta} meta
*/
+TlsConfigurationsResponse.prototype['meta'] = undefined;
+/**
+ * @member {Array.TlsConfigurationResponseAttributes
.
- * @alias module:model/TlsConfigurationResponseAttributes
- * @implements module:model/Timestamps
- * @implements module:model/TlsConfigurationResponseAttributesAllOf
+ * Constructs a new TlsConfigurationsResponseAllOf
.
+ * @alias module:model/TlsConfigurationsResponseAllOf
*/
- function TlsConfigurationResponseAttributes() {
- _classCallCheck(this, TlsConfigurationResponseAttributes);
-
- _Timestamps["default"].initialize(this);
-
- _TlsConfigurationResponseAttributesAllOf["default"].initialize(this);
-
- TlsConfigurationResponseAttributes.initialize(this);
+ function TlsConfigurationsResponseAllOf() {
+ _classCallCheck(this, TlsConfigurationsResponseAllOf);
+ TlsConfigurationsResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(TlsConfigurationResponseAttributes, null, [{
+ _createClass(TlsConfigurationsResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a TlsConfigurationResponseAttributes
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a TlsConfigurationsResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/TlsConfigurationResponseAttributes} obj Optional instance to populate.
- * @return {module:model/TlsConfigurationResponseAttributes} The populated TlsConfigurationResponseAttributes
instance.
+ * @param {module:model/TlsConfigurationsResponseAllOf} obj Optional instance to populate.
+ * @return {module:model/TlsConfigurationsResponseAllOf} The populated TlsConfigurationsResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new TlsConfigurationResponseAttributes();
-
- _Timestamps["default"].constructFromObject(data, obj);
-
- _TlsConfigurationResponseAttributesAllOf["default"].constructFromObject(data, obj);
-
- if (data.hasOwnProperty('created_at')) {
- obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
- }
-
- if (data.hasOwnProperty('deleted_at')) {
- obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
- }
-
- if (data.hasOwnProperty('updated_at')) {
- obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
- }
-
- if (data.hasOwnProperty('default')) {
- obj['default'] = _ApiClient["default"].convertToType(data['default'], 'Boolean');
- }
-
- if (data.hasOwnProperty('http_protocols')) {
- obj['http_protocols'] = _ApiClient["default"].convertToType(data['http_protocols'], ['String']);
- }
-
- if (data.hasOwnProperty('tls_protocols')) {
- obj['tls_protocols'] = _ApiClient["default"].convertToType(data['tls_protocols'], ['Number']);
- }
-
- if (data.hasOwnProperty('bulk')) {
- obj['bulk'] = _ApiClient["default"].convertToType(data['bulk'], 'Boolean');
+ obj = obj || new TlsConfigurationsResponseAllOf();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TlsConfigurationResponseData["default"]]);
}
}
-
return obj;
}
}]);
-
- return TlsConfigurationResponseAttributes;
+ return TlsConfigurationsResponseAllOf;
}();
/**
- * Date and time in ISO 8601 format.
- * @member {Date} created_at
- */
-
-
-TlsConfigurationResponseAttributes.prototype['created_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} deleted_at
- */
-
-TlsConfigurationResponseAttributes.prototype['deleted_at'] = undefined;
-/**
- * Date and time in ISO 8601 format.
- * @member {Date} updated_at
- */
-
-TlsConfigurationResponseAttributes.prototype['updated_at'] = undefined;
-/**
- * Signifies whether or not Fastly will use this configuration as a default when creating a new [TLS Activation](/reference/api/tls/custom-certs/activations/).
- * @member {Boolean} default
- */
-
-TlsConfigurationResponseAttributes.prototype['default'] = undefined;
-/**
- * HTTP protocols available on your configuration.
- * @member {Array.TlsCsr
.
+ * @alias module:model/TlsCsr
+ */
+ function TlsCsr() {
+ _classCallCheck(this, TlsCsr);
+ TlsCsr.initialize(this);
+ }
-_TlsConfigurationResponseAttributesAllOf["default"].prototype['tls_protocols'] = undefined;
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(TlsCsr, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a TlsCsr
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/TlsCsr} obj Optional instance to populate.
+ * @return {module:model/TlsCsr} The populated TlsCsr
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new TlsCsr();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _TlsCsrData["default"].constructFromObject(data['data']);
+ }
+ }
+ return obj;
+ }
+ }]);
+ return TlsCsr;
+}();
/**
- * Signifies whether the configuration is used for Platform TLS or not.
- * @member {Boolean} bulk
+ * @member {module:model/TlsCsrData} data
*/
-
-_TlsConfigurationResponseAttributesAllOf["default"].prototype['bulk'] = undefined;
-var _default = TlsConfigurationResponseAttributes;
+TlsCsr.prototype['data'] = undefined;
+var _default = TlsCsr;
exports["default"] = _default;
/***/ }),
-/***/ 11267:
+/***/ 74675:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -113169,110 +108367,88 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
+var _RelationshipsForTlsCsr = _interopRequireDefault(__nccwpck_require__(63842));
+var _TlsCsrDataAttributes = _interopRequireDefault(__nccwpck_require__(20023));
+var _TypeTlsCsr = _interopRequireDefault(__nccwpck_require__(12971));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The TlsConfigurationResponseAttributesAllOf model module.
- * @module model/TlsConfigurationResponseAttributesAllOf
- * @version 3.0.0-beta2
+ * The TlsCsrData model module.
+ * @module model/TlsCsrData
+ * @version v3.1.0
*/
-var TlsConfigurationResponseAttributesAllOf = /*#__PURE__*/function () {
+var TlsCsrData = /*#__PURE__*/function () {
/**
- * Constructs a new TlsConfigurationResponseAttributesAllOf
.
- * @alias module:model/TlsConfigurationResponseAttributesAllOf
+ * Constructs a new TlsCsrData
.
+ * @alias module:model/TlsCsrData
*/
- function TlsConfigurationResponseAttributesAllOf() {
- _classCallCheck(this, TlsConfigurationResponseAttributesAllOf);
-
- TlsConfigurationResponseAttributesAllOf.initialize(this);
+ function TlsCsrData() {
+ _classCallCheck(this, TlsCsrData);
+ TlsCsrData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(TlsConfigurationResponseAttributesAllOf, null, [{
+ _createClass(TlsCsrData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a TlsConfigurationResponseAttributesAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a TlsCsrData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/TlsConfigurationResponseAttributesAllOf} obj Optional instance to populate.
- * @return {module:model/TlsConfigurationResponseAttributesAllOf} The populated TlsConfigurationResponseAttributesAllOf
instance.
+ * @param {module:model/TlsCsrData} obj Optional instance to populate.
+ * @return {module:model/TlsCsrData} The populated TlsCsrData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new TlsConfigurationResponseAttributesAllOf();
-
- if (data.hasOwnProperty('default')) {
- obj['default'] = _ApiClient["default"].convertToType(data['default'], 'Boolean');
- }
-
- if (data.hasOwnProperty('http_protocols')) {
- obj['http_protocols'] = _ApiClient["default"].convertToType(data['http_protocols'], ['String']);
+ obj = obj || new TlsCsrData();
+ if (data.hasOwnProperty('type')) {
+ obj['type'] = _TypeTlsCsr["default"].constructFromObject(data['type']);
}
-
- if (data.hasOwnProperty('tls_protocols')) {
- obj['tls_protocols'] = _ApiClient["default"].convertToType(data['tls_protocols'], ['Number']);
+ if (data.hasOwnProperty('attributes')) {
+ obj['attributes'] = _TlsCsrDataAttributes["default"].constructFromObject(data['attributes']);
}
-
- if (data.hasOwnProperty('bulk')) {
- obj['bulk'] = _ApiClient["default"].convertToType(data['bulk'], 'Boolean');
+ if (data.hasOwnProperty('relationships')) {
+ obj['relationships'] = _RelationshipsForTlsCsr["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
- return TlsConfigurationResponseAttributesAllOf;
+ return TlsCsrData;
}();
/**
- * Signifies whether or not Fastly will use this configuration as a default when creating a new [TLS Activation](/reference/api/tls/custom-certs/activations/).
- * @member {Boolean} default
- */
-
-
-TlsConfigurationResponseAttributesAllOf.prototype['default'] = undefined;
-/**
- * HTTP protocols available on your configuration.
- * @member {Array.TlsConfigurationResponseData
.
- * @alias module:model/TlsConfigurationResponseData
- * @implements module:model/TlsConfigurationData
- * @implements module:model/TlsConfigurationResponseDataAllOf
+ * Constructs a new TlsCsrDataAttributes
.
+ * @alias module:model/TlsCsrDataAttributes
+ * @param sans {Array.TlsConfigurationResponseData
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a TlsCsrDataAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/TlsConfigurationResponseData} obj Optional instance to populate.
- * @return {module:model/TlsConfigurationResponseData} The populated TlsConfigurationResponseData
instance.
+ * @param {module:model/TlsCsrDataAttributes} obj Optional instance to populate.
+ * @return {module:model/TlsCsrDataAttributes} The populated TlsCsrDataAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new TlsConfigurationResponseData();
-
- _TlsConfigurationData["default"].constructFromObject(data, obj);
-
- _TlsConfigurationResponseDataAllOf["default"].constructFromObject(data, obj);
-
- if (data.hasOwnProperty('type')) {
- obj['type'] = _TypeTlsConfiguration["default"].constructFromObject(data['type']);
+ obj = obj || new TlsCsrDataAttributes();
+ if (data.hasOwnProperty('sans')) {
+ obj['sans'] = _ApiClient["default"].convertToType(data['sans'], ['String']);
}
-
- if (data.hasOwnProperty('attributes')) {
- obj['attributes'] = _TlsConfigurationResponseAttributes["default"].constructFromObject(data['attributes']);
+ if (data.hasOwnProperty('common_name')) {
+ obj['common_name'] = _ApiClient["default"].convertToType(data['common_name'], 'String');
}
-
- if (data.hasOwnProperty('relationships')) {
- obj['relationships'] = _RelationshipsForTlsConfiguration["default"].constructFromObject(data['relationships']);
+ if (data.hasOwnProperty('country')) {
+ obj['country'] = _ApiClient["default"].convertToType(data['country'], 'String');
}
-
- if (data.hasOwnProperty('id')) {
- obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ if (data.hasOwnProperty('state')) {
+ obj['state'] = _ApiClient["default"].convertToType(data['state'], 'String');
+ }
+ if (data.hasOwnProperty('city')) {
+ obj['city'] = _ApiClient["default"].convertToType(data['city'], 'String');
+ }
+ if (data.hasOwnProperty('postal_code')) {
+ obj['postal_code'] = _ApiClient["default"].convertToType(data['postal_code'], 'String');
+ }
+ if (data.hasOwnProperty('street_address')) {
+ obj['street_address'] = _ApiClient["default"].convertToType(data['street_address'], 'String');
+ }
+ if (data.hasOwnProperty('organization')) {
+ obj['organization'] = _ApiClient["default"].convertToType(data['organization'], 'String');
+ }
+ if (data.hasOwnProperty('organizational_unit')) {
+ obj['organizational_unit'] = _ApiClient["default"].convertToType(data['organizational_unit'], 'String');
+ }
+ if (data.hasOwnProperty('email')) {
+ obj['email'] = _ApiClient["default"].convertToType(data['email'], 'String');
}
}
-
return obj;
}
}]);
-
- return TlsConfigurationResponseData;
+ return TlsCsrDataAttributes;
}();
/**
- * @member {module:model/TypeTlsConfiguration} type
+ * Subject Altername Names - An array of one or more fully qualified domain names or public IP addresses to be secured by this certificate. Required.
+ * @member {Array.TlsConfigurationResponseDataAllOf
.
- * @alias module:model/TlsConfigurationResponseDataAllOf
+ * Constructs a new TlsCsrResponse
.
+ * @alias module:model/TlsCsrResponse
*/
- function TlsConfigurationResponseDataAllOf() {
- _classCallCheck(this, TlsConfigurationResponseDataAllOf);
-
- TlsConfigurationResponseDataAllOf.initialize(this);
+ function TlsCsrResponse() {
+ _classCallCheck(this, TlsCsrResponse);
+ TlsCsrResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(TlsConfigurationResponseDataAllOf, null, [{
+ _createClass(TlsCsrResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a TlsConfigurationResponseDataAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a TlsCsrResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/TlsConfigurationResponseDataAllOf} obj Optional instance to populate.
- * @return {module:model/TlsConfigurationResponseDataAllOf} The populated TlsConfigurationResponseDataAllOf
instance.
+ * @param {module:model/TlsCsrResponse} obj Optional instance to populate.
+ * @return {module:model/TlsCsrResponse} The populated TlsCsrResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new TlsConfigurationResponseDataAllOf();
-
- if (data.hasOwnProperty('id')) {
- obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
- }
-
- if (data.hasOwnProperty('attributes')) {
- obj['attributes'] = _TlsConfigurationResponseAttributes["default"].constructFromObject(data['attributes']);
+ obj = obj || new TlsCsrResponse();
+ if (data.hasOwnProperty('data')) {
+ obj['data'] = _TlsCsrResponseData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
- return TlsConfigurationResponseDataAllOf;
+ return TlsCsrResponse;
}();
/**
- * @member {String} id
- */
-
-
-TlsConfigurationResponseDataAllOf.prototype['id'] = undefined;
-/**
- * @member {module:model/TlsConfigurationResponseAttributes} attributes
+ * @member {module:model/TlsCsrResponseData} data
*/
-
-TlsConfigurationResponseDataAllOf.prototype['attributes'] = undefined;
-var _default = TlsConfigurationResponseDataAllOf;
+TlsCsrResponse.prototype['data'] = undefined;
+var _default = TlsCsrResponse;
exports["default"] = _default;
/***/ }),
-/***/ 34352:
+/***/ 32850:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -113531,134 +108688,70 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
-var _Pagination = _interopRequireDefault(__nccwpck_require__(89281));
-
-var _PaginationLinks = _interopRequireDefault(__nccwpck_require__(97779));
-
-var _PaginationMeta = _interopRequireDefault(__nccwpck_require__(93986));
-
-var _TlsConfigurationResponseData = _interopRequireDefault(__nccwpck_require__(36818));
-
-var _TlsConfigurationsResponseAllOf = _interopRequireDefault(__nccwpck_require__(56787));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
- * The TlsConfigurationsResponse model module.
- * @module model/TlsConfigurationsResponse
- * @version 3.0.0-beta2
+ * The TlsCsrResponseAttributes model module.
+ * @module model/TlsCsrResponseAttributes
+ * @version v3.1.0
*/
-var TlsConfigurationsResponse = /*#__PURE__*/function () {
+var TlsCsrResponseAttributes = /*#__PURE__*/function () {
/**
- * Constructs a new TlsConfigurationsResponse
.
- * @alias module:model/TlsConfigurationsResponse
- * @implements module:model/Pagination
- * @implements module:model/TlsConfigurationsResponseAllOf
+ * Constructs a new TlsCsrResponseAttributes
.
+ * @alias module:model/TlsCsrResponseAttributes
*/
- function TlsConfigurationsResponse() {
- _classCallCheck(this, TlsConfigurationsResponse);
-
- _Pagination["default"].initialize(this);
-
- _TlsConfigurationsResponseAllOf["default"].initialize(this);
-
- TlsConfigurationsResponse.initialize(this);
+ function TlsCsrResponseAttributes() {
+ _classCallCheck(this, TlsCsrResponseAttributes);
+ TlsCsrResponseAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(TlsConfigurationsResponse, null, [{
+ _createClass(TlsCsrResponseAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a TlsConfigurationsResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a TlsCsrResponseAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/TlsConfigurationsResponse} obj Optional instance to populate.
- * @return {module:model/TlsConfigurationsResponse} The populated TlsConfigurationsResponse
instance.
+ * @param {module:model/TlsCsrResponseAttributes} obj Optional instance to populate.
+ * @return {module:model/TlsCsrResponseAttributes} The populated TlsCsrResponseAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new TlsConfigurationsResponse();
-
- _Pagination["default"].constructFromObject(data, obj);
-
- _TlsConfigurationsResponseAllOf["default"].constructFromObject(data, obj);
-
- if (data.hasOwnProperty('links')) {
- obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
- }
-
- if (data.hasOwnProperty('meta')) {
- obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
- }
-
- if (data.hasOwnProperty('data')) {
- obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TlsConfigurationResponseData["default"]]);
+ obj = obj || new TlsCsrResponseAttributes();
+ if (data.hasOwnProperty('content')) {
+ obj['content'] = _ApiClient["default"].convertToType(data['content'], 'String');
}
}
-
return obj;
}
}]);
-
- return TlsConfigurationsResponse;
+ return TlsCsrResponseAttributes;
}();
/**
- * @member {module:model/PaginationLinks} links
- */
-
-
-TlsConfigurationsResponse.prototype['links'] = undefined;
-/**
- * @member {module:model/PaginationMeta} meta
- */
-
-TlsConfigurationsResponse.prototype['meta'] = undefined;
-/**
- * @member {Array.TlsConfigurationsResponseAllOf
.
- * @alias module:model/TlsConfigurationsResponseAllOf
+ * Constructs a new TlsCsrResponseData
.
+ * @alias module:model/TlsCsrResponseData
*/
- function TlsConfigurationsResponseAllOf() {
- _classCallCheck(this, TlsConfigurationsResponseAllOf);
-
- TlsConfigurationsResponseAllOf.initialize(this);
+ function TlsCsrResponseData() {
+ _classCallCheck(this, TlsCsrResponseData);
+ TlsCsrResponseData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
- _createClass(TlsConfigurationsResponseAllOf, null, [{
+ _createClass(TlsCsrResponseData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
- * Constructs a TlsConfigurationsResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a TlsCsrResponseData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:model/TlsConfigurationsResponseAllOf} obj Optional instance to populate.
- * @return {module:model/TlsConfigurationsResponseAllOf} The populated TlsConfigurationsResponseAllOf
instance.
+ * @param {module:model/TlsCsrResponseData} obj Optional instance to populate.
+ * @return {module:model/TlsCsrResponseData} The populated TlsCsrResponseData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
- obj = obj || new TlsConfigurationsResponseAllOf();
-
- if (data.hasOwnProperty('data')) {
- obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TlsConfigurationResponseData["default"]]);
+ obj = obj || new TlsCsrResponseData();
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('type')) {
+ obj['type'] = _TypeTlsCsr["default"].constructFromObject(data['type']);
+ }
+ if (data.hasOwnProperty('attributes')) {
+ obj['attributes'] = _TlsCsrResponseAttributes["default"].constructFromObject(data['attributes']);
+ }
+ if (data.hasOwnProperty('relationships')) {
+ obj['relationships'] = _RelationshipsForTlsCsr["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
- return TlsConfigurationsResponseAllOf;
+ return TlsCsrResponseData;
}();
/**
- * @member {Array.TlsDnsRecord
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -113795,50 +108899,42 @@ var TlsDnsRecord = /*#__PURE__*/function () {
* @param {module:model/TlsDnsRecord} obj Optional instance to populate.
* @return {module:model/TlsDnsRecord} The populated TlsDnsRecord
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsDnsRecord();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('region')) {
obj['region'] = _ApiClient["default"].convertToType(data['region'], 'String');
}
-
if (data.hasOwnProperty('record_type')) {
obj['record_type'] = _ApiClient["default"].convertToType(data['record_type'], 'String');
}
}
-
return obj;
}
}]);
-
return TlsDnsRecord;
}();
/**
* The IP address or hostname of the DNS record.
* @member {String} id
*/
-
-
TlsDnsRecord.prototype['id'] = undefined;
+
/**
* Specifies the regions that will be used to route traffic. Select DNS Records with a `global` region to route traffic to the most performant point of presence (POP) worldwide (global pricing will apply). Select DNS records with a `us-eu` region to exclusively land traffic on North American and European POPs.
* @member {String} region
*/
-
TlsDnsRecord.prototype['region'] = undefined;
+
/**
* The type of the DNS record. `A` specifies an IPv4 address to be used for an A record to be used for apex domains (e.g., `example.com`). `AAAA` specifies an IPv6 address for use in an A record for apex domains. `CNAME` specifies the hostname to be used for a CNAME record for subdomains or wildcard domains (e.g., `www.example.com` or `*.example.com`).
* @member {String} record_type
*/
-
TlsDnsRecord.prototype['record_type'] = undefined;
var _default = TlsDnsRecord;
exports["default"] = _default;
@@ -113855,25 +108951,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipsForTlsDomain = _interopRequireDefault(__nccwpck_require__(71794));
-
var _TypeTlsDomain = _interopRequireDefault(__nccwpck_require__(33246));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsDomainData model module.
* @module model/TlsDomainData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsDomainData = /*#__PURE__*/function () {
/**
@@ -113882,19 +108973,18 @@ var TlsDomainData = /*#__PURE__*/function () {
*/
function TlsDomainData() {
_classCallCheck(this, TlsDomainData);
-
TlsDomainData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsDomainData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsDomainData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -113902,48 +108992,40 @@ var TlsDomainData = /*#__PURE__*/function () {
* @param {module:model/TlsDomainData} obj Optional instance to populate.
* @return {module:model/TlsDomainData} The populated TlsDomainData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsDomainData();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsDomain["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipsForTlsDomain["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return TlsDomainData;
}();
/**
* The domain name.
* @member {String} id
*/
-
-
TlsDomainData.prototype['id'] = undefined;
+
/**
* @member {module:model/TypeTlsDomain} type
*/
-
TlsDomainData.prototype['type'] = undefined;
+
/**
* @member {module:model/RelationshipsForTlsDomain} relationships
*/
-
TlsDomainData.prototype['relationships'] = undefined;
var _default = TlsDomainData;
exports["default"] = _default;
@@ -113960,31 +109042,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Pagination = _interopRequireDefault(__nccwpck_require__(89281));
-
var _PaginationLinks = _interopRequireDefault(__nccwpck_require__(97779));
-
var _PaginationMeta = _interopRequireDefault(__nccwpck_require__(93986));
-
var _TlsDomainData = _interopRequireDefault(__nccwpck_require__(92650));
-
var _TlsDomainsResponseAllOf = _interopRequireDefault(__nccwpck_require__(12058));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsDomainsResponse model module.
* @module model/TlsDomainsResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsDomainsResponse = /*#__PURE__*/function () {
/**
@@ -113995,23 +109069,20 @@ var TlsDomainsResponse = /*#__PURE__*/function () {
*/
function TlsDomainsResponse() {
_classCallCheck(this, TlsDomainsResponse);
-
_Pagination["default"].initialize(this);
-
_TlsDomainsResponseAllOf["default"].initialize(this);
-
TlsDomainsResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsDomainsResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsDomainsResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -114019,68 +109090,56 @@ var TlsDomainsResponse = /*#__PURE__*/function () {
* @param {module:model/TlsDomainsResponse} obj Optional instance to populate.
* @return {module:model/TlsDomainsResponse} The populated TlsDomainsResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsDomainsResponse();
-
_Pagination["default"].constructFromObject(data, obj);
-
_TlsDomainsResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('links')) {
obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TlsDomainData["default"]]);
}
}
-
return obj;
}
}]);
-
return TlsDomainsResponse;
}();
/**
* @member {module:model/PaginationLinks} links
*/
-
-
TlsDomainsResponse.prototype['links'] = undefined;
+
/**
* @member {module:model/PaginationMeta} meta
*/
-
TlsDomainsResponse.prototype['meta'] = undefined;
+
/**
* @member {Array.TlsDomainsResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -114142,29 +109196,23 @@ var TlsDomainsResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/TlsDomainsResponseAllOf} obj Optional instance to populate.
* @return {module:model/TlsDomainsResponseAllOf} The populated TlsDomainsResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsDomainsResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TlsDomainData["default"]]);
}
}
-
return obj;
}
}]);
-
return TlsDomainsResponseAllOf;
}();
/**
* @member {Array.TlsPrivateKey
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -114226,29 +109269,23 @@ var TlsPrivateKey = /*#__PURE__*/function () {
* @param {module:model/TlsPrivateKey} obj Optional instance to populate.
* @return {module:model/TlsPrivateKey} The populated TlsPrivateKey
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsPrivateKey();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _TlsPrivateKeyData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return TlsPrivateKey;
}();
/**
* @member {module:model/TlsPrivateKeyData} data
*/
-
-
TlsPrivateKey.prototype['data'] = undefined;
var _default = TlsPrivateKey;
exports["default"] = _default;
@@ -114265,27 +109302,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipsForTlsPrivateKey = _interopRequireDefault(__nccwpck_require__(27492));
-
var _TlsPrivateKeyDataAttributes = _interopRequireDefault(__nccwpck_require__(16571));
-
var _TypeTlsPrivateKey = _interopRequireDefault(__nccwpck_require__(93074));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsPrivateKeyData model module.
* @module model/TlsPrivateKeyData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsPrivateKeyData = /*#__PURE__*/function () {
/**
@@ -114294,19 +109325,18 @@ var TlsPrivateKeyData = /*#__PURE__*/function () {
*/
function TlsPrivateKeyData() {
_classCallCheck(this, TlsPrivateKeyData);
-
TlsPrivateKeyData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsPrivateKeyData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsPrivateKeyData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -114314,47 +109344,39 @@ var TlsPrivateKeyData = /*#__PURE__*/function () {
* @param {module:model/TlsPrivateKeyData} obj Optional instance to populate.
* @return {module:model/TlsPrivateKeyData} The populated TlsPrivateKeyData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsPrivateKeyData();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsPrivateKey["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _TlsPrivateKeyDataAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipsForTlsPrivateKey["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return TlsPrivateKeyData;
}();
/**
* @member {module:model/TypeTlsPrivateKey} type
*/
-
-
TlsPrivateKeyData.prototype['type'] = undefined;
+
/**
* @member {module:model/TlsPrivateKeyDataAttributes} attributes
*/
-
TlsPrivateKeyData.prototype['attributes'] = undefined;
+
/**
* @member {module:model/RelationshipsForTlsPrivateKey} relationships
*/
-
TlsPrivateKeyData.prototype['relationships'] = undefined;
var _default = TlsPrivateKeyData;
exports["default"] = _default;
@@ -114371,21 +109393,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsPrivateKeyDataAttributes model module.
* @module model/TlsPrivateKeyDataAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsPrivateKeyDataAttributes = /*#__PURE__*/function () {
/**
@@ -114394,19 +109413,18 @@ var TlsPrivateKeyDataAttributes = /*#__PURE__*/function () {
*/
function TlsPrivateKeyDataAttributes() {
_classCallCheck(this, TlsPrivateKeyDataAttributes);
-
TlsPrivateKeyDataAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsPrivateKeyDataAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsPrivateKeyDataAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -114414,40 +109432,33 @@ var TlsPrivateKeyDataAttributes = /*#__PURE__*/function () {
* @param {module:model/TlsPrivateKeyDataAttributes} obj Optional instance to populate.
* @return {module:model/TlsPrivateKeyDataAttributes} The populated TlsPrivateKeyDataAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsPrivateKeyDataAttributes();
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('key')) {
obj['key'] = _ApiClient["default"].convertToType(data['key'], 'String');
}
}
-
return obj;
}
}]);
-
return TlsPrivateKeyDataAttributes;
}();
/**
* A customizable name for your private key. Optional.
* @member {String} name
*/
-
-
TlsPrivateKeyDataAttributes.prototype['name'] = undefined;
+
/**
* The contents of the private key. Must be a PEM-formatted key. Not returned in response body. Required.
* @member {String} key
*/
-
TlsPrivateKeyDataAttributes.prototype['key'] = undefined;
var _default = TlsPrivateKeyDataAttributes;
exports["default"] = _default;
@@ -114464,23 +109475,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TlsPrivateKeyResponseData = _interopRequireDefault(__nccwpck_require__(46365));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsPrivateKeyResponse model module.
* @module model/TlsPrivateKeyResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsPrivateKeyResponse = /*#__PURE__*/function () {
/**
@@ -114489,19 +109496,18 @@ var TlsPrivateKeyResponse = /*#__PURE__*/function () {
*/
function TlsPrivateKeyResponse() {
_classCallCheck(this, TlsPrivateKeyResponse);
-
TlsPrivateKeyResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsPrivateKeyResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsPrivateKeyResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -114509,29 +109515,23 @@ var TlsPrivateKeyResponse = /*#__PURE__*/function () {
* @param {module:model/TlsPrivateKeyResponse} obj Optional instance to populate.
* @return {module:model/TlsPrivateKeyResponse} The populated TlsPrivateKeyResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsPrivateKeyResponse();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _TlsPrivateKeyResponseData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return TlsPrivateKeyResponse;
}();
/**
* @member {module:model/TlsPrivateKeyResponseData} data
*/
-
-
TlsPrivateKeyResponse.prototype['data'] = undefined;
var _default = TlsPrivateKeyResponse;
exports["default"] = _default;
@@ -114548,25 +109548,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
var _TlsPrivateKeyResponseAttributesAllOf = _interopRequireDefault(__nccwpck_require__(59641));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsPrivateKeyResponseAttributes model module.
* @module model/TlsPrivateKeyResponseAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsPrivateKeyResponseAttributes = /*#__PURE__*/function () {
/**
@@ -114577,23 +109572,20 @@ var TlsPrivateKeyResponseAttributes = /*#__PURE__*/function () {
*/
function TlsPrivateKeyResponseAttributes() {
_classCallCheck(this, TlsPrivateKeyResponseAttributes);
-
_Timestamps["default"].initialize(this);
-
_TlsPrivateKeyResponseAttributesAllOf["default"].initialize(this);
-
TlsPrivateKeyResponseAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsPrivateKeyResponseAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsPrivateKeyResponseAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -114601,154 +109593,132 @@ var TlsPrivateKeyResponseAttributes = /*#__PURE__*/function () {
* @param {module:model/TlsPrivateKeyResponseAttributes} obj Optional instance to populate.
* @return {module:model/TlsPrivateKeyResponseAttributes} The populated TlsPrivateKeyResponseAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsPrivateKeyResponseAttributes();
-
_Timestamps["default"].constructFromObject(data, obj);
-
_TlsPrivateKeyResponseAttributesAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('key_length')) {
obj['key_length'] = _ApiClient["default"].convertToType(data['key_length'], 'Number');
}
-
if (data.hasOwnProperty('key_type')) {
obj['key_type'] = _ApiClient["default"].convertToType(data['key_type'], 'String');
}
-
if (data.hasOwnProperty('replace')) {
obj['replace'] = _ApiClient["default"].convertToType(data['replace'], 'Boolean');
}
-
if (data.hasOwnProperty('public_key_sha1')) {
obj['public_key_sha1'] = _ApiClient["default"].convertToType(data['public_key_sha1'], 'String');
}
}
-
return obj;
}
}]);
-
return TlsPrivateKeyResponseAttributes;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
TlsPrivateKeyResponseAttributes.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
TlsPrivateKeyResponseAttributes.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
TlsPrivateKeyResponseAttributes.prototype['updated_at'] = undefined;
+
/**
* A customizable name for your private key.
* @member {String} name
*/
-
TlsPrivateKeyResponseAttributes.prototype['name'] = undefined;
+
/**
* The key length used to generate the private key.
* @member {Number} key_length
*/
-
TlsPrivateKeyResponseAttributes.prototype['key_length'] = undefined;
+
/**
* The algorithm used to generate the private key. Must be `RSA`.
* @member {String} key_type
*/
-
TlsPrivateKeyResponseAttributes.prototype['key_type'] = undefined;
+
/**
* A recommendation from Fastly to replace this private key and all associated certificates.
* @member {Boolean} replace
*/
-
TlsPrivateKeyResponseAttributes.prototype['replace'] = undefined;
+
/**
* Useful for safely identifying the key.
* @member {String} public_key_sha1
*/
+TlsPrivateKeyResponseAttributes.prototype['public_key_sha1'] = undefined;
-TlsPrivateKeyResponseAttributes.prototype['public_key_sha1'] = undefined; // Implement Timestamps interface:
-
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement TlsPrivateKeyResponseAttributesAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement TlsPrivateKeyResponseAttributesAllOf interface:
/**
* A customizable name for your private key.
* @member {String} name
*/
-
_TlsPrivateKeyResponseAttributesAllOf["default"].prototype['name'] = undefined;
/**
* The key length used to generate the private key.
* @member {Number} key_length
*/
-
_TlsPrivateKeyResponseAttributesAllOf["default"].prototype['key_length'] = undefined;
/**
* The algorithm used to generate the private key. Must be `RSA`.
* @member {String} key_type
*/
-
_TlsPrivateKeyResponseAttributesAllOf["default"].prototype['key_type'] = undefined;
/**
* A recommendation from Fastly to replace this private key and all associated certificates.
* @member {Boolean} replace
*/
-
_TlsPrivateKeyResponseAttributesAllOf["default"].prototype['replace'] = undefined;
/**
* Useful for safely identifying the key.
* @member {String} public_key_sha1
*/
-
_TlsPrivateKeyResponseAttributesAllOf["default"].prototype['public_key_sha1'] = undefined;
var _default = TlsPrivateKeyResponseAttributes;
exports["default"] = _default;
@@ -114765,21 +109735,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsPrivateKeyResponseAttributesAllOf model module.
* @module model/TlsPrivateKeyResponseAttributesAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsPrivateKeyResponseAttributesAllOf = /*#__PURE__*/function () {
/**
@@ -114788,19 +109755,18 @@ var TlsPrivateKeyResponseAttributesAllOf = /*#__PURE__*/function () {
*/
function TlsPrivateKeyResponseAttributesAllOf() {
_classCallCheck(this, TlsPrivateKeyResponseAttributesAllOf);
-
TlsPrivateKeyResponseAttributesAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsPrivateKeyResponseAttributesAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsPrivateKeyResponseAttributesAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -114808,70 +109774,60 @@ var TlsPrivateKeyResponseAttributesAllOf = /*#__PURE__*/function () {
* @param {module:model/TlsPrivateKeyResponseAttributesAllOf} obj Optional instance to populate.
* @return {module:model/TlsPrivateKeyResponseAttributesAllOf} The populated TlsPrivateKeyResponseAttributesAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsPrivateKeyResponseAttributesAllOf();
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('key_length')) {
obj['key_length'] = _ApiClient["default"].convertToType(data['key_length'], 'Number');
}
-
if (data.hasOwnProperty('key_type')) {
obj['key_type'] = _ApiClient["default"].convertToType(data['key_type'], 'String');
}
-
if (data.hasOwnProperty('replace')) {
obj['replace'] = _ApiClient["default"].convertToType(data['replace'], 'Boolean');
}
-
if (data.hasOwnProperty('public_key_sha1')) {
obj['public_key_sha1'] = _ApiClient["default"].convertToType(data['public_key_sha1'], 'String');
}
}
-
return obj;
}
}]);
-
return TlsPrivateKeyResponseAttributesAllOf;
}();
/**
* A customizable name for your private key.
* @member {String} name
*/
-
-
TlsPrivateKeyResponseAttributesAllOf.prototype['name'] = undefined;
+
/**
* The key length used to generate the private key.
* @member {Number} key_length
*/
-
TlsPrivateKeyResponseAttributesAllOf.prototype['key_length'] = undefined;
+
/**
* The algorithm used to generate the private key. Must be `RSA`.
* @member {String} key_type
*/
-
TlsPrivateKeyResponseAttributesAllOf.prototype['key_type'] = undefined;
+
/**
* A recommendation from Fastly to replace this private key and all associated certificates.
* @member {Boolean} replace
*/
-
TlsPrivateKeyResponseAttributesAllOf.prototype['replace'] = undefined;
+
/**
* Useful for safely identifying the key.
* @member {String} public_key_sha1
*/
-
TlsPrivateKeyResponseAttributesAllOf.prototype['public_key_sha1'] = undefined;
var _default = TlsPrivateKeyResponseAttributesAllOf;
exports["default"] = _default;
@@ -114888,25 +109844,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TlsPrivateKeyResponseAttributes = _interopRequireDefault(__nccwpck_require__(91580));
-
var _TypeTlsPrivateKey = _interopRequireDefault(__nccwpck_require__(93074));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsPrivateKeyResponseData model module.
* @module model/TlsPrivateKeyResponseData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsPrivateKeyResponseData = /*#__PURE__*/function () {
/**
@@ -114915,19 +109866,18 @@ var TlsPrivateKeyResponseData = /*#__PURE__*/function () {
*/
function TlsPrivateKeyResponseData() {
_classCallCheck(this, TlsPrivateKeyResponseData);
-
TlsPrivateKeyResponseData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsPrivateKeyResponseData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsPrivateKeyResponseData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -114935,47 +109885,39 @@ var TlsPrivateKeyResponseData = /*#__PURE__*/function () {
* @param {module:model/TlsPrivateKeyResponseData} obj Optional instance to populate.
* @return {module:model/TlsPrivateKeyResponseData} The populated TlsPrivateKeyResponseData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsPrivateKeyResponseData();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsPrivateKey["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _TlsPrivateKeyResponseAttributes["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return TlsPrivateKeyResponseData;
}();
/**
* @member {module:model/TypeTlsPrivateKey} type
*/
-
-
TlsPrivateKeyResponseData.prototype['type'] = undefined;
+
/**
* @member {String} id
*/
-
TlsPrivateKeyResponseData.prototype['id'] = undefined;
+
/**
* @member {module:model/TlsPrivateKeyResponseAttributes} attributes
*/
-
TlsPrivateKeyResponseData.prototype['attributes'] = undefined;
var _default = TlsPrivateKeyResponseData;
exports["default"] = _default;
@@ -114992,31 +109934,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Pagination = _interopRequireDefault(__nccwpck_require__(89281));
-
var _PaginationLinks = _interopRequireDefault(__nccwpck_require__(97779));
-
var _PaginationMeta = _interopRequireDefault(__nccwpck_require__(93986));
-
var _TlsPrivateKeyResponseData = _interopRequireDefault(__nccwpck_require__(46365));
-
var _TlsPrivateKeysResponseAllOf = _interopRequireDefault(__nccwpck_require__(93041));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsPrivateKeysResponse model module.
* @module model/TlsPrivateKeysResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsPrivateKeysResponse = /*#__PURE__*/function () {
/**
@@ -115027,23 +109961,20 @@ var TlsPrivateKeysResponse = /*#__PURE__*/function () {
*/
function TlsPrivateKeysResponse() {
_classCallCheck(this, TlsPrivateKeysResponse);
-
_Pagination["default"].initialize(this);
-
_TlsPrivateKeysResponseAllOf["default"].initialize(this);
-
TlsPrivateKeysResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsPrivateKeysResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsPrivateKeysResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -115051,68 +109982,56 @@ var TlsPrivateKeysResponse = /*#__PURE__*/function () {
* @param {module:model/TlsPrivateKeysResponse} obj Optional instance to populate.
* @return {module:model/TlsPrivateKeysResponse} The populated TlsPrivateKeysResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsPrivateKeysResponse();
-
_Pagination["default"].constructFromObject(data, obj);
-
_TlsPrivateKeysResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('links')) {
obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TlsPrivateKeyResponseData["default"]]);
}
}
-
return obj;
}
}]);
-
return TlsPrivateKeysResponse;
}();
/**
* @member {module:model/PaginationLinks} links
*/
-
-
TlsPrivateKeysResponse.prototype['links'] = undefined;
+
/**
* @member {module:model/PaginationMeta} meta
*/
-
TlsPrivateKeysResponse.prototype['meta'] = undefined;
+
/**
* @member {Array.TlsPrivateKeysResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -115174,29 +110088,23 @@ var TlsPrivateKeysResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/TlsPrivateKeysResponseAllOf} obj Optional instance to populate.
* @return {module:model/TlsPrivateKeysResponseAllOf} The populated TlsPrivateKeysResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsPrivateKeysResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TlsPrivateKeyResponseData["default"]]);
}
}
-
return obj;
}
}]);
-
return TlsPrivateKeysResponseAllOf;
}();
/**
* @member {Array.TlsSubscription
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -115258,29 +110161,23 @@ var TlsSubscription = /*#__PURE__*/function () {
* @param {module:model/TlsSubscription} obj Optional instance to populate.
* @return {module:model/TlsSubscription} The populated TlsSubscription
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsSubscription();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _TlsSubscriptionData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return TlsSubscription;
}();
/**
* @member {module:model/TlsSubscriptionData} data
*/
-
-
TlsSubscription.prototype['data'] = undefined;
var _default = TlsSubscription;
exports["default"] = _default;
@@ -115297,27 +110194,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipsForTlsSubscription = _interopRequireDefault(__nccwpck_require__(70413));
-
var _TlsSubscriptionDataAttributes = _interopRequireDefault(__nccwpck_require__(9517));
-
var _TypeTlsSubscription = _interopRequireDefault(__nccwpck_require__(57098));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsSubscriptionData model module.
* @module model/TlsSubscriptionData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsSubscriptionData = /*#__PURE__*/function () {
/**
@@ -115326,19 +110217,18 @@ var TlsSubscriptionData = /*#__PURE__*/function () {
*/
function TlsSubscriptionData() {
_classCallCheck(this, TlsSubscriptionData);
-
TlsSubscriptionData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsSubscriptionData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsSubscriptionData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -115346,47 +110236,39 @@ var TlsSubscriptionData = /*#__PURE__*/function () {
* @param {module:model/TlsSubscriptionData} obj Optional instance to populate.
* @return {module:model/TlsSubscriptionData} The populated TlsSubscriptionData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsSubscriptionData();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeTlsSubscription["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _TlsSubscriptionDataAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipsForTlsSubscription["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return TlsSubscriptionData;
}();
/**
* @member {module:model/TypeTlsSubscription} type
*/
-
-
TlsSubscriptionData.prototype['type'] = undefined;
+
/**
* @member {module:model/TlsSubscriptionDataAttributes} attributes
*/
-
TlsSubscriptionData.prototype['attributes'] = undefined;
+
/**
* @member {module:model/RelationshipsForTlsSubscription} relationships
*/
-
TlsSubscriptionData.prototype['relationships'] = undefined;
var _default = TlsSubscriptionData;
exports["default"] = _default;
@@ -115403,21 +110285,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsSubscriptionDataAttributes model module.
* @module model/TlsSubscriptionDataAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsSubscriptionDataAttributes = /*#__PURE__*/function () {
/**
@@ -115426,19 +110305,18 @@ var TlsSubscriptionDataAttributes = /*#__PURE__*/function () {
*/
function TlsSubscriptionDataAttributes() {
_classCallCheck(this, TlsSubscriptionDataAttributes);
-
TlsSubscriptionDataAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsSubscriptionDataAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsSubscriptionDataAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -115446,44 +110324,37 @@ var TlsSubscriptionDataAttributes = /*#__PURE__*/function () {
* @param {module:model/TlsSubscriptionDataAttributes} obj Optional instance to populate.
* @return {module:model/TlsSubscriptionDataAttributes} The populated TlsSubscriptionDataAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsSubscriptionDataAttributes();
-
if (data.hasOwnProperty('certificate_authority')) {
obj['certificate_authority'] = _ApiClient["default"].convertToType(data['certificate_authority'], 'String');
}
}
-
return obj;
}
}]);
-
return TlsSubscriptionDataAttributes;
}();
/**
* The entity that issues and certifies the TLS certificates for your subscription.
* @member {module:model/TlsSubscriptionDataAttributes.CertificateAuthorityEnum} certificate_authority
*/
-
-
TlsSubscriptionDataAttributes.prototype['certificate_authority'] = undefined;
+
/**
* Allowed values for the certificate_authority
property.
* @enum {String}
* @readonly
*/
-
TlsSubscriptionDataAttributes['CertificateAuthorityEnum'] = {
/**
* value: "lets-encrypt"
* @const
*/
"lets-encrypt": "lets-encrypt",
-
/**
* value: "globalsign"
* @const
@@ -115505,23 +110376,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TlsSubscriptionResponseData = _interopRequireDefault(__nccwpck_require__(95695));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsSubscriptionResponse model module.
* @module model/TlsSubscriptionResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsSubscriptionResponse = /*#__PURE__*/function () {
/**
@@ -115530,19 +110397,18 @@ var TlsSubscriptionResponse = /*#__PURE__*/function () {
*/
function TlsSubscriptionResponse() {
_classCallCheck(this, TlsSubscriptionResponse);
-
TlsSubscriptionResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsSubscriptionResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsSubscriptionResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -115550,29 +110416,23 @@ var TlsSubscriptionResponse = /*#__PURE__*/function () {
* @param {module:model/TlsSubscriptionResponse} obj Optional instance to populate.
* @return {module:model/TlsSubscriptionResponse} The populated TlsSubscriptionResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsSubscriptionResponse();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _TlsSubscriptionResponseData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return TlsSubscriptionResponse;
}();
/**
* @member {module:model/TlsSubscriptionResponseData} data
*/
-
-
TlsSubscriptionResponse.prototype['data'] = undefined;
var _default = TlsSubscriptionResponse;
exports["default"] = _default;
@@ -115589,25 +110449,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
var _TlsSubscriptionResponseAttributesAllOf = _interopRequireDefault(__nccwpck_require__(19910));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsSubscriptionResponseAttributes model module.
* @module model/TlsSubscriptionResponseAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsSubscriptionResponseAttributes = /*#__PURE__*/function () {
/**
@@ -115618,23 +110473,20 @@ var TlsSubscriptionResponseAttributes = /*#__PURE__*/function () {
*/
function TlsSubscriptionResponseAttributes() {
_classCallCheck(this, TlsSubscriptionResponseAttributes);
-
_Timestamps["default"].initialize(this);
-
_TlsSubscriptionResponseAttributesAllOf["default"].initialize(this);
-
TlsSubscriptionResponseAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsSubscriptionResponseAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsSubscriptionResponseAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -115642,116 +110494,99 @@ var TlsSubscriptionResponseAttributes = /*#__PURE__*/function () {
* @param {module:model/TlsSubscriptionResponseAttributes} obj Optional instance to populate.
* @return {module:model/TlsSubscriptionResponseAttributes} The populated TlsSubscriptionResponseAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsSubscriptionResponseAttributes();
-
_Timestamps["default"].constructFromObject(data, obj);
-
_TlsSubscriptionResponseAttributesAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('state')) {
obj['state'] = _ApiClient["default"].convertToType(data['state'], 'String');
}
}
-
return obj;
}
}]);
-
return TlsSubscriptionResponseAttributes;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
TlsSubscriptionResponseAttributes.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
TlsSubscriptionResponseAttributes.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
TlsSubscriptionResponseAttributes.prototype['updated_at'] = undefined;
+
/**
* The current state of your subscription.
* @member {module:model/TlsSubscriptionResponseAttributes.StateEnum} state
*/
+TlsSubscriptionResponseAttributes.prototype['state'] = undefined;
-TlsSubscriptionResponseAttributes.prototype['state'] = undefined; // Implement Timestamps interface:
-
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement TlsSubscriptionResponseAttributesAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement TlsSubscriptionResponseAttributesAllOf interface:
/**
* The current state of your subscription.
* @member {module:model/TlsSubscriptionResponseAttributesAllOf.StateEnum} state
*/
-
_TlsSubscriptionResponseAttributesAllOf["default"].prototype['state'] = undefined;
+
/**
* Allowed values for the state
property.
* @enum {String}
* @readonly
*/
-
TlsSubscriptionResponseAttributes['StateEnum'] = {
/**
* value: "pending"
* @const
*/
"pending": "pending",
-
/**
* value: "processing"
* @const
*/
"processing": "processing",
-
/**
* value: "issued"
* @const
*/
"issued": "issued",
-
/**
* value: "renewing"
* @const
@@ -115773,21 +110608,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsSubscriptionResponseAttributesAllOf model module.
* @module model/TlsSubscriptionResponseAttributesAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsSubscriptionResponseAttributesAllOf = /*#__PURE__*/function () {
/**
@@ -115796,19 +110628,18 @@ var TlsSubscriptionResponseAttributesAllOf = /*#__PURE__*/function () {
*/
function TlsSubscriptionResponseAttributesAllOf() {
_classCallCheck(this, TlsSubscriptionResponseAttributesAllOf);
-
TlsSubscriptionResponseAttributesAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsSubscriptionResponseAttributesAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsSubscriptionResponseAttributesAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -115816,56 +110647,47 @@ var TlsSubscriptionResponseAttributesAllOf = /*#__PURE__*/function () {
* @param {module:model/TlsSubscriptionResponseAttributesAllOf} obj Optional instance to populate.
* @return {module:model/TlsSubscriptionResponseAttributesAllOf} The populated TlsSubscriptionResponseAttributesAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsSubscriptionResponseAttributesAllOf();
-
if (data.hasOwnProperty('state')) {
obj['state'] = _ApiClient["default"].convertToType(data['state'], 'String');
}
}
-
return obj;
}
}]);
-
return TlsSubscriptionResponseAttributesAllOf;
}();
/**
* The current state of your subscription.
* @member {module:model/TlsSubscriptionResponseAttributesAllOf.StateEnum} state
*/
-
-
TlsSubscriptionResponseAttributesAllOf.prototype['state'] = undefined;
+
/**
* Allowed values for the state
property.
* @enum {String}
* @readonly
*/
-
TlsSubscriptionResponseAttributesAllOf['StateEnum'] = {
/**
* value: "pending"
* @const
*/
"pending": "pending",
-
/**
* value: "processing"
* @const
*/
"processing": "processing",
-
/**
* value: "issued"
* @const
*/
"issued": "issued",
-
/**
* value: "renewing"
* @const
@@ -115887,25 +110709,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TlsSubscriptionResponseAttributes = _interopRequireDefault(__nccwpck_require__(21293));
-
var _TlsSubscriptionResponseDataAllOf = _interopRequireDefault(__nccwpck_require__(76326));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsSubscriptionResponseData model module.
* @module model/TlsSubscriptionResponseData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsSubscriptionResponseData = /*#__PURE__*/function () {
/**
@@ -115915,21 +110732,19 @@ var TlsSubscriptionResponseData = /*#__PURE__*/function () {
*/
function TlsSubscriptionResponseData() {
_classCallCheck(this, TlsSubscriptionResponseData);
-
_TlsSubscriptionResponseDataAllOf["default"].initialize(this);
-
TlsSubscriptionResponseData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsSubscriptionResponseData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsSubscriptionResponseData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -115937,51 +110752,42 @@ var TlsSubscriptionResponseData = /*#__PURE__*/function () {
* @param {module:model/TlsSubscriptionResponseData} obj Optional instance to populate.
* @return {module:model/TlsSubscriptionResponseData} The populated TlsSubscriptionResponseData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsSubscriptionResponseData();
-
_TlsSubscriptionResponseDataAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _TlsSubscriptionResponseAttributes["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return TlsSubscriptionResponseData;
}();
/**
* @member {String} id
*/
-
-
TlsSubscriptionResponseData.prototype['id'] = undefined;
+
/**
* @member {module:model/TlsSubscriptionResponseAttributes} attributes
*/
+TlsSubscriptionResponseData.prototype['attributes'] = undefined;
-TlsSubscriptionResponseData.prototype['attributes'] = undefined; // Implement TlsSubscriptionResponseDataAllOf interface:
-
+// Implement TlsSubscriptionResponseDataAllOf interface:
/**
* @member {String} id
*/
-
_TlsSubscriptionResponseDataAllOf["default"].prototype['id'] = undefined;
/**
* @member {module:model/TlsSubscriptionResponseAttributes} attributes
*/
-
_TlsSubscriptionResponseDataAllOf["default"].prototype['attributes'] = undefined;
var _default = TlsSubscriptionResponseData;
exports["default"] = _default;
@@ -115998,23 +110804,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TlsSubscriptionResponseAttributes = _interopRequireDefault(__nccwpck_require__(21293));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsSubscriptionResponseDataAllOf model module.
* @module model/TlsSubscriptionResponseDataAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsSubscriptionResponseDataAllOf = /*#__PURE__*/function () {
/**
@@ -116023,19 +110825,18 @@ var TlsSubscriptionResponseDataAllOf = /*#__PURE__*/function () {
*/
function TlsSubscriptionResponseDataAllOf() {
_classCallCheck(this, TlsSubscriptionResponseDataAllOf);
-
TlsSubscriptionResponseDataAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsSubscriptionResponseDataAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsSubscriptionResponseDataAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -116043,38 +110844,31 @@ var TlsSubscriptionResponseDataAllOf = /*#__PURE__*/function () {
* @param {module:model/TlsSubscriptionResponseDataAllOf} obj Optional instance to populate.
* @return {module:model/TlsSubscriptionResponseDataAllOf} The populated TlsSubscriptionResponseDataAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsSubscriptionResponseDataAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _TlsSubscriptionResponseAttributes["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return TlsSubscriptionResponseDataAllOf;
}();
/**
* @member {String} id
*/
-
-
TlsSubscriptionResponseDataAllOf.prototype['id'] = undefined;
+
/**
* @member {module:model/TlsSubscriptionResponseAttributes} attributes
*/
-
TlsSubscriptionResponseDataAllOf.prototype['attributes'] = undefined;
var _default = TlsSubscriptionResponseDataAllOf;
exports["default"] = _default;
@@ -116091,31 +110885,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Pagination = _interopRequireDefault(__nccwpck_require__(89281));
-
var _PaginationLinks = _interopRequireDefault(__nccwpck_require__(97779));
-
var _PaginationMeta = _interopRequireDefault(__nccwpck_require__(93986));
-
var _TlsSubscriptionResponse = _interopRequireDefault(__nccwpck_require__(70218));
-
var _TlsSubscriptionsResponseAllOf = _interopRequireDefault(__nccwpck_require__(8028));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TlsSubscriptionsResponse model module.
* @module model/TlsSubscriptionsResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TlsSubscriptionsResponse = /*#__PURE__*/function () {
/**
@@ -116126,23 +110912,20 @@ var TlsSubscriptionsResponse = /*#__PURE__*/function () {
*/
function TlsSubscriptionsResponse() {
_classCallCheck(this, TlsSubscriptionsResponse);
-
_Pagination["default"].initialize(this);
-
_TlsSubscriptionsResponseAllOf["default"].initialize(this);
-
TlsSubscriptionsResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TlsSubscriptionsResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TlsSubscriptionsResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -116150,68 +110933,56 @@ var TlsSubscriptionsResponse = /*#__PURE__*/function () {
* @param {module:model/TlsSubscriptionsResponse} obj Optional instance to populate.
* @return {module:model/TlsSubscriptionsResponse} The populated TlsSubscriptionsResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsSubscriptionsResponse();
-
_Pagination["default"].constructFromObject(data, obj);
-
_TlsSubscriptionsResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('links')) {
obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TlsSubscriptionResponse["default"]]);
}
}
-
return obj;
}
}]);
-
return TlsSubscriptionsResponse;
}();
/**
* @member {module:model/PaginationLinks} links
*/
-
-
TlsSubscriptionsResponse.prototype['links'] = undefined;
+
/**
* @member {module:model/PaginationMeta} meta
*/
-
TlsSubscriptionsResponse.prototype['meta'] = undefined;
+
/**
* @member {Array.TlsSubscriptionsResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -116273,29 +111039,23 @@ var TlsSubscriptionsResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/TlsSubscriptionsResponseAllOf} obj Optional instance to populate.
* @return {module:model/TlsSubscriptionsResponseAllOf} The populated TlsSubscriptionsResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TlsSubscriptionsResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TlsSubscriptionResponse["default"]]);
}
}
-
return obj;
}
}]);
-
return TlsSubscriptionsResponseAllOf;
}();
/**
* @member {Array.Token
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -116355,77 +111111,66 @@ var Token = /*#__PURE__*/function () {
* @param {module:model/Token} obj Optional instance to populate.
* @return {module:model/Token} The populated Token
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Token();
-
if (data.hasOwnProperty('services')) {
obj['services'] = _ApiClient["default"].convertToType(data['services'], ['String']);
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('scope')) {
obj['scope'] = _ApiClient["default"].convertToType(data['scope'], 'String');
}
}
-
return obj;
}
}]);
-
return Token;
}();
/**
* List of alphanumeric strings identifying services (optional). If no services are specified, the token will have access to all services on the account.
* @member {Array.scope
property.
* @enum {String}
* @readonly
*/
-
Token['ScopeEnum'] = {
/**
* value: "global"
* @const
*/
"global": "global",
-
/**
* value: "purge_select"
* @const
*/
"purge_select": "purge_select",
-
/**
* value: "purge_all"
* @const
*/
"purge_all": "purge_all",
-
/**
* value: "global:read"
* @const
@@ -116447,25 +111192,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TokenCreatedResponseAllOf = _interopRequireDefault(__nccwpck_require__(83169));
-
var _TokenResponse = _interopRequireDefault(__nccwpck_require__(33813));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TokenCreatedResponse model module.
* @module model/TokenCreatedResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TokenCreatedResponse = /*#__PURE__*/function () {
/**
@@ -116476,23 +111216,20 @@ var TokenCreatedResponse = /*#__PURE__*/function () {
*/
function TokenCreatedResponse() {
_classCallCheck(this, TokenCreatedResponse);
-
_TokenResponse["default"].initialize(this);
-
_TokenCreatedResponseAllOf["default"].initialize(this);
-
TokenCreatedResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TokenCreatedResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TokenCreatedResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -116500,258 +111237,223 @@ var TokenCreatedResponse = /*#__PURE__*/function () {
* @param {module:model/TokenCreatedResponse} obj Optional instance to populate.
* @return {module:model/TokenCreatedResponse} The populated TokenCreatedResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TokenCreatedResponse();
-
_TokenResponse["default"].constructFromObject(data, obj);
-
_TokenCreatedResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('services')) {
obj['services'] = _ApiClient["default"].convertToType(data['services'], ['String']);
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('scope')) {
obj['scope'] = _ApiClient["default"].convertToType(data['scope'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'String');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('user_id')) {
obj['user_id'] = _ApiClient["default"].convertToType(data['user_id'], 'String');
}
-
if (data.hasOwnProperty('last_used_at')) {
obj['last_used_at'] = _ApiClient["default"].convertToType(data['last_used_at'], 'String');
}
-
if (data.hasOwnProperty('expires_at')) {
obj['expires_at'] = _ApiClient["default"].convertToType(data['expires_at'], 'String');
}
-
if (data.hasOwnProperty('ip')) {
obj['ip'] = _ApiClient["default"].convertToType(data['ip'], 'String');
}
-
if (data.hasOwnProperty('user_agent')) {
obj['user_agent'] = _ApiClient["default"].convertToType(data['user_agent'], 'String');
}
-
if (data.hasOwnProperty('access_token')) {
obj['access_token'] = _ApiClient["default"].convertToType(data['access_token'], 'String');
}
}
-
return obj;
}
}]);
-
return TokenCreatedResponse;
}();
/**
* List of alphanumeric strings identifying services (optional). If no services are specified, the token will have access to all services on the account.
* @member {Array.scope
property.
* @enum {String}
* @readonly
*/
-
TokenCreatedResponse['ScopeEnum'] = {
/**
* value: "global"
* @const
*/
"global": "global",
-
/**
* value: "purge_select"
* @const
*/
"purge_select": "purge_select",
-
/**
* value: "purge_all"
* @const
*/
"purge_all": "purge_all",
-
/**
* value: "global:read"
* @const
@@ -116773,21 +111475,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TokenCreatedResponseAllOf model module.
* @module model/TokenCreatedResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TokenCreatedResponseAllOf = /*#__PURE__*/function () {
/**
@@ -116796,19 +111495,18 @@ var TokenCreatedResponseAllOf = /*#__PURE__*/function () {
*/
function TokenCreatedResponseAllOf() {
_classCallCheck(this, TokenCreatedResponseAllOf);
-
TokenCreatedResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TokenCreatedResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TokenCreatedResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -116816,30 +111514,24 @@ var TokenCreatedResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/TokenCreatedResponseAllOf} obj Optional instance to populate.
* @return {module:model/TokenCreatedResponseAllOf} The populated TokenCreatedResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TokenCreatedResponseAllOf();
-
if (data.hasOwnProperty('access_token')) {
obj['access_token'] = _ApiClient["default"].convertToType(data['access_token'], 'String');
}
}
-
return obj;
}
}]);
-
return TokenCreatedResponseAllOf;
}();
/**
* The alphanumeric string for accessing the API (only available on token creation).
* @member {String} access_token
*/
-
-
TokenCreatedResponseAllOf.prototype['access_token'] = undefined;
var _default = TokenCreatedResponseAllOf;
exports["default"] = _default;
@@ -116856,27 +111548,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
var _Token = _interopRequireDefault(__nccwpck_require__(88546));
-
var _TokenResponseAllOf = _interopRequireDefault(__nccwpck_require__(31301));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TokenResponse model module.
* @module model/TokenResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TokenResponse = /*#__PURE__*/function () {
/**
@@ -116888,25 +111574,21 @@ var TokenResponse = /*#__PURE__*/function () {
*/
function TokenResponse() {
_classCallCheck(this, TokenResponse);
-
_Token["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_TokenResponseAllOf["default"].initialize(this);
-
TokenResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TokenResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TokenResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -116914,251 +111596,216 @@ var TokenResponse = /*#__PURE__*/function () {
* @param {module:model/TokenResponse} obj Optional instance to populate.
* @return {module:model/TokenResponse} The populated TokenResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TokenResponse();
-
_Token["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_TokenResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('services')) {
obj['services'] = _ApiClient["default"].convertToType(data['services'], ['String']);
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('scope')) {
obj['scope'] = _ApiClient["default"].convertToType(data['scope'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'String');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('user_id')) {
obj['user_id'] = _ApiClient["default"].convertToType(data['user_id'], 'String');
}
-
if (data.hasOwnProperty('last_used_at')) {
obj['last_used_at'] = _ApiClient["default"].convertToType(data['last_used_at'], 'String');
}
-
if (data.hasOwnProperty('expires_at')) {
obj['expires_at'] = _ApiClient["default"].convertToType(data['expires_at'], 'String');
}
-
if (data.hasOwnProperty('ip')) {
obj['ip'] = _ApiClient["default"].convertToType(data['ip'], 'String');
}
-
if (data.hasOwnProperty('user_agent')) {
obj['user_agent'] = _ApiClient["default"].convertToType(data['user_agent'], 'String');
}
}
-
return obj;
}
}]);
-
return TokenResponse;
}();
/**
* List of alphanumeric strings identifying services (optional). If no services are specified, the token will have access to all services on the account.
* @member {Array.scope
property.
* @enum {String}
* @readonly
*/
-
TokenResponse['ScopeEnum'] = {
/**
* value: "global"
* @const
*/
"global": "global",
-
/**
* value: "purge_select"
* @const
*/
"purge_select": "purge_select",
-
/**
* value: "purge_all"
* @const
*/
"purge_all": "purge_all",
-
/**
* value: "global:read"
* @const
@@ -117180,21 +111827,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The TokenResponseAllOf model module.
* @module model/TokenResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var TokenResponseAllOf = /*#__PURE__*/function () {
/**
@@ -117203,19 +111847,18 @@ var TokenResponseAllOf = /*#__PURE__*/function () {
*/
function TokenResponseAllOf() {
_classCallCheck(this, TokenResponseAllOf);
-
TokenResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(TokenResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a TokenResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -117223,88 +111866,76 @@ var TokenResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/TokenResponseAllOf} obj Optional instance to populate.
* @return {module:model/TokenResponseAllOf} The populated TokenResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new TokenResponseAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('user_id')) {
obj['user_id'] = _ApiClient["default"].convertToType(data['user_id'], 'String');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'String');
}
-
if (data.hasOwnProperty('last_used_at')) {
obj['last_used_at'] = _ApiClient["default"].convertToType(data['last_used_at'], 'String');
}
-
if (data.hasOwnProperty('expires_at')) {
obj['expires_at'] = _ApiClient["default"].convertToType(data['expires_at'], 'String');
}
-
if (data.hasOwnProperty('ip')) {
obj['ip'] = _ApiClient["default"].convertToType(data['ip'], 'String');
}
-
if (data.hasOwnProperty('user_agent')) {
obj['user_agent'] = _ApiClient["default"].convertToType(data['user_agent'], 'String');
}
}
-
return obj;
}
}]);
-
return TokenResponseAllOf;
}();
/**
* @member {String} id
*/
-
-
TokenResponseAllOf.prototype['id'] = undefined;
+
/**
* @member {String} user_id
*/
-
TokenResponseAllOf.prototype['user_id'] = undefined;
+
/**
* Time-stamp (UTC) of when the token was created.
* @member {String} created_at
*/
-
TokenResponseAllOf.prototype['created_at'] = undefined;
+
/**
* Time-stamp (UTC) of when the token was last used.
* @member {String} last_used_at
*/
-
TokenResponseAllOf.prototype['last_used_at'] = undefined;
+
/**
* Time-stamp (UTC) of when the token will expire (optional).
* @member {String} expires_at
*/
-
TokenResponseAllOf.prototype['expires_at'] = undefined;
+
/**
* IP Address of the client that last used the token.
* @member {String} ip
*/
-
TokenResponseAllOf.prototype['ip'] = undefined;
+
/**
* User-Agent header of the client that last used the token.
* @member {String} user_agent
*/
-
TokenResponseAllOf.prototype['user_agent'] = undefined;
var _default = TokenResponseAllOf;
exports["default"] = _default;
@@ -117321,19 +111952,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeBillingAddress.
* @enum {}
@@ -117342,10 +111969,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeBillingAddress = /*#__PURE__*/function () {
function TypeBillingAddress() {
_classCallCheck(this, TypeBillingAddress);
-
_defineProperty(this, "billing_address", "billing_address");
}
-
_createClass(TypeBillingAddress, null, [{
key: "constructFromObject",
value:
@@ -117358,10 +111983,8 @@ var TypeBillingAddress = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeBillingAddress;
}();
-
exports["default"] = TypeBillingAddress;
/***/ }),
@@ -117376,19 +111999,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeContact.
* @enum {}
@@ -117397,10 +112016,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeContact = /*#__PURE__*/function () {
function TypeContact() {
_classCallCheck(this, TypeContact);
-
_defineProperty(this, "contact", "contact");
}
-
_createClass(TypeContact, null, [{
key: "constructFromObject",
value:
@@ -117413,10 +112030,8 @@ var TypeContact = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeContact;
}();
-
exports["default"] = TypeContact;
/***/ }),
@@ -117431,19 +112046,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeCustomer.
* @enum {}
@@ -117452,10 +112063,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeCustomer = /*#__PURE__*/function () {
function TypeCustomer() {
_classCallCheck(this, TypeCustomer);
-
_defineProperty(this, "customer", "customer");
}
-
_createClass(TypeCustomer, null, [{
key: "constructFromObject",
value:
@@ -117468,10 +112077,8 @@ var TypeCustomer = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeCustomer;
}();
-
exports["default"] = TypeCustomer;
/***/ }),
@@ -117486,19 +112093,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeEvent.
* @enum {}
@@ -117507,10 +112110,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeEvent = /*#__PURE__*/function () {
function TypeEvent() {
_classCallCheck(this, TypeEvent);
-
_defineProperty(this, "event", "event");
}
-
_createClass(TypeEvent, null, [{
key: "constructFromObject",
value:
@@ -117523,10 +112124,8 @@ var TypeEvent = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeEvent;
}();
-
exports["default"] = TypeEvent;
/***/ }),
@@ -117541,19 +112140,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeInvitation.
* @enum {}
@@ -117562,10 +112157,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeInvitation = /*#__PURE__*/function () {
function TypeInvitation() {
_classCallCheck(this, TypeInvitation);
-
_defineProperty(this, "invitation", "invitation");
}
-
_createClass(TypeInvitation, null, [{
key: "constructFromObject",
value:
@@ -117578,15 +112171,13 @@ var TypeInvitation = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeInvitation;
}();
-
exports["default"] = TypeInvitation;
/***/ }),
-/***/ 29246:
+/***/ 60498:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -117596,19 +112187,62 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* Enum class TypeMutualAuthentication.
+* @enum {}
+* @readonly
+*/
+var TypeMutualAuthentication = /*#__PURE__*/function () {
+ function TypeMutualAuthentication() {
+ _classCallCheck(this, TypeMutualAuthentication);
+ _defineProperty(this, "mutual_authentication", "mutual_authentication");
+ }
+ _createClass(TypeMutualAuthentication, null, [{
+ key: "constructFromObject",
+ value:
+ /**
+ * Returns a TypeMutualAuthentication
enum value from a Javascript object name.
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
+ * @return {module:model/TypeMutualAuthentication} The enum TypeMutualAuthentication
value.
+ */
+ function constructFromObject(object) {
+ return object;
+ }
+ }]);
+ return TypeMutualAuthentication;
+}();
+exports["default"] = TypeMutualAuthentication;
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+/***/ }),
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+/***/ 29246:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+"use strict";
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeResource.
* @enum {}
@@ -117617,10 +112251,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeResource = /*#__PURE__*/function () {
function TypeResource() {
_classCallCheck(this, TypeResource);
-
_defineProperty(this, "object-store", "object-store");
}
-
_createClass(TypeResource, null, [{
key: "constructFromObject",
value:
@@ -117633,10 +112265,8 @@ var TypeResource = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeResource;
}();
-
exports["default"] = TypeResource;
/***/ }),
@@ -117651,19 +112281,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeService.
* @enum {}
@@ -117672,10 +112298,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeService = /*#__PURE__*/function () {
function TypeService() {
_classCallCheck(this, TypeService);
-
_defineProperty(this, "service", "service");
}
-
_createClass(TypeService, null, [{
key: "constructFromObject",
value:
@@ -117688,10 +112312,8 @@ var TypeService = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeService;
}();
-
exports["default"] = TypeService;
/***/ }),
@@ -117706,19 +112328,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeServiceAuthorization.
* @enum {}
@@ -117727,10 +112345,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeServiceAuthorization = /*#__PURE__*/function () {
function TypeServiceAuthorization() {
_classCallCheck(this, TypeServiceAuthorization);
-
_defineProperty(this, "service_authorization", "service_authorization");
}
-
_createClass(TypeServiceAuthorization, null, [{
key: "constructFromObject",
value:
@@ -117743,10 +112359,8 @@ var TypeServiceAuthorization = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeServiceAuthorization;
}();
-
exports["default"] = TypeServiceAuthorization;
/***/ }),
@@ -117761,19 +112375,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeServiceInvitation.
* @enum {}
@@ -117782,10 +112392,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeServiceInvitation = /*#__PURE__*/function () {
function TypeServiceInvitation() {
_classCallCheck(this, TypeServiceInvitation);
-
_defineProperty(this, "service_invitation", "service_invitation");
}
-
_createClass(TypeServiceInvitation, null, [{
key: "constructFromObject",
value:
@@ -117798,10 +112406,8 @@ var TypeServiceInvitation = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeServiceInvitation;
}();
-
exports["default"] = TypeServiceInvitation;
/***/ }),
@@ -117816,19 +112422,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeStar.
* @enum {}
@@ -117837,10 +112439,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeStar = /*#__PURE__*/function () {
function TypeStar() {
_classCallCheck(this, TypeStar);
-
_defineProperty(this, "star", "star");
}
-
_createClass(TypeStar, null, [{
key: "constructFromObject",
value:
@@ -117853,10 +112453,8 @@ var TypeStar = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeStar;
}();
-
exports["default"] = TypeStar;
/***/ }),
@@ -117871,19 +112469,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeTlsActivation.
* @enum {}
@@ -117892,10 +112486,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeTlsActivation = /*#__PURE__*/function () {
function TypeTlsActivation() {
_classCallCheck(this, TypeTlsActivation);
-
_defineProperty(this, "tls_activation", "tls_activation");
}
-
_createClass(TypeTlsActivation, null, [{
key: "constructFromObject",
value:
@@ -117908,10 +112500,8 @@ var TypeTlsActivation = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeTlsActivation;
}();
-
exports["default"] = TypeTlsActivation;
/***/ }),
@@ -117926,19 +112516,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeTlsBulkCertificate.
* @enum {}
@@ -117947,10 +112533,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeTlsBulkCertificate = /*#__PURE__*/function () {
function TypeTlsBulkCertificate() {
_classCallCheck(this, TypeTlsBulkCertificate);
-
_defineProperty(this, "tls_bulk_certificate", "tls_bulk_certificate");
}
-
_createClass(TypeTlsBulkCertificate, null, [{
key: "constructFromObject",
value:
@@ -117963,10 +112547,8 @@ var TypeTlsBulkCertificate = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeTlsBulkCertificate;
}();
-
exports["default"] = TypeTlsBulkCertificate;
/***/ }),
@@ -117981,19 +112563,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeTlsCertificate.
* @enum {}
@@ -118002,10 +112580,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeTlsCertificate = /*#__PURE__*/function () {
function TypeTlsCertificate() {
_classCallCheck(this, TypeTlsCertificate);
-
_defineProperty(this, "tls_certificate", "tls_certificate");
}
-
_createClass(TypeTlsCertificate, null, [{
key: "constructFromObject",
value:
@@ -118018,10 +112594,8 @@ var TypeTlsCertificate = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeTlsCertificate;
}();
-
exports["default"] = TypeTlsCertificate;
/***/ }),
@@ -118036,19 +112610,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeTlsConfiguration.
* @enum {}
@@ -118057,10 +112627,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeTlsConfiguration = /*#__PURE__*/function () {
function TypeTlsConfiguration() {
_classCallCheck(this, TypeTlsConfiguration);
-
_defineProperty(this, "tls_configuration", "tls_configuration");
}
-
_createClass(TypeTlsConfiguration, null, [{
key: "constructFromObject",
value:
@@ -118073,15 +112641,13 @@ var TypeTlsConfiguration = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeTlsConfiguration;
}();
-
exports["default"] = TypeTlsConfiguration;
/***/ }),
-/***/ 74397:
+/***/ 12971:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -118091,19 +112657,62 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* Enum class TypeTlsCsr.
+* @enum {}
+* @readonly
+*/
+var TypeTlsCsr = /*#__PURE__*/function () {
+ function TypeTlsCsr() {
+ _classCallCheck(this, TypeTlsCsr);
+ _defineProperty(this, "csr", "csr");
+ }
+ _createClass(TypeTlsCsr, null, [{
+ key: "constructFromObject",
+ value:
+ /**
+ * Returns a TypeTlsCsr
enum value from a Javascript object name.
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
+ * @return {module:model/TypeTlsCsr} The enum TypeTlsCsr
value.
+ */
+ function constructFromObject(object) {
+ return object;
+ }
+ }]);
+ return TypeTlsCsr;
+}();
+exports["default"] = TypeTlsCsr;
+
+/***/ }),
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+/***/ 74397:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+"use strict";
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeTlsDnsRecord.
* @enum {}
@@ -118112,10 +112721,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeTlsDnsRecord = /*#__PURE__*/function () {
function TypeTlsDnsRecord() {
_classCallCheck(this, TypeTlsDnsRecord);
-
_defineProperty(this, "dns_record", "dns_record");
}
-
_createClass(TypeTlsDnsRecord, null, [{
key: "constructFromObject",
value:
@@ -118128,10 +112735,8 @@ var TypeTlsDnsRecord = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeTlsDnsRecord;
}();
-
exports["default"] = TypeTlsDnsRecord;
/***/ }),
@@ -118146,19 +112751,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeTlsDomain.
* @enum {}
@@ -118167,10 +112768,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeTlsDomain = /*#__PURE__*/function () {
function TypeTlsDomain() {
_classCallCheck(this, TypeTlsDomain);
-
_defineProperty(this, "tls_domain", "tls_domain");
}
-
_createClass(TypeTlsDomain, null, [{
key: "constructFromObject",
value:
@@ -118183,10 +112782,8 @@ var TypeTlsDomain = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeTlsDomain;
}();
-
exports["default"] = TypeTlsDomain;
/***/ }),
@@ -118201,19 +112798,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeTlsPrivateKey.
* @enum {}
@@ -118222,10 +112815,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeTlsPrivateKey = /*#__PURE__*/function () {
function TypeTlsPrivateKey() {
_classCallCheck(this, TypeTlsPrivateKey);
-
_defineProperty(this, "tls_private_key", "tls_private_key");
}
-
_createClass(TypeTlsPrivateKey, null, [{
key: "constructFromObject",
value:
@@ -118238,10 +112829,8 @@ var TypeTlsPrivateKey = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeTlsPrivateKey;
}();
-
exports["default"] = TypeTlsPrivateKey;
/***/ }),
@@ -118256,19 +112845,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeTlsSubscription.
* @enum {}
@@ -118277,10 +112862,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeTlsSubscription = /*#__PURE__*/function () {
function TypeTlsSubscription() {
_classCallCheck(this, TypeTlsSubscription);
-
_defineProperty(this, "tls_subscription", "tls_subscription");
}
-
_createClass(TypeTlsSubscription, null, [{
key: "constructFromObject",
value:
@@ -118293,10 +112876,8 @@ var TypeTlsSubscription = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeTlsSubscription;
}();
-
exports["default"] = TypeTlsSubscription;
/***/ }),
@@ -118311,19 +112892,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeUser.
* @enum {}
@@ -118332,10 +112909,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeUser = /*#__PURE__*/function () {
function TypeUser() {
_classCallCheck(this, TypeUser);
-
_defineProperty(this, "user", "user");
}
-
_createClass(TypeUser, null, [{
key: "constructFromObject",
value:
@@ -118348,10 +112923,8 @@ var TypeUser = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeUser;
}();
-
exports["default"] = TypeUser;
/***/ }),
@@ -118366,19 +112939,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeWafActiveRule.
* @enum {}
@@ -118387,10 +112956,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeWafActiveRule = /*#__PURE__*/function () {
function TypeWafActiveRule() {
_classCallCheck(this, TypeWafActiveRule);
-
_defineProperty(this, "waf_active_rule", "waf_active_rule");
}
-
_createClass(TypeWafActiveRule, null, [{
key: "constructFromObject",
value:
@@ -118403,10 +112970,8 @@ var TypeWafActiveRule = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeWafActiveRule;
}();
-
exports["default"] = TypeWafActiveRule;
/***/ }),
@@ -118421,19 +112986,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeWafExclusion.
* @enum {}
@@ -118442,10 +113003,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeWafExclusion = /*#__PURE__*/function () {
function TypeWafExclusion() {
_classCallCheck(this, TypeWafExclusion);
-
_defineProperty(this, "waf_exclusion", "waf_exclusion");
}
-
_createClass(TypeWafExclusion, null, [{
key: "constructFromObject",
value:
@@ -118458,10 +113017,8 @@ var TypeWafExclusion = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeWafExclusion;
}();
-
exports["default"] = TypeWafExclusion;
/***/ }),
@@ -118476,19 +113033,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeWafFirewall.
* @enum {}
@@ -118497,10 +113050,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeWafFirewall = /*#__PURE__*/function () {
function TypeWafFirewall() {
_classCallCheck(this, TypeWafFirewall);
-
_defineProperty(this, "waf_firewall", "waf_firewall");
}
-
_createClass(TypeWafFirewall, null, [{
key: "constructFromObject",
value:
@@ -118513,10 +113064,8 @@ var TypeWafFirewall = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeWafFirewall;
}();
-
exports["default"] = TypeWafFirewall;
/***/ }),
@@ -118531,19 +113080,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeWafFirewallVersion.
* @enum {}
@@ -118552,10 +113097,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeWafFirewallVersion = /*#__PURE__*/function () {
function TypeWafFirewallVersion() {
_classCallCheck(this, TypeWafFirewallVersion);
-
_defineProperty(this, "waf_firewall_version", "waf_firewall_version");
}
-
_createClass(TypeWafFirewallVersion, null, [{
key: "constructFromObject",
value:
@@ -118568,10 +113111,8 @@ var TypeWafFirewallVersion = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeWafFirewallVersion;
}();
-
exports["default"] = TypeWafFirewallVersion;
/***/ }),
@@ -118586,19 +113127,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeWafRule.
* @enum {}
@@ -118607,10 +113144,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeWafRule = /*#__PURE__*/function () {
function TypeWafRule() {
_classCallCheck(this, TypeWafRule);
-
_defineProperty(this, "waf_rule", "waf_rule");
}
-
_createClass(TypeWafRule, null, [{
key: "constructFromObject",
value:
@@ -118623,10 +113158,8 @@ var TypeWafRule = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeWafRule;
}();
-
exports["default"] = TypeWafRule;
/***/ }),
@@ -118641,19 +113174,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeWafRuleRevision.
* @enum {}
@@ -118662,10 +113191,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeWafRuleRevision = /*#__PURE__*/function () {
function TypeWafRuleRevision() {
_classCallCheck(this, TypeWafRuleRevision);
-
_defineProperty(this, "waf_rule_revision", "waf_rule_revision");
}
-
_createClass(TypeWafRuleRevision, null, [{
key: "constructFromObject",
value:
@@ -118678,10 +113205,8 @@ var TypeWafRuleRevision = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeWafRuleRevision;
}();
-
exports["default"] = TypeWafRuleRevision;
/***/ }),
@@ -118696,19 +113221,15 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
-function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* Enum class TypeWafTag.
* @enum {}
@@ -118717,10 +113238,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
var TypeWafTag = /*#__PURE__*/function () {
function TypeWafTag() {
_classCallCheck(this, TypeWafTag);
-
_defineProperty(this, "waf_tag", "waf_tag");
}
-
_createClass(TypeWafTag, null, [{
key: "constructFromObject",
value:
@@ -118733,10 +113252,8 @@ var TypeWafTag = /*#__PURE__*/function () {
return object;
}
}]);
-
return TypeWafTag;
}();
-
exports["default"] = TypeWafTag;
/***/ }),
@@ -118751,23 +113268,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _UpdateBillingAddressRequestData = _interopRequireDefault(__nccwpck_require__(86338));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The UpdateBillingAddressRequest model module.
* @module model/UpdateBillingAddressRequest
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var UpdateBillingAddressRequest = /*#__PURE__*/function () {
/**
@@ -118776,19 +113289,18 @@ var UpdateBillingAddressRequest = /*#__PURE__*/function () {
*/
function UpdateBillingAddressRequest() {
_classCallCheck(this, UpdateBillingAddressRequest);
-
UpdateBillingAddressRequest.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(UpdateBillingAddressRequest, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a UpdateBillingAddressRequest
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -118796,29 +113308,32 @@ var UpdateBillingAddressRequest = /*#__PURE__*/function () {
* @param {module:model/UpdateBillingAddressRequest} obj Optional instance to populate.
* @return {module:model/UpdateBillingAddressRequest} The populated UpdateBillingAddressRequest
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new UpdateBillingAddressRequest();
-
+ if (data.hasOwnProperty('skip_verification')) {
+ obj['skip_verification'] = _ApiClient["default"].convertToType(data['skip_verification'], 'Boolean');
+ }
if (data.hasOwnProperty('data')) {
obj['data'] = _UpdateBillingAddressRequestData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return UpdateBillingAddressRequest;
}();
/**
- * @member {module:model/UpdateBillingAddressRequestData} data
+ * When set to true, the address will be saved without verification
+ * @member {Boolean} skip_verification
*/
+UpdateBillingAddressRequest.prototype['skip_verification'] = undefined;
-
+/**
+ * @member {module:model/UpdateBillingAddressRequestData} data
+ */
UpdateBillingAddressRequest.prototype['data'] = undefined;
var _default = UpdateBillingAddressRequest;
exports["default"] = _default;
@@ -118835,25 +113350,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _BillingAddressAttributes = _interopRequireDefault(__nccwpck_require__(77815));
-
var _TypeBillingAddress = _interopRequireDefault(__nccwpck_require__(25671));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The UpdateBillingAddressRequestData model module.
* @module model/UpdateBillingAddressRequestData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var UpdateBillingAddressRequestData = /*#__PURE__*/function () {
/**
@@ -118862,19 +113372,18 @@ var UpdateBillingAddressRequestData = /*#__PURE__*/function () {
*/
function UpdateBillingAddressRequestData() {
_classCallCheck(this, UpdateBillingAddressRequestData);
-
UpdateBillingAddressRequestData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(UpdateBillingAddressRequestData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a UpdateBillingAddressRequestData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -118882,48 +113391,40 @@ var UpdateBillingAddressRequestData = /*#__PURE__*/function () {
* @param {module:model/UpdateBillingAddressRequestData} obj Optional instance to populate.
* @return {module:model/UpdateBillingAddressRequestData} The populated UpdateBillingAddressRequestData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new UpdateBillingAddressRequestData();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeBillingAddress["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _BillingAddressAttributes["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return UpdateBillingAddressRequestData;
}();
/**
* @member {module:model/TypeBillingAddress} type
*/
-
-
UpdateBillingAddressRequestData.prototype['type'] = undefined;
+
/**
* Alphanumeric string identifying the billing address.
* @member {String} id
*/
-
UpdateBillingAddressRequestData.prototype['id'] = undefined;
+
/**
* @member {module:model/BillingAddressAttributes} attributes
*/
-
UpdateBillingAddressRequestData.prototype['attributes'] = undefined;
var _default = UpdateBillingAddressRequestData;
exports["default"] = _default;
@@ -118940,23 +113441,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RoleUser = _interopRequireDefault(__nccwpck_require__(51858));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The User model module.
* @module model/User
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var User = /*#__PURE__*/function () {
/**
@@ -118965,19 +113462,18 @@ var User = /*#__PURE__*/function () {
*/
function User() {
_classCallCheck(this, User);
-
User.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(User, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a User
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -118985,99 +113481,85 @@ var User = /*#__PURE__*/function () {
* @param {module:model/User} obj Optional instance to populate.
* @return {module:model/User} The populated User
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new User();
-
if (data.hasOwnProperty('login')) {
obj['login'] = _ApiClient["default"].convertToType(data['login'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('limit_services')) {
obj['limit_services'] = _ApiClient["default"].convertToType(data['limit_services'], 'Boolean');
}
-
if (data.hasOwnProperty('locked')) {
obj['locked'] = _ApiClient["default"].convertToType(data['locked'], 'Boolean');
}
-
if (data.hasOwnProperty('require_new_password')) {
obj['require_new_password'] = _ApiClient["default"].convertToType(data['require_new_password'], 'Boolean');
}
-
if (data.hasOwnProperty('role')) {
obj['role'] = _RoleUser["default"].constructFromObject(data['role']);
}
-
if (data.hasOwnProperty('two_factor_auth_enabled')) {
obj['two_factor_auth_enabled'] = _ApiClient["default"].convertToType(data['two_factor_auth_enabled'], 'Boolean');
}
-
if (data.hasOwnProperty('two_factor_setup_required')) {
obj['two_factor_setup_required'] = _ApiClient["default"].convertToType(data['two_factor_setup_required'], 'Boolean');
}
}
-
return obj;
}
}]);
-
return User;
}();
/**
- * The login associated with the user (typically, an email address).
* @member {String} login
*/
-
-
User.prototype['login'] = undefined;
+
/**
* The real life name of the user.
* @member {String} name
*/
-
User.prototype['name'] = undefined;
+
/**
* Indicates that the user has limited access to the customer's services.
* @member {Boolean} limit_services
*/
-
User.prototype['limit_services'] = undefined;
+
/**
* Indicates whether the is account is locked for editing or not.
* @member {Boolean} locked
*/
-
User.prototype['locked'] = undefined;
+
/**
* Indicates if a new password is required at next login.
* @member {Boolean} require_new_password
*/
-
User.prototype['require_new_password'] = undefined;
+
/**
* @member {module:model/RoleUser} role
*/
-
User.prototype['role'] = undefined;
+
/**
* Indicates if 2FA is enabled on the user.
* @member {Boolean} two_factor_auth_enabled
*/
-
User.prototype['two_factor_auth_enabled'] = undefined;
+
/**
* Indicates if 2FA is required by the user's customer account.
* @member {Boolean} two_factor_setup_required
*/
-
User.prototype['two_factor_setup_required'] = undefined;
var _default = User;
exports["default"] = _default;
@@ -119094,29 +113576,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RoleUser = _interopRequireDefault(__nccwpck_require__(51858));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
var _User = _interopRequireDefault(__nccwpck_require__(67292));
-
var _UserResponseAllOf = _interopRequireDefault(__nccwpck_require__(45770));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The UserResponse model module.
* @module model/UserResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var UserResponse = /*#__PURE__*/function () {
/**
@@ -119128,25 +113603,21 @@ var UserResponse = /*#__PURE__*/function () {
*/
function UserResponse() {
_classCallCheck(this, UserResponse);
-
_User["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_UserResponseAllOf["default"].initialize(this);
-
UserResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(UserResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a UserResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -119154,247 +113625,210 @@ var UserResponse = /*#__PURE__*/function () {
* @param {module:model/UserResponse} obj Optional instance to populate.
* @return {module:model/UserResponse} The populated UserResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new UserResponse();
-
_User["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_UserResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('login')) {
obj['login'] = _ApiClient["default"].convertToType(data['login'], 'String');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('limit_services')) {
obj['limit_services'] = _ApiClient["default"].convertToType(data['limit_services'], 'Boolean');
}
-
if (data.hasOwnProperty('locked')) {
obj['locked'] = _ApiClient["default"].convertToType(data['locked'], 'Boolean');
}
-
if (data.hasOwnProperty('require_new_password')) {
obj['require_new_password'] = _ApiClient["default"].convertToType(data['require_new_password'], 'Boolean');
}
-
if (data.hasOwnProperty('role')) {
obj['role'] = _RoleUser["default"].constructFromObject(data['role']);
}
-
if (data.hasOwnProperty('two_factor_auth_enabled')) {
obj['two_factor_auth_enabled'] = _ApiClient["default"].convertToType(data['two_factor_auth_enabled'], 'Boolean');
}
-
if (data.hasOwnProperty('two_factor_setup_required')) {
obj['two_factor_setup_required'] = _ApiClient["default"].convertToType(data['two_factor_setup_required'], 'Boolean');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('email_hash')) {
obj['email_hash'] = _ApiClient["default"].convertToType(data['email_hash'], 'String');
}
-
if (data.hasOwnProperty('customer_id')) {
obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
}
-
return obj;
}
}]);
-
return UserResponse;
}();
/**
- * The login associated with the user (typically, an email address).
* @member {String} login
*/
-
-
UserResponse.prototype['login'] = undefined;
+
/**
* The real life name of the user.
* @member {String} name
*/
-
UserResponse.prototype['name'] = undefined;
+
/**
* Indicates that the user has limited access to the customer's services.
* @member {Boolean} limit_services
*/
-
UserResponse.prototype['limit_services'] = undefined;
+
/**
* Indicates whether the is account is locked for editing or not.
* @member {Boolean} locked
*/
-
UserResponse.prototype['locked'] = undefined;
+
/**
* Indicates if a new password is required at next login.
* @member {Boolean} require_new_password
*/
-
UserResponse.prototype['require_new_password'] = undefined;
+
/**
* @member {module:model/RoleUser} role
*/
-
UserResponse.prototype['role'] = undefined;
+
/**
* Indicates if 2FA is enabled on the user.
* @member {Boolean} two_factor_auth_enabled
*/
-
UserResponse.prototype['two_factor_auth_enabled'] = undefined;
+
/**
* Indicates if 2FA is required by the user's customer account.
* @member {Boolean} two_factor_setup_required
*/
-
UserResponse.prototype['two_factor_setup_required'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
UserResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
UserResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
UserResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} id
*/
-
UserResponse.prototype['id'] = undefined;
+
/**
* The alphanumeric string identifying a email login.
* @member {String} email_hash
*/
-
UserResponse.prototype['email_hash'] = undefined;
+
/**
* @member {String} customer_id
*/
+UserResponse.prototype['customer_id'] = undefined;
-UserResponse.prototype['customer_id'] = undefined; // Implement User interface:
-
+// Implement User interface:
/**
- * The login associated with the user (typically, an email address).
* @member {String} login
*/
-
_User["default"].prototype['login'] = undefined;
/**
* The real life name of the user.
* @member {String} name
*/
-
_User["default"].prototype['name'] = undefined;
/**
* Indicates that the user has limited access to the customer's services.
* @member {Boolean} limit_services
*/
-
_User["default"].prototype['limit_services'] = undefined;
/**
* Indicates whether the is account is locked for editing or not.
* @member {Boolean} locked
*/
-
_User["default"].prototype['locked'] = undefined;
/**
* Indicates if a new password is required at next login.
* @member {Boolean} require_new_password
*/
-
_User["default"].prototype['require_new_password'] = undefined;
/**
* @member {module:model/RoleUser} role
*/
-
_User["default"].prototype['role'] = undefined;
/**
* Indicates if 2FA is enabled on the user.
* @member {Boolean} two_factor_auth_enabled
*/
-
_User["default"].prototype['two_factor_auth_enabled'] = undefined;
/**
* Indicates if 2FA is required by the user's customer account.
* @member {Boolean} two_factor_setup_required
*/
-
-_User["default"].prototype['two_factor_setup_required'] = undefined; // Implement Timestamps interface:
-
+_User["default"].prototype['two_factor_setup_required'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement UserResponseAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement UserResponseAllOf interface:
/**
* @member {String} id
*/
-
_UserResponseAllOf["default"].prototype['id'] = undefined;
/**
* The alphanumeric string identifying a email login.
* @member {String} email_hash
*/
-
_UserResponseAllOf["default"].prototype['email_hash'] = undefined;
/**
* @member {String} customer_id
*/
-
_UserResponseAllOf["default"].prototype['customer_id'] = undefined;
var _default = UserResponse;
exports["default"] = _default;
@@ -119411,21 +113845,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The UserResponseAllOf model module.
* @module model/UserResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var UserResponseAllOf = /*#__PURE__*/function () {
/**
@@ -119434,19 +113865,18 @@ var UserResponseAllOf = /*#__PURE__*/function () {
*/
function UserResponseAllOf() {
_classCallCheck(this, UserResponseAllOf);
-
UserResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(UserResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a UserResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -119454,48 +113884,40 @@ var UserResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/UserResponseAllOf} obj Optional instance to populate.
* @return {module:model/UserResponseAllOf} The populated UserResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new UserResponseAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('email_hash')) {
obj['email_hash'] = _ApiClient["default"].convertToType(data['email_hash'], 'String');
}
-
if (data.hasOwnProperty('customer_id')) {
obj['customer_id'] = _ApiClient["default"].convertToType(data['customer_id'], 'String');
}
}
-
return obj;
}
}]);
-
return UserResponseAllOf;
}();
/**
* @member {String} id
*/
-
-
UserResponseAllOf.prototype['id'] = undefined;
+
/**
* The alphanumeric string identifying a email login.
* @member {String} email_hash
*/
-
UserResponseAllOf.prototype['email_hash'] = undefined;
+
/**
* @member {String} customer_id
*/
-
UserResponseAllOf.prototype['customer_id'] = undefined;
var _default = UserResponseAllOf;
exports["default"] = _default;
@@ -119512,21 +113934,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Vcl model module.
* @module model/Vcl
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Vcl = /*#__PURE__*/function () {
/**
@@ -119535,19 +113954,18 @@ var Vcl = /*#__PURE__*/function () {
*/
function Vcl() {
_classCallCheck(this, Vcl);
-
Vcl.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Vcl, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Vcl
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -119555,50 +113973,42 @@ var Vcl = /*#__PURE__*/function () {
* @param {module:model/Vcl} obj Optional instance to populate.
* @return {module:model/Vcl} The populated Vcl
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Vcl();
-
if (data.hasOwnProperty('content')) {
obj['content'] = _ApiClient["default"].convertToType(data['content'], 'String');
}
-
if (data.hasOwnProperty('main')) {
obj['main'] = _ApiClient["default"].convertToType(data['main'], 'Boolean');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
}
-
return obj;
}
}]);
-
return Vcl;
}();
/**
* The VCL code to be included.
* @member {String} content
*/
-
-
Vcl.prototype['content'] = undefined;
+
/**
* Set to `true` when this is the main VCL, otherwise `false`.
* @member {Boolean} main
*/
-
Vcl.prototype['main'] = undefined;
+
/**
* The name of this VCL.
* @member {String} name
*/
-
Vcl.prototype['name'] = undefined;
var _default = Vcl;
exports["default"] = _default;
@@ -119615,21 +114025,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The VclDiff model module.
* @module model/VclDiff
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var VclDiff = /*#__PURE__*/function () {
/**
@@ -119638,19 +114045,18 @@ var VclDiff = /*#__PURE__*/function () {
*/
function VclDiff() {
_classCallCheck(this, VclDiff);
-
VclDiff.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(VclDiff, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a VclDiff
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -119658,80 +114064,69 @@ var VclDiff = /*#__PURE__*/function () {
* @param {module:model/VclDiff} obj Optional instance to populate.
* @return {module:model/VclDiff} The populated VclDiff
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new VclDiff();
-
if (data.hasOwnProperty('from')) {
obj['from'] = _ApiClient["default"].convertToType(data['from'], 'Number');
}
-
if (data.hasOwnProperty('to')) {
obj['to'] = _ApiClient["default"].convertToType(data['to'], 'Number');
}
-
if (data.hasOwnProperty('format')) {
obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
}
-
if (data.hasOwnProperty('diff')) {
obj['diff'] = _ApiClient["default"].convertToType(data['diff'], 'String');
}
}
-
return obj;
}
}]);
-
return VclDiff;
}();
/**
* The version number of the service to which changes in the generated VCL are being compared.
* @member {Number} from
*/
-
-
VclDiff.prototype['from'] = undefined;
+
/**
* The version number of the service from which changes in the generated VCL are being compared.
* @member {Number} to
*/
-
VclDiff.prototype['to'] = undefined;
+
/**
* The format in which compared VCL changes are being returned in.
* @member {module:model/VclDiff.FormatEnum} format
*/
-
VclDiff.prototype['format'] = undefined;
+
/**
* The differences between two specified versions.
* @member {String} diff
*/
-
VclDiff.prototype['diff'] = undefined;
+
/**
* Allowed values for the format
property.
* @enum {String}
* @readonly
*/
-
VclDiff['FormatEnum'] = {
/**
* value: "text"
* @const
*/
"text": "text",
-
/**
* value: "html"
* @const
*/
"html": "html",
-
/**
* value: "html_simple"
* @const
@@ -119753,27 +114148,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _ServiceIdAndVersion = _interopRequireDefault(__nccwpck_require__(90206));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
var _Vcl = _interopRequireDefault(__nccwpck_require__(11613));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The VclResponse model module.
* @module model/VclResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var VclResponse = /*#__PURE__*/function () {
/**
@@ -119785,25 +114174,21 @@ var VclResponse = /*#__PURE__*/function () {
*/
function VclResponse() {
_classCallCheck(this, VclResponse);
-
_Vcl["default"].initialize(this);
-
_ServiceIdAndVersion["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
VclResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(VclResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a VclResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -119811,153 +114196,130 @@ var VclResponse = /*#__PURE__*/function () {
* @param {module:model/VclResponse} obj Optional instance to populate.
* @return {module:model/VclResponse} The populated VclResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new VclResponse();
-
_Vcl["default"].constructFromObject(data, obj);
-
_ServiceIdAndVersion["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('content')) {
obj['content'] = _ApiClient["default"].convertToType(data['content'], 'String');
}
-
if (data.hasOwnProperty('main')) {
obj['main'] = _ApiClient["default"].convertToType(data['main'], 'Boolean');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('version')) {
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'Number');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
}
-
return obj;
}
}]);
-
return VclResponse;
}();
/**
* The VCL code to be included.
* @member {String} content
*/
-
-
VclResponse.prototype['content'] = undefined;
+
/**
* Set to `true` when this is the main VCL, otherwise `false`.
* @member {Boolean} main
*/
-
VclResponse.prototype['main'] = undefined;
+
/**
* The name of this VCL.
* @member {String} name
*/
-
VclResponse.prototype['name'] = undefined;
+
/**
* @member {String} service_id
*/
-
VclResponse.prototype['service_id'] = undefined;
+
/**
* @member {Number} version
*/
-
VclResponse.prototype['version'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
VclResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
VclResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
+VclResponse.prototype['updated_at'] = undefined;
-VclResponse.prototype['updated_at'] = undefined; // Implement Vcl interface:
-
+// Implement Vcl interface:
/**
* The VCL code to be included.
* @member {String} content
*/
-
_Vcl["default"].prototype['content'] = undefined;
/**
* Set to `true` when this is the main VCL, otherwise `false`.
* @member {Boolean} main
*/
-
_Vcl["default"].prototype['main'] = undefined;
/**
* The name of this VCL.
* @member {String} name
*/
-
-_Vcl["default"].prototype['name'] = undefined; // Implement ServiceIdAndVersion interface:
-
+_Vcl["default"].prototype['name'] = undefined;
+// Implement ServiceIdAndVersion interface:
/**
* @member {String} service_id
*/
-
_ServiceIdAndVersion["default"].prototype['service_id'] = undefined;
/**
* @member {Number} version
*/
-
-_ServiceIdAndVersion["default"].prototype['version'] = undefined; // Implement Timestamps interface:
-
+_ServiceIdAndVersion["default"].prototype['version'] = undefined;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
_Timestamps["default"].prototype['updated_at'] = undefined;
var _default = VclResponse;
exports["default"] = _default;
@@ -119974,21 +114336,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The Version model module.
* @module model/Version
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var Version = /*#__PURE__*/function () {
/**
@@ -119997,19 +114356,18 @@ var Version = /*#__PURE__*/function () {
*/
function Version() {
_classCallCheck(this, Version);
-
Version.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(Version, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a Version
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -120017,46 +114375,36 @@ var Version = /*#__PURE__*/function () {
* @param {module:model/Version} obj Optional instance to populate.
* @return {module:model/Version} The populated Version
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new Version();
-
if (data.hasOwnProperty('active')) {
obj['active'] = _ApiClient["default"].convertToType(data['active'], 'Boolean');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('deployed')) {
obj['deployed'] = _ApiClient["default"].convertToType(data['deployed'], 'Boolean');
}
-
if (data.hasOwnProperty('locked')) {
obj['locked'] = _ApiClient["default"].convertToType(data['locked'], 'Boolean');
}
-
if (data.hasOwnProperty('number')) {
obj['number'] = _ApiClient["default"].convertToType(data['number'], 'Number');
}
-
if (data.hasOwnProperty('staging')) {
obj['staging'] = _ApiClient["default"].convertToType(data['staging'], 'Boolean');
}
-
if (data.hasOwnProperty('testing')) {
obj['testing'] = _ApiClient["default"].convertToType(data['testing'], 'Boolean');
}
}
-
return obj;
}
}]);
-
return Version;
}();
/**
@@ -120064,47 +114412,45 @@ var Version = /*#__PURE__*/function () {
* @member {Boolean} active
* @default false
*/
-
-
Version.prototype['active'] = false;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
Version.prototype['comment'] = undefined;
+
/**
* Unused at this time.
* @member {Boolean} deployed
*/
-
Version.prototype['deployed'] = undefined;
+
/**
* Whether this version is locked or not. Objects can not be added or edited on locked versions.
* @member {Boolean} locked
* @default false
*/
-
Version.prototype['locked'] = false;
+
/**
* The number of this version.
* @member {Number} number
*/
-
Version.prototype['number'] = undefined;
+
/**
* Unused at this time.
* @member {Boolean} staging
* @default false
*/
-
Version.prototype['staging'] = false;
+
/**
* Unused at this time.
* @member {Boolean} testing
* @default false
*/
-
Version.prototype['testing'] = false;
var _default = Version;
exports["default"] = _default;
@@ -120121,21 +114467,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The VersionCreateResponse model module.
* @module model/VersionCreateResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var VersionCreateResponse = /*#__PURE__*/function () {
/**
@@ -120144,19 +114487,18 @@ var VersionCreateResponse = /*#__PURE__*/function () {
*/
function VersionCreateResponse() {
_classCallCheck(this, VersionCreateResponse);
-
VersionCreateResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(VersionCreateResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a VersionCreateResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -120164,38 +114506,31 @@ var VersionCreateResponse = /*#__PURE__*/function () {
* @param {module:model/VersionCreateResponse} obj Optional instance to populate.
* @return {module:model/VersionCreateResponse} The populated VersionCreateResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new VersionCreateResponse();
-
if (data.hasOwnProperty('number')) {
obj['number'] = _ApiClient["default"].convertToType(data['number'], 'Number');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
}
-
return obj;
}
}]);
-
return VersionCreateResponse;
}();
/**
* @member {Number} number
*/
-
-
VersionCreateResponse.prototype['number'] = undefined;
+
/**
* @member {String} service_id
*/
-
VersionCreateResponse.prototype['service_id'] = undefined;
var _default = VersionCreateResponse;
exports["default"] = _default;
@@ -120212,47 +114547,31 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _BackendResponse = _interopRequireDefault(__nccwpck_require__(29718));
-
var _CacheSettingResponse = _interopRequireDefault(__nccwpck_require__(26598));
-
var _ConditionResponse = _interopRequireDefault(__nccwpck_require__(54404));
-
var _Director = _interopRequireDefault(__nccwpck_require__(77380));
-
var _DomainResponse = _interopRequireDefault(__nccwpck_require__(42825));
-
var _GzipResponse = _interopRequireDefault(__nccwpck_require__(74921));
-
var _HeaderResponse = _interopRequireDefault(__nccwpck_require__(69260));
-
var _HealthcheckResponse = _interopRequireDefault(__nccwpck_require__(40989));
-
var _RequestSettingsResponse = _interopRequireDefault(__nccwpck_require__(89430));
-
var _ResponseObjectResponse = _interopRequireDefault(__nccwpck_require__(14307));
-
var _SchemasSnippetResponse = _interopRequireDefault(__nccwpck_require__(56315));
-
-var _SchemasVclResponse = _interopRequireDefault(__nccwpck_require__(31726));
-
-var _Settings = _interopRequireDefault(__nccwpck_require__(37819));
-
+var _VclResponse = _interopRequireDefault(__nccwpck_require__(43613));
+var _VersionDetailSettings = _interopRequireDefault(__nccwpck_require__(19238));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The VersionDetail model module.
* @module model/VersionDetail
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var VersionDetail = /*#__PURE__*/function () {
/**
@@ -120261,19 +114580,18 @@ var VersionDetail = /*#__PURE__*/function () {
*/
function VersionDetail() {
_classCallCheck(this, VersionDetail);
-
VersionDetail.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(VersionDetail, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a VersionDetail
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -120281,167 +114599,147 @@ var VersionDetail = /*#__PURE__*/function () {
* @param {module:model/VersionDetail} obj Optional instance to populate.
* @return {module:model/VersionDetail} The populated VersionDetail
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new VersionDetail();
-
if (data.hasOwnProperty('backends')) {
obj['backends'] = _ApiClient["default"].convertToType(data['backends'], [_BackendResponse["default"]]);
}
-
if (data.hasOwnProperty('cache_settings')) {
obj['cache_settings'] = _ApiClient["default"].convertToType(data['cache_settings'], [_CacheSettingResponse["default"]]);
}
-
if (data.hasOwnProperty('conditions')) {
obj['conditions'] = _ApiClient["default"].convertToType(data['conditions'], [_ConditionResponse["default"]]);
}
-
if (data.hasOwnProperty('directors')) {
obj['directors'] = _ApiClient["default"].convertToType(data['directors'], [_Director["default"]]);
}
-
if (data.hasOwnProperty('domains')) {
obj['domains'] = _ApiClient["default"].convertToType(data['domains'], [_DomainResponse["default"]]);
}
-
if (data.hasOwnProperty('gzips')) {
obj['gzips'] = _ApiClient["default"].convertToType(data['gzips'], [_GzipResponse["default"]]);
}
-
if (data.hasOwnProperty('headers')) {
obj['headers'] = _ApiClient["default"].convertToType(data['headers'], [_HeaderResponse["default"]]);
}
-
if (data.hasOwnProperty('healthchecks')) {
obj['healthchecks'] = _ApiClient["default"].convertToType(data['healthchecks'], [_HealthcheckResponse["default"]]);
}
-
if (data.hasOwnProperty('request_settings')) {
obj['request_settings'] = _ApiClient["default"].convertToType(data['request_settings'], [_RequestSettingsResponse["default"]]);
}
-
if (data.hasOwnProperty('response_objects')) {
obj['response_objects'] = _ApiClient["default"].convertToType(data['response_objects'], [_ResponseObjectResponse["default"]]);
}
-
if (data.hasOwnProperty('settings')) {
- obj['settings'] = _ApiClient["default"].convertToType(data['settings'], _Settings["default"]);
+ obj['settings'] = _VersionDetailSettings["default"].constructFromObject(data['settings']);
}
-
if (data.hasOwnProperty('snippets')) {
obj['snippets'] = _ApiClient["default"].convertToType(data['snippets'], [_SchemasSnippetResponse["default"]]);
}
-
if (data.hasOwnProperty('vcls')) {
- obj['vcls'] = _ApiClient["default"].convertToType(data['vcls'], [_SchemasVclResponse["default"]]);
+ obj['vcls'] = _ApiClient["default"].convertToType(data['vcls'], [_VclResponse["default"]]);
}
-
if (data.hasOwnProperty('wordpress')) {
obj['wordpress'] = _ApiClient["default"].convertToType(data['wordpress'], [Object]);
}
}
-
return obj;
}
}]);
-
return VersionDetail;
}();
/**
* List of backends associated to this service.
* @member {Array.VersionDetailSettings
.
+ * List of default settings for this service.
+ * @alias module:model/VersionDetailSettings
+ */
+ function VersionDetailSettings() {
+ _classCallCheck(this, VersionDetailSettings);
+ VersionDetailSettings.initialize(this);
+ }
-var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(VersionDetailSettings, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
-var _Version = _interopRequireDefault(__nccwpck_require__(47349));
+ /**
+ * Constructs a VersionDetailSettings
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/VersionDetailSettings} obj Optional instance to populate.
+ * @return {module:model/VersionDetailSettings} The populated VersionDetailSettings
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new VersionDetailSettings();
+ if (data.hasOwnProperty('general.default_host')) {
+ obj['general.default_host'] = _ApiClient["default"].convertToType(data['general.default_host'], 'String');
+ }
+ if (data.hasOwnProperty('general.default_ttl')) {
+ obj['general.default_ttl'] = _ApiClient["default"].convertToType(data['general.default_ttl'], 'Number');
+ }
+ if (data.hasOwnProperty('general.stale_if_error')) {
+ obj['general.stale_if_error'] = _ApiClient["default"].convertToType(data['general.stale_if_error'], 'Boolean');
+ }
+ if (data.hasOwnProperty('general.stale_if_error_ttl')) {
+ obj['general.stale_if_error_ttl'] = _ApiClient["default"].convertToType(data['general.stale_if_error_ttl'], 'Number');
+ }
+ }
+ return obj;
+ }
+ }]);
+ return VersionDetailSettings;
+}();
+/**
+ * The default host name for the version.
+ * @member {String} general.default_host
+ */
+VersionDetailSettings.prototype['general.default_host'] = undefined;
-var _VersionResponseAllOf = _interopRequireDefault(__nccwpck_require__(83708));
+/**
+ * The default time-to-live (TTL) for the version.
+ * @member {Number} general.default_ttl
+ */
+VersionDetailSettings.prototype['general.default_ttl'] = undefined;
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+/**
+ * Enables serving a stale object if there is an error.
+ * @member {Boolean} general.stale_if_error
+ * @default false
+ */
+VersionDetailSettings.prototype['general.stale_if_error'] = false;
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+/**
+ * The default time-to-live (TTL) for serving the stale object for the version.
+ * @member {Number} general.stale_if_error_ttl
+ * @default 43200
+ */
+VersionDetailSettings.prototype['general.stale_if_error_ttl'] = 43200;
+var _default = VersionDetailSettings;
+exports["default"] = _default;
+
+/***/ }),
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
+/***/ 72030:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports["default"] = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
+var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
+var _Version = _interopRequireDefault(__nccwpck_require__(47349));
+var _VersionResponseAllOf = _interopRequireDefault(__nccwpck_require__(83708));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The VersionResponse model module.
* @module model/VersionResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var VersionResponse = /*#__PURE__*/function () {
/**
@@ -120483,25 +114878,21 @@ var VersionResponse = /*#__PURE__*/function () {
*/
function VersionResponse() {
_classCallCheck(this, VersionResponse);
-
_Version["default"].initialize(this);
-
_Timestamps["default"].initialize(this);
-
_VersionResponseAllOf["default"].initialize(this);
-
VersionResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(VersionResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a VersionResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -120509,68 +114900,51 @@ var VersionResponse = /*#__PURE__*/function () {
* @param {module:model/VersionResponse} obj Optional instance to populate.
* @return {module:model/VersionResponse} The populated VersionResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new VersionResponse();
-
_Version["default"].constructFromObject(data, obj);
-
_Timestamps["default"].constructFromObject(data, obj);
-
_VersionResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('active')) {
obj['active'] = _ApiClient["default"].convertToType(data['active'], 'Boolean');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('deployed')) {
obj['deployed'] = _ApiClient["default"].convertToType(data['deployed'], 'Boolean');
}
-
if (data.hasOwnProperty('locked')) {
obj['locked'] = _ApiClient["default"].convertToType(data['locked'], 'Boolean');
}
-
if (data.hasOwnProperty('number')) {
obj['number'] = _ApiClient["default"].convertToType(data['number'], 'Number');
}
-
if (data.hasOwnProperty('staging')) {
obj['staging'] = _ApiClient["default"].convertToType(data['staging'], 'Boolean');
}
-
if (data.hasOwnProperty('testing')) {
obj['testing'] = _ApiClient["default"].convertToType(data['testing'], 'Boolean');
}
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
}
-
return obj;
}
}]);
-
return VersionResponse;
}();
/**
@@ -120578,142 +114952,130 @@ var VersionResponse = /*#__PURE__*/function () {
* @member {Boolean} active
* @default false
*/
-
-
VersionResponse.prototype['active'] = false;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
VersionResponse.prototype['comment'] = undefined;
+
/**
* Unused at this time.
* @member {Boolean} deployed
*/
-
VersionResponse.prototype['deployed'] = undefined;
+
/**
* Whether this version is locked or not. Objects can not be added or edited on locked versions.
* @member {Boolean} locked
* @default false
*/
-
VersionResponse.prototype['locked'] = false;
+
/**
* The number of this version.
* @member {Number} number
*/
-
VersionResponse.prototype['number'] = undefined;
+
/**
* Unused at this time.
* @member {Boolean} staging
* @default false
*/
-
VersionResponse.prototype['staging'] = false;
+
/**
* Unused at this time.
* @member {Boolean} testing
* @default false
*/
-
VersionResponse.prototype['testing'] = false;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
VersionResponse.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
VersionResponse.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
VersionResponse.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
+VersionResponse.prototype['service_id'] = undefined;
-VersionResponse.prototype['service_id'] = undefined; // Implement Version interface:
-
+// Implement Version interface:
/**
* Whether this is the active version or not.
* @member {Boolean} active
* @default false
*/
-
_Version["default"].prototype['active'] = false;
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
_Version["default"].prototype['comment'] = undefined;
/**
* Unused at this time.
* @member {Boolean} deployed
*/
-
_Version["default"].prototype['deployed'] = undefined;
/**
* Whether this version is locked or not. Objects can not be added or edited on locked versions.
* @member {Boolean} locked
* @default false
*/
-
_Version["default"].prototype['locked'] = false;
/**
* The number of this version.
* @member {Number} number
*/
-
_Version["default"].prototype['number'] = undefined;
/**
* Unused at this time.
* @member {Boolean} staging
* @default false
*/
-
_Version["default"].prototype['staging'] = false;
/**
* Unused at this time.
* @member {Boolean} testing
* @default false
*/
-
-_Version["default"].prototype['testing'] = false; // Implement Timestamps interface:
-
+_Version["default"].prototype['testing'] = false;
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement VersionResponseAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement VersionResponseAllOf interface:
/**
* @member {String} service_id
*/
-
_VersionResponseAllOf["default"].prototype['service_id'] = undefined;
var _default = VersionResponse;
exports["default"] = _default;
@@ -120730,21 +115092,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The VersionResponseAllOf model module.
* @module model/VersionResponseAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var VersionResponseAllOf = /*#__PURE__*/function () {
/**
@@ -120753,19 +115112,18 @@ var VersionResponseAllOf = /*#__PURE__*/function () {
*/
function VersionResponseAllOf() {
_classCallCheck(this, VersionResponseAllOf);
-
VersionResponseAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(VersionResponseAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a VersionResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -120773,29 +115131,23 @@ var VersionResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/VersionResponseAllOf} obj Optional instance to populate.
* @return {module:model/VersionResponseAllOf} The populated VersionResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new VersionResponseAllOf();
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
}
-
return obj;
}
}]);
-
return VersionResponseAllOf;
}();
/**
* @member {String} service_id
*/
-
-
VersionResponseAllOf.prototype['service_id'] = undefined;
var _default = VersionResponseAllOf;
exports["default"] = _default;
@@ -120812,23 +115164,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _WafActiveRuleData = _interopRequireDefault(__nccwpck_require__(79136));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafActiveRule model module.
* @module model/WafActiveRule
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafActiveRule = /*#__PURE__*/function () {
/**
@@ -120837,19 +115185,18 @@ var WafActiveRule = /*#__PURE__*/function () {
*/
function WafActiveRule() {
_classCallCheck(this, WafActiveRule);
-
WafActiveRule.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafActiveRule, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafActiveRule
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -120857,29 +115204,23 @@ var WafActiveRule = /*#__PURE__*/function () {
* @param {module:model/WafActiveRule} obj Optional instance to populate.
* @return {module:model/WafActiveRule} The populated WafActiveRule
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafActiveRule();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _WafActiveRuleData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return WafActiveRule;
}();
/**
* @member {module:model/WafActiveRuleData} data
*/
-
-
WafActiveRule.prototype['data'] = undefined;
var _default = WafActiveRule;
exports["default"] = _default;
@@ -120896,33 +115237,24 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _IncludedWithWafActiveRuleItem = _interopRequireDefault(__nccwpck_require__(98177));
-
var _PaginationLinks = _interopRequireDefault(__nccwpck_require__(97779));
-
var _PaginationMeta = _interopRequireDefault(__nccwpck_require__(93986));
-
var _WafActiveRuleResponse = _interopRequireDefault(__nccwpck_require__(24656));
-
var _WafActiveRuleResponseData = _interopRequireDefault(__nccwpck_require__(56808));
-
var _WafActiveRulesResponse = _interopRequireDefault(__nccwpck_require__(73936));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafActiveRuleCreationResponse model module.
* @module model/WafActiveRuleCreationResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafActiveRuleCreationResponse = /*#__PURE__*/function () {
/**
@@ -120933,23 +115265,20 @@ var WafActiveRuleCreationResponse = /*#__PURE__*/function () {
*/
function WafActiveRuleCreationResponse() {
_classCallCheck(this, WafActiveRuleCreationResponse);
-
_WafActiveRuleResponse["default"].initialize(this);
-
_WafActiveRulesResponse["default"].initialize(this);
-
WafActiveRuleCreationResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafActiveRuleCreationResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafActiveRuleCreationResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -120957,87 +115286,72 @@ var WafActiveRuleCreationResponse = /*#__PURE__*/function () {
* @param {module:model/WafActiveRuleCreationResponse} obj Optional instance to populate.
* @return {module:model/WafActiveRuleCreationResponse} The populated WafActiveRuleCreationResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafActiveRuleCreationResponse();
-
_WafActiveRuleResponse["default"].constructFromObject(data, obj);
-
_WafActiveRulesResponse["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_WafActiveRuleResponseData["default"]]);
}
-
if (data.hasOwnProperty('links')) {
obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('included')) {
obj['included'] = _ApiClient["default"].convertToType(data['included'], [_IncludedWithWafActiveRuleItem["default"]]);
}
}
-
return obj;
}
}]);
-
return WafActiveRuleCreationResponse;
}();
/**
* @member {Array.WafActiveRuleData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -121103,47 +115410,39 @@ var WafActiveRuleData = /*#__PURE__*/function () {
* @param {module:model/WafActiveRuleData} obj Optional instance to populate.
* @return {module:model/WafActiveRuleData} The populated WafActiveRuleData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafActiveRuleData();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafActiveRule["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _WafActiveRuleDataAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipsForWafActiveRule["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return WafActiveRuleData;
}();
/**
* @member {module:model/TypeWafActiveRule} type
*/
-
-
WafActiveRuleData.prototype['type'] = undefined;
+
/**
* @member {module:model/WafActiveRuleDataAttributes} attributes
*/
-
WafActiveRuleData.prototype['attributes'] = undefined;
+
/**
* @member {module:model/RelationshipsForWafActiveRule} relationships
*/
-
WafActiveRuleData.prototype['relationships'] = undefined;
var _default = WafActiveRuleData;
exports["default"] = _default;
@@ -121160,23 +115459,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _WafRuleRevisionOrLatest = _interopRequireDefault(__nccwpck_require__(69302));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafActiveRuleDataAttributes model module.
* @module model/WafActiveRuleDataAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafActiveRuleDataAttributes = /*#__PURE__*/function () {
/**
@@ -121185,19 +115480,18 @@ var WafActiveRuleDataAttributes = /*#__PURE__*/function () {
*/
function WafActiveRuleDataAttributes() {
_classCallCheck(this, WafActiveRuleDataAttributes);
-
WafActiveRuleDataAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafActiveRuleDataAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafActiveRuleDataAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -121205,69 +115499,59 @@ var WafActiveRuleDataAttributes = /*#__PURE__*/function () {
* @param {module:model/WafActiveRuleDataAttributes} obj Optional instance to populate.
* @return {module:model/WafActiveRuleDataAttributes} The populated WafActiveRuleDataAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafActiveRuleDataAttributes();
-
if (data.hasOwnProperty('modsec_rule_id')) {
obj['modsec_rule_id'] = _ApiClient["default"].convertToType(data['modsec_rule_id'], 'Number');
}
-
if (data.hasOwnProperty('revision')) {
obj['revision'] = _WafRuleRevisionOrLatest["default"].constructFromObject(data['revision']);
}
-
if (data.hasOwnProperty('status')) {
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
}
}
-
return obj;
}
}]);
-
return WafActiveRuleDataAttributes;
}();
/**
* The ModSecurity rule ID of the associated rule revision.
* @member {Number} modsec_rule_id
*/
-
-
WafActiveRuleDataAttributes.prototype['modsec_rule_id'] = undefined;
+
/**
* @member {module:model/WafRuleRevisionOrLatest} revision
*/
-
WafActiveRuleDataAttributes.prototype['revision'] = undefined;
+
/**
* Describes the behavior for the particular rule revision within this firewall version.
* @member {module:model/WafActiveRuleDataAttributes.StatusEnum} status
*/
-
WafActiveRuleDataAttributes.prototype['status'] = undefined;
+
/**
* Allowed values for the status
property.
* @enum {String}
* @readonly
*/
-
WafActiveRuleDataAttributes['StatusEnum'] = {
/**
* value: "log"
* @const
*/
"log": "log",
-
/**
* value: "block"
* @const
*/
"block": "block",
-
/**
* value: "score"
* @const
@@ -121289,23 +115573,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _WafActiveRuleResponseData = _interopRequireDefault(__nccwpck_require__(56808));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafActiveRuleResponse model module.
* @module model/WafActiveRuleResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafActiveRuleResponse = /*#__PURE__*/function () {
/**
@@ -121314,19 +115594,18 @@ var WafActiveRuleResponse = /*#__PURE__*/function () {
*/
function WafActiveRuleResponse() {
_classCallCheck(this, WafActiveRuleResponse);
-
WafActiveRuleResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafActiveRuleResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafActiveRuleResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -121334,29 +115613,23 @@ var WafActiveRuleResponse = /*#__PURE__*/function () {
* @param {module:model/WafActiveRuleResponse} obj Optional instance to populate.
* @return {module:model/WafActiveRuleResponse} The populated WafActiveRuleResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafActiveRuleResponse();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _WafActiveRuleResponseData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return WafActiveRuleResponse;
}();
/**
* @member {module:model/WafActiveRuleResponseData} data
*/
-
-
WafActiveRuleResponse.prototype['data'] = undefined;
var _default = WafActiveRuleResponse;
exports["default"] = _default;
@@ -121373,31 +115646,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeWafActiveRule = _interopRequireDefault(__nccwpck_require__(34550));
-
var _WafActiveRuleData = _interopRequireDefault(__nccwpck_require__(79136));
-
var _WafActiveRuleResponseDataAllOf = _interopRequireDefault(__nccwpck_require__(4901));
-
var _WafActiveRuleResponseDataAttributes = _interopRequireDefault(__nccwpck_require__(64471));
-
var _WafActiveRuleResponseDataRelationships = _interopRequireDefault(__nccwpck_require__(56927));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafActiveRuleResponseData model module.
* @module model/WafActiveRuleResponseData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafActiveRuleResponseData = /*#__PURE__*/function () {
/**
@@ -121408,23 +115673,20 @@ var WafActiveRuleResponseData = /*#__PURE__*/function () {
*/
function WafActiveRuleResponseData() {
_classCallCheck(this, WafActiveRuleResponseData);
-
_WafActiveRuleData["default"].initialize(this);
-
_WafActiveRuleResponseDataAllOf["default"].initialize(this);
-
WafActiveRuleResponseData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafActiveRuleResponseData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafActiveRuleResponseData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -121432,92 +115694,76 @@ var WafActiveRuleResponseData = /*#__PURE__*/function () {
* @param {module:model/WafActiveRuleResponseData} obj Optional instance to populate.
* @return {module:model/WafActiveRuleResponseData} The populated WafActiveRuleResponseData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafActiveRuleResponseData();
-
_WafActiveRuleData["default"].constructFromObject(data, obj);
-
_WafActiveRuleResponseDataAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafActiveRule["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _WafActiveRuleResponseDataAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _WafActiveRuleResponseDataRelationships["default"].constructFromObject(data['relationships']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return WafActiveRuleResponseData;
}();
/**
* @member {module:model/TypeWafActiveRule} type
*/
-
-
WafActiveRuleResponseData.prototype['type'] = undefined;
+
/**
* @member {module:model/WafActiveRuleResponseDataAttributes} attributes
*/
-
WafActiveRuleResponseData.prototype['attributes'] = undefined;
+
/**
* @member {module:model/WafActiveRuleResponseDataRelationships} relationships
*/
-
WafActiveRuleResponseData.prototype['relationships'] = undefined;
+
/**
* @member {String} id
*/
+WafActiveRuleResponseData.prototype['id'] = undefined;
-WafActiveRuleResponseData.prototype['id'] = undefined; // Implement WafActiveRuleData interface:
-
+// Implement WafActiveRuleData interface:
/**
* @member {module:model/TypeWafActiveRule} type
*/
-
_WafActiveRuleData["default"].prototype['type'] = undefined;
/**
* @member {module:model/WafActiveRuleDataAttributes} attributes
*/
-
_WafActiveRuleData["default"].prototype['attributes'] = undefined;
/**
* @member {module:model/RelationshipsForWafActiveRule} relationships
*/
-
-_WafActiveRuleData["default"].prototype['relationships'] = undefined; // Implement WafActiveRuleResponseDataAllOf interface:
-
+_WafActiveRuleData["default"].prototype['relationships'] = undefined;
+// Implement WafActiveRuleResponseDataAllOf interface:
/**
* @member {String} id
*/
-
_WafActiveRuleResponseDataAllOf["default"].prototype['id'] = undefined;
/**
* @member {module:model/WafActiveRuleResponseDataAttributes} attributes
*/
-
_WafActiveRuleResponseDataAllOf["default"].prototype['attributes'] = undefined;
/**
* @member {module:model/WafActiveRuleResponseDataRelationships} relationships
*/
-
_WafActiveRuleResponseDataAllOf["default"].prototype['relationships'] = undefined;
var _default = WafActiveRuleResponseData;
exports["default"] = _default;
@@ -121534,25 +115780,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _WafActiveRuleResponseDataAttributes = _interopRequireDefault(__nccwpck_require__(64471));
-
var _WafActiveRuleResponseDataRelationships = _interopRequireDefault(__nccwpck_require__(56927));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafActiveRuleResponseDataAllOf model module.
* @module model/WafActiveRuleResponseDataAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafActiveRuleResponseDataAllOf = /*#__PURE__*/function () {
/**
@@ -121561,19 +115802,18 @@ var WafActiveRuleResponseDataAllOf = /*#__PURE__*/function () {
*/
function WafActiveRuleResponseDataAllOf() {
_classCallCheck(this, WafActiveRuleResponseDataAllOf);
-
WafActiveRuleResponseDataAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafActiveRuleResponseDataAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafActiveRuleResponseDataAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -121581,47 +115821,39 @@ var WafActiveRuleResponseDataAllOf = /*#__PURE__*/function () {
* @param {module:model/WafActiveRuleResponseDataAllOf} obj Optional instance to populate.
* @return {module:model/WafActiveRuleResponseDataAllOf} The populated WafActiveRuleResponseDataAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafActiveRuleResponseDataAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _WafActiveRuleResponseDataAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _WafActiveRuleResponseDataRelationships["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return WafActiveRuleResponseDataAllOf;
}();
/**
* @member {String} id
*/
-
-
WafActiveRuleResponseDataAllOf.prototype['id'] = undefined;
+
/**
* @member {module:model/WafActiveRuleResponseDataAttributes} attributes
*/
-
WafActiveRuleResponseDataAllOf.prototype['attributes'] = undefined;
+
/**
* @member {module:model/WafActiveRuleResponseDataRelationships} relationships
*/
-
WafActiveRuleResponseDataAllOf.prototype['relationships'] = undefined;
var _default = WafActiveRuleResponseDataAllOf;
exports["default"] = _default;
@@ -121638,25 +115870,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
var _WafActiveRuleResponseDataAttributesAllOf = _interopRequireDefault(__nccwpck_require__(36008));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafActiveRuleResponseDataAttributes model module.
* @module model/WafActiveRuleResponseDataAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafActiveRuleResponseDataAttributes = /*#__PURE__*/function () {
/**
@@ -121667,23 +115894,20 @@ var WafActiveRuleResponseDataAttributes = /*#__PURE__*/function () {
*/
function WafActiveRuleResponseDataAttributes() {
_classCallCheck(this, WafActiveRuleResponseDataAttributes);
-
_Timestamps["default"].initialize(this);
-
_WafActiveRuleResponseDataAttributesAllOf["default"].initialize(this);
-
WafActiveRuleResponseDataAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafActiveRuleResponseDataAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafActiveRuleResponseDataAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -121691,106 +115915,90 @@ var WafActiveRuleResponseDataAttributes = /*#__PURE__*/function () {
* @param {module:model/WafActiveRuleResponseDataAttributes} obj Optional instance to populate.
* @return {module:model/WafActiveRuleResponseDataAttributes} The populated WafActiveRuleResponseDataAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafActiveRuleResponseDataAttributes();
-
_Timestamps["default"].constructFromObject(data, obj);
-
_WafActiveRuleResponseDataAttributesAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('latest_revision')) {
obj['latest_revision'] = _ApiClient["default"].convertToType(data['latest_revision'], 'Number');
}
-
if (data.hasOwnProperty('outdated')) {
obj['outdated'] = _ApiClient["default"].convertToType(data['outdated'], 'Boolean');
}
}
-
return obj;
}
}]);
-
return WafActiveRuleResponseDataAttributes;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
WafActiveRuleResponseDataAttributes.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
WafActiveRuleResponseDataAttributes.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
WafActiveRuleResponseDataAttributes.prototype['updated_at'] = undefined;
+
/**
* The latest rule revision number that is available for the associated rule revision.
* @member {Number} latest_revision
*/
-
WafActiveRuleResponseDataAttributes.prototype['latest_revision'] = undefined;
+
/**
* Indicates if the associated rule revision is up to date or not.
* @member {Boolean} outdated
*/
+WafActiveRuleResponseDataAttributes.prototype['outdated'] = undefined;
-WafActiveRuleResponseDataAttributes.prototype['outdated'] = undefined; // Implement Timestamps interface:
-
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement WafActiveRuleResponseDataAttributesAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement WafActiveRuleResponseDataAttributesAllOf interface:
/**
* The latest rule revision number that is available for the associated rule revision.
* @member {Number} latest_revision
*/
-
_WafActiveRuleResponseDataAttributesAllOf["default"].prototype['latest_revision'] = undefined;
/**
* Indicates if the associated rule revision is up to date or not.
* @member {Boolean} outdated
*/
-
_WafActiveRuleResponseDataAttributesAllOf["default"].prototype['outdated'] = undefined;
var _default = WafActiveRuleResponseDataAttributes;
exports["default"] = _default;
@@ -121807,21 +116015,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafActiveRuleResponseDataAttributesAllOf model module.
* @module model/WafActiveRuleResponseDataAttributesAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafActiveRuleResponseDataAttributesAllOf = /*#__PURE__*/function () {
/**
@@ -121830,19 +116035,18 @@ var WafActiveRuleResponseDataAttributesAllOf = /*#__PURE__*/function () {
*/
function WafActiveRuleResponseDataAttributesAllOf() {
_classCallCheck(this, WafActiveRuleResponseDataAttributesAllOf);
-
WafActiveRuleResponseDataAttributesAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafActiveRuleResponseDataAttributesAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafActiveRuleResponseDataAttributesAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -121850,40 +116054,33 @@ var WafActiveRuleResponseDataAttributesAllOf = /*#__PURE__*/function () {
* @param {module:model/WafActiveRuleResponseDataAttributesAllOf} obj Optional instance to populate.
* @return {module:model/WafActiveRuleResponseDataAttributesAllOf} The populated WafActiveRuleResponseDataAttributesAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafActiveRuleResponseDataAttributesAllOf();
-
if (data.hasOwnProperty('latest_revision')) {
obj['latest_revision'] = _ApiClient["default"].convertToType(data['latest_revision'], 'Number');
}
-
if (data.hasOwnProperty('outdated')) {
obj['outdated'] = _ApiClient["default"].convertToType(data['outdated'], 'Boolean');
}
}
-
return obj;
}
}]);
-
return WafActiveRuleResponseDataAttributesAllOf;
}();
/**
* The latest rule revision number that is available for the associated rule revision.
* @member {Number} latest_revision
*/
-
-
WafActiveRuleResponseDataAttributesAllOf.prototype['latest_revision'] = undefined;
+
/**
* Indicates if the associated rule revision is up to date or not.
* @member {Boolean} outdated
*/
-
WafActiveRuleResponseDataAttributesAllOf.prototype['outdated'] = undefined;
var _default = WafActiveRuleResponseDataAttributesAllOf;
exports["default"] = _default;
@@ -121900,29 +116097,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipWafFirewallVersion = _interopRequireDefault(__nccwpck_require__(58948));
-
var _RelationshipWafFirewallVersionWafFirewallVersion = _interopRequireDefault(__nccwpck_require__(27192));
-
var _RelationshipWafRuleRevision = _interopRequireDefault(__nccwpck_require__(80958));
-
var _RelationshipWafRuleRevisionWafRuleRevisions = _interopRequireDefault(__nccwpck_require__(21908));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafActiveRuleResponseDataRelationships model module.
* @module model/WafActiveRuleResponseDataRelationships
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafActiveRuleResponseDataRelationships = /*#__PURE__*/function () {
/**
@@ -121933,23 +116123,20 @@ var WafActiveRuleResponseDataRelationships = /*#__PURE__*/function () {
*/
function WafActiveRuleResponseDataRelationships() {
_classCallCheck(this, WafActiveRuleResponseDataRelationships);
-
_RelationshipWafFirewallVersion["default"].initialize(this);
-
_RelationshipWafRuleRevision["default"].initialize(this);
-
WafActiveRuleResponseDataRelationships.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafActiveRuleResponseDataRelationships, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafActiveRuleResponseDataRelationships
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -121957,54 +116144,44 @@ var WafActiveRuleResponseDataRelationships = /*#__PURE__*/function () {
* @param {module:model/WafActiveRuleResponseDataRelationships} obj Optional instance to populate.
* @return {module:model/WafActiveRuleResponseDataRelationships} The populated WafActiveRuleResponseDataRelationships
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafActiveRuleResponseDataRelationships();
-
_RelationshipWafFirewallVersion["default"].constructFromObject(data, obj);
-
_RelationshipWafRuleRevision["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('waf_firewall_version')) {
obj['waf_firewall_version'] = _RelationshipWafFirewallVersionWafFirewallVersion["default"].constructFromObject(data['waf_firewall_version']);
}
-
if (data.hasOwnProperty('waf_rule_revisions')) {
obj['waf_rule_revisions'] = _RelationshipWafRuleRevisionWafRuleRevisions["default"].constructFromObject(data['waf_rule_revisions']);
}
}
-
return obj;
}
}]);
-
return WafActiveRuleResponseDataRelationships;
}();
/**
* @member {module:model/RelationshipWafFirewallVersionWafFirewallVersion} waf_firewall_version
*/
-
-
WafActiveRuleResponseDataRelationships.prototype['waf_firewall_version'] = undefined;
+
/**
* @member {module:model/RelationshipWafRuleRevisionWafRuleRevisions} waf_rule_revisions
*/
+WafActiveRuleResponseDataRelationships.prototype['waf_rule_revisions'] = undefined;
-WafActiveRuleResponseDataRelationships.prototype['waf_rule_revisions'] = undefined; // Implement RelationshipWafFirewallVersion interface:
-
+// Implement RelationshipWafFirewallVersion interface:
/**
* @member {module:model/RelationshipWafFirewallVersionWafFirewallVersion} waf_firewall_version
*/
-
-_RelationshipWafFirewallVersion["default"].prototype['waf_firewall_version'] = undefined; // Implement RelationshipWafRuleRevision interface:
-
+_RelationshipWafFirewallVersion["default"].prototype['waf_firewall_version'] = undefined;
+// Implement RelationshipWafRuleRevision interface:
/**
* @member {module:model/RelationshipWafRuleRevisionWafRuleRevisions} waf_rule_revisions
*/
-
_RelationshipWafRuleRevision["default"].prototype['waf_rule_revisions'] = undefined;
var _default = WafActiveRuleResponseDataRelationships;
exports["default"] = _default;
@@ -122021,33 +116198,24 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _IncludedWithWafActiveRuleItem = _interopRequireDefault(__nccwpck_require__(98177));
-
var _Pagination = _interopRequireDefault(__nccwpck_require__(89281));
-
var _PaginationLinks = _interopRequireDefault(__nccwpck_require__(97779));
-
var _PaginationMeta = _interopRequireDefault(__nccwpck_require__(93986));
-
var _WafActiveRuleResponseData = _interopRequireDefault(__nccwpck_require__(56808));
-
var _WafActiveRulesResponseAllOf = _interopRequireDefault(__nccwpck_require__(6679));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafActiveRulesResponse model module.
* @module model/WafActiveRulesResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafActiveRulesResponse = /*#__PURE__*/function () {
/**
@@ -122058,23 +116226,20 @@ var WafActiveRulesResponse = /*#__PURE__*/function () {
*/
function WafActiveRulesResponse() {
_classCallCheck(this, WafActiveRulesResponse);
-
_Pagination["default"].initialize(this);
-
_WafActiveRulesResponseAllOf["default"].initialize(this);
-
WafActiveRulesResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafActiveRulesResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafActiveRulesResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -122082,82 +116247,68 @@ var WafActiveRulesResponse = /*#__PURE__*/function () {
* @param {module:model/WafActiveRulesResponse} obj Optional instance to populate.
* @return {module:model/WafActiveRulesResponse} The populated WafActiveRulesResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafActiveRulesResponse();
-
_Pagination["default"].constructFromObject(data, obj);
-
_WafActiveRulesResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('links')) {
obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_WafActiveRuleResponseData["default"]]);
}
-
if (data.hasOwnProperty('included')) {
obj['included'] = _ApiClient["default"].convertToType(data['included'], [_IncludedWithWafActiveRuleItem["default"]]);
}
}
-
return obj;
}
}]);
-
return WafActiveRulesResponse;
}();
/**
* @member {module:model/PaginationLinks} links
*/
-
-
WafActiveRulesResponse.prototype['links'] = undefined;
+
/**
* @member {module:model/PaginationMeta} meta
*/
-
WafActiveRulesResponse.prototype['meta'] = undefined;
+
/**
* @member {Array.WafActiveRulesResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -122221,38 +116366,31 @@ var WafActiveRulesResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/WafActiveRulesResponseAllOf} obj Optional instance to populate.
* @return {module:model/WafActiveRulesResponseAllOf} The populated WafActiveRulesResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafActiveRulesResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_WafActiveRuleResponseData["default"]]);
}
-
if (data.hasOwnProperty('included')) {
obj['included'] = _ApiClient["default"].convertToType(data['included'], [_IncludedWithWafActiveRuleItem["default"]]);
}
}
-
return obj;
}
}]);
-
return WafActiveRulesResponseAllOf;
}();
/**
* @member {Array.WafExclusion
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -122314,29 +116447,23 @@ var WafExclusion = /*#__PURE__*/function () {
* @param {module:model/WafExclusion} obj Optional instance to populate.
* @return {module:model/WafExclusion} The populated WafExclusion
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafExclusion();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _WafExclusionData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return WafExclusion;
}();
/**
* @member {module:model/WafExclusionData} data
*/
-
-
WafExclusion.prototype['data'] = undefined;
var _default = WafExclusion;
exports["default"] = _default;
@@ -122353,27 +116480,21 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipsForWafExclusion = _interopRequireDefault(__nccwpck_require__(57963));
-
var _TypeWafExclusion = _interopRequireDefault(__nccwpck_require__(14920));
-
var _WafExclusionDataAttributes = _interopRequireDefault(__nccwpck_require__(35717));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafExclusionData model module.
* @module model/WafExclusionData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafExclusionData = /*#__PURE__*/function () {
/**
@@ -122382,19 +116503,18 @@ var WafExclusionData = /*#__PURE__*/function () {
*/
function WafExclusionData() {
_classCallCheck(this, WafExclusionData);
-
WafExclusionData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafExclusionData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafExclusionData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -122402,47 +116522,39 @@ var WafExclusionData = /*#__PURE__*/function () {
* @param {module:model/WafExclusionData} obj Optional instance to populate.
* @return {module:model/WafExclusionData} The populated WafExclusionData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafExclusionData();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafExclusion["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _WafExclusionDataAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipsForWafExclusion["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return WafExclusionData;
}();
/**
* @member {module:model/TypeWafExclusion} type
*/
-
-
WafExclusionData.prototype['type'] = undefined;
+
/**
* @member {module:model/WafExclusionDataAttributes} attributes
*/
-
WafExclusionData.prototype['attributes'] = undefined;
+
/**
* @member {module:model/RelationshipsForWafExclusion} relationships
*/
-
WafExclusionData.prototype['relationships'] = undefined;
var _default = WafExclusionData;
exports["default"] = _default;
@@ -122459,21 +116571,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafExclusionDataAttributes model module.
* @module model/WafExclusionDataAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafExclusionDataAttributes = /*#__PURE__*/function () {
/**
@@ -122482,19 +116591,18 @@ var WafExclusionDataAttributes = /*#__PURE__*/function () {
*/
function WafExclusionDataAttributes() {
_classCallCheck(this, WafExclusionDataAttributes);
-
WafExclusionDataAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafExclusionDataAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafExclusionDataAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -122502,144 +116610,126 @@ var WafExclusionDataAttributes = /*#__PURE__*/function () {
* @param {module:model/WafExclusionDataAttributes} obj Optional instance to populate.
* @return {module:model/WafExclusionDataAttributes} The populated WafExclusionDataAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafExclusionDataAttributes();
-
if (data.hasOwnProperty('condition')) {
obj['condition'] = _ApiClient["default"].convertToType(data['condition'], 'String');
}
-
if (data.hasOwnProperty('exclusion_type')) {
obj['exclusion_type'] = _ApiClient["default"].convertToType(data['exclusion_type'], 'String');
}
-
if (data.hasOwnProperty('logging')) {
obj['logging'] = _ApiClient["default"].convertToType(data['logging'], 'Boolean');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('number')) {
obj['number'] = _ApiClient["default"].convertToType(data['number'], 'Number');
}
-
if (data.hasOwnProperty('variable')) {
obj['variable'] = _ApiClient["default"].convertToType(data['variable'], 'String');
}
}
-
return obj;
}
}]);
-
return WafExclusionDataAttributes;
}();
/**
* A conditional expression in VCL used to determine if the condition is met.
* @member {String} condition
*/
-
-
WafExclusionDataAttributes.prototype['condition'] = undefined;
+
/**
* The type of exclusion.
* @member {module:model/WafExclusionDataAttributes.ExclusionTypeEnum} exclusion_type
*/
-
WafExclusionDataAttributes.prototype['exclusion_type'] = undefined;
+
/**
* Whether to generate a log upon matching.
* @member {Boolean} logging
* @default true
*/
-
WafExclusionDataAttributes.prototype['logging'] = true;
+
/**
* Name of the exclusion.
* @member {String} name
*/
-
WafExclusionDataAttributes.prototype['name'] = undefined;
+
/**
* A numeric ID identifying a WAF exclusion.
* @member {Number} number
*/
-
WafExclusionDataAttributes.prototype['number'] = undefined;
+
/**
* The variable to exclude. An optional selector can be specified after the variable separated by a colon (`:`) to restrict the variable to a particular parameter. Required for `exclusion_type=variable`.
* @member {module:model/WafExclusionDataAttributes.VariableEnum} variable
*/
-
WafExclusionDataAttributes.prototype['variable'] = undefined;
+
/**
* Allowed values for the exclusion_type
property.
* @enum {String}
* @readonly
*/
-
WafExclusionDataAttributes['ExclusionTypeEnum'] = {
/**
* value: "rule"
* @const
*/
"rule": "rule",
-
/**
* value: "variable"
* @const
*/
"variable": "variable",
-
/**
* value: "waf"
* @const
*/
"waf": "waf"
};
+
/**
* Allowed values for the variable
property.
* @enum {String}
* @readonly
*/
-
WafExclusionDataAttributes['VariableEnum'] = {
/**
* value: "req.cookies"
* @const
*/
"req.cookies": "req.cookies",
-
/**
* value: "req.headers"
* @const
*/
"req.headers": "req.headers",
-
/**
* value: "req.post"
* @const
*/
"req.post": "req.post",
-
/**
* value: "req.post_filename"
* @const
*/
"req.post_filename": "req.post_filename",
-
/**
* value: "req.qs"
* @const
*/
"req.qs": "req.qs",
-
/**
* value: "null"
* @const
@@ -122661,23 +116751,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _WafExclusionResponseData = _interopRequireDefault(__nccwpck_require__(87347));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafExclusionResponse model module.
* @module model/WafExclusionResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafExclusionResponse = /*#__PURE__*/function () {
/**
@@ -122686,19 +116772,18 @@ var WafExclusionResponse = /*#__PURE__*/function () {
*/
function WafExclusionResponse() {
_classCallCheck(this, WafExclusionResponse);
-
WafExclusionResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafExclusionResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafExclusionResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -122706,29 +116791,23 @@ var WafExclusionResponse = /*#__PURE__*/function () {
* @param {module:model/WafExclusionResponse} obj Optional instance to populate.
* @return {module:model/WafExclusionResponse} The populated WafExclusionResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafExclusionResponse();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _WafExclusionResponseData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return WafExclusionResponse;
}();
/**
* @member {module:model/WafExclusionResponseData} data
*/
-
-
WafExclusionResponse.prototype['data'] = undefined;
var _default = WafExclusionResponse;
exports["default"] = _default;
@@ -122745,31 +116824,23 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeWafExclusion = _interopRequireDefault(__nccwpck_require__(14920));
-
var _WafExclusionData = _interopRequireDefault(__nccwpck_require__(24396));
-
var _WafExclusionResponseDataAllOf = _interopRequireDefault(__nccwpck_require__(85852));
-
var _WafExclusionResponseDataAttributes = _interopRequireDefault(__nccwpck_require__(45625));
-
var _WafExclusionResponseDataRelationships = _interopRequireDefault(__nccwpck_require__(4316));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafExclusionResponseData model module.
* @module model/WafExclusionResponseData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafExclusionResponseData = /*#__PURE__*/function () {
/**
@@ -122780,23 +116851,20 @@ var WafExclusionResponseData = /*#__PURE__*/function () {
*/
function WafExclusionResponseData() {
_classCallCheck(this, WafExclusionResponseData);
-
_WafExclusionData["default"].initialize(this);
-
_WafExclusionResponseDataAllOf["default"].initialize(this);
-
WafExclusionResponseData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafExclusionResponseData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafExclusionResponseData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -122804,94 +116872,78 @@ var WafExclusionResponseData = /*#__PURE__*/function () {
* @param {module:model/WafExclusionResponseData} obj Optional instance to populate.
* @return {module:model/WafExclusionResponseData} The populated WafExclusionResponseData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafExclusionResponseData();
-
_WafExclusionData["default"].constructFromObject(data, obj);
-
_WafExclusionResponseDataAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafExclusion["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _WafExclusionResponseDataAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _WafExclusionResponseDataRelationships["default"].constructFromObject(data['relationships']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
}
-
return obj;
}
}]);
-
return WafExclusionResponseData;
}();
/**
* @member {module:model/TypeWafExclusion} type
*/
-
-
WafExclusionResponseData.prototype['type'] = undefined;
+
/**
* @member {module:model/WafExclusionResponseDataAttributes} attributes
*/
-
WafExclusionResponseData.prototype['attributes'] = undefined;
+
/**
* @member {module:model/WafExclusionResponseDataRelationships} relationships
*/
-
WafExclusionResponseData.prototype['relationships'] = undefined;
+
/**
* Alphanumeric string identifying a WAF exclusion.
* @member {String} id
*/
+WafExclusionResponseData.prototype['id'] = undefined;
-WafExclusionResponseData.prototype['id'] = undefined; // Implement WafExclusionData interface:
-
+// Implement WafExclusionData interface:
/**
* @member {module:model/TypeWafExclusion} type
*/
-
_WafExclusionData["default"].prototype['type'] = undefined;
/**
* @member {module:model/WafExclusionDataAttributes} attributes
*/
-
_WafExclusionData["default"].prototype['attributes'] = undefined;
/**
* @member {module:model/RelationshipsForWafExclusion} relationships
*/
-
-_WafExclusionData["default"].prototype['relationships'] = undefined; // Implement WafExclusionResponseDataAllOf interface:
-
+_WafExclusionData["default"].prototype['relationships'] = undefined;
+// Implement WafExclusionResponseDataAllOf interface:
/**
* Alphanumeric string identifying a WAF exclusion.
* @member {String} id
*/
-
_WafExclusionResponseDataAllOf["default"].prototype['id'] = undefined;
/**
* @member {module:model/WafExclusionResponseDataAttributes} attributes
*/
-
_WafExclusionResponseDataAllOf["default"].prototype['attributes'] = undefined;
/**
* @member {module:model/WafExclusionResponseDataRelationships} relationships
*/
-
_WafExclusionResponseDataAllOf["default"].prototype['relationships'] = undefined;
var _default = WafExclusionResponseData;
exports["default"] = _default;
@@ -122908,25 +116960,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _WafExclusionResponseDataAttributes = _interopRequireDefault(__nccwpck_require__(45625));
-
var _WafExclusionResponseDataRelationships = _interopRequireDefault(__nccwpck_require__(4316));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafExclusionResponseDataAllOf model module.
* @module model/WafExclusionResponseDataAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafExclusionResponseDataAllOf = /*#__PURE__*/function () {
/**
@@ -122935,19 +116982,18 @@ var WafExclusionResponseDataAllOf = /*#__PURE__*/function () {
*/
function WafExclusionResponseDataAllOf() {
_classCallCheck(this, WafExclusionResponseDataAllOf);
-
WafExclusionResponseDataAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafExclusionResponseDataAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafExclusionResponseDataAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -122955,48 +117001,40 @@ var WafExclusionResponseDataAllOf = /*#__PURE__*/function () {
* @param {module:model/WafExclusionResponseDataAllOf} obj Optional instance to populate.
* @return {module:model/WafExclusionResponseDataAllOf} The populated WafExclusionResponseDataAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafExclusionResponseDataAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _WafExclusionResponseDataAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _WafExclusionResponseDataRelationships["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return WafExclusionResponseDataAllOf;
}();
/**
* Alphanumeric string identifying a WAF exclusion.
* @member {String} id
*/
-
-
WafExclusionResponseDataAllOf.prototype['id'] = undefined;
+
/**
* @member {module:model/WafExclusionResponseDataAttributes} attributes
*/
-
WafExclusionResponseDataAllOf.prototype['attributes'] = undefined;
+
/**
* @member {module:model/WafExclusionResponseDataRelationships} relationships
*/
-
WafExclusionResponseDataAllOf.prototype['relationships'] = undefined;
var _default = WafExclusionResponseDataAllOf;
exports["default"] = _default;
@@ -123013,25 +117051,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
var _WafExclusionResponseDataAttributesAllOf = _interopRequireDefault(__nccwpck_require__(98036));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafExclusionResponseDataAttributes model module.
* @module model/WafExclusionResponseDataAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafExclusionResponseDataAttributes = /*#__PURE__*/function () {
/**
@@ -123042,23 +117075,20 @@ var WafExclusionResponseDataAttributes = /*#__PURE__*/function () {
*/
function WafExclusionResponseDataAttributes() {
_classCallCheck(this, WafExclusionResponseDataAttributes);
-
_Timestamps["default"].initialize(this);
-
_WafExclusionResponseDataAttributesAllOf["default"].initialize(this);
-
WafExclusionResponseDataAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafExclusionResponseDataAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafExclusionResponseDataAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -123066,235 +117096,204 @@ var WafExclusionResponseDataAttributes = /*#__PURE__*/function () {
* @param {module:model/WafExclusionResponseDataAttributes} obj Optional instance to populate.
* @return {module:model/WafExclusionResponseDataAttributes} The populated WafExclusionResponseDataAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafExclusionResponseDataAttributes();
-
_Timestamps["default"].constructFromObject(data, obj);
-
_WafExclusionResponseDataAttributesAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('condition')) {
obj['condition'] = _ApiClient["default"].convertToType(data['condition'], 'String');
}
-
if (data.hasOwnProperty('exclusion_type')) {
obj['exclusion_type'] = _ApiClient["default"].convertToType(data['exclusion_type'], 'String');
}
-
if (data.hasOwnProperty('logging')) {
obj['logging'] = _ApiClient["default"].convertToType(data['logging'], 'Boolean');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('number')) {
obj['number'] = _ApiClient["default"].convertToType(data['number'], 'Number');
}
-
if (data.hasOwnProperty('variable')) {
obj['variable'] = _ApiClient["default"].convertToType(data['variable'], 'String');
}
}
-
return obj;
}
}]);
-
return WafExclusionResponseDataAttributes;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
WafExclusionResponseDataAttributes.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
WafExclusionResponseDataAttributes.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
WafExclusionResponseDataAttributes.prototype['updated_at'] = undefined;
+
/**
* A conditional expression in VCL used to determine if the condition is met.
* @member {String} condition
*/
-
WafExclusionResponseDataAttributes.prototype['condition'] = undefined;
+
/**
* The type of exclusion.
* @member {module:model/WafExclusionResponseDataAttributes.ExclusionTypeEnum} exclusion_type
*/
-
WafExclusionResponseDataAttributes.prototype['exclusion_type'] = undefined;
+
/**
* Whether to generate a log upon matching.
* @member {Boolean} logging
* @default true
*/
-
WafExclusionResponseDataAttributes.prototype['logging'] = true;
+
/**
* Name of the exclusion.
* @member {String} name
*/
-
WafExclusionResponseDataAttributes.prototype['name'] = undefined;
+
/**
* A numeric ID identifying a WAF exclusion.
* @member {Number} number
*/
-
WafExclusionResponseDataAttributes.prototype['number'] = undefined;
+
/**
* The variable to exclude. An optional selector can be specified after the variable separated by a colon (`:`) to restrict the variable to a particular parameter. Required for `exclusion_type=variable`.
* @member {module:model/WafExclusionResponseDataAttributes.VariableEnum} variable
*/
+WafExclusionResponseDataAttributes.prototype['variable'] = undefined;
-WafExclusionResponseDataAttributes.prototype['variable'] = undefined; // Implement Timestamps interface:
-
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement WafExclusionResponseDataAttributesAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement WafExclusionResponseDataAttributesAllOf interface:
/**
* A conditional expression in VCL used to determine if the condition is met.
* @member {String} condition
*/
-
_WafExclusionResponseDataAttributesAllOf["default"].prototype['condition'] = undefined;
/**
* The type of exclusion.
* @member {module:model/WafExclusionResponseDataAttributesAllOf.ExclusionTypeEnum} exclusion_type
*/
-
_WafExclusionResponseDataAttributesAllOf["default"].prototype['exclusion_type'] = undefined;
/**
* Whether to generate a log upon matching.
* @member {Boolean} logging
* @default true
*/
-
_WafExclusionResponseDataAttributesAllOf["default"].prototype['logging'] = true;
/**
* Name of the exclusion.
* @member {String} name
*/
-
_WafExclusionResponseDataAttributesAllOf["default"].prototype['name'] = undefined;
/**
* A numeric ID identifying a WAF exclusion.
* @member {Number} number
*/
-
_WafExclusionResponseDataAttributesAllOf["default"].prototype['number'] = undefined;
/**
* The variable to exclude. An optional selector can be specified after the variable separated by a colon (`:`) to restrict the variable to a particular parameter. Required for `exclusion_type=variable`.
* @member {module:model/WafExclusionResponseDataAttributesAllOf.VariableEnum} variable
*/
-
_WafExclusionResponseDataAttributesAllOf["default"].prototype['variable'] = undefined;
+
/**
* Allowed values for the exclusion_type
property.
* @enum {String}
* @readonly
*/
-
WafExclusionResponseDataAttributes['ExclusionTypeEnum'] = {
/**
* value: "rule"
* @const
*/
"rule": "rule",
-
/**
* value: "variable"
* @const
*/
"variable": "variable",
-
/**
* value: "waf"
* @const
*/
"waf": "waf"
};
+
/**
* Allowed values for the variable
property.
* @enum {String}
* @readonly
*/
-
WafExclusionResponseDataAttributes['VariableEnum'] = {
/**
* value: "req.cookies"
* @const
*/
"req.cookies": "req.cookies",
-
/**
* value: "req.headers"
* @const
*/
"req.headers": "req.headers",
-
/**
* value: "req.post"
* @const
*/
"req.post": "req.post",
-
/**
* value: "req.post_filename"
* @const
*/
"req.post_filename": "req.post_filename",
-
/**
* value: "req.qs"
* @const
*/
"req.qs": "req.qs",
-
/**
* value: "null"
* @const
@@ -123316,21 +117315,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafExclusionResponseDataAttributesAllOf model module.
* @module model/WafExclusionResponseDataAttributesAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafExclusionResponseDataAttributesAllOf = /*#__PURE__*/function () {
/**
@@ -123339,19 +117335,18 @@ var WafExclusionResponseDataAttributesAllOf = /*#__PURE__*/function () {
*/
function WafExclusionResponseDataAttributesAllOf() {
_classCallCheck(this, WafExclusionResponseDataAttributesAllOf);
-
WafExclusionResponseDataAttributesAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafExclusionResponseDataAttributesAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafExclusionResponseDataAttributesAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -123359,144 +117354,126 @@ var WafExclusionResponseDataAttributesAllOf = /*#__PURE__*/function () {
* @param {module:model/WafExclusionResponseDataAttributesAllOf} obj Optional instance to populate.
* @return {module:model/WafExclusionResponseDataAttributesAllOf} The populated WafExclusionResponseDataAttributesAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafExclusionResponseDataAttributesAllOf();
-
if (data.hasOwnProperty('condition')) {
obj['condition'] = _ApiClient["default"].convertToType(data['condition'], 'String');
}
-
if (data.hasOwnProperty('exclusion_type')) {
obj['exclusion_type'] = _ApiClient["default"].convertToType(data['exclusion_type'], 'String');
}
-
if (data.hasOwnProperty('logging')) {
obj['logging'] = _ApiClient["default"].convertToType(data['logging'], 'Boolean');
}
-
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
}
-
if (data.hasOwnProperty('number')) {
obj['number'] = _ApiClient["default"].convertToType(data['number'], 'Number');
}
-
if (data.hasOwnProperty('variable')) {
obj['variable'] = _ApiClient["default"].convertToType(data['variable'], 'String');
}
}
-
return obj;
}
}]);
-
return WafExclusionResponseDataAttributesAllOf;
}();
/**
* A conditional expression in VCL used to determine if the condition is met.
* @member {String} condition
*/
-
-
WafExclusionResponseDataAttributesAllOf.prototype['condition'] = undefined;
+
/**
* The type of exclusion.
* @member {module:model/WafExclusionResponseDataAttributesAllOf.ExclusionTypeEnum} exclusion_type
*/
-
WafExclusionResponseDataAttributesAllOf.prototype['exclusion_type'] = undefined;
+
/**
* Whether to generate a log upon matching.
* @member {Boolean} logging
* @default true
*/
-
WafExclusionResponseDataAttributesAllOf.prototype['logging'] = true;
+
/**
* Name of the exclusion.
* @member {String} name
*/
-
WafExclusionResponseDataAttributesAllOf.prototype['name'] = undefined;
+
/**
* A numeric ID identifying a WAF exclusion.
* @member {Number} number
*/
-
WafExclusionResponseDataAttributesAllOf.prototype['number'] = undefined;
+
/**
* The variable to exclude. An optional selector can be specified after the variable separated by a colon (`:`) to restrict the variable to a particular parameter. Required for `exclusion_type=variable`.
* @member {module:model/WafExclusionResponseDataAttributesAllOf.VariableEnum} variable
*/
-
WafExclusionResponseDataAttributesAllOf.prototype['variable'] = undefined;
+
/**
* Allowed values for the exclusion_type
property.
* @enum {String}
* @readonly
*/
-
WafExclusionResponseDataAttributesAllOf['ExclusionTypeEnum'] = {
/**
* value: "rule"
* @const
*/
"rule": "rule",
-
/**
* value: "variable"
* @const
*/
"variable": "variable",
-
/**
* value: "waf"
* @const
*/
"waf": "waf"
};
+
/**
* Allowed values for the variable
property.
* @enum {String}
* @readonly
*/
-
WafExclusionResponseDataAttributesAllOf['VariableEnum'] = {
/**
* value: "req.cookies"
* @const
*/
"req.cookies": "req.cookies",
-
/**
* value: "req.headers"
* @const
*/
"req.headers": "req.headers",
-
/**
* value: "req.post"
* @const
*/
"req.post": "req.post",
-
/**
* value: "req.post_filename"
* @const
*/
"req.post_filename": "req.post_filename",
-
/**
* value: "req.qs"
* @const
*/
"req.qs": "req.qs",
-
/**
* value: "null"
* @const
@@ -123518,29 +117495,22 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipWafRuleRevisionWafRuleRevisions = _interopRequireDefault(__nccwpck_require__(21908));
-
var _RelationshipWafRuleRevisions = _interopRequireDefault(__nccwpck_require__(106));
-
var _RelationshipWafRuleWafRule = _interopRequireDefault(__nccwpck_require__(54790));
-
var _RelationshipWafRules = _interopRequireDefault(__nccwpck_require__(61566));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafExclusionResponseDataRelationships model module.
* @module model/WafExclusionResponseDataRelationships
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafExclusionResponseDataRelationships = /*#__PURE__*/function () {
/**
@@ -123551,23 +117521,20 @@ var WafExclusionResponseDataRelationships = /*#__PURE__*/function () {
*/
function WafExclusionResponseDataRelationships() {
_classCallCheck(this, WafExclusionResponseDataRelationships);
-
_RelationshipWafRules["default"].initialize(this);
-
_RelationshipWafRuleRevisions["default"].initialize(this);
-
WafExclusionResponseDataRelationships.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafExclusionResponseDataRelationships, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafExclusionResponseDataRelationships
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -123575,54 +117542,44 @@ var WafExclusionResponseDataRelationships = /*#__PURE__*/function () {
* @param {module:model/WafExclusionResponseDataRelationships} obj Optional instance to populate.
* @return {module:model/WafExclusionResponseDataRelationships} The populated WafExclusionResponseDataRelationships
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafExclusionResponseDataRelationships();
-
_RelationshipWafRules["default"].constructFromObject(data, obj);
-
_RelationshipWafRuleRevisions["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('waf_rules')) {
obj['waf_rules'] = _RelationshipWafRuleWafRule["default"].constructFromObject(data['waf_rules']);
}
-
if (data.hasOwnProperty('waf_rule_revisions')) {
obj['waf_rule_revisions'] = _RelationshipWafRuleRevisionWafRuleRevisions["default"].constructFromObject(data['waf_rule_revisions']);
}
}
-
return obj;
}
}]);
-
return WafExclusionResponseDataRelationships;
}();
/**
* @member {module:model/RelationshipWafRuleWafRule} waf_rules
*/
-
-
WafExclusionResponseDataRelationships.prototype['waf_rules'] = undefined;
+
/**
* @member {module:model/RelationshipWafRuleRevisionWafRuleRevisions} waf_rule_revisions
*/
+WafExclusionResponseDataRelationships.prototype['waf_rule_revisions'] = undefined;
-WafExclusionResponseDataRelationships.prototype['waf_rule_revisions'] = undefined; // Implement RelationshipWafRules interface:
-
+// Implement RelationshipWafRules interface:
/**
* @member {module:model/RelationshipWafRuleWafRule} waf_rules
*/
-
-_RelationshipWafRules["default"].prototype['waf_rules'] = undefined; // Implement RelationshipWafRuleRevisions interface:
-
+_RelationshipWafRules["default"].prototype['waf_rules'] = undefined;
+// Implement RelationshipWafRuleRevisions interface:
/**
* @member {module:model/RelationshipWafRuleRevisionWafRuleRevisions} waf_rule_revisions
*/
-
_RelationshipWafRuleRevisions["default"].prototype['waf_rule_revisions'] = undefined;
var _default = WafExclusionResponseDataRelationships;
exports["default"] = _default;
@@ -123639,33 +117596,24 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _IncludedWithWafExclusionItem = _interopRequireDefault(__nccwpck_require__(67427));
-
var _Pagination = _interopRequireDefault(__nccwpck_require__(89281));
-
var _PaginationLinks = _interopRequireDefault(__nccwpck_require__(97779));
-
var _PaginationMeta = _interopRequireDefault(__nccwpck_require__(93986));
-
var _WafExclusionResponseData = _interopRequireDefault(__nccwpck_require__(87347));
-
var _WafExclusionsResponseAllOf = _interopRequireDefault(__nccwpck_require__(98870));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafExclusionsResponse model module.
* @module model/WafExclusionsResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafExclusionsResponse = /*#__PURE__*/function () {
/**
@@ -123676,23 +117624,20 @@ var WafExclusionsResponse = /*#__PURE__*/function () {
*/
function WafExclusionsResponse() {
_classCallCheck(this, WafExclusionsResponse);
-
_Pagination["default"].initialize(this);
-
_WafExclusionsResponseAllOf["default"].initialize(this);
-
WafExclusionsResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafExclusionsResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafExclusionsResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -123700,82 +117645,68 @@ var WafExclusionsResponse = /*#__PURE__*/function () {
* @param {module:model/WafExclusionsResponse} obj Optional instance to populate.
* @return {module:model/WafExclusionsResponse} The populated WafExclusionsResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafExclusionsResponse();
-
_Pagination["default"].constructFromObject(data, obj);
-
_WafExclusionsResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('links')) {
obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_WafExclusionResponseData["default"]]);
}
-
if (data.hasOwnProperty('included')) {
obj['included'] = _ApiClient["default"].convertToType(data['included'], [_IncludedWithWafExclusionItem["default"]]);
}
}
-
return obj;
}
}]);
-
return WafExclusionsResponse;
}();
/**
* @member {module:model/PaginationLinks} links
*/
-
-
WafExclusionsResponse.prototype['links'] = undefined;
+
/**
* @member {module:model/PaginationMeta} meta
*/
-
WafExclusionsResponse.prototype['meta'] = undefined;
+
/**
* @member {Array.WafExclusionsResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -123839,38 +117764,31 @@ var WafExclusionsResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/WafExclusionsResponseAllOf} obj Optional instance to populate.
* @return {module:model/WafExclusionsResponseAllOf} The populated WafExclusionsResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafExclusionsResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_WafExclusionResponseData["default"]]);
}
-
if (data.hasOwnProperty('included')) {
obj['included'] = _ApiClient["default"].convertToType(data['included'], [_IncludedWithWafExclusionItem["default"]]);
}
}
-
return obj;
}
}]);
-
return WafExclusionsResponseAllOf;
}();
/**
* @member {Array.WafFirewall
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -123932,29 +117845,23 @@ var WafFirewall = /*#__PURE__*/function () {
* @param {module:model/WafFirewall} obj Optional instance to populate.
* @return {module:model/WafFirewall} The populated WafFirewall
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewall();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _WafFirewallData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return WafFirewall;
}();
/**
* @member {module:model/WafFirewallData} data
*/
-
-
WafFirewall.prototype['data'] = undefined;
var _default = WafFirewall;
exports["default"] = _default;
@@ -123971,25 +117878,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeWafFirewall = _interopRequireDefault(__nccwpck_require__(40740));
-
var _WafFirewallDataAttributes = _interopRequireDefault(__nccwpck_require__(69123));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafFirewallData model module.
* @module model/WafFirewallData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafFirewallData = /*#__PURE__*/function () {
/**
@@ -123998,19 +117900,18 @@ var WafFirewallData = /*#__PURE__*/function () {
*/
function WafFirewallData() {
_classCallCheck(this, WafFirewallData);
-
WafFirewallData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafFirewallData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafFirewallData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -124018,38 +117919,31 @@ var WafFirewallData = /*#__PURE__*/function () {
* @param {module:model/WafFirewallData} obj Optional instance to populate.
* @return {module:model/WafFirewallData} The populated WafFirewallData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallData();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafFirewall["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _WafFirewallDataAttributes["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return WafFirewallData;
}();
/**
* @member {module:model/TypeWafFirewall} type
*/
-
-
WafFirewallData.prototype['type'] = undefined;
+
/**
* @member {module:model/WafFirewallDataAttributes} attributes
*/
-
WafFirewallData.prototype['attributes'] = undefined;
var _default = WafFirewallData;
exports["default"] = _default;
@@ -124066,21 +117960,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafFirewallDataAttributes model module.
* @module model/WafFirewallDataAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafFirewallDataAttributes = /*#__PURE__*/function () {
/**
@@ -124089,19 +117980,18 @@ var WafFirewallDataAttributes = /*#__PURE__*/function () {
*/
function WafFirewallDataAttributes() {
_classCallCheck(this, WafFirewallDataAttributes);
-
WafFirewallDataAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafFirewallDataAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafFirewallDataAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -124109,34 +117999,27 @@ var WafFirewallDataAttributes = /*#__PURE__*/function () {
* @param {module:model/WafFirewallDataAttributes} obj Optional instance to populate.
* @return {module:model/WafFirewallDataAttributes} The populated WafFirewallDataAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallDataAttributes();
-
if (data.hasOwnProperty('disabled')) {
obj['disabled'] = _ApiClient["default"].convertToType(data['disabled'], 'Boolean');
}
-
if (data.hasOwnProperty('prefetch_condition')) {
obj['prefetch_condition'] = _ApiClient["default"].convertToType(data['prefetch_condition'], 'String');
}
-
if (data.hasOwnProperty('response')) {
obj['response'] = _ApiClient["default"].convertToType(data['response'], 'String');
}
-
if (data.hasOwnProperty('service_version_number')) {
obj['service_version_number'] = _ApiClient["default"].convertToType(data['service_version_number'], 'Number');
}
}
-
return obj;
}
}]);
-
return WafFirewallDataAttributes;
}();
/**
@@ -124144,25 +118027,23 @@ var WafFirewallDataAttributes = /*#__PURE__*/function () {
* @member {Boolean} disabled
* @default false
*/
-
-
WafFirewallDataAttributes.prototype['disabled'] = false;
+
/**
* Name of the corresponding condition object.
* @member {String} prefetch_condition
*/
-
WafFirewallDataAttributes.prototype['prefetch_condition'] = undefined;
+
/**
* Name of the corresponding response object.
* @member {String} response
*/
-
WafFirewallDataAttributes.prototype['response'] = undefined;
+
/**
* @member {Number} service_version_number
*/
-
WafFirewallDataAttributes.prototype['service_version_number'] = undefined;
var _default = WafFirewallDataAttributes;
exports["default"] = _default;
@@ -124179,25 +118060,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _SchemasWafFirewallVersion = _interopRequireDefault(__nccwpck_require__(29895));
-
var _WafFirewallResponseData = _interopRequireDefault(__nccwpck_require__(27585));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafFirewallResponse model module.
* @module model/WafFirewallResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafFirewallResponse = /*#__PURE__*/function () {
/**
@@ -124206,19 +118082,18 @@ var WafFirewallResponse = /*#__PURE__*/function () {
*/
function WafFirewallResponse() {
_classCallCheck(this, WafFirewallResponse);
-
WafFirewallResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafFirewallResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafFirewallResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -124226,38 +118101,31 @@ var WafFirewallResponse = /*#__PURE__*/function () {
* @param {module:model/WafFirewallResponse} obj Optional instance to populate.
* @return {module:model/WafFirewallResponse} The populated WafFirewallResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallResponse();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _WafFirewallResponseData["default"].constructFromObject(data['data']);
}
-
if (data.hasOwnProperty('included')) {
obj['included'] = _ApiClient["default"].convertToType(data['included'], [_SchemasWafFirewallVersion["default"]]);
}
}
-
return obj;
}
}]);
-
return WafFirewallResponse;
}();
/**
* @member {module:model/WafFirewallResponseData} data
*/
-
-
WafFirewallResponse.prototype['data'] = undefined;
+
/**
* @member {Array.WafFirewallResponseData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -124333,87 +118190,72 @@ var WafFirewallResponseData = /*#__PURE__*/function () {
* @param {module:model/WafFirewallResponseData} obj Optional instance to populate.
* @return {module:model/WafFirewallResponseData} The populated WafFirewallResponseData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallResponseData();
-
_WafFirewallData["default"].constructFromObject(data, obj);
-
_WafFirewallResponseDataAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafFirewall["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _WafFirewallResponseDataAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipWafFirewallVersions["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return WafFirewallResponseData;
}();
/**
* @member {module:model/TypeWafFirewall} type
*/
-
-
WafFirewallResponseData.prototype['type'] = undefined;
+
/**
* @member {module:model/WafFirewallResponseDataAttributes} attributes
*/
-
WafFirewallResponseData.prototype['attributes'] = undefined;
+
/**
* @member {String} id
*/
-
WafFirewallResponseData.prototype['id'] = undefined;
+
/**
* @member {module:model/RelationshipWafFirewallVersions} relationships
*/
+WafFirewallResponseData.prototype['relationships'] = undefined;
-WafFirewallResponseData.prototype['relationships'] = undefined; // Implement WafFirewallData interface:
-
+// Implement WafFirewallData interface:
/**
* @member {module:model/TypeWafFirewall} type
*/
-
_WafFirewallData["default"].prototype['type'] = undefined;
/**
* @member {module:model/WafFirewallDataAttributes} attributes
*/
-
-_WafFirewallData["default"].prototype['attributes'] = undefined; // Implement WafFirewallResponseDataAllOf interface:
-
+_WafFirewallData["default"].prototype['attributes'] = undefined;
+// Implement WafFirewallResponseDataAllOf interface:
/**
* @member {String} id
*/
-
_WafFirewallResponseDataAllOf["default"].prototype['id'] = undefined;
/**
* @member {module:model/WafFirewallResponseDataAttributes} attributes
*/
-
_WafFirewallResponseDataAllOf["default"].prototype['attributes'] = undefined;
/**
* @member {module:model/RelationshipWafFirewallVersions} relationships
*/
-
_WafFirewallResponseDataAllOf["default"].prototype['relationships'] = undefined;
var _default = WafFirewallResponseData;
exports["default"] = _default;
@@ -124430,25 +118272,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipWafFirewallVersions = _interopRequireDefault(__nccwpck_require__(66331));
-
var _WafFirewallResponseDataAttributes = _interopRequireDefault(__nccwpck_require__(66339));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafFirewallResponseDataAllOf model module.
* @module model/WafFirewallResponseDataAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafFirewallResponseDataAllOf = /*#__PURE__*/function () {
/**
@@ -124457,19 +118294,18 @@ var WafFirewallResponseDataAllOf = /*#__PURE__*/function () {
*/
function WafFirewallResponseDataAllOf() {
_classCallCheck(this, WafFirewallResponseDataAllOf);
-
WafFirewallResponseDataAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafFirewallResponseDataAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafFirewallResponseDataAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -124477,47 +118313,39 @@ var WafFirewallResponseDataAllOf = /*#__PURE__*/function () {
* @param {module:model/WafFirewallResponseDataAllOf} obj Optional instance to populate.
* @return {module:model/WafFirewallResponseDataAllOf} The populated WafFirewallResponseDataAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallResponseDataAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _WafFirewallResponseDataAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipWafFirewallVersions["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return WafFirewallResponseDataAllOf;
}();
/**
* @member {String} id
*/
-
-
WafFirewallResponseDataAllOf.prototype['id'] = undefined;
+
/**
* @member {module:model/WafFirewallResponseDataAttributes} attributes
*/
-
WafFirewallResponseDataAllOf.prototype['attributes'] = undefined;
+
/**
* @member {module:model/RelationshipWafFirewallVersions} relationships
*/
-
WafFirewallResponseDataAllOf.prototype['relationships'] = undefined;
var _default = WafFirewallResponseDataAllOf;
exports["default"] = _default;
@@ -124534,25 +118362,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
var _WafFirewallResponseDataAttributesAllOf = _interopRequireDefault(__nccwpck_require__(94116));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafFirewallResponseDataAttributes model module.
* @module model/WafFirewallResponseDataAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafFirewallResponseDataAttributes = /*#__PURE__*/function () {
/**
@@ -124563,23 +118386,20 @@ var WafFirewallResponseDataAttributes = /*#__PURE__*/function () {
*/
function WafFirewallResponseDataAttributes() {
_classCallCheck(this, WafFirewallResponseDataAttributes);
-
_Timestamps["default"].initialize(this);
-
_WafFirewallResponseDataAttributesAllOf["default"].initialize(this);
-
WafFirewallResponseDataAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafFirewallResponseDataAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafFirewallResponseDataAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -124587,216 +118407,186 @@ var WafFirewallResponseDataAttributes = /*#__PURE__*/function () {
* @param {module:model/WafFirewallResponseDataAttributes} obj Optional instance to populate.
* @return {module:model/WafFirewallResponseDataAttributes} The populated WafFirewallResponseDataAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallResponseDataAttributes();
-
_Timestamps["default"].constructFromObject(data, obj);
-
_WafFirewallResponseDataAttributesAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('active_rules_fastly_block_count')) {
obj['active_rules_fastly_block_count'] = _ApiClient["default"].convertToType(data['active_rules_fastly_block_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_fastly_log_count')) {
obj['active_rules_fastly_log_count'] = _ApiClient["default"].convertToType(data['active_rules_fastly_log_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_fastly_score_count')) {
obj['active_rules_fastly_score_count'] = _ApiClient["default"].convertToType(data['active_rules_fastly_score_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_owasp_block_count')) {
obj['active_rules_owasp_block_count'] = _ApiClient["default"].convertToType(data['active_rules_owasp_block_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_owasp_log_count')) {
obj['active_rules_owasp_log_count'] = _ApiClient["default"].convertToType(data['active_rules_owasp_log_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_owasp_score_count')) {
obj['active_rules_owasp_score_count'] = _ApiClient["default"].convertToType(data['active_rules_owasp_score_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_trustwave_block_count')) {
obj['active_rules_trustwave_block_count'] = _ApiClient["default"].convertToType(data['active_rules_trustwave_block_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_trustwave_log_count')) {
obj['active_rules_trustwave_log_count'] = _ApiClient["default"].convertToType(data['active_rules_trustwave_log_count'], 'Number');
}
}
-
return obj;
}
}]);
-
return WafFirewallResponseDataAttributes;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
WafFirewallResponseDataAttributes.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
WafFirewallResponseDataAttributes.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
WafFirewallResponseDataAttributes.prototype['updated_at'] = undefined;
+
/**
* @member {String} service_id
*/
-
WafFirewallResponseDataAttributes.prototype['service_id'] = undefined;
+
/**
* The number of active Fastly rules set to block on the active or latest firewall version.
* @member {Number} active_rules_fastly_block_count
*/
-
WafFirewallResponseDataAttributes.prototype['active_rules_fastly_block_count'] = undefined;
+
/**
* The number of active Fastly rules set to log on the active or latest firewall version.
* @member {Number} active_rules_fastly_log_count
*/
-
WafFirewallResponseDataAttributes.prototype['active_rules_fastly_log_count'] = undefined;
+
/**
* The number of active Fastly rules set to score on the active or latest firewall version.
* @member {Number} active_rules_fastly_score_count
*/
-
WafFirewallResponseDataAttributes.prototype['active_rules_fastly_score_count'] = undefined;
+
/**
* The number of active OWASP rules set to block on the active or latest firewall version.
* @member {Number} active_rules_owasp_block_count
*/
-
WafFirewallResponseDataAttributes.prototype['active_rules_owasp_block_count'] = undefined;
+
/**
* The number of active OWASP rules set to log on the active or latest firewall version.
* @member {Number} active_rules_owasp_log_count
*/
-
WafFirewallResponseDataAttributes.prototype['active_rules_owasp_log_count'] = undefined;
+
/**
* The number of active OWASP rules set to score on the active or latest firewall version.
* @member {Number} active_rules_owasp_score_count
*/
-
WafFirewallResponseDataAttributes.prototype['active_rules_owasp_score_count'] = undefined;
+
/**
* The number of active Trustwave rules set to block on the active or latest firewall version.
* @member {Number} active_rules_trustwave_block_count
*/
-
WafFirewallResponseDataAttributes.prototype['active_rules_trustwave_block_count'] = undefined;
+
/**
* The number of active Trustwave rules set to log on the active or latest firewall version.
* @member {Number} active_rules_trustwave_log_count
*/
+WafFirewallResponseDataAttributes.prototype['active_rules_trustwave_log_count'] = undefined;
-WafFirewallResponseDataAttributes.prototype['active_rules_trustwave_log_count'] = undefined; // Implement Timestamps interface:
-
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement WafFirewallResponseDataAttributesAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement WafFirewallResponseDataAttributesAllOf interface:
/**
* @member {String} service_id
*/
-
_WafFirewallResponseDataAttributesAllOf["default"].prototype['service_id'] = undefined;
/**
* The number of active Fastly rules set to block on the active or latest firewall version.
* @member {Number} active_rules_fastly_block_count
*/
-
_WafFirewallResponseDataAttributesAllOf["default"].prototype['active_rules_fastly_block_count'] = undefined;
/**
* The number of active Fastly rules set to log on the active or latest firewall version.
* @member {Number} active_rules_fastly_log_count
*/
-
_WafFirewallResponseDataAttributesAllOf["default"].prototype['active_rules_fastly_log_count'] = undefined;
/**
* The number of active Fastly rules set to score on the active or latest firewall version.
* @member {Number} active_rules_fastly_score_count
*/
-
_WafFirewallResponseDataAttributesAllOf["default"].prototype['active_rules_fastly_score_count'] = undefined;
/**
* The number of active OWASP rules set to block on the active or latest firewall version.
* @member {Number} active_rules_owasp_block_count
*/
-
_WafFirewallResponseDataAttributesAllOf["default"].prototype['active_rules_owasp_block_count'] = undefined;
/**
* The number of active OWASP rules set to log on the active or latest firewall version.
* @member {Number} active_rules_owasp_log_count
*/
-
_WafFirewallResponseDataAttributesAllOf["default"].prototype['active_rules_owasp_log_count'] = undefined;
/**
* The number of active OWASP rules set to score on the active or latest firewall version.
* @member {Number} active_rules_owasp_score_count
*/
-
_WafFirewallResponseDataAttributesAllOf["default"].prototype['active_rules_owasp_score_count'] = undefined;
/**
* The number of active Trustwave rules set to block on the active or latest firewall version.
* @member {Number} active_rules_trustwave_block_count
*/
-
_WafFirewallResponseDataAttributesAllOf["default"].prototype['active_rules_trustwave_block_count'] = undefined;
/**
* The number of active Trustwave rules set to log on the active or latest firewall version.
* @member {Number} active_rules_trustwave_log_count
*/
-
_WafFirewallResponseDataAttributesAllOf["default"].prototype['active_rules_trustwave_log_count'] = undefined;
var _default = WafFirewallResponseDataAttributes;
exports["default"] = _default;
@@ -124813,21 +118603,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafFirewallResponseDataAttributesAllOf model module.
* @module model/WafFirewallResponseDataAttributesAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafFirewallResponseDataAttributesAllOf = /*#__PURE__*/function () {
/**
@@ -124836,19 +118623,18 @@ var WafFirewallResponseDataAttributesAllOf = /*#__PURE__*/function () {
*/
function WafFirewallResponseDataAttributesAllOf() {
_classCallCheck(this, WafFirewallResponseDataAttributesAllOf);
-
WafFirewallResponseDataAttributesAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafFirewallResponseDataAttributesAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafFirewallResponseDataAttributesAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -124856,109 +118642,95 @@ var WafFirewallResponseDataAttributesAllOf = /*#__PURE__*/function () {
* @param {module:model/WafFirewallResponseDataAttributesAllOf} obj Optional instance to populate.
* @return {module:model/WafFirewallResponseDataAttributesAllOf} The populated WafFirewallResponseDataAttributesAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallResponseDataAttributesAllOf();
-
if (data.hasOwnProperty('service_id')) {
obj['service_id'] = _ApiClient["default"].convertToType(data['service_id'], 'String');
}
-
if (data.hasOwnProperty('active_rules_fastly_block_count')) {
obj['active_rules_fastly_block_count'] = _ApiClient["default"].convertToType(data['active_rules_fastly_block_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_fastly_log_count')) {
obj['active_rules_fastly_log_count'] = _ApiClient["default"].convertToType(data['active_rules_fastly_log_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_fastly_score_count')) {
obj['active_rules_fastly_score_count'] = _ApiClient["default"].convertToType(data['active_rules_fastly_score_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_owasp_block_count')) {
obj['active_rules_owasp_block_count'] = _ApiClient["default"].convertToType(data['active_rules_owasp_block_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_owasp_log_count')) {
obj['active_rules_owasp_log_count'] = _ApiClient["default"].convertToType(data['active_rules_owasp_log_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_owasp_score_count')) {
obj['active_rules_owasp_score_count'] = _ApiClient["default"].convertToType(data['active_rules_owasp_score_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_trustwave_block_count')) {
obj['active_rules_trustwave_block_count'] = _ApiClient["default"].convertToType(data['active_rules_trustwave_block_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_trustwave_log_count')) {
obj['active_rules_trustwave_log_count'] = _ApiClient["default"].convertToType(data['active_rules_trustwave_log_count'], 'Number');
}
}
-
return obj;
}
}]);
-
return WafFirewallResponseDataAttributesAllOf;
}();
/**
* @member {String} service_id
*/
-
-
WafFirewallResponseDataAttributesAllOf.prototype['service_id'] = undefined;
+
/**
* The number of active Fastly rules set to block on the active or latest firewall version.
* @member {Number} active_rules_fastly_block_count
*/
-
WafFirewallResponseDataAttributesAllOf.prototype['active_rules_fastly_block_count'] = undefined;
+
/**
* The number of active Fastly rules set to log on the active or latest firewall version.
* @member {Number} active_rules_fastly_log_count
*/
-
WafFirewallResponseDataAttributesAllOf.prototype['active_rules_fastly_log_count'] = undefined;
+
/**
* The number of active Fastly rules set to score on the active or latest firewall version.
* @member {Number} active_rules_fastly_score_count
*/
-
WafFirewallResponseDataAttributesAllOf.prototype['active_rules_fastly_score_count'] = undefined;
+
/**
* The number of active OWASP rules set to block on the active or latest firewall version.
* @member {Number} active_rules_owasp_block_count
*/
-
WafFirewallResponseDataAttributesAllOf.prototype['active_rules_owasp_block_count'] = undefined;
+
/**
* The number of active OWASP rules set to log on the active or latest firewall version.
* @member {Number} active_rules_owasp_log_count
*/
-
WafFirewallResponseDataAttributesAllOf.prototype['active_rules_owasp_log_count'] = undefined;
+
/**
* The number of active OWASP rules set to score on the active or latest firewall version.
* @member {Number} active_rules_owasp_score_count
*/
-
WafFirewallResponseDataAttributesAllOf.prototype['active_rules_owasp_score_count'] = undefined;
+
/**
* The number of active Trustwave rules set to block on the active or latest firewall version.
* @member {Number} active_rules_trustwave_block_count
*/
-
WafFirewallResponseDataAttributesAllOf.prototype['active_rules_trustwave_block_count'] = undefined;
+
/**
* The number of active Trustwave rules set to log on the active or latest firewall version.
* @member {Number} active_rules_trustwave_log_count
*/
-
WafFirewallResponseDataAttributesAllOf.prototype['active_rules_trustwave_log_count'] = undefined;
var _default = WafFirewallResponseDataAttributesAllOf;
exports["default"] = _default;
@@ -124975,23 +118747,19 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _WafFirewallVersionData = _interopRequireDefault(__nccwpck_require__(93160));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafFirewallVersion model module.
* @module model/WafFirewallVersion
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafFirewallVersion = /*#__PURE__*/function () {
/**
@@ -125000,19 +118768,18 @@ var WafFirewallVersion = /*#__PURE__*/function () {
*/
function WafFirewallVersion() {
_classCallCheck(this, WafFirewallVersion);
-
WafFirewallVersion.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafFirewallVersion, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafFirewallVersion
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -125020,29 +118787,23 @@ var WafFirewallVersion = /*#__PURE__*/function () {
* @param {module:model/WafFirewallVersion} obj Optional instance to populate.
* @return {module:model/WafFirewallVersion} The populated WafFirewallVersion
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallVersion();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _WafFirewallVersionData["default"].constructFromObject(data['data']);
}
}
-
return obj;
}
}]);
-
return WafFirewallVersion;
}();
/**
* @member {module:model/WafFirewallVersionData} data
*/
-
-
WafFirewallVersion.prototype['data'] = undefined;
var _default = WafFirewallVersion;
exports["default"] = _default;
@@ -125059,25 +118820,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _TypeWafFirewallVersion = _interopRequireDefault(__nccwpck_require__(87741));
-
var _WafFirewallVersionDataAttributes = _interopRequireDefault(__nccwpck_require__(89329));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafFirewallVersionData model module.
* @module model/WafFirewallVersionData
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafFirewallVersionData = /*#__PURE__*/function () {
/**
@@ -125086,19 +118842,18 @@ var WafFirewallVersionData = /*#__PURE__*/function () {
*/
function WafFirewallVersionData() {
_classCallCheck(this, WafFirewallVersionData);
-
WafFirewallVersionData.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafFirewallVersionData, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafFirewallVersionData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -125106,38 +118861,31 @@ var WafFirewallVersionData = /*#__PURE__*/function () {
* @param {module:model/WafFirewallVersionData} obj Optional instance to populate.
* @return {module:model/WafFirewallVersionData} The populated WafFirewallVersionData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallVersionData();
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafFirewallVersion["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _WafFirewallVersionDataAttributes["default"].constructFromObject(data['attributes']);
}
}
-
return obj;
}
}]);
-
return WafFirewallVersionData;
}();
/**
* @member {module:model/TypeWafFirewallVersion} type
*/
-
-
WafFirewallVersionData.prototype['type'] = undefined;
+
/**
* @member {module:model/WafFirewallVersionDataAttributes} attributes
*/
-
WafFirewallVersionData.prototype['attributes'] = undefined;
var _default = WafFirewallVersionData;
exports["default"] = _default;
@@ -125154,21 +118902,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafFirewallVersionDataAttributes model module.
* @module model/WafFirewallVersionDataAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafFirewallVersionDataAttributes = /*#__PURE__*/function () {
/**
@@ -125177,19 +118922,18 @@ var WafFirewallVersionDataAttributes = /*#__PURE__*/function () {
*/
function WafFirewallVersionDataAttributes() {
_classCallCheck(this, WafFirewallVersionDataAttributes);
-
WafFirewallVersionDataAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafFirewallVersionDataAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafFirewallVersionDataAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -125197,142 +118941,108 @@ var WafFirewallVersionDataAttributes = /*#__PURE__*/function () {
* @param {module:model/WafFirewallVersionDataAttributes} obj Optional instance to populate.
* @return {module:model/WafFirewallVersionDataAttributes} The populated WafFirewallVersionDataAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallVersionDataAttributes();
-
if (data.hasOwnProperty('allowed_http_versions')) {
obj['allowed_http_versions'] = _ApiClient["default"].convertToType(data['allowed_http_versions'], 'String');
}
-
if (data.hasOwnProperty('allowed_methods')) {
obj['allowed_methods'] = _ApiClient["default"].convertToType(data['allowed_methods'], 'String');
}
-
if (data.hasOwnProperty('allowed_request_content_type')) {
obj['allowed_request_content_type'] = _ApiClient["default"].convertToType(data['allowed_request_content_type'], 'String');
}
-
if (data.hasOwnProperty('allowed_request_content_type_charset')) {
obj['allowed_request_content_type_charset'] = _ApiClient["default"].convertToType(data['allowed_request_content_type_charset'], 'String');
}
-
if (data.hasOwnProperty('arg_name_length')) {
obj['arg_name_length'] = _ApiClient["default"].convertToType(data['arg_name_length'], 'Number');
}
-
if (data.hasOwnProperty('arg_length')) {
obj['arg_length'] = _ApiClient["default"].convertToType(data['arg_length'], 'Number');
}
-
if (data.hasOwnProperty('combined_file_sizes')) {
obj['combined_file_sizes'] = _ApiClient["default"].convertToType(data['combined_file_sizes'], 'Number');
}
-
if (data.hasOwnProperty('comment')) {
obj['comment'] = _ApiClient["default"].convertToType(data['comment'], 'String');
}
-
if (data.hasOwnProperty('critical_anomaly_score')) {
obj['critical_anomaly_score'] = _ApiClient["default"].convertToType(data['critical_anomaly_score'], 'Number');
}
-
if (data.hasOwnProperty('crs_validate_utf8_encoding')) {
obj['crs_validate_utf8_encoding'] = _ApiClient["default"].convertToType(data['crs_validate_utf8_encoding'], 'Boolean');
}
-
if (data.hasOwnProperty('error_anomaly_score')) {
obj['error_anomaly_score'] = _ApiClient["default"].convertToType(data['error_anomaly_score'], 'Number');
}
-
if (data.hasOwnProperty('high_risk_country_codes')) {
obj['high_risk_country_codes'] = _ApiClient["default"].convertToType(data['high_risk_country_codes'], 'String');
}
-
if (data.hasOwnProperty('http_violation_score_threshold')) {
obj['http_violation_score_threshold'] = _ApiClient["default"].convertToType(data['http_violation_score_threshold'], 'Number');
}
-
if (data.hasOwnProperty('inbound_anomaly_score_threshold')) {
obj['inbound_anomaly_score_threshold'] = _ApiClient["default"].convertToType(data['inbound_anomaly_score_threshold'], 'Number');
}
-
if (data.hasOwnProperty('lfi_score_threshold')) {
obj['lfi_score_threshold'] = _ApiClient["default"].convertToType(data['lfi_score_threshold'], 'Number');
}
-
if (data.hasOwnProperty('locked')) {
obj['locked'] = _ApiClient["default"].convertToType(data['locked'], 'Boolean');
}
-
if (data.hasOwnProperty('max_file_size')) {
obj['max_file_size'] = _ApiClient["default"].convertToType(data['max_file_size'], 'Number');
}
-
if (data.hasOwnProperty('max_num_args')) {
obj['max_num_args'] = _ApiClient["default"].convertToType(data['max_num_args'], 'Number');
}
-
if (data.hasOwnProperty('notice_anomaly_score')) {
obj['notice_anomaly_score'] = _ApiClient["default"].convertToType(data['notice_anomaly_score'], 'Number');
}
-
if (data.hasOwnProperty('number')) {
obj['number'] = _ApiClient["default"].convertToType(data['number'], 'Number');
}
-
if (data.hasOwnProperty('paranoia_level')) {
obj['paranoia_level'] = _ApiClient["default"].convertToType(data['paranoia_level'], 'Number');
}
-
if (data.hasOwnProperty('php_injection_score_threshold')) {
obj['php_injection_score_threshold'] = _ApiClient["default"].convertToType(data['php_injection_score_threshold'], 'Number');
}
-
if (data.hasOwnProperty('rce_score_threshold')) {
obj['rce_score_threshold'] = _ApiClient["default"].convertToType(data['rce_score_threshold'], 'Number');
}
-
if (data.hasOwnProperty('restricted_extensions')) {
obj['restricted_extensions'] = _ApiClient["default"].convertToType(data['restricted_extensions'], 'String');
}
-
if (data.hasOwnProperty('restricted_headers')) {
obj['restricted_headers'] = _ApiClient["default"].convertToType(data['restricted_headers'], 'String');
}
-
if (data.hasOwnProperty('rfi_score_threshold')) {
obj['rfi_score_threshold'] = _ApiClient["default"].convertToType(data['rfi_score_threshold'], 'Number');
}
-
if (data.hasOwnProperty('session_fixation_score_threshold')) {
obj['session_fixation_score_threshold'] = _ApiClient["default"].convertToType(data['session_fixation_score_threshold'], 'Number');
}
-
if (data.hasOwnProperty('sql_injection_score_threshold')) {
obj['sql_injection_score_threshold'] = _ApiClient["default"].convertToType(data['sql_injection_score_threshold'], 'Number');
}
-
if (data.hasOwnProperty('total_arg_length')) {
obj['total_arg_length'] = _ApiClient["default"].convertToType(data['total_arg_length'], 'Number');
}
-
if (data.hasOwnProperty('warning_anomaly_score')) {
obj['warning_anomaly_score'] = _ApiClient["default"].convertToType(data['warning_anomaly_score'], 'Number');
}
-
if (data.hasOwnProperty('xss_score_threshold')) {
obj['xss_score_threshold'] = _ApiClient["default"].convertToType(data['xss_score_threshold'], 'Number');
}
}
-
return obj;
}
}]);
-
return WafFirewallVersionDataAttributes;
}();
/**
@@ -125340,203 +119050,201 @@ var WafFirewallVersionDataAttributes = /*#__PURE__*/function () {
* @member {String} allowed_http_versions
* @default 'HTTP/1.0 HTTP/1.1 HTTP/2'
*/
-
-
WafFirewallVersionDataAttributes.prototype['allowed_http_versions'] = 'HTTP/1.0 HTTP/1.1 HTTP/2';
+
/**
* A space-separated list of HTTP method names.
* @member {String} allowed_methods
* @default 'GET HEAD POST OPTIONS PUT PATCH DELETE'
*/
-
WafFirewallVersionDataAttributes.prototype['allowed_methods'] = 'GET HEAD POST OPTIONS PUT PATCH DELETE';
+
/**
* Allowed request content types.
* @member {String} allowed_request_content_type
* @default 'application/x-www-form-urlencoded|multipart/form-data|text/xml|application/xml|application/x-amf|application/json|text/plain'
*/
-
WafFirewallVersionDataAttributes.prototype['allowed_request_content_type'] = 'application/x-www-form-urlencoded|multipart/form-data|text/xml|application/xml|application/x-amf|application/json|text/plain';
+
/**
* Allowed request content type charset.
* @member {String} allowed_request_content_type_charset
* @default 'utf-8|iso-8859-1|iso-8859-15|windows-1252'
*/
-
WafFirewallVersionDataAttributes.prototype['allowed_request_content_type_charset'] = 'utf-8|iso-8859-1|iso-8859-15|windows-1252';
+
/**
* The maximum allowed argument name length.
* @member {Number} arg_name_length
* @default 100
*/
-
WafFirewallVersionDataAttributes.prototype['arg_name_length'] = 100;
+
/**
- * The maximum number of arguments allowed.
+ * The maximum allowed length of an argument.
* @member {Number} arg_length
* @default 400
*/
-
WafFirewallVersionDataAttributes.prototype['arg_length'] = 400;
+
/**
* The maximum allowed size of all files (in bytes).
* @member {Number} combined_file_sizes
* @default 10000000
*/
-
WafFirewallVersionDataAttributes.prototype['combined_file_sizes'] = 10000000;
+
/**
* A freeform descriptive note.
* @member {String} comment
*/
-
WafFirewallVersionDataAttributes.prototype['comment'] = undefined;
+
/**
* Score value to add for critical anomalies.
* @member {Number} critical_anomaly_score
* @default 6
*/
-
WafFirewallVersionDataAttributes.prototype['critical_anomaly_score'] = 6;
+
/**
* CRS validate UTF8 encoding.
* @member {Boolean} crs_validate_utf8_encoding
*/
-
WafFirewallVersionDataAttributes.prototype['crs_validate_utf8_encoding'] = undefined;
+
/**
* Score value to add for error anomalies.
* @member {Number} error_anomaly_score
* @default 5
*/
-
WafFirewallVersionDataAttributes.prototype['error_anomaly_score'] = 5;
+
/**
* A space-separated list of country codes in ISO 3166-1 (two-letter) format.
* @member {String} high_risk_country_codes
*/
-
WafFirewallVersionDataAttributes.prototype['high_risk_country_codes'] = undefined;
+
/**
* HTTP violation threshold.
* @member {Number} http_violation_score_threshold
*/
-
WafFirewallVersionDataAttributes.prototype['http_violation_score_threshold'] = undefined;
+
/**
* Inbound anomaly threshold.
* @member {Number} inbound_anomaly_score_threshold
*/
-
WafFirewallVersionDataAttributes.prototype['inbound_anomaly_score_threshold'] = undefined;
+
/**
* Local file inclusion attack threshold.
* @member {Number} lfi_score_threshold
*/
-
WafFirewallVersionDataAttributes.prototype['lfi_score_threshold'] = undefined;
+
/**
* Whether a specific firewall version is locked from being modified.
* @member {Boolean} locked
* @default false
*/
-
WafFirewallVersionDataAttributes.prototype['locked'] = false;
+
/**
* The maximum allowed file size, in bytes.
* @member {Number} max_file_size
* @default 10000000
*/
-
WafFirewallVersionDataAttributes.prototype['max_file_size'] = 10000000;
+
/**
* The maximum number of arguments allowed.
* @member {Number} max_num_args
* @default 255
*/
-
WafFirewallVersionDataAttributes.prototype['max_num_args'] = 255;
+
/**
* Score value to add for notice anomalies.
* @member {Number} notice_anomaly_score
* @default 4
*/
-
WafFirewallVersionDataAttributes.prototype['notice_anomaly_score'] = 4;
+
/**
* @member {Number} number
*/
-
WafFirewallVersionDataAttributes.prototype['number'] = undefined;
+
/**
* The configured paranoia level.
* @member {Number} paranoia_level
* @default 1
*/
-
WafFirewallVersionDataAttributes.prototype['paranoia_level'] = 1;
+
/**
* PHP injection threshold.
* @member {Number} php_injection_score_threshold
*/
-
WafFirewallVersionDataAttributes.prototype['php_injection_score_threshold'] = undefined;
+
/**
* Remote code execution threshold.
* @member {Number} rce_score_threshold
*/
-
WafFirewallVersionDataAttributes.prototype['rce_score_threshold'] = undefined;
+
/**
* A space-separated list of allowed file extensions.
* @member {String} restricted_extensions
* @default '.asa/ .asax/ .ascx/ .axd/ .backup/ .bak/ .bat/ .cdx/ .cer/ .cfg/ .cmd/ .com/ .config/ .conf/ .cs/ .csproj/ .csr/ .dat/ .db/ .dbf/ .dll/ .dos/ .htr/ .htw/ .ida/ .idc/ .idq/ .inc/ .ini/ .key/ .licx/ .lnk/ .log/ .mdb/ .old/ .pass/ .pdb/ .pol/ .printer/ .pwd/ .resources/ .resx/ .sql/ .sys/ .vb/ .vbs/ .vbproj/ .vsdisco/ .webinfo/ .xsd/ .xsx'
*/
-
WafFirewallVersionDataAttributes.prototype['restricted_extensions'] = '.asa/ .asax/ .ascx/ .axd/ .backup/ .bak/ .bat/ .cdx/ .cer/ .cfg/ .cmd/ .com/ .config/ .conf/ .cs/ .csproj/ .csr/ .dat/ .db/ .dbf/ .dll/ .dos/ .htr/ .htw/ .ida/ .idc/ .idq/ .inc/ .ini/ .key/ .licx/ .lnk/ .log/ .mdb/ .old/ .pass/ .pdb/ .pol/ .printer/ .pwd/ .resources/ .resx/ .sql/ .sys/ .vb/ .vbs/ .vbproj/ .vsdisco/ .webinfo/ .xsd/ .xsx';
+
/**
* A space-separated list of allowed header names.
* @member {String} restricted_headers
* @default '/proxy/ /lock-token/ /content-range/ /translate/ /if/'
*/
-
WafFirewallVersionDataAttributes.prototype['restricted_headers'] = '/proxy/ /lock-token/ /content-range/ /translate/ /if/';
+
/**
* Remote file inclusion attack threshold.
* @member {Number} rfi_score_threshold
*/
-
WafFirewallVersionDataAttributes.prototype['rfi_score_threshold'] = undefined;
+
/**
* Session fixation attack threshold.
* @member {Number} session_fixation_score_threshold
*/
-
WafFirewallVersionDataAttributes.prototype['session_fixation_score_threshold'] = undefined;
+
/**
* SQL injection attack threshold.
* @member {Number} sql_injection_score_threshold
*/
-
WafFirewallVersionDataAttributes.prototype['sql_injection_score_threshold'] = undefined;
+
/**
* The maximum size of argument names and values.
* @member {Number} total_arg_length
* @default 6400
*/
-
WafFirewallVersionDataAttributes.prototype['total_arg_length'] = 6400;
+
/**
* Score value to add for warning anomalies.
* @member {Number} warning_anomaly_score
*/
-
WafFirewallVersionDataAttributes.prototype['warning_anomaly_score'] = undefined;
+
/**
* XSS attack threshold.
* @member {Number} xss_score_threshold
*/
-
WafFirewallVersionDataAttributes.prototype['xss_score_threshold'] = undefined;
var _default = WafFirewallVersionDataAttributes;
exports["default"] = _default;
@@ -125553,25 +119261,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _IncludedWithWafFirewallVersionItem = _interopRequireDefault(__nccwpck_require__(44845));
-
var _WafFirewallVersionResponseData = _interopRequireDefault(__nccwpck_require__(82552));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafFirewallVersionResponse model module.
* @module model/WafFirewallVersionResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafFirewallVersionResponse = /*#__PURE__*/function () {
/**
@@ -125580,19 +119283,18 @@ var WafFirewallVersionResponse = /*#__PURE__*/function () {
*/
function WafFirewallVersionResponse() {
_classCallCheck(this, WafFirewallVersionResponse);
-
WafFirewallVersionResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafFirewallVersionResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafFirewallVersionResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -125600,38 +119302,31 @@ var WafFirewallVersionResponse = /*#__PURE__*/function () {
* @param {module:model/WafFirewallVersionResponse} obj Optional instance to populate.
* @return {module:model/WafFirewallVersionResponse} The populated WafFirewallVersionResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallVersionResponse();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _WafFirewallVersionResponseData["default"].constructFromObject(data['data']);
}
-
if (data.hasOwnProperty('included')) {
obj['included'] = _ApiClient["default"].convertToType(data['included'], [_IncludedWithWafFirewallVersionItem["default"]]);
}
}
-
return obj;
}
}]);
-
return WafFirewallVersionResponse;
}();
/**
* @member {module:model/WafFirewallVersionResponseData} data
*/
-
-
WafFirewallVersionResponse.prototype['data'] = undefined;
+
/**
* @member {Array.WafFirewallVersionResponseData
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -125707,89 +119391,74 @@ var WafFirewallVersionResponseData = /*#__PURE__*/function () {
* @param {module:model/WafFirewallVersionResponseData} obj Optional instance to populate.
* @return {module:model/WafFirewallVersionResponseData} The populated WafFirewallVersionResponseData
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallVersionResponseData();
-
_WafFirewallVersionData["default"].constructFromObject(data, obj);
-
_WafFirewallVersionResponseDataAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('type')) {
obj['type'] = _TypeWafFirewallVersion["default"].constructFromObject(data['type']);
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _WafFirewallVersionResponseDataAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipsForWafFirewallVersion["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return WafFirewallVersionResponseData;
}();
/**
* @member {module:model/TypeWafFirewallVersion} type
*/
-
-
WafFirewallVersionResponseData.prototype['type'] = undefined;
+
/**
* @member {module:model/WafFirewallVersionResponseDataAttributes} attributes
*/
-
WafFirewallVersionResponseData.prototype['attributes'] = undefined;
+
/**
* Alphanumeric string identifying a Firewall version.
* @member {String} id
*/
-
WafFirewallVersionResponseData.prototype['id'] = undefined;
+
/**
* @member {module:model/RelationshipsForWafFirewallVersion} relationships
*/
+WafFirewallVersionResponseData.prototype['relationships'] = undefined;
-WafFirewallVersionResponseData.prototype['relationships'] = undefined; // Implement WafFirewallVersionData interface:
-
+// Implement WafFirewallVersionData interface:
/**
* @member {module:model/TypeWafFirewallVersion} type
*/
-
_WafFirewallVersionData["default"].prototype['type'] = undefined;
/**
* @member {module:model/WafFirewallVersionDataAttributes} attributes
*/
-
-_WafFirewallVersionData["default"].prototype['attributes'] = undefined; // Implement WafFirewallVersionResponseDataAllOf interface:
-
+_WafFirewallVersionData["default"].prototype['attributes'] = undefined;
+// Implement WafFirewallVersionResponseDataAllOf interface:
/**
* Alphanumeric string identifying a Firewall version.
* @member {String} id
*/
-
_WafFirewallVersionResponseDataAllOf["default"].prototype['id'] = undefined;
/**
* @member {module:model/WafFirewallVersionResponseDataAttributes} attributes
*/
-
_WafFirewallVersionResponseDataAllOf["default"].prototype['attributes'] = undefined;
/**
* @member {module:model/RelationshipsForWafFirewallVersion} relationships
*/
-
_WafFirewallVersionResponseDataAllOf["default"].prototype['relationships'] = undefined;
var _default = WafFirewallVersionResponseData;
exports["default"] = _default;
@@ -125806,25 +119475,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _RelationshipsForWafFirewallVersion = _interopRequireDefault(__nccwpck_require__(68594));
-
var _WafFirewallVersionResponseDataAttributes = _interopRequireDefault(__nccwpck_require__(91012));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafFirewallVersionResponseDataAllOf model module.
* @module model/WafFirewallVersionResponseDataAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafFirewallVersionResponseDataAllOf = /*#__PURE__*/function () {
/**
@@ -125833,19 +119497,18 @@ var WafFirewallVersionResponseDataAllOf = /*#__PURE__*/function () {
*/
function WafFirewallVersionResponseDataAllOf() {
_classCallCheck(this, WafFirewallVersionResponseDataAllOf);
-
WafFirewallVersionResponseDataAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafFirewallVersionResponseDataAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafFirewallVersionResponseDataAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -125853,48 +119516,40 @@ var WafFirewallVersionResponseDataAllOf = /*#__PURE__*/function () {
* @param {module:model/WafFirewallVersionResponseDataAllOf} obj Optional instance to populate.
* @return {module:model/WafFirewallVersionResponseDataAllOf} The populated WafFirewallVersionResponseDataAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallVersionResponseDataAllOf();
-
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
}
-
if (data.hasOwnProperty('attributes')) {
obj['attributes'] = _WafFirewallVersionResponseDataAttributes["default"].constructFromObject(data['attributes']);
}
-
if (data.hasOwnProperty('relationships')) {
obj['relationships'] = _RelationshipsForWafFirewallVersion["default"].constructFromObject(data['relationships']);
}
}
-
return obj;
}
}]);
-
return WafFirewallVersionResponseDataAllOf;
}();
/**
* Alphanumeric string identifying a Firewall version.
* @member {String} id
*/
-
-
WafFirewallVersionResponseDataAllOf.prototype['id'] = undefined;
+
/**
* @member {module:model/WafFirewallVersionResponseDataAttributes} attributes
*/
-
WafFirewallVersionResponseDataAllOf.prototype['attributes'] = undefined;
+
/**
* @member {module:model/RelationshipsForWafFirewallVersion} relationships
*/
-
WafFirewallVersionResponseDataAllOf.prototype['relationships'] = undefined;
var _default = WafFirewallVersionResponseDataAllOf;
exports["default"] = _default;
@@ -125911,25 +119566,20 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _Timestamps = _interopRequireDefault(__nccwpck_require__(28216));
-
var _WafFirewallVersionResponseDataAttributesAllOf = _interopRequireDefault(__nccwpck_require__(64175));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafFirewallVersionResponseDataAttributes model module.
* @module model/WafFirewallVersionResponseDataAttributes
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafFirewallVersionResponseDataAttributes = /*#__PURE__*/function () {
/**
@@ -125940,23 +119590,20 @@ var WafFirewallVersionResponseDataAttributes = /*#__PURE__*/function () {
*/
function WafFirewallVersionResponseDataAttributes() {
_classCallCheck(this, WafFirewallVersionResponseDataAttributes);
-
_Timestamps["default"].initialize(this);
-
_WafFirewallVersionResponseDataAttributesAllOf["default"].initialize(this);
-
WafFirewallVersionResponseDataAttributes.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafFirewallVersionResponseDataAttributes, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafFirewallVersionResponseDataAttributes
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -125964,298 +119611,258 @@ var WafFirewallVersionResponseDataAttributes = /*#__PURE__*/function () {
* @param {module:model/WafFirewallVersionResponseDataAttributes} obj Optional instance to populate.
* @return {module:model/WafFirewallVersionResponseDataAttributes} The populated WafFirewallVersionResponseDataAttributes
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallVersionResponseDataAttributes();
-
_Timestamps["default"].constructFromObject(data, obj);
-
_WafFirewallVersionResponseDataAttributesAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = _ApiClient["default"].convertToType(data['created_at'], 'Date');
}
-
if (data.hasOwnProperty('deleted_at')) {
obj['deleted_at'] = _ApiClient["default"].convertToType(data['deleted_at'], 'Date');
}
-
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
}
-
if (data.hasOwnProperty('active')) {
obj['active'] = _ApiClient["default"].convertToType(data['active'], 'Boolean');
}
-
if (data.hasOwnProperty('active_rules_fastly_block_count')) {
obj['active_rules_fastly_block_count'] = _ApiClient["default"].convertToType(data['active_rules_fastly_block_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_fastly_log_count')) {
obj['active_rules_fastly_log_count'] = _ApiClient["default"].convertToType(data['active_rules_fastly_log_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_fastly_score_count')) {
obj['active_rules_fastly_score_count'] = _ApiClient["default"].convertToType(data['active_rules_fastly_score_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_owasp_block_count')) {
obj['active_rules_owasp_block_count'] = _ApiClient["default"].convertToType(data['active_rules_owasp_block_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_owasp_log_count')) {
obj['active_rules_owasp_log_count'] = _ApiClient["default"].convertToType(data['active_rules_owasp_log_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_owasp_score_count')) {
obj['active_rules_owasp_score_count'] = _ApiClient["default"].convertToType(data['active_rules_owasp_score_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_trustwave_block_count')) {
obj['active_rules_trustwave_block_count'] = _ApiClient["default"].convertToType(data['active_rules_trustwave_block_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_trustwave_log_count')) {
obj['active_rules_trustwave_log_count'] = _ApiClient["default"].convertToType(data['active_rules_trustwave_log_count'], 'Number');
}
-
if (data.hasOwnProperty('last_deployment_status')) {
obj['last_deployment_status'] = _ApiClient["default"].convertToType(data['last_deployment_status'], 'String');
}
-
if (data.hasOwnProperty('deployed_at')) {
obj['deployed_at'] = _ApiClient["default"].convertToType(data['deployed_at'], 'String');
}
-
if (data.hasOwnProperty('error')) {
obj['error'] = _ApiClient["default"].convertToType(data['error'], 'String');
}
}
-
return obj;
}
}]);
-
return WafFirewallVersionResponseDataAttributes;
}();
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
-
WafFirewallVersionResponseDataAttributes.prototype['created_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
WafFirewallVersionResponseDataAttributes.prototype['deleted_at'] = undefined;
+
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
WafFirewallVersionResponseDataAttributes.prototype['updated_at'] = undefined;
+
/**
* Whether a specific firewall version is currently deployed.
* @member {Boolean} active
*/
-
WafFirewallVersionResponseDataAttributes.prototype['active'] = undefined;
+
/**
* The number of active Fastly rules set to block.
* @member {Number} active_rules_fastly_block_count
*/
-
WafFirewallVersionResponseDataAttributes.prototype['active_rules_fastly_block_count'] = undefined;
+
/**
* The number of active Fastly rules set to log.
* @member {Number} active_rules_fastly_log_count
*/
-
WafFirewallVersionResponseDataAttributes.prototype['active_rules_fastly_log_count'] = undefined;
+
/**
* The number of active Fastly rules set to score.
* @member {Number} active_rules_fastly_score_count
*/
-
WafFirewallVersionResponseDataAttributes.prototype['active_rules_fastly_score_count'] = undefined;
+
/**
* The number of active OWASP rules set to block.
* @member {Number} active_rules_owasp_block_count
*/
-
WafFirewallVersionResponseDataAttributes.prototype['active_rules_owasp_block_count'] = undefined;
+
/**
* The number of active OWASP rules set to log.
* @member {Number} active_rules_owasp_log_count
*/
-
WafFirewallVersionResponseDataAttributes.prototype['active_rules_owasp_log_count'] = undefined;
+
/**
* The number of active OWASP rules set to score.
* @member {Number} active_rules_owasp_score_count
*/
-
WafFirewallVersionResponseDataAttributes.prototype['active_rules_owasp_score_count'] = undefined;
+
/**
* The number of active Trustwave rules set to block.
* @member {Number} active_rules_trustwave_block_count
*/
-
WafFirewallVersionResponseDataAttributes.prototype['active_rules_trustwave_block_count'] = undefined;
+
/**
* The number of active Trustwave rules set to log.
* @member {Number} active_rules_trustwave_log_count
*/
-
WafFirewallVersionResponseDataAttributes.prototype['active_rules_trustwave_log_count'] = undefined;
+
/**
* The status of the last deployment of this firewall version.
* @member {module:model/WafFirewallVersionResponseDataAttributes.LastDeploymentStatusEnum} last_deployment_status
*/
-
WafFirewallVersionResponseDataAttributes.prototype['last_deployment_status'] = undefined;
+
/**
* Time-stamp (GMT) indicating when the firewall version was last deployed.
* @member {String} deployed_at
*/
-
WafFirewallVersionResponseDataAttributes.prototype['deployed_at'] = undefined;
+
/**
* Contains error message if the firewall version fails to deploy.
* @member {String} error
*/
+WafFirewallVersionResponseDataAttributes.prototype['error'] = undefined;
-WafFirewallVersionResponseDataAttributes.prototype['error'] = undefined; // Implement Timestamps interface:
-
+// Implement Timestamps interface:
/**
* Date and time in ISO 8601 format.
* @member {Date} created_at
*/
-
_Timestamps["default"].prototype['created_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} deleted_at
*/
-
_Timestamps["default"].prototype['deleted_at'] = undefined;
/**
* Date and time in ISO 8601 format.
* @member {Date} updated_at
*/
-
-_Timestamps["default"].prototype['updated_at'] = undefined; // Implement WafFirewallVersionResponseDataAttributesAllOf interface:
-
+_Timestamps["default"].prototype['updated_at'] = undefined;
+// Implement WafFirewallVersionResponseDataAttributesAllOf interface:
/**
* Whether a specific firewall version is currently deployed.
* @member {Boolean} active
*/
-
_WafFirewallVersionResponseDataAttributesAllOf["default"].prototype['active'] = undefined;
/**
* The number of active Fastly rules set to block.
* @member {Number} active_rules_fastly_block_count
*/
-
_WafFirewallVersionResponseDataAttributesAllOf["default"].prototype['active_rules_fastly_block_count'] = undefined;
/**
* The number of active Fastly rules set to log.
* @member {Number} active_rules_fastly_log_count
*/
-
_WafFirewallVersionResponseDataAttributesAllOf["default"].prototype['active_rules_fastly_log_count'] = undefined;
/**
* The number of active Fastly rules set to score.
* @member {Number} active_rules_fastly_score_count
*/
-
_WafFirewallVersionResponseDataAttributesAllOf["default"].prototype['active_rules_fastly_score_count'] = undefined;
/**
* The number of active OWASP rules set to block.
* @member {Number} active_rules_owasp_block_count
*/
-
_WafFirewallVersionResponseDataAttributesAllOf["default"].prototype['active_rules_owasp_block_count'] = undefined;
/**
* The number of active OWASP rules set to log.
* @member {Number} active_rules_owasp_log_count
*/
-
_WafFirewallVersionResponseDataAttributesAllOf["default"].prototype['active_rules_owasp_log_count'] = undefined;
/**
* The number of active OWASP rules set to score.
* @member {Number} active_rules_owasp_score_count
*/
-
_WafFirewallVersionResponseDataAttributesAllOf["default"].prototype['active_rules_owasp_score_count'] = undefined;
/**
* The number of active Trustwave rules set to block.
* @member {Number} active_rules_trustwave_block_count
*/
-
_WafFirewallVersionResponseDataAttributesAllOf["default"].prototype['active_rules_trustwave_block_count'] = undefined;
/**
* The number of active Trustwave rules set to log.
* @member {Number} active_rules_trustwave_log_count
*/
-
_WafFirewallVersionResponseDataAttributesAllOf["default"].prototype['active_rules_trustwave_log_count'] = undefined;
/**
* The status of the last deployment of this firewall version.
* @member {module:model/WafFirewallVersionResponseDataAttributesAllOf.LastDeploymentStatusEnum} last_deployment_status
*/
-
_WafFirewallVersionResponseDataAttributesAllOf["default"].prototype['last_deployment_status'] = undefined;
/**
* Time-stamp (GMT) indicating when the firewall version was last deployed.
* @member {String} deployed_at
*/
-
_WafFirewallVersionResponseDataAttributesAllOf["default"].prototype['deployed_at'] = undefined;
/**
* Contains error message if the firewall version fails to deploy.
* @member {String} error
*/
-
_WafFirewallVersionResponseDataAttributesAllOf["default"].prototype['error'] = undefined;
+
/**
* Allowed values for the last_deployment_status
property.
* @enum {String}
* @readonly
*/
-
WafFirewallVersionResponseDataAttributes['LastDeploymentStatusEnum'] = {
/**
* value: "null"
* @const
*/
"null": "null",
-
/**
* value: "pending"
* @const
*/
"pending": "pending",
-
/**
* value: "in progress"
* @const
*/
"in progress": "in progress",
-
/**
* value: "completed"
* @const
*/
"completed": "completed",
-
/**
* value: "failed"
* @const
@@ -126277,21 +119884,18 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafFirewallVersionResponseDataAttributesAllOf model module.
* @module model/WafFirewallVersionResponseDataAttributesAllOf
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafFirewallVersionResponseDataAttributesAllOf = /*#__PURE__*/function () {
/**
@@ -126300,19 +119904,18 @@ var WafFirewallVersionResponseDataAttributesAllOf = /*#__PURE__*/function () {
*/
function WafFirewallVersionResponseDataAttributesAllOf() {
_classCallCheck(this, WafFirewallVersionResponseDataAttributesAllOf);
-
WafFirewallVersionResponseDataAttributesAllOf.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafFirewallVersionResponseDataAttributesAllOf, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafFirewallVersionResponseDataAttributesAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -126320,172 +119923,151 @@ var WafFirewallVersionResponseDataAttributesAllOf = /*#__PURE__*/function () {
* @param {module:model/WafFirewallVersionResponseDataAttributesAllOf} obj Optional instance to populate.
* @return {module:model/WafFirewallVersionResponseDataAttributesAllOf} The populated WafFirewallVersionResponseDataAttributesAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallVersionResponseDataAttributesAllOf();
-
if (data.hasOwnProperty('active')) {
obj['active'] = _ApiClient["default"].convertToType(data['active'], 'Boolean');
}
-
if (data.hasOwnProperty('active_rules_fastly_block_count')) {
obj['active_rules_fastly_block_count'] = _ApiClient["default"].convertToType(data['active_rules_fastly_block_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_fastly_log_count')) {
obj['active_rules_fastly_log_count'] = _ApiClient["default"].convertToType(data['active_rules_fastly_log_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_fastly_score_count')) {
obj['active_rules_fastly_score_count'] = _ApiClient["default"].convertToType(data['active_rules_fastly_score_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_owasp_block_count')) {
obj['active_rules_owasp_block_count'] = _ApiClient["default"].convertToType(data['active_rules_owasp_block_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_owasp_log_count')) {
obj['active_rules_owasp_log_count'] = _ApiClient["default"].convertToType(data['active_rules_owasp_log_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_owasp_score_count')) {
obj['active_rules_owasp_score_count'] = _ApiClient["default"].convertToType(data['active_rules_owasp_score_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_trustwave_block_count')) {
obj['active_rules_trustwave_block_count'] = _ApiClient["default"].convertToType(data['active_rules_trustwave_block_count'], 'Number');
}
-
if (data.hasOwnProperty('active_rules_trustwave_log_count')) {
obj['active_rules_trustwave_log_count'] = _ApiClient["default"].convertToType(data['active_rules_trustwave_log_count'], 'Number');
}
-
if (data.hasOwnProperty('last_deployment_status')) {
obj['last_deployment_status'] = _ApiClient["default"].convertToType(data['last_deployment_status'], 'String');
}
-
if (data.hasOwnProperty('deployed_at')) {
obj['deployed_at'] = _ApiClient["default"].convertToType(data['deployed_at'], 'String');
}
-
if (data.hasOwnProperty('error')) {
obj['error'] = _ApiClient["default"].convertToType(data['error'], 'String');
}
}
-
return obj;
}
}]);
-
return WafFirewallVersionResponseDataAttributesAllOf;
}();
/**
* Whether a specific firewall version is currently deployed.
* @member {Boolean} active
*/
-
-
WafFirewallVersionResponseDataAttributesAllOf.prototype['active'] = undefined;
+
/**
* The number of active Fastly rules set to block.
* @member {Number} active_rules_fastly_block_count
*/
-
WafFirewallVersionResponseDataAttributesAllOf.prototype['active_rules_fastly_block_count'] = undefined;
+
/**
* The number of active Fastly rules set to log.
* @member {Number} active_rules_fastly_log_count
*/
-
WafFirewallVersionResponseDataAttributesAllOf.prototype['active_rules_fastly_log_count'] = undefined;
+
/**
* The number of active Fastly rules set to score.
* @member {Number} active_rules_fastly_score_count
*/
-
WafFirewallVersionResponseDataAttributesAllOf.prototype['active_rules_fastly_score_count'] = undefined;
+
/**
* The number of active OWASP rules set to block.
* @member {Number} active_rules_owasp_block_count
*/
-
WafFirewallVersionResponseDataAttributesAllOf.prototype['active_rules_owasp_block_count'] = undefined;
+
/**
* The number of active OWASP rules set to log.
* @member {Number} active_rules_owasp_log_count
*/
-
WafFirewallVersionResponseDataAttributesAllOf.prototype['active_rules_owasp_log_count'] = undefined;
+
/**
* The number of active OWASP rules set to score.
* @member {Number} active_rules_owasp_score_count
*/
-
WafFirewallVersionResponseDataAttributesAllOf.prototype['active_rules_owasp_score_count'] = undefined;
+
/**
* The number of active Trustwave rules set to block.
* @member {Number} active_rules_trustwave_block_count
*/
-
WafFirewallVersionResponseDataAttributesAllOf.prototype['active_rules_trustwave_block_count'] = undefined;
+
/**
* The number of active Trustwave rules set to log.
* @member {Number} active_rules_trustwave_log_count
*/
-
WafFirewallVersionResponseDataAttributesAllOf.prototype['active_rules_trustwave_log_count'] = undefined;
+
/**
* The status of the last deployment of this firewall version.
* @member {module:model/WafFirewallVersionResponseDataAttributesAllOf.LastDeploymentStatusEnum} last_deployment_status
*/
-
WafFirewallVersionResponseDataAttributesAllOf.prototype['last_deployment_status'] = undefined;
+
/**
* Time-stamp (GMT) indicating when the firewall version was last deployed.
* @member {String} deployed_at
*/
-
WafFirewallVersionResponseDataAttributesAllOf.prototype['deployed_at'] = undefined;
+
/**
* Contains error message if the firewall version fails to deploy.
* @member {String} error
*/
-
WafFirewallVersionResponseDataAttributesAllOf.prototype['error'] = undefined;
+
/**
* Allowed values for the last_deployment_status
property.
* @enum {String}
* @readonly
*/
-
WafFirewallVersionResponseDataAttributesAllOf['LastDeploymentStatusEnum'] = {
/**
* value: "null"
* @const
*/
"null": "null",
-
/**
* value: "pending"
* @const
*/
"pending": "pending",
-
/**
* value: "in progress"
* @const
*/
"in progress": "in progress",
-
/**
* value: "completed"
* @const
*/
"completed": "completed",
-
/**
* value: "failed"
* @const
@@ -126507,33 +120089,24 @@ Object.defineProperty(exports, "__esModule", ({
value: true
}));
exports["default"] = void 0;
-
var _ApiClient = _interopRequireDefault(__nccwpck_require__(80817));
-
var _IncludedWithWafFirewallVersionItem = _interopRequireDefault(__nccwpck_require__(44845));
-
var _Pagination = _interopRequireDefault(__nccwpck_require__(89281));
-
var _PaginationLinks = _interopRequireDefault(__nccwpck_require__(97779));
-
var _PaginationMeta = _interopRequireDefault(__nccwpck_require__(93986));
-
var _WafFirewallVersionResponseData = _interopRequireDefault(__nccwpck_require__(82552));
-
var _WafFirewallVersionsResponseAllOf = _interopRequireDefault(__nccwpck_require__(74460));
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
-
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
-
-function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
-
+function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
/**
* The WafFirewallVersionsResponse model module.
* @module model/WafFirewallVersionsResponse
- * @version 3.0.0-beta2
+ * @version v3.1.0
*/
var WafFirewallVersionsResponse = /*#__PURE__*/function () {
/**
@@ -126544,23 +120117,20 @@ var WafFirewallVersionsResponse = /*#__PURE__*/function () {
*/
function WafFirewallVersionsResponse() {
_classCallCheck(this, WafFirewallVersionsResponse);
-
_Pagination["default"].initialize(this);
-
_WafFirewallVersionsResponseAllOf["default"].initialize(this);
-
WafFirewallVersionsResponse.initialize(this);
}
+
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
-
-
_createClass(WafFirewallVersionsResponse, null, [{
key: "initialize",
value: function initialize(obj) {}
+
/**
* Constructs a WafFirewallVersionsResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -126568,82 +120138,68 @@ var WafFirewallVersionsResponse = /*#__PURE__*/function () {
* @param {module:model/WafFirewallVersionsResponse} obj Optional instance to populate.
* @return {module:model/WafFirewallVersionsResponse} The populated WafFirewallVersionsResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallVersionsResponse();
-
_Pagination["default"].constructFromObject(data, obj);
-
_WafFirewallVersionsResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('links')) {
obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_WafFirewallVersionResponseData["default"]]);
}
-
if (data.hasOwnProperty('included')) {
obj['included'] = _ApiClient["default"].convertToType(data['included'], [_IncludedWithWafFirewallVersionItem["default"]]);
}
}
-
return obj;
}
}]);
-
return WafFirewallVersionsResponse;
}();
/**
* @member {module:model/PaginationLinks} links
*/
-
-
WafFirewallVersionsResponse.prototype['links'] = undefined;
+
/**
* @member {module:model/PaginationMeta} meta
*/
-
WafFirewallVersionsResponse.prototype['meta'] = undefined;
+
/**
* @member {Array.WafFirewallVersionsResponseAllOf
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -126707,38 +120257,31 @@ var WafFirewallVersionsResponseAllOf = /*#__PURE__*/function () {
* @param {module:model/WafFirewallVersionsResponseAllOf} obj Optional instance to populate.
* @return {module:model/WafFirewallVersionsResponseAllOf} The populated WafFirewallVersionsResponseAllOf
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallVersionsResponseAllOf();
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_WafFirewallVersionResponseData["default"]]);
}
-
if (data.hasOwnProperty('included')) {
obj['included'] = _ApiClient["default"].convertToType(data['included'], [_IncludedWithWafFirewallVersionItem["default"]]);
}
}
-
return obj;
}
}]);
-
return WafFirewallVersionsResponseAllOf;
}();
/**
* @member {Array.WafFirewallsResponse
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
@@ -126816,82 +120347,68 @@ var WafFirewallsResponse = /*#__PURE__*/function () {
* @param {module:model/WafFirewallsResponse} obj Optional instance to populate.
* @return {module:model/WafFirewallsResponse} The populated WafFirewallsResponse
instance.
*/
-
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new WafFirewallsResponse();
-
_Pagination["default"].constructFromObject(data, obj);
-
_WafFirewallsResponseAllOf["default"].constructFromObject(data, obj);
-
if (data.hasOwnProperty('links')) {
obj['links'] = _PaginationLinks["default"].constructFromObject(data['links']);
}
-
if (data.hasOwnProperty('meta')) {
obj['meta'] = _PaginationMeta["default"].constructFromObject(data['meta']);
}
-
if (data.hasOwnProperty('data')) {
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_WafFirewallResponseData["default"]]);
}
-
if (data.hasOwnProperty('included')) {
obj['included'] = _ApiClient["default"].convertToType(data['included'], [_SchemasWafFirewallVersion["default"]]);
}
}
-
return obj;
}
}]);
-
return WafFirewallsResponse;
}();
/**
* @member {module:model/PaginationLinks} links
*/
-
-
WafFirewallsResponse.prototype['links'] = undefined;
+
/**
* @member {module:model/PaginationMeta} meta
*/
-
WafFirewallsResponse.prototype['meta'] = undefined;
+
/**
* @member {Array.