diff --git a/build.gradle b/build.gradle
index 5c2480a..c4d4100 100644
--- a/build.gradle
+++ b/build.gradle
@@ -27,3 +27,13 @@ task buildGoClient(type: org.openapitools.generator.gradle.plugin.tasks.Generate
packageVersion: "0.8.0",
]
}
+
+task buildJavascriptClient(type: org.openapitools.generator.gradle.plugin.tasks.GenerateTask) {
+ generatorName = "javascript"
+ inputSpec = "./garage/doc/api/garage-admin-v0.yml"
+ outputDir = "$rootDir/javascript"
+ configOptions = [
+ packageName: "garage",
+ packageVersion: "0.8.0",
+ ]
+}
diff --git a/javascript/.babelrc b/javascript/.babelrc
new file mode 100644
index 0000000..c73df9d
--- /dev/null
+++ b/javascript/.babelrc
@@ -0,0 +1,33 @@
+{
+ "presets": [
+ "@babel/preset-env"
+ ],
+ "plugins": [
+ "@babel/plugin-syntax-dynamic-import",
+ "@babel/plugin-syntax-import-meta",
+ "@babel/plugin-proposal-class-properties",
+ "@babel/plugin-proposal-json-strings",
+ [
+ "@babel/plugin-proposal-decorators",
+ {
+ "legacy": true
+ }
+ ],
+ "@babel/plugin-proposal-function-sent",
+ "@babel/plugin-proposal-export-namespace-from",
+ "@babel/plugin-proposal-numeric-separator",
+ "@babel/plugin-proposal-throw-expressions",
+ "@babel/plugin-proposal-export-default-from",
+ "@babel/plugin-proposal-logical-assignment-operators",
+ "@babel/plugin-proposal-optional-chaining",
+ [
+ "@babel/plugin-proposal-pipeline-operator",
+ {
+ "proposal": "minimal"
+ }
+ ],
+ "@babel/plugin-proposal-nullish-coalescing-operator",
+ "@babel/plugin-proposal-do-expressions",
+ "@babel/plugin-proposal-function-bind"
+ ]
+}
diff --git a/javascript/.gitignore b/javascript/.gitignore
new file mode 100644
index 0000000..6a7d6d8
--- /dev/null
+++ b/javascript/.gitignore
@@ -0,0 +1,130 @@
+# Logs
+logs
+*.log
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+lerna-debug.log*
+.pnpm-debug.log*
+
+# Diagnostic reports (https://nodejs.org/api/report.html)
+report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
+
+# Runtime data
+pids
+*.pid
+*.seed
+*.pid.lock
+
+# Directory for instrumented libs generated by jscoverage/JSCover
+lib-cov
+
+# Coverage directory used by tools like istanbul
+coverage
+*.lcov
+
+# nyc test coverage
+.nyc_output
+
+# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
+.grunt
+
+# Bower dependency directory (https://bower.io/)
+bower_components
+
+# node-waf configuration
+.lock-wscript
+
+# Compiled binary addons (https://nodejs.org/api/addons.html)
+build/Release
+
+# Dependency directories
+node_modules/
+jspm_packages/
+
+# Snowpack dependency directory (https://snowpack.dev/)
+web_modules/
+
+# TypeScript cache
+*.tsbuildinfo
+
+# Optional npm cache directory
+.npm
+
+# Optional eslint cache
+.eslintcache
+
+# Optional stylelint cache
+.stylelintcache
+
+# Microbundle cache
+.rpt2_cache/
+.rts2_cache_cjs/
+.rts2_cache_es/
+.rts2_cache_umd/
+
+# Optional REPL history
+.node_repl_history
+
+# Output of 'npm pack'
+*.tgz
+
+# Yarn Integrity file
+.yarn-integrity
+
+# dotenv environment variable files
+.env
+.env.development.local
+.env.test.local
+.env.production.local
+.env.local
+
+# parcel-bundler cache (https://parceljs.org/)
+.cache
+.parcel-cache
+
+# Next.js build output
+.next
+out
+
+# Nuxt.js build / generate output
+.nuxt
+dist
+
+# Gatsby files
+.cache/
+# Comment in the public line in if your project uses Gatsby and not Next.js
+# https://nextjs.org/blog/next-9-1#public-directory-support
+# public
+
+# vuepress build output
+.vuepress/dist
+
+# vuepress v2.x temp and cache directory
+.temp
+.cache
+
+# Docusaurus cache and generated files
+.docusaurus
+
+# Serverless directories
+.serverless/
+
+# FuseBox cache
+.fusebox/
+
+# DynamoDB Local files
+.dynamodb/
+
+# TernJS port file
+.tern-port
+
+# Stores VSCode versions used for testing VSCode extensions
+.vscode-test
+
+# yarn v2
+.yarn/cache
+.yarn/unplugged
+.yarn/build-state.yml
+.yarn/install-state.gz
+.pnp.*
\ No newline at end of file
diff --git a/javascript/.openapi-generator-ignore b/javascript/.openapi-generator-ignore
new file mode 100644
index 0000000..7484ee5
--- /dev/null
+++ b/javascript/.openapi-generator-ignore
@@ -0,0 +1,23 @@
+# OpenAPI Generator Ignore
+# Generated by openapi-generator https://github.com/openapitools/openapi-generator
+
+# Use this file to prevent files from being overwritten by the generator.
+# The patterns follow closely to .gitignore or .dockerignore.
+
+# As an example, the C# client generator defines ApiClient.cs.
+# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
+#ApiClient.cs
+
+# You can match any string of characters against a directory, file or extension with a single asterisk (*):
+#foo/*/qux
+# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
+
+# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
+#foo/**/qux
+# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
+
+# You can also negate patterns with an exclamation (!).
+# For example, you can ignore all files in a docs folder with the file extension .md:
+#docs/*.md
+# Then explicitly reverse the ignore rule for a single file:
+#!docs/README.md
diff --git a/javascript/.openapi-generator/FILES b/javascript/.openapi-generator/FILES
new file mode 100644
index 0000000..f7b87e8
--- /dev/null
+++ b/javascript/.openapi-generator/FILES
@@ -0,0 +1,112 @@
+.babelrc
+.gitignore
+.openapi-generator-ignore
+.travis.yml
+README.md
+docs/AddKeyRequest.md
+docs/AddNode200ResponseInner.md
+docs/AllowBucketKeyRequest.md
+docs/AllowBucketKeyRequestPermissions.md
+docs/BucketApi.md
+docs/BucketInfo.md
+docs/BucketInfoQuotas.md
+docs/BucketInfoWebsiteConfig.md
+docs/BucketKeyInfo.md
+docs/ClusterLayout.md
+docs/CreateBucketRequest.md
+docs/CreateBucketRequestLocalAlias.md
+docs/CreateBucketRequestLocalAliasAllow.md
+docs/GetNodes200Response.md
+docs/ImportKeyRequest.md
+docs/KeyApi.md
+docs/KeyInfo.md
+docs/KeyInfoBucketsInner.md
+docs/KeyInfoBucketsInnerPermissions.md
+docs/KeyInfoPermissions.md
+docs/LayoutApi.md
+docs/LayoutVersion.md
+docs/ListBuckets200ResponseInner.md
+docs/ListBuckets200ResponseInnerLocalAliasesInner.md
+docs/ListKeys200ResponseInner.md
+docs/NodeClusterInfo.md
+docs/NodeNetworkInfo.md
+docs/NodesApi.md
+docs/UpdateBucketRequest.md
+docs/UpdateBucketRequestQuotas.md
+docs/UpdateBucketRequestWebsiteAccess.md
+docs/UpdateKeyRequest.md
+docs/UpdateKeyRequestAllow.md
+docs/UpdateKeyRequestDeny.md
+git_push.sh
+mocha.opts
+package.json
+src/ApiClient.js
+src/api/BucketApi.js
+src/api/KeyApi.js
+src/api/LayoutApi.js
+src/api/NodesApi.js
+src/index.js
+src/model/AddKeyRequest.js
+src/model/AddNode200ResponseInner.js
+src/model/AllowBucketKeyRequest.js
+src/model/AllowBucketKeyRequestPermissions.js
+src/model/BucketInfo.js
+src/model/BucketInfoQuotas.js
+src/model/BucketInfoWebsiteConfig.js
+src/model/BucketKeyInfo.js
+src/model/ClusterLayout.js
+src/model/CreateBucketRequest.js
+src/model/CreateBucketRequestLocalAlias.js
+src/model/CreateBucketRequestLocalAliasAllow.js
+src/model/GetNodes200Response.js
+src/model/ImportKeyRequest.js
+src/model/KeyInfo.js
+src/model/KeyInfoBucketsInner.js
+src/model/KeyInfoBucketsInnerPermissions.js
+src/model/KeyInfoPermissions.js
+src/model/LayoutVersion.js
+src/model/ListBuckets200ResponseInner.js
+src/model/ListBuckets200ResponseInnerLocalAliasesInner.js
+src/model/ListKeys200ResponseInner.js
+src/model/NodeClusterInfo.js
+src/model/NodeNetworkInfo.js
+src/model/UpdateBucketRequest.js
+src/model/UpdateBucketRequestQuotas.js
+src/model/UpdateBucketRequestWebsiteAccess.js
+src/model/UpdateKeyRequest.js
+src/model/UpdateKeyRequestAllow.js
+src/model/UpdateKeyRequestDeny.js
+test/api/BucketApi.spec.js
+test/api/KeyApi.spec.js
+test/api/LayoutApi.spec.js
+test/api/NodesApi.spec.js
+test/model/AddKeyRequest.spec.js
+test/model/AddNode200ResponseInner.spec.js
+test/model/AllowBucketKeyRequest.spec.js
+test/model/AllowBucketKeyRequestPermissions.spec.js
+test/model/BucketInfo.spec.js
+test/model/BucketInfoQuotas.spec.js
+test/model/BucketInfoWebsiteConfig.spec.js
+test/model/BucketKeyInfo.spec.js
+test/model/ClusterLayout.spec.js
+test/model/CreateBucketRequest.spec.js
+test/model/CreateBucketRequestLocalAlias.spec.js
+test/model/CreateBucketRequestLocalAliasAllow.spec.js
+test/model/GetNodes200Response.spec.js
+test/model/ImportKeyRequest.spec.js
+test/model/KeyInfo.spec.js
+test/model/KeyInfoBucketsInner.spec.js
+test/model/KeyInfoBucketsInnerPermissions.spec.js
+test/model/KeyInfoPermissions.spec.js
+test/model/LayoutVersion.spec.js
+test/model/ListBuckets200ResponseInner.spec.js
+test/model/ListBuckets200ResponseInnerLocalAliasesInner.spec.js
+test/model/ListKeys200ResponseInner.spec.js
+test/model/NodeClusterInfo.spec.js
+test/model/NodeNetworkInfo.spec.js
+test/model/UpdateBucketRequest.spec.js
+test/model/UpdateBucketRequestQuotas.spec.js
+test/model/UpdateBucketRequestWebsiteAccess.spec.js
+test/model/UpdateKeyRequest.spec.js
+test/model/UpdateKeyRequestAllow.spec.js
+test/model/UpdateKeyRequestDeny.spec.js
diff --git a/javascript/.openapi-generator/VERSION b/javascript/.openapi-generator/VERSION
new file mode 100644
index 0000000..358e78e
--- /dev/null
+++ b/javascript/.openapi-generator/VERSION
@@ -0,0 +1 @@
+6.1.0
\ No newline at end of file
diff --git a/javascript/.travis.yml b/javascript/.travis.yml
new file mode 100644
index 0000000..0968f7a
--- /dev/null
+++ b/javascript/.travis.yml
@@ -0,0 +1,5 @@
+language: node_js
+cache: npm
+node_js:
+ - "6"
+ - "6.1"
diff --git a/javascript/README.md b/javascript/README.md
new file mode 100644
index 0000000..05a037a
--- /dev/null
+++ b/javascript/README.md
@@ -0,0 +1,198 @@
+# garage_administration_api_v0garage_v0_8_0
+
+GarageAdministrationApiV0garageV080 - JavaScript client for garage_administration_api_v0garage_v0_8_0
+Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks.
+
+*Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+
+This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
+
+- API version: v0.8.0
+- Package version: v0.8.0
+- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
+
+## Installation
+
+### For [Node.js](https://nodejs.org/)
+
+#### npm
+
+To publish the library as a [npm](https://www.npmjs.com/), please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.com/getting-started/publishing-npm-packages).
+
+Then install it via:
+
+```shell
+npm install garage_administration_api_v0garage_v0_8_0 --save
+```
+
+Finally, you need to build the module:
+
+```shell
+npm run build
+```
+
+##### Local development
+
+To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing `package.json` (and this README). Let's call this `JAVASCRIPT_CLIENT_DIR`. Then run:
+
+```shell
+npm install
+```
+
+Next, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`:
+
+```shell
+npm link
+```
+
+To use the link you just defined in your project, switch to the directory you want to use your garage_administration_api_v0garage_v0_8_0 from, and run:
+
+```shell
+npm link /path/to/
+* An AMD (recommended!) or CommonJS application will generally do something equivalent to the following:
+* param
.
+ */
+ 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
+ */
+ static canBeJsonified(str) {
+ if (typeof str !== 'string' && typeof str !== 'object') return false;
+ try {
+ const type = str.toString();
+ return type === '[object Object]'
+ || type === '[object Array]';
+ } catch (err) {
+ return false;
+ }
+ };
+
+ /**
+ * Builds full URL by appending the given path to the base URL and replacing path parameter place-holders with parameter values.
+ * NOTE: query parameters are not handled here.
+ * @param {String} path The path to append to the base URL.
+ * @param {Object} pathParams The parameter values to append.
+ * @param {String} apiBasePath Base path defined in the path, operation level to override the default one
+ * @returns {String} The encoded path with parameter values substituted.
+ */
+ buildUrl(path, pathParams, apiBasePath) {
+ if (!path.match(/^\//)) {
+ path = '/' + path;
+ }
+
+ var url = this.basePath + path;
+
+ // use API (operation, path) base path if defined
+ if (apiBasePath !== null && apiBasePath !== undefined) {
+ url = apiBasePath + path;
+ }
+
+ url = url.replace(/\{([\w-\.]+)\}/g, (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:
+ *
+ *
+ * @param {String} contentType The MIME content type to check.
+ * @returns {Boolean} true
if contentType
represents JSON, otherwise false
.
+ */
+ 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.
+ */
+ isFileParam(param) {
+ // fs.ReadStream in Node.js and Electron (but not in runtime like browserify)
+ if (typeof require === 'function') {
+ let fs;
+ try {
+ fs = require('fs');
+ } catch (err) {}
+ if (fs && fs.ReadStream && param instanceof fs.ReadStream) {
+ return true;
+ }
+ }
+
+ // Buffer in Node.js
+ if (typeof Buffer === 'function' && param instanceof Buffer) {
+ return true;
+ }
+
+ // 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)
+ if (typeof File === 'function' && param instanceof File) {
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Normalizes parameter values:
+ *
+ *
+ * @param {Object.param
as is if collectionFormat
is multi
.
+ */
+ 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.
+ */
+ 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
+ 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);
+ }
+
+ /**
+ * Callback function to receive the result of the operation.
+ * @callback module:ApiClient~callApiCallback
+ * @param {String} error Error message, if any.
+ * @param data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Invokes the REST service using the supplied settings and parameters.
+ * @param {String} path The base URL to invoke.
+ * @param {String} httpMethod The HTTP method to use.
+ * @param {Object.
data
will be converted to this type.
+ * @returns An instance of the specified type or null or undefined if data is null or undefined.
+ */
+ static 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
+ return data;
+ } else if (typeof type.constructFromObject === 'function') {
+ // for model type like User and enum class
+ return type.constructFromObject(data);
+ } else if (Array.isArray(type)) {
+ // for array type like: ['String']
+ var itemType = type[0];
+
+ return data.map((item) => {
+ return ApiClient.convertToType(item, itemType);
+ });
+ } 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;
+ valueType = type[k];
+ break;
+ }
+ }
+
+ var result = {};
+ for (var k in data) {
+ if (data.hasOwnProperty(k)) {
+ var key = ApiClient.convertToType(k, keyType);
+ var value = ApiClient.convertToType(data[k], valueType);
+ result[key] = value;
+ }
+ }
+
+ return result;
+ } else {
+ // for unknown type, return the data directly
+ return data;
+ }
+ }
+ }
+
+ /**
+ * Gets an array of host settings
+ * @returns An array of host settings
+ */
+ hostSettings() {
+ return [
+ {
+ 'url': "http://localhost:3903/v0",
+ 'description': "A local server",
+ }
+ ];
+ }
+
+ getBasePathFromSettings(index, variables={}) {
+ 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
+ for (var variable_name in server['variables']) {
+ if (variable_name in variables) {
+ let 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 {
+ throw new Error("The variable `" + variable_name + "` in the host URL has invalid value " + variables[variable_name] + ". Must be " + server['variables'][variable_name]['enum_values'] + ".");
+ }
+ } else {
+ // use default value
+ 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.
+ */
+ static constructFromObject(data, obj, itemType) {
+ if (Array.isArray(data)) {
+ for (var i = 0; i < data.length; i++) {
+ if (data.hasOwnProperty(i))
+ obj[i] = ApiClient.convertToType(data[i], itemType);
+ }
+ } else {
+ for (var k in data) {
+ if (data.hasOwnProperty(k))
+ obj[k] = ApiClient.convertToType(data[k], itemType);
+ }
+ }
+ };
+}
+
+/**
+ * Enumeration of collection format separator strategies.
+ * @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();
+export default ApiClient;
diff --git a/javascript/src/api/BucketApi.js b/javascript/src/api/BucketApi.js
new file mode 100644
index 0000000..5abbc9c
--- /dev/null
+++ b/javascript/src/api/BucketApi.js
@@ -0,0 +1,589 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import AllowBucketKeyRequest from '../model/AllowBucketKeyRequest';
+import BucketInfo from '../model/BucketInfo';
+import CreateBucketRequest from '../model/CreateBucketRequest';
+import ListBuckets200ResponseInner from '../model/ListBuckets200ResponseInner';
+import UpdateBucketRequest from '../model/UpdateBucketRequest';
+
+/**
+* Bucket service.
+* @module api/BucketApi
+* @version v0.8.0
+*/
+export default class BucketApi {
+
+ /**
+ * Constructs a new BucketApi.
+ * @alias module:api/BucketApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the allowBucketKey operation.
+ * @callback module:api/BucketApi~allowBucketKeyCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/BucketInfo} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Allow key
+ * ⚠️ **DISCLAIMER**: Garage's developers are aware that this endpoint has an unconventional semantic. Be extra careful when implementing it, its behavior is not obvious. Allows a key to do read/write/owner operations on a bucket. Flags in permissions which have the value true will be activated. Other flags will remain unchanged (ie. they will keep their internal value). For example, if you set read to true, the key will be allowed to read the bucket. If you set it to false, the key will keeps its previous read permission. If you want to disallow read for the key, check the DenyBucketKey operation.
+ * @param {module:model/AllowBucketKeyRequest} allowBucketKeyRequest Aliases to put on the new bucket
+ * @param {module:api/BucketApi~allowBucketKeyCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/BucketInfo}
+ */
+ allowBucketKey(allowBucketKeyRequest, callback) {
+ let postBody = allowBucketKeyRequest;
+ // verify the required parameter 'allowBucketKeyRequest' is set
+ if (allowBucketKeyRequest === undefined || allowBucketKeyRequest === null) {
+ throw new Error("Missing the required parameter 'allowBucketKeyRequest' when calling allowBucketKey");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['bearerAuth'];
+ let contentTypes = ['application/json'];
+ let accepts = ['application/json'];
+ let returnType = BucketInfo;
+ return this.apiClient.callApi(
+ '/bucket/allow', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createBucket operation.
+ * @callback module:api/BucketApi~createBucketCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/BucketInfo} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Create a bucket
+ * Creates a new bucket, either with a global alias, a local one, or no alias at all. Technically, you can also specify both `globalAlias` and `localAlias` and that would create two aliases.
+ * @param {module:model/CreateBucketRequest} createBucketRequest Aliases to put on the new bucket
+ * @param {module:api/BucketApi~createBucketCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/BucketInfo}
+ */
+ createBucket(createBucketRequest, callback) {
+ let postBody = createBucketRequest;
+ // verify the required parameter 'createBucketRequest' is set
+ if (createBucketRequest === undefined || createBucketRequest === null) {
+ throw new Error("Missing the required parameter 'createBucketRequest' when calling createBucket");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['bearerAuth'];
+ let contentTypes = ['application/json'];
+ let accepts = ['application/json'];
+ let returnType = BucketInfo;
+ return this.apiClient.callApi(
+ '/bucket', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteBucket operation.
+ * @callback module:api/BucketApi~deleteBucketCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Delete a bucket
+ * Delete a bucket.Deletes a storage bucket. A bucket cannot be deleted if it is not empty. **Warning:** this will delete all aliases associated with the bucket!
+ * @param {String} bucketId The exact bucket identifier, a 32 bytes hexadecimal string
+ * @param {module:api/BucketApi~deleteBucketCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteBucket(bucketId, callback) {
+ let postBody = null;
+ // verify the required parameter 'bucketId' is set
+ if (bucketId === undefined || bucketId === null) {
+ throw new Error("Missing the required parameter 'bucketId' when calling deleteBucket");
+ }
+
+ let pathParams = {
+ 'bucket_id': bucketId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['bearerAuth'];
+ let contentTypes = [];
+ let accepts = [];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/bucket?id={bucket_id}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteBucketGlobalAlias operation.
+ * @callback module:api/BucketApi~deleteBucketGlobalAliasCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/BucketInfo} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Delete a global alias
+ * Delete a global alias from the target bucket
+ * @param {String} id
+ * @param {String} alias
+ * @param {module:api/BucketApi~deleteBucketGlobalAliasCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/BucketInfo}
+ */
+ deleteBucketGlobalAlias(id, alias, callback) {
+ let postBody = null;
+ // verify the required parameter 'id' is set
+ if (id === undefined || id === null) {
+ throw new Error("Missing the required parameter 'id' when calling deleteBucketGlobalAlias");
+ }
+ // verify the required parameter 'alias' is set
+ if (alias === undefined || alias === null) {
+ throw new Error("Missing the required parameter 'alias' when calling deleteBucketGlobalAlias");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'id': id,
+ 'alias': alias
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['bearerAuth'];
+ let contentTypes = [];
+ let accepts = ['application/json'];
+ let returnType = BucketInfo;
+ return this.apiClient.callApi(
+ '/bucket/alias/global', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteBucketLocalAlias operation.
+ * @callback module:api/BucketApi~deleteBucketLocalAliasCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/BucketInfo} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Delete a local alias
+ * Delete a local alias, bound to specified account, from the target bucket
+ * @param {String} id
+ * @param {String} accessKeyId
+ * @param {String} alias
+ * @param {module:api/BucketApi~deleteBucketLocalAliasCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/BucketInfo}
+ */
+ deleteBucketLocalAlias(id, accessKeyId, alias, callback) {
+ let postBody = null;
+ // verify the required parameter 'id' is set
+ if (id === undefined || id === null) {
+ throw new Error("Missing the required parameter 'id' when calling deleteBucketLocalAlias");
+ }
+ // verify the required parameter 'accessKeyId' is set
+ if (accessKeyId === undefined || accessKeyId === null) {
+ throw new Error("Missing the required parameter 'accessKeyId' when calling deleteBucketLocalAlias");
+ }
+ // verify the required parameter 'alias' is set
+ if (alias === undefined || alias === null) {
+ throw new Error("Missing the required parameter 'alias' when calling deleteBucketLocalAlias");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'id': id,
+ 'accessKeyId': accessKeyId,
+ 'alias': alias
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['bearerAuth'];
+ let contentTypes = [];
+ let accepts = ['application/json'];
+ let returnType = BucketInfo;
+ return this.apiClient.callApi(
+ '/bucket/alias/local', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the denyBucketKey operation.
+ * @callback module:api/BucketApi~denyBucketKeyCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/BucketInfo} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Deny key
+ * ⚠️ **DISCLAIMER**: Garage's developers are aware that this endpoint has an unconventional semantic. Be extra careful when implementing it, its behavior is not obvious. Denies a key from doing read/write/owner operations on a bucket. Flags in permissions which have the value true will be deactivated. Other flags will remain unchanged. For example, if you set read to true, the key will be denied from reading. If you set read to false, the key will keep its previous permissions. If you want the key to have the reading permission, check the AllowBucketKey operation.
+ * @param {module:model/AllowBucketKeyRequest} allowBucketKeyRequest Aliases to put on the new bucket
+ * @param {module:api/BucketApi~denyBucketKeyCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/BucketInfo}
+ */
+ denyBucketKey(allowBucketKeyRequest, callback) {
+ let postBody = allowBucketKeyRequest;
+ // verify the required parameter 'allowBucketKeyRequest' is set
+ if (allowBucketKeyRequest === undefined || allowBucketKeyRequest === null) {
+ throw new Error("Missing the required parameter 'allowBucketKeyRequest' when calling denyBucketKey");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['bearerAuth'];
+ let contentTypes = ['application/json'];
+ let accepts = ['application/json'];
+ let returnType = BucketInfo;
+ return this.apiClient.callApi(
+ '/bucket/deny', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the findBucketInfo operation.
+ * @callback module:api/BucketApi~findBucketInfoCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/BucketInfo} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Find a bucket
+ * Find a bucket by its global alias
+ * @param {String} alias The exact global alias of one of the existing buckets
+ * @param {module:api/BucketApi~findBucketInfoCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/BucketInfo}
+ */
+ findBucketInfo(alias, callback) {
+ let postBody = null;
+ // verify the required parameter 'alias' is set
+ if (alias === undefined || alias === null) {
+ throw new Error("Missing the required parameter 'alias' when calling findBucketInfo");
+ }
+
+ let pathParams = {
+ 'alias': alias
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['bearerAuth'];
+ let contentTypes = [];
+ let accepts = ['application/json'];
+ let returnType = BucketInfo;
+ return this.apiClient.callApi(
+ '/bucket?globalAlias={alias}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getBucketInfo operation.
+ * @callback module:api/BucketApi~getBucketInfoCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/BucketInfo} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get a bucket
+ * Given a bucket identifier, get its information. It includes its aliases, its web configuration, keys that have some permissions on it, some statistics (number of objects, size), number of dangling multipart uploads, and its quotas (if any).
+ * @param {String} bucketId The exact bucket identifier, a 32 bytes hexadecimal string
+ * @param {module:api/BucketApi~getBucketInfoCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/BucketInfo}
+ */
+ getBucketInfo(bucketId, callback) {
+ let postBody = null;
+ // verify the required parameter 'bucketId' is set
+ if (bucketId === undefined || bucketId === null) {
+ throw new Error("Missing the required parameter 'bucketId' when calling getBucketInfo");
+ }
+
+ let pathParams = {
+ 'bucket_id': bucketId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['bearerAuth'];
+ let contentTypes = [];
+ let accepts = ['application/json'];
+ let returnType = BucketInfo;
+ return this.apiClient.callApi(
+ '/bucket?id={bucket_id}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the listBuckets operation.
+ * @callback module:api/BucketApi~listBucketsCallback
+ * @param {String} error Error message, if any.
+ * @param {Array.
+* The index
module provides access to constructors for all the classes which comprise the public API.
+*
+* var GarageAdministrationApiV0garageV080 = require('index'); // See note below*.
+* var xxxSvc = new GarageAdministrationApiV0garageV080.XxxApi(); // Allocate the API class we're going to use.
+* var yyyModel = new GarageAdministrationApiV0garageV080.Yyy(); // Construct a model instance.
+* yyyModel.someProperty = 'someValue';
+* ...
+* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
+* ...
+*
+* *NOTE: For a top-level AMD script, use require(['index'], function(){...})
+* and put the application logic within the callback function.
+*
+* A non-AMD browser application (discouraged) might do something like this: +*
+* var xxxSvc = new GarageAdministrationApiV0garageV080.XxxApi(); // Allocate the API class we're going to use. +* var yyy = new GarageAdministrationApiV0garageV080.Yyy(); // Construct a model instance. +* yyyModel.someProperty = 'someValue'; +* ... +* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service. +* ... +*+* +* @module index +* @version v0.8.0 +*/ +export { + /** + * The ApiClient constructor. + * @property {module:ApiClient} + */ + ApiClient, + + /** + * The AddKeyRequest model constructor. + * @property {module:model/AddKeyRequest} + */ + AddKeyRequest, + + /** + * The AddNode200ResponseInner model constructor. + * @property {module:model/AddNode200ResponseInner} + */ + AddNode200ResponseInner, + + /** + * The AllowBucketKeyRequest model constructor. + * @property {module:model/AllowBucketKeyRequest} + */ + AllowBucketKeyRequest, + + /** + * The AllowBucketKeyRequestPermissions model constructor. + * @property {module:model/AllowBucketKeyRequestPermissions} + */ + AllowBucketKeyRequestPermissions, + + /** + * The BucketInfo model constructor. + * @property {module:model/BucketInfo} + */ + BucketInfo, + + /** + * The BucketInfoQuotas model constructor. + * @property {module:model/BucketInfoQuotas} + */ + BucketInfoQuotas, + + /** + * The BucketInfoWebsiteConfig model constructor. + * @property {module:model/BucketInfoWebsiteConfig} + */ + BucketInfoWebsiteConfig, + + /** + * The BucketKeyInfo model constructor. + * @property {module:model/BucketKeyInfo} + */ + BucketKeyInfo, + + /** + * The ClusterLayout model constructor. + * @property {module:model/ClusterLayout} + */ + ClusterLayout, + + /** + * The CreateBucketRequest model constructor. + * @property {module:model/CreateBucketRequest} + */ + CreateBucketRequest, + + /** + * The CreateBucketRequestLocalAlias model constructor. + * @property {module:model/CreateBucketRequestLocalAlias} + */ + CreateBucketRequestLocalAlias, + + /** + * The CreateBucketRequestLocalAliasAllow model constructor. + * @property {module:model/CreateBucketRequestLocalAliasAllow} + */ + CreateBucketRequestLocalAliasAllow, + + /** + * The GetNodes200Response model constructor. + * @property {module:model/GetNodes200Response} + */ + GetNodes200Response, + + /** + * The ImportKeyRequest model constructor. + * @property {module:model/ImportKeyRequest} + */ + ImportKeyRequest, + + /** + * The KeyInfo model constructor. + * @property {module:model/KeyInfo} + */ + KeyInfo, + + /** + * The KeyInfoBucketsInner model constructor. + * @property {module:model/KeyInfoBucketsInner} + */ + KeyInfoBucketsInner, + + /** + * The KeyInfoBucketsInnerPermissions model constructor. + * @property {module:model/KeyInfoBucketsInnerPermissions} + */ + KeyInfoBucketsInnerPermissions, + + /** + * The KeyInfoPermissions model constructor. + * @property {module:model/KeyInfoPermissions} + */ + KeyInfoPermissions, + + /** + * The LayoutVersion model constructor. + * @property {module:model/LayoutVersion} + */ + LayoutVersion, + + /** + * The ListBuckets200ResponseInner model constructor. + * @property {module:model/ListBuckets200ResponseInner} + */ + ListBuckets200ResponseInner, + + /** + * The ListBuckets200ResponseInnerLocalAliasesInner model constructor. + * @property {module:model/ListBuckets200ResponseInnerLocalAliasesInner} + */ + ListBuckets200ResponseInnerLocalAliasesInner, + + /** + * The ListKeys200ResponseInner model constructor. + * @property {module:model/ListKeys200ResponseInner} + */ + ListKeys200ResponseInner, + + /** + * The NodeClusterInfo model constructor. + * @property {module:model/NodeClusterInfo} + */ + NodeClusterInfo, + + /** + * The NodeNetworkInfo model constructor. + * @property {module:model/NodeNetworkInfo} + */ + NodeNetworkInfo, + + /** + * The UpdateBucketRequest model constructor. + * @property {module:model/UpdateBucketRequest} + */ + UpdateBucketRequest, + + /** + * The UpdateBucketRequestQuotas model constructor. + * @property {module:model/UpdateBucketRequestQuotas} + */ + UpdateBucketRequestQuotas, + + /** + * The UpdateBucketRequestWebsiteAccess model constructor. + * @property {module:model/UpdateBucketRequestWebsiteAccess} + */ + UpdateBucketRequestWebsiteAccess, + + /** + * The UpdateKeyRequest model constructor. + * @property {module:model/UpdateKeyRequest} + */ + UpdateKeyRequest, + + /** + * The UpdateKeyRequestAllow model constructor. + * @property {module:model/UpdateKeyRequestAllow} + */ + UpdateKeyRequestAllow, + + /** + * The UpdateKeyRequestDeny model constructor. + * @property {module:model/UpdateKeyRequestDeny} + */ + UpdateKeyRequestDeny, + + /** + * The BucketApi service constructor. + * @property {module:api/BucketApi} + */ + BucketApi, + + /** + * The KeyApi service constructor. + * @property {module:api/KeyApi} + */ + KeyApi, + + /** + * The LayoutApi service constructor. + * @property {module:api/LayoutApi} + */ + LayoutApi, + + /** + * The NodesApi service constructor. + * @property {module:api/NodesApi} + */ + NodesApi +}; diff --git a/javascript/src/model/AddKeyRequest.js b/javascript/src/model/AddKeyRequest.js new file mode 100644 index 0000000..07edeb3 --- /dev/null +++ b/javascript/src/model/AddKeyRequest.js @@ -0,0 +1,71 @@ +/** + * Garage Administration API v0+garage-v0.8.0 + * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!* + * + * The version of the OpenAPI document: v0.8.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The AddKeyRequest model module. + * @module model/AddKeyRequest + * @version v0.8.0 + */ +class AddKeyRequest { + /** + * Constructs a new
AddKeyRequest
.
+ * @alias module:model/AddKeyRequest
+ */
+ constructor() {
+
+ AddKeyRequest.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AddKeyRequest
from a 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/AddKeyRequest} obj Optional instance to populate.
+ * @return {module:model/AddKeyRequest} The populated AddKeyRequest
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AddKeyRequest();
+
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} name
+ */
+AddKeyRequest.prototype['name'] = undefined;
+
+
+
+
+
+
+export default AddKeyRequest;
+
diff --git a/javascript/src/model/AddNode200ResponseInner.js b/javascript/src/model/AddNode200ResponseInner.js
new file mode 100644
index 0000000..56df484
--- /dev/null
+++ b/javascript/src/model/AddNode200ResponseInner.js
@@ -0,0 +1,79 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AddNode200ResponseInner model module.
+ * @module model/AddNode200ResponseInner
+ * @version v0.8.0
+ */
+class AddNode200ResponseInner {
+ /**
+ * Constructs a new AddNode200ResponseInner
.
+ * @alias module:model/AddNode200ResponseInner
+ */
+ constructor() {
+
+ AddNode200ResponseInner.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AddNode200ResponseInner
from a 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/AddNode200ResponseInner} obj Optional instance to populate.
+ * @return {module:model/AddNode200ResponseInner} The populated AddNode200ResponseInner
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AddNode200ResponseInner();
+
+ if (data.hasOwnProperty('success')) {
+ obj['success'] = ApiClient.convertToType(data['success'], 'Boolean');
+ }
+ if (data.hasOwnProperty('error')) {
+ obj['error'] = ApiClient.convertToType(data['error'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Boolean} success
+ */
+AddNode200ResponseInner.prototype['success'] = undefined;
+
+/**
+ * @member {String} error
+ */
+AddNode200ResponseInner.prototype['error'] = undefined;
+
+
+
+
+
+
+export default AddNode200ResponseInner;
+
diff --git a/javascript/src/model/AllowBucketKeyRequest.js b/javascript/src/model/AllowBucketKeyRequest.js
new file mode 100644
index 0000000..fade968
--- /dev/null
+++ b/javascript/src/model/AllowBucketKeyRequest.js
@@ -0,0 +1,94 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import AllowBucketKeyRequestPermissions from './AllowBucketKeyRequestPermissions';
+
+/**
+ * The AllowBucketKeyRequest model module.
+ * @module model/AllowBucketKeyRequest
+ * @version v0.8.0
+ */
+class AllowBucketKeyRequest {
+ /**
+ * Constructs a new AllowBucketKeyRequest
.
+ * @alias module:model/AllowBucketKeyRequest
+ * @param bucketId {String}
+ * @param accessKeyId {String}
+ * @param permissions {module:model/AllowBucketKeyRequestPermissions}
+ */
+ constructor(bucketId, accessKeyId, permissions) {
+
+ AllowBucketKeyRequest.initialize(this, bucketId, accessKeyId, permissions);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, bucketId, accessKeyId, permissions) {
+ obj['bucketId'] = bucketId;
+ obj['accessKeyId'] = accessKeyId;
+ obj['permissions'] = permissions;
+ }
+
+ /**
+ * Constructs a AllowBucketKeyRequest
from a 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/AllowBucketKeyRequest} obj Optional instance to populate.
+ * @return {module:model/AllowBucketKeyRequest} The populated AllowBucketKeyRequest
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AllowBucketKeyRequest();
+
+ if (data.hasOwnProperty('bucketId')) {
+ obj['bucketId'] = ApiClient.convertToType(data['bucketId'], 'String');
+ }
+ if (data.hasOwnProperty('accessKeyId')) {
+ obj['accessKeyId'] = ApiClient.convertToType(data['accessKeyId'], 'String');
+ }
+ if (data.hasOwnProperty('permissions')) {
+ obj['permissions'] = AllowBucketKeyRequestPermissions.constructFromObject(data['permissions']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} bucketId
+ */
+AllowBucketKeyRequest.prototype['bucketId'] = undefined;
+
+/**
+ * @member {String} accessKeyId
+ */
+AllowBucketKeyRequest.prototype['accessKeyId'] = undefined;
+
+/**
+ * @member {module:model/AllowBucketKeyRequestPermissions} permissions
+ */
+AllowBucketKeyRequest.prototype['permissions'] = undefined;
+
+
+
+
+
+
+export default AllowBucketKeyRequest;
+
diff --git a/javascript/src/model/AllowBucketKeyRequestPermissions.js b/javascript/src/model/AllowBucketKeyRequestPermissions.js
new file mode 100644
index 0000000..e478375
--- /dev/null
+++ b/javascript/src/model/AllowBucketKeyRequestPermissions.js
@@ -0,0 +1,93 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AllowBucketKeyRequestPermissions model module.
+ * @module model/AllowBucketKeyRequestPermissions
+ * @version v0.8.0
+ */
+class AllowBucketKeyRequestPermissions {
+ /**
+ * Constructs a new AllowBucketKeyRequestPermissions
.
+ * @alias module:model/AllowBucketKeyRequestPermissions
+ * @param read {Boolean}
+ * @param write {Boolean}
+ * @param owner {Boolean}
+ */
+ constructor(read, write, owner) {
+
+ AllowBucketKeyRequestPermissions.initialize(this, read, write, owner);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, read, write, owner) {
+ obj['read'] = read;
+ obj['write'] = write;
+ obj['owner'] = owner;
+ }
+
+ /**
+ * Constructs a AllowBucketKeyRequestPermissions
from a 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/AllowBucketKeyRequestPermissions} obj Optional instance to populate.
+ * @return {module:model/AllowBucketKeyRequestPermissions} The populated AllowBucketKeyRequestPermissions
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AllowBucketKeyRequestPermissions();
+
+ if (data.hasOwnProperty('read')) {
+ obj['read'] = ApiClient.convertToType(data['read'], 'Boolean');
+ }
+ if (data.hasOwnProperty('write')) {
+ obj['write'] = ApiClient.convertToType(data['write'], 'Boolean');
+ }
+ if (data.hasOwnProperty('owner')) {
+ obj['owner'] = ApiClient.convertToType(data['owner'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Boolean} read
+ */
+AllowBucketKeyRequestPermissions.prototype['read'] = undefined;
+
+/**
+ * @member {Boolean} write
+ */
+AllowBucketKeyRequestPermissions.prototype['write'] = undefined;
+
+/**
+ * @member {Boolean} owner
+ */
+AllowBucketKeyRequestPermissions.prototype['owner'] = undefined;
+
+
+
+
+
+
+export default AllowBucketKeyRequestPermissions;
+
diff --git a/javascript/src/model/BucketInfo.js b/javascript/src/model/BucketInfo.js
new file mode 100644
index 0000000..fae6a1d
--- /dev/null
+++ b/javascript/src/model/BucketInfo.js
@@ -0,0 +1,138 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import BucketInfoQuotas from './BucketInfoQuotas';
+import BucketInfoWebsiteConfig from './BucketInfoWebsiteConfig';
+import BucketKeyInfo from './BucketKeyInfo';
+
+/**
+ * The BucketInfo model module.
+ * @module model/BucketInfo
+ * @version v0.8.0
+ */
+class BucketInfo {
+ /**
+ * Constructs a new BucketInfo
.
+ * @alias module:model/BucketInfo
+ */
+ constructor() {
+
+ BucketInfo.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a BucketInfo
from a 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/BucketInfo} obj Optional instance to populate.
+ * @return {module:model/BucketInfo} The populated BucketInfo
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BucketInfo();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('globalAliases')) {
+ obj['globalAliases'] = ApiClient.convertToType(data['globalAliases'], ['String']);
+ }
+ if (data.hasOwnProperty('websiteAccess')) {
+ obj['websiteAccess'] = ApiClient.convertToType(data['websiteAccess'], 'Boolean');
+ }
+ if (data.hasOwnProperty('websiteConfig')) {
+ obj['websiteConfig'] = BucketInfoWebsiteConfig.constructFromObject(data['websiteConfig']);
+ }
+ if (data.hasOwnProperty('keys')) {
+ obj['keys'] = ApiClient.convertToType(data['keys'], [BucketKeyInfo]);
+ }
+ if (data.hasOwnProperty('objects')) {
+ obj['objects'] = ApiClient.convertToType(data['objects'], 'Number');
+ }
+ if (data.hasOwnProperty('bytes')) {
+ obj['bytes'] = ApiClient.convertToType(data['bytes'], 'Number');
+ }
+ if (data.hasOwnProperty('unfinishedUploads')) {
+ obj['unfinishedUploads'] = ApiClient.convertToType(data['unfinishedUploads'], 'Number');
+ }
+ if (data.hasOwnProperty('quotas')) {
+ obj['quotas'] = BucketInfoQuotas.constructFromObject(data['quotas']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} id
+ */
+BucketInfo.prototype['id'] = undefined;
+
+/**
+ * @member {Array.BucketInfoQuotas
.
+ * @alias module:model/BucketInfoQuotas
+ */
+ constructor() {
+
+ BucketInfoQuotas.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a BucketInfoQuotas
from a 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/BucketInfoQuotas} obj Optional instance to populate.
+ * @return {module:model/BucketInfoQuotas} The populated BucketInfoQuotas
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BucketInfoQuotas();
+
+ if (data.hasOwnProperty('maxSize')) {
+ obj['maxSize'] = ApiClient.convertToType(data['maxSize'], 'Number');
+ }
+ if (data.hasOwnProperty('maxObjects')) {
+ obj['maxObjects'] = ApiClient.convertToType(data['maxObjects'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Number} maxSize
+ */
+BucketInfoQuotas.prototype['maxSize'] = undefined;
+
+/**
+ * @member {Number} maxObjects
+ */
+BucketInfoQuotas.prototype['maxObjects'] = undefined;
+
+
+
+
+
+
+export default BucketInfoQuotas;
+
diff --git a/javascript/src/model/BucketInfoWebsiteConfig.js b/javascript/src/model/BucketInfoWebsiteConfig.js
new file mode 100644
index 0000000..ff65bc1
--- /dev/null
+++ b/javascript/src/model/BucketInfoWebsiteConfig.js
@@ -0,0 +1,79 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The BucketInfoWebsiteConfig model module.
+ * @module model/BucketInfoWebsiteConfig
+ * @version v0.8.0
+ */
+class BucketInfoWebsiteConfig {
+ /**
+ * Constructs a new BucketInfoWebsiteConfig
.
+ * @alias module:model/BucketInfoWebsiteConfig
+ */
+ constructor() {
+
+ BucketInfoWebsiteConfig.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a BucketInfoWebsiteConfig
from a 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/BucketInfoWebsiteConfig} obj Optional instance to populate.
+ * @return {module:model/BucketInfoWebsiteConfig} The populated BucketInfoWebsiteConfig
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BucketInfoWebsiteConfig();
+
+ if (data.hasOwnProperty('indexDocument')) {
+ obj['indexDocument'] = ApiClient.convertToType(data['indexDocument'], 'String');
+ }
+ if (data.hasOwnProperty('errorDocument')) {
+ obj['errorDocument'] = ApiClient.convertToType(data['errorDocument'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} indexDocument
+ */
+BucketInfoWebsiteConfig.prototype['indexDocument'] = undefined;
+
+/**
+ * @member {String} errorDocument
+ */
+BucketInfoWebsiteConfig.prototype['errorDocument'] = undefined;
+
+
+
+
+
+
+export default BucketInfoWebsiteConfig;
+
diff --git a/javascript/src/model/BucketKeyInfo.js b/javascript/src/model/BucketKeyInfo.js
new file mode 100644
index 0000000..1275ee5
--- /dev/null
+++ b/javascript/src/model/BucketKeyInfo.js
@@ -0,0 +1,96 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CreateBucketRequestLocalAliasAllow from './CreateBucketRequestLocalAliasAllow';
+
+/**
+ * The BucketKeyInfo model module.
+ * @module model/BucketKeyInfo
+ * @version v0.8.0
+ */
+class BucketKeyInfo {
+ /**
+ * Constructs a new BucketKeyInfo
.
+ * @alias module:model/BucketKeyInfo
+ */
+ constructor() {
+
+ BucketKeyInfo.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a BucketKeyInfo
from a 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/BucketKeyInfo} obj Optional instance to populate.
+ * @return {module:model/BucketKeyInfo} The populated BucketKeyInfo
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BucketKeyInfo();
+
+ if (data.hasOwnProperty('accessKeyId')) {
+ obj['accessKeyId'] = ApiClient.convertToType(data['accessKeyId'], 'String');
+ }
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('permissions')) {
+ obj['permissions'] = CreateBucketRequestLocalAliasAllow.constructFromObject(data['permissions']);
+ }
+ if (data.hasOwnProperty('bucketLocalAliases')) {
+ obj['bucketLocalAliases'] = ApiClient.convertToType(data['bucketLocalAliases'], ['String']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} accessKeyId
+ */
+BucketKeyInfo.prototype['accessKeyId'] = undefined;
+
+/**
+ * @member {String} name
+ */
+BucketKeyInfo.prototype['name'] = undefined;
+
+/**
+ * @member {module:model/CreateBucketRequestLocalAliasAllow} permissions
+ */
+BucketKeyInfo.prototype['permissions'] = undefined;
+
+/**
+ * @member {Array.ClusterLayout
.
+ * @alias module:model/ClusterLayout
+ * @param version {Number}
+ * @param roles {Object.ClusterLayout
from a 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/ClusterLayout} obj Optional instance to populate.
+ * @return {module:model/ClusterLayout} The populated ClusterLayout
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ClusterLayout();
+
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ }
+ if (data.hasOwnProperty('roles')) {
+ obj['roles'] = ApiClient.convertToType(data['roles'], {'String': NodeClusterInfo});
+ }
+ if (data.hasOwnProperty('stagedRoleChanges')) {
+ obj['stagedRoleChanges'] = ApiClient.convertToType(data['stagedRoleChanges'], {'String': NodeClusterInfo});
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Number} version
+ */
+ClusterLayout.prototype['version'] = undefined;
+
+/**
+ * @member {Object.CreateBucketRequest
.
+ * @alias module:model/CreateBucketRequest
+ */
+ constructor() {
+
+ CreateBucketRequest.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreateBucketRequest
from a 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/CreateBucketRequest} obj Optional instance to populate.
+ * @return {module:model/CreateBucketRequest} The populated CreateBucketRequest
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateBucketRequest();
+
+ if (data.hasOwnProperty('globalAlias')) {
+ obj['globalAlias'] = ApiClient.convertToType(data['globalAlias'], 'String');
+ }
+ if (data.hasOwnProperty('localAlias')) {
+ obj['localAlias'] = CreateBucketRequestLocalAlias.constructFromObject(data['localAlias']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} globalAlias
+ */
+CreateBucketRequest.prototype['globalAlias'] = undefined;
+
+/**
+ * @member {module:model/CreateBucketRequestLocalAlias} localAlias
+ */
+CreateBucketRequest.prototype['localAlias'] = undefined;
+
+
+
+
+
+
+export default CreateBucketRequest;
+
diff --git a/javascript/src/model/CreateBucketRequestLocalAlias.js b/javascript/src/model/CreateBucketRequestLocalAlias.js
new file mode 100644
index 0000000..00c6e7d
--- /dev/null
+++ b/javascript/src/model/CreateBucketRequestLocalAlias.js
@@ -0,0 +1,88 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CreateBucketRequestLocalAliasAllow from './CreateBucketRequestLocalAliasAllow';
+
+/**
+ * The CreateBucketRequestLocalAlias model module.
+ * @module model/CreateBucketRequestLocalAlias
+ * @version v0.8.0
+ */
+class CreateBucketRequestLocalAlias {
+ /**
+ * Constructs a new CreateBucketRequestLocalAlias
.
+ * @alias module:model/CreateBucketRequestLocalAlias
+ */
+ constructor() {
+
+ CreateBucketRequestLocalAlias.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreateBucketRequestLocalAlias
from a 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/CreateBucketRequestLocalAlias} obj Optional instance to populate.
+ * @return {module:model/CreateBucketRequestLocalAlias} The populated CreateBucketRequestLocalAlias
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateBucketRequestLocalAlias();
+
+ if (data.hasOwnProperty('accessKeyId')) {
+ obj['accessKeyId'] = ApiClient.convertToType(data['accessKeyId'], 'String');
+ }
+ if (data.hasOwnProperty('alias')) {
+ obj['alias'] = ApiClient.convertToType(data['alias'], 'String');
+ }
+ if (data.hasOwnProperty('allow')) {
+ obj['allow'] = CreateBucketRequestLocalAliasAllow.constructFromObject(data['allow']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} accessKeyId
+ */
+CreateBucketRequestLocalAlias.prototype['accessKeyId'] = undefined;
+
+/**
+ * @member {String} alias
+ */
+CreateBucketRequestLocalAlias.prototype['alias'] = undefined;
+
+/**
+ * @member {module:model/CreateBucketRequestLocalAliasAllow} allow
+ */
+CreateBucketRequestLocalAlias.prototype['allow'] = undefined;
+
+
+
+
+
+
+export default CreateBucketRequestLocalAlias;
+
diff --git a/javascript/src/model/CreateBucketRequestLocalAliasAllow.js b/javascript/src/model/CreateBucketRequestLocalAliasAllow.js
new file mode 100644
index 0000000..b7888ed
--- /dev/null
+++ b/javascript/src/model/CreateBucketRequestLocalAliasAllow.js
@@ -0,0 +1,87 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CreateBucketRequestLocalAliasAllow model module.
+ * @module model/CreateBucketRequestLocalAliasAllow
+ * @version v0.8.0
+ */
+class CreateBucketRequestLocalAliasAllow {
+ /**
+ * Constructs a new CreateBucketRequestLocalAliasAllow
.
+ * @alias module:model/CreateBucketRequestLocalAliasAllow
+ */
+ constructor() {
+
+ CreateBucketRequestLocalAliasAllow.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreateBucketRequestLocalAliasAllow
from a 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/CreateBucketRequestLocalAliasAllow} obj Optional instance to populate.
+ * @return {module:model/CreateBucketRequestLocalAliasAllow} The populated CreateBucketRequestLocalAliasAllow
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateBucketRequestLocalAliasAllow();
+
+ if (data.hasOwnProperty('read')) {
+ obj['read'] = ApiClient.convertToType(data['read'], 'Boolean');
+ }
+ if (data.hasOwnProperty('write')) {
+ obj['write'] = ApiClient.convertToType(data['write'], 'Boolean');
+ }
+ if (data.hasOwnProperty('owner')) {
+ obj['owner'] = ApiClient.convertToType(data['owner'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Boolean} read
+ */
+CreateBucketRequestLocalAliasAllow.prototype['read'] = undefined;
+
+/**
+ * @member {Boolean} write
+ */
+CreateBucketRequestLocalAliasAllow.prototype['write'] = undefined;
+
+/**
+ * @member {Boolean} owner
+ */
+CreateBucketRequestLocalAliasAllow.prototype['owner'] = undefined;
+
+
+
+
+
+
+export default CreateBucketRequestLocalAliasAllow;
+
diff --git a/javascript/src/model/GetNodes200Response.js b/javascript/src/model/GetNodes200Response.js
new file mode 100644
index 0000000..a00d797
--- /dev/null
+++ b/javascript/src/model/GetNodes200Response.js
@@ -0,0 +1,105 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import ClusterLayout from './ClusterLayout';
+import NodeNetworkInfo from './NodeNetworkInfo';
+
+/**
+ * The GetNodes200Response model module.
+ * @module model/GetNodes200Response
+ * @version v0.8.0
+ */
+class GetNodes200Response {
+ /**
+ * Constructs a new GetNodes200Response
.
+ * @alias module:model/GetNodes200Response
+ * @param node {String}
+ * @param garageVersion {String}
+ * @param knownNodes {Object.GetNodes200Response
from a 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/GetNodes200Response} obj Optional instance to populate.
+ * @return {module:model/GetNodes200Response} The populated GetNodes200Response
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new GetNodes200Response();
+
+ if (data.hasOwnProperty('node')) {
+ obj['node'] = ApiClient.convertToType(data['node'], 'String');
+ }
+ if (data.hasOwnProperty('garageVersion')) {
+ obj['garageVersion'] = ApiClient.convertToType(data['garageVersion'], 'String');
+ }
+ if (data.hasOwnProperty('knownNodes')) {
+ obj['knownNodes'] = ApiClient.convertToType(data['knownNodes'], {'String': NodeNetworkInfo});
+ }
+ if (data.hasOwnProperty('layout')) {
+ obj['layout'] = ClusterLayout.constructFromObject(data['layout']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} node
+ */
+GetNodes200Response.prototype['node'] = undefined;
+
+/**
+ * @member {String} garageVersion
+ */
+GetNodes200Response.prototype['garageVersion'] = undefined;
+
+/**
+ * @member {Object.ImportKeyRequest
.
+ * @alias module:model/ImportKeyRequest
+ * @param name {String}
+ * @param accessKeyId {String}
+ * @param secretAccessKey {String}
+ */
+ constructor(name, accessKeyId, secretAccessKey) {
+
+ ImportKeyRequest.initialize(this, name, accessKeyId, secretAccessKey);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, name, accessKeyId, secretAccessKey) {
+ obj['name'] = name;
+ obj['accessKeyId'] = accessKeyId;
+ obj['secretAccessKey'] = secretAccessKey;
+ }
+
+ /**
+ * Constructs a ImportKeyRequest
from a 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/ImportKeyRequest} obj Optional instance to populate.
+ * @return {module:model/ImportKeyRequest} The populated ImportKeyRequest
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ImportKeyRequest();
+
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('accessKeyId')) {
+ obj['accessKeyId'] = ApiClient.convertToType(data['accessKeyId'], 'String');
+ }
+ if (data.hasOwnProperty('secretAccessKey')) {
+ obj['secretAccessKey'] = ApiClient.convertToType(data['secretAccessKey'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} name
+ */
+ImportKeyRequest.prototype['name'] = undefined;
+
+/**
+ * @member {String} accessKeyId
+ */
+ImportKeyRequest.prototype['accessKeyId'] = undefined;
+
+/**
+ * @member {String} secretAccessKey
+ */
+ImportKeyRequest.prototype['secretAccessKey'] = undefined;
+
+
+
+
+
+
+export default ImportKeyRequest;
+
diff --git a/javascript/src/model/KeyInfo.js b/javascript/src/model/KeyInfo.js
new file mode 100644
index 0000000..de2d7d8
--- /dev/null
+++ b/javascript/src/model/KeyInfo.js
@@ -0,0 +1,105 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import KeyInfoBucketsInner from './KeyInfoBucketsInner';
+import KeyInfoPermissions from './KeyInfoPermissions';
+
+/**
+ * The KeyInfo model module.
+ * @module model/KeyInfo
+ * @version v0.8.0
+ */
+class KeyInfo {
+ /**
+ * Constructs a new KeyInfo
.
+ * @alias module:model/KeyInfo
+ */
+ constructor() {
+
+ KeyInfo.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a KeyInfo
from a 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/KeyInfo} obj Optional instance to populate.
+ * @return {module:model/KeyInfo} The populated KeyInfo
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new KeyInfo();
+
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('accessKeyId')) {
+ obj['accessKeyId'] = ApiClient.convertToType(data['accessKeyId'], 'String');
+ }
+ if (data.hasOwnProperty('secretAccessKey')) {
+ obj['secretAccessKey'] = ApiClient.convertToType(data['secretAccessKey'], 'String');
+ }
+ if (data.hasOwnProperty('permissions')) {
+ obj['permissions'] = KeyInfoPermissions.constructFromObject(data['permissions']);
+ }
+ if (data.hasOwnProperty('buckets')) {
+ obj['buckets'] = ApiClient.convertToType(data['buckets'], [KeyInfoBucketsInner]);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} name
+ */
+KeyInfo.prototype['name'] = undefined;
+
+/**
+ * @member {String} accessKeyId
+ */
+KeyInfo.prototype['accessKeyId'] = undefined;
+
+/**
+ * @member {String} secretAccessKey
+ */
+KeyInfo.prototype['secretAccessKey'] = undefined;
+
+/**
+ * @member {module:model/KeyInfoPermissions} permissions
+ */
+KeyInfo.prototype['permissions'] = undefined;
+
+/**
+ * @member {Array.KeyInfoBucketsInner
.
+ * @alias module:model/KeyInfoBucketsInner
+ */
+ constructor() {
+
+ KeyInfoBucketsInner.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a KeyInfoBucketsInner
from a 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/KeyInfoBucketsInner} obj Optional instance to populate.
+ * @return {module:model/KeyInfoBucketsInner} The populated KeyInfoBucketsInner
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new KeyInfoBucketsInner();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('globalAliases')) {
+ obj['globalAliases'] = ApiClient.convertToType(data['globalAliases'], ['String']);
+ }
+ if (data.hasOwnProperty('localAliases')) {
+ obj['localAliases'] = ApiClient.convertToType(data['localAliases'], ['String']);
+ }
+ if (data.hasOwnProperty('permissions')) {
+ obj['permissions'] = KeyInfoBucketsInnerPermissions.constructFromObject(data['permissions']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} id
+ */
+KeyInfoBucketsInner.prototype['id'] = undefined;
+
+/**
+ * @member {Array.KeyInfoBucketsInnerPermissions
.
+ * @alias module:model/KeyInfoBucketsInnerPermissions
+ */
+ constructor() {
+
+ KeyInfoBucketsInnerPermissions.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a KeyInfoBucketsInnerPermissions
from a 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/KeyInfoBucketsInnerPermissions} obj Optional instance to populate.
+ * @return {module:model/KeyInfoBucketsInnerPermissions} The populated KeyInfoBucketsInnerPermissions
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new KeyInfoBucketsInnerPermissions();
+
+ if (data.hasOwnProperty('read')) {
+ obj['read'] = ApiClient.convertToType(data['read'], 'Boolean');
+ }
+ if (data.hasOwnProperty('write')) {
+ obj['write'] = ApiClient.convertToType(data['write'], 'Boolean');
+ }
+ if (data.hasOwnProperty('owner')) {
+ obj['owner'] = ApiClient.convertToType(data['owner'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Boolean} read
+ */
+KeyInfoBucketsInnerPermissions.prototype['read'] = undefined;
+
+/**
+ * @member {Boolean} write
+ */
+KeyInfoBucketsInnerPermissions.prototype['write'] = undefined;
+
+/**
+ * @member {Boolean} owner
+ */
+KeyInfoBucketsInnerPermissions.prototype['owner'] = undefined;
+
+
+
+
+
+
+export default KeyInfoBucketsInnerPermissions;
+
diff --git a/javascript/src/model/KeyInfoPermissions.js b/javascript/src/model/KeyInfoPermissions.js
new file mode 100644
index 0000000..5ba0016
--- /dev/null
+++ b/javascript/src/model/KeyInfoPermissions.js
@@ -0,0 +1,71 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The KeyInfoPermissions model module.
+ * @module model/KeyInfoPermissions
+ * @version v0.8.0
+ */
+class KeyInfoPermissions {
+ /**
+ * Constructs a new KeyInfoPermissions
.
+ * @alias module:model/KeyInfoPermissions
+ */
+ constructor() {
+
+ KeyInfoPermissions.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a KeyInfoPermissions
from a 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/KeyInfoPermissions} obj Optional instance to populate.
+ * @return {module:model/KeyInfoPermissions} The populated KeyInfoPermissions
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new KeyInfoPermissions();
+
+ if (data.hasOwnProperty('createBucket')) {
+ obj['createBucket'] = ApiClient.convertToType(data['createBucket'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Boolean} createBucket
+ */
+KeyInfoPermissions.prototype['createBucket'] = undefined;
+
+
+
+
+
+
+export default KeyInfoPermissions;
+
diff --git a/javascript/src/model/LayoutVersion.js b/javascript/src/model/LayoutVersion.js
new file mode 100644
index 0000000..36e4a4c
--- /dev/null
+++ b/javascript/src/model/LayoutVersion.js
@@ -0,0 +1,71 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The LayoutVersion model module.
+ * @module model/LayoutVersion
+ * @version v0.8.0
+ */
+class LayoutVersion {
+ /**
+ * Constructs a new LayoutVersion
.
+ * @alias module:model/LayoutVersion
+ */
+ constructor() {
+
+ LayoutVersion.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a LayoutVersion
from a 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/LayoutVersion} obj Optional instance to populate.
+ * @return {module:model/LayoutVersion} The populated LayoutVersion
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new LayoutVersion();
+
+ if (data.hasOwnProperty('version')) {
+ obj['version'] = ApiClient.convertToType(data['version'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Number} version
+ */
+LayoutVersion.prototype['version'] = undefined;
+
+
+
+
+
+
+export default LayoutVersion;
+
diff --git a/javascript/src/model/ListBuckets200ResponseInner.js b/javascript/src/model/ListBuckets200ResponseInner.js
new file mode 100644
index 0000000..ef9668e
--- /dev/null
+++ b/javascript/src/model/ListBuckets200ResponseInner.js
@@ -0,0 +1,90 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import ListBuckets200ResponseInnerLocalAliasesInner from './ListBuckets200ResponseInnerLocalAliasesInner';
+
+/**
+ * The ListBuckets200ResponseInner model module.
+ * @module model/ListBuckets200ResponseInner
+ * @version v0.8.0
+ */
+class ListBuckets200ResponseInner {
+ /**
+ * Constructs a new ListBuckets200ResponseInner
.
+ * @alias module:model/ListBuckets200ResponseInner
+ * @param id {String}
+ */
+ constructor(id) {
+
+ ListBuckets200ResponseInner.initialize(this, id);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, id) {
+ obj['id'] = id;
+ }
+
+ /**
+ * Constructs a ListBuckets200ResponseInner
from a 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/ListBuckets200ResponseInner} obj Optional instance to populate.
+ * @return {module:model/ListBuckets200ResponseInner} The populated ListBuckets200ResponseInner
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ListBuckets200ResponseInner();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('globalAliases')) {
+ obj['globalAliases'] = ApiClient.convertToType(data['globalAliases'], ['String']);
+ }
+ if (data.hasOwnProperty('localAliases')) {
+ obj['localAliases'] = ApiClient.convertToType(data['localAliases'], [ListBuckets200ResponseInnerLocalAliasesInner]);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} id
+ */
+ListBuckets200ResponseInner.prototype['id'] = undefined;
+
+/**
+ * @member {Array.ListBuckets200ResponseInnerLocalAliasesInner
.
+ * @alias module:model/ListBuckets200ResponseInnerLocalAliasesInner
+ * @param alias {String}
+ * @param accessKeyId {String}
+ */
+ constructor(alias, accessKeyId) {
+
+ ListBuckets200ResponseInnerLocalAliasesInner.initialize(this, alias, accessKeyId);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, alias, accessKeyId) {
+ obj['alias'] = alias;
+ obj['accessKeyId'] = accessKeyId;
+ }
+
+ /**
+ * Constructs a ListBuckets200ResponseInnerLocalAliasesInner
from a 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/ListBuckets200ResponseInnerLocalAliasesInner} obj Optional instance to populate.
+ * @return {module:model/ListBuckets200ResponseInnerLocalAliasesInner} The populated ListBuckets200ResponseInnerLocalAliasesInner
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ListBuckets200ResponseInnerLocalAliasesInner();
+
+ if (data.hasOwnProperty('alias')) {
+ obj['alias'] = ApiClient.convertToType(data['alias'], 'String');
+ }
+ if (data.hasOwnProperty('accessKeyId')) {
+ obj['accessKeyId'] = ApiClient.convertToType(data['accessKeyId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} alias
+ */
+ListBuckets200ResponseInnerLocalAliasesInner.prototype['alias'] = undefined;
+
+/**
+ * @member {String} accessKeyId
+ */
+ListBuckets200ResponseInnerLocalAliasesInner.prototype['accessKeyId'] = undefined;
+
+
+
+
+
+
+export default ListBuckets200ResponseInnerLocalAliasesInner;
+
diff --git a/javascript/src/model/ListKeys200ResponseInner.js b/javascript/src/model/ListKeys200ResponseInner.js
new file mode 100644
index 0000000..b1ab612
--- /dev/null
+++ b/javascript/src/model/ListKeys200ResponseInner.js
@@ -0,0 +1,81 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ListKeys200ResponseInner model module.
+ * @module model/ListKeys200ResponseInner
+ * @version v0.8.0
+ */
+class ListKeys200ResponseInner {
+ /**
+ * Constructs a new ListKeys200ResponseInner
.
+ * @alias module:model/ListKeys200ResponseInner
+ * @param id {String}
+ */
+ constructor(id) {
+
+ ListKeys200ResponseInner.initialize(this, id);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, id) {
+ obj['id'] = id;
+ }
+
+ /**
+ * Constructs a ListKeys200ResponseInner
from a 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/ListKeys200ResponseInner} obj Optional instance to populate.
+ * @return {module:model/ListKeys200ResponseInner} The populated ListKeys200ResponseInner
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ListKeys200ResponseInner();
+
+ if (data.hasOwnProperty('id')) {
+ obj['id'] = ApiClient.convertToType(data['id'], 'String');
+ }
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} id
+ */
+ListKeys200ResponseInner.prototype['id'] = undefined;
+
+/**
+ * @member {String} name
+ */
+ListKeys200ResponseInner.prototype['name'] = undefined;
+
+
+
+
+
+
+export default ListKeys200ResponseInner;
+
diff --git a/javascript/src/model/NodeClusterInfo.js b/javascript/src/model/NodeClusterInfo.js
new file mode 100644
index 0000000..d1d9a26
--- /dev/null
+++ b/javascript/src/model/NodeClusterInfo.js
@@ -0,0 +1,94 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The NodeClusterInfo model module.
+ * @module model/NodeClusterInfo
+ * @version v0.8.0
+ */
+class NodeClusterInfo {
+ /**
+ * Constructs a new NodeClusterInfo
.
+ * @alias module:model/NodeClusterInfo
+ * @param zone {String}
+ * @param capacity {Number}
+ * @param tags {Array.NodeClusterInfo
from a 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/NodeClusterInfo} obj Optional instance to populate.
+ * @return {module:model/NodeClusterInfo} The populated NodeClusterInfo
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new NodeClusterInfo();
+
+ if (data.hasOwnProperty('zone')) {
+ obj['zone'] = ApiClient.convertToType(data['zone'], 'String');
+ }
+ if (data.hasOwnProperty('capacity')) {
+ obj['capacity'] = ApiClient.convertToType(data['capacity'], 'Number');
+ }
+ if (data.hasOwnProperty('tags')) {
+ obj['tags'] = ApiClient.convertToType(data['tags'], ['String']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} zone
+ */
+NodeClusterInfo.prototype['zone'] = undefined;
+
+/**
+ * @member {Number} capacity
+ */
+NodeClusterInfo.prototype['capacity'] = undefined;
+
+/**
+ * User defined tags, put whatever makes sense for you, these tags are not interpreted by Garage
+ * @member {Array.NodeNetworkInfo
.
+ * @alias module:model/NodeNetworkInfo
+ * @param addr {String}
+ * @param isUp {Boolean}
+ * @param lastSeenSecsAgo {Number}
+ * @param hostname {String}
+ */
+ constructor(addr, isUp, lastSeenSecsAgo, hostname) {
+
+ NodeNetworkInfo.initialize(this, addr, isUp, lastSeenSecsAgo, hostname);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, addr, isUp, lastSeenSecsAgo, hostname) {
+ obj['addr'] = addr;
+ obj['is_up'] = isUp;
+ obj['last_seen_secs_ago'] = lastSeenSecsAgo;
+ obj['hostname'] = hostname;
+ }
+
+ /**
+ * Constructs a NodeNetworkInfo
from a 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/NodeNetworkInfo} obj Optional instance to populate.
+ * @return {module:model/NodeNetworkInfo} The populated NodeNetworkInfo
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new NodeNetworkInfo();
+
+ if (data.hasOwnProperty('addr')) {
+ obj['addr'] = ApiClient.convertToType(data['addr'], 'String');
+ }
+ if (data.hasOwnProperty('is_up')) {
+ obj['is_up'] = ApiClient.convertToType(data['is_up'], 'Boolean');
+ }
+ if (data.hasOwnProperty('last_seen_secs_ago')) {
+ obj['last_seen_secs_ago'] = ApiClient.convertToType(data['last_seen_secs_ago'], 'Number');
+ }
+ if (data.hasOwnProperty('hostname')) {
+ obj['hostname'] = ApiClient.convertToType(data['hostname'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} addr
+ */
+NodeNetworkInfo.prototype['addr'] = undefined;
+
+/**
+ * @member {Boolean} is_up
+ */
+NodeNetworkInfo.prototype['is_up'] = undefined;
+
+/**
+ * @member {Number} last_seen_secs_ago
+ */
+NodeNetworkInfo.prototype['last_seen_secs_ago'] = undefined;
+
+/**
+ * @member {String} hostname
+ */
+NodeNetworkInfo.prototype['hostname'] = undefined;
+
+
+
+
+
+
+export default NodeNetworkInfo;
+
diff --git a/javascript/src/model/UpdateBucketRequest.js b/javascript/src/model/UpdateBucketRequest.js
new file mode 100644
index 0000000..4085301
--- /dev/null
+++ b/javascript/src/model/UpdateBucketRequest.js
@@ -0,0 +1,81 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import UpdateBucketRequestQuotas from './UpdateBucketRequestQuotas';
+import UpdateBucketRequestWebsiteAccess from './UpdateBucketRequestWebsiteAccess';
+
+/**
+ * The UpdateBucketRequest model module.
+ * @module model/UpdateBucketRequest
+ * @version v0.8.0
+ */
+class UpdateBucketRequest {
+ /**
+ * Constructs a new UpdateBucketRequest
.
+ * @alias module:model/UpdateBucketRequest
+ */
+ constructor() {
+
+ UpdateBucketRequest.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a UpdateBucketRequest
from a 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/UpdateBucketRequest} obj Optional instance to populate.
+ * @return {module:model/UpdateBucketRequest} The populated UpdateBucketRequest
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new UpdateBucketRequest();
+
+ if (data.hasOwnProperty('websiteAccess')) {
+ obj['websiteAccess'] = UpdateBucketRequestWebsiteAccess.constructFromObject(data['websiteAccess']);
+ }
+ if (data.hasOwnProperty('quotas')) {
+ obj['quotas'] = UpdateBucketRequestQuotas.constructFromObject(data['quotas']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {module:model/UpdateBucketRequestWebsiteAccess} websiteAccess
+ */
+UpdateBucketRequest.prototype['websiteAccess'] = undefined;
+
+/**
+ * @member {module:model/UpdateBucketRequestQuotas} quotas
+ */
+UpdateBucketRequest.prototype['quotas'] = undefined;
+
+
+
+
+
+
+export default UpdateBucketRequest;
+
diff --git a/javascript/src/model/UpdateBucketRequestQuotas.js b/javascript/src/model/UpdateBucketRequestQuotas.js
new file mode 100644
index 0000000..7ffc0d9
--- /dev/null
+++ b/javascript/src/model/UpdateBucketRequestQuotas.js
@@ -0,0 +1,79 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The UpdateBucketRequestQuotas model module.
+ * @module model/UpdateBucketRequestQuotas
+ * @version v0.8.0
+ */
+class UpdateBucketRequestQuotas {
+ /**
+ * Constructs a new UpdateBucketRequestQuotas
.
+ * @alias module:model/UpdateBucketRequestQuotas
+ */
+ constructor() {
+
+ UpdateBucketRequestQuotas.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a UpdateBucketRequestQuotas
from a 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/UpdateBucketRequestQuotas} obj Optional instance to populate.
+ * @return {module:model/UpdateBucketRequestQuotas} The populated UpdateBucketRequestQuotas
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new UpdateBucketRequestQuotas();
+
+ if (data.hasOwnProperty('maxSize')) {
+ obj['maxSize'] = ApiClient.convertToType(data['maxSize'], 'Number');
+ }
+ if (data.hasOwnProperty('maxObjects')) {
+ obj['maxObjects'] = ApiClient.convertToType(data['maxObjects'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Number} maxSize
+ */
+UpdateBucketRequestQuotas.prototype['maxSize'] = undefined;
+
+/**
+ * @member {Number} maxObjects
+ */
+UpdateBucketRequestQuotas.prototype['maxObjects'] = undefined;
+
+
+
+
+
+
+export default UpdateBucketRequestQuotas;
+
diff --git a/javascript/src/model/UpdateBucketRequestWebsiteAccess.js b/javascript/src/model/UpdateBucketRequestWebsiteAccess.js
new file mode 100644
index 0000000..8b088e0
--- /dev/null
+++ b/javascript/src/model/UpdateBucketRequestWebsiteAccess.js
@@ -0,0 +1,87 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The UpdateBucketRequestWebsiteAccess model module.
+ * @module model/UpdateBucketRequestWebsiteAccess
+ * @version v0.8.0
+ */
+class UpdateBucketRequestWebsiteAccess {
+ /**
+ * Constructs a new UpdateBucketRequestWebsiteAccess
.
+ * @alias module:model/UpdateBucketRequestWebsiteAccess
+ */
+ constructor() {
+
+ UpdateBucketRequestWebsiteAccess.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a UpdateBucketRequestWebsiteAccess
from a 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/UpdateBucketRequestWebsiteAccess} obj Optional instance to populate.
+ * @return {module:model/UpdateBucketRequestWebsiteAccess} The populated UpdateBucketRequestWebsiteAccess
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new UpdateBucketRequestWebsiteAccess();
+
+ if (data.hasOwnProperty('enabled')) {
+ obj['enabled'] = ApiClient.convertToType(data['enabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('indexDocument')) {
+ obj['indexDocument'] = ApiClient.convertToType(data['indexDocument'], 'String');
+ }
+ if (data.hasOwnProperty('errorDocument')) {
+ obj['errorDocument'] = ApiClient.convertToType(data['errorDocument'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Boolean} enabled
+ */
+UpdateBucketRequestWebsiteAccess.prototype['enabled'] = undefined;
+
+/**
+ * @member {String} indexDocument
+ */
+UpdateBucketRequestWebsiteAccess.prototype['indexDocument'] = undefined;
+
+/**
+ * @member {String} errorDocument
+ */
+UpdateBucketRequestWebsiteAccess.prototype['errorDocument'] = undefined;
+
+
+
+
+
+
+export default UpdateBucketRequestWebsiteAccess;
+
diff --git a/javascript/src/model/UpdateKeyRequest.js b/javascript/src/model/UpdateKeyRequest.js
new file mode 100644
index 0000000..c641e7f
--- /dev/null
+++ b/javascript/src/model/UpdateKeyRequest.js
@@ -0,0 +1,89 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import UpdateKeyRequestAllow from './UpdateKeyRequestAllow';
+import UpdateKeyRequestDeny from './UpdateKeyRequestDeny';
+
+/**
+ * The UpdateKeyRequest model module.
+ * @module model/UpdateKeyRequest
+ * @version v0.8.0
+ */
+class UpdateKeyRequest {
+ /**
+ * Constructs a new UpdateKeyRequest
.
+ * @alias module:model/UpdateKeyRequest
+ */
+ constructor() {
+
+ UpdateKeyRequest.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a UpdateKeyRequest
from a 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/UpdateKeyRequest} obj Optional instance to populate.
+ * @return {module:model/UpdateKeyRequest} The populated UpdateKeyRequest
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new UpdateKeyRequest();
+
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('allow')) {
+ obj['allow'] = UpdateKeyRequestAllow.constructFromObject(data['allow']);
+ }
+ if (data.hasOwnProperty('deny')) {
+ obj['deny'] = UpdateKeyRequestDeny.constructFromObject(data['deny']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} name
+ */
+UpdateKeyRequest.prototype['name'] = undefined;
+
+/**
+ * @member {module:model/UpdateKeyRequestAllow} allow
+ */
+UpdateKeyRequest.prototype['allow'] = undefined;
+
+/**
+ * @member {module:model/UpdateKeyRequestDeny} deny
+ */
+UpdateKeyRequest.prototype['deny'] = undefined;
+
+
+
+
+
+
+export default UpdateKeyRequest;
+
diff --git a/javascript/src/model/UpdateKeyRequestAllow.js b/javascript/src/model/UpdateKeyRequestAllow.js
new file mode 100644
index 0000000..18a7d70
--- /dev/null
+++ b/javascript/src/model/UpdateKeyRequestAllow.js
@@ -0,0 +1,71 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The UpdateKeyRequestAllow model module.
+ * @module model/UpdateKeyRequestAllow
+ * @version v0.8.0
+ */
+class UpdateKeyRequestAllow {
+ /**
+ * Constructs a new UpdateKeyRequestAllow
.
+ * @alias module:model/UpdateKeyRequestAllow
+ */
+ constructor() {
+
+ UpdateKeyRequestAllow.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a UpdateKeyRequestAllow
from a 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/UpdateKeyRequestAllow} obj Optional instance to populate.
+ * @return {module:model/UpdateKeyRequestAllow} The populated UpdateKeyRequestAllow
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new UpdateKeyRequestAllow();
+
+ if (data.hasOwnProperty('createBucket')) {
+ obj['createBucket'] = ApiClient.convertToType(data['createBucket'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Boolean} createBucket
+ */
+UpdateKeyRequestAllow.prototype['createBucket'] = undefined;
+
+
+
+
+
+
+export default UpdateKeyRequestAllow;
+
diff --git a/javascript/src/model/UpdateKeyRequestDeny.js b/javascript/src/model/UpdateKeyRequestDeny.js
new file mode 100644
index 0000000..cb0286d
--- /dev/null
+++ b/javascript/src/model/UpdateKeyRequestDeny.js
@@ -0,0 +1,71 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The UpdateKeyRequestDeny model module.
+ * @module model/UpdateKeyRequestDeny
+ * @version v0.8.0
+ */
+class UpdateKeyRequestDeny {
+ /**
+ * Constructs a new UpdateKeyRequestDeny
.
+ * @alias module:model/UpdateKeyRequestDeny
+ */
+ constructor() {
+
+ UpdateKeyRequestDeny.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a UpdateKeyRequestDeny
from a 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/UpdateKeyRequestDeny} obj Optional instance to populate.
+ * @return {module:model/UpdateKeyRequestDeny} The populated UpdateKeyRequestDeny
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new UpdateKeyRequestDeny();
+
+ if (data.hasOwnProperty('createBucket')) {
+ obj['createBucket'] = ApiClient.convertToType(data['createBucket'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Boolean} createBucket
+ */
+UpdateKeyRequestDeny.prototype['createBucket'] = undefined;
+
+
+
+
+
+
+export default UpdateKeyRequestDeny;
+
diff --git a/javascript/test/api/BucketApi.spec.js b/javascript/test/api/BucketApi.spec.js
new file mode 100644
index 0000000..185f8b7
--- /dev/null
+++ b/javascript/test/api/BucketApi.spec.js
@@ -0,0 +1,173 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.BucketApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('BucketApi', function() {
+ describe('allowBucketKey', function() {
+ it('should call allowBucketKey successfully', function(done) {
+ //uncomment below and update the code to test allowBucketKey
+ //instance.allowBucketKey(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('createBucket', function() {
+ it('should call createBucket successfully', function(done) {
+ //uncomment below and update the code to test createBucket
+ //instance.createBucket(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('deleteBucket', function() {
+ it('should call deleteBucket successfully', function(done) {
+ //uncomment below and update the code to test deleteBucket
+ //instance.deleteBucket(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('deleteBucketGlobalAlias', function() {
+ it('should call deleteBucketGlobalAlias successfully', function(done) {
+ //uncomment below and update the code to test deleteBucketGlobalAlias
+ //instance.deleteBucketGlobalAlias(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('deleteBucketLocalAlias', function() {
+ it('should call deleteBucketLocalAlias successfully', function(done) {
+ //uncomment below and update the code to test deleteBucketLocalAlias
+ //instance.deleteBucketLocalAlias(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('denyBucketKey', function() {
+ it('should call denyBucketKey successfully', function(done) {
+ //uncomment below and update the code to test denyBucketKey
+ //instance.denyBucketKey(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('findBucketInfo', function() {
+ it('should call findBucketInfo successfully', function(done) {
+ //uncomment below and update the code to test findBucketInfo
+ //instance.findBucketInfo(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('getBucketInfo', function() {
+ it('should call getBucketInfo successfully', function(done) {
+ //uncomment below and update the code to test getBucketInfo
+ //instance.getBucketInfo(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('listBuckets', function() {
+ it('should call listBuckets successfully', function(done) {
+ //uncomment below and update the code to test listBuckets
+ //instance.listBuckets(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('putBucketGlobalAlias', function() {
+ it('should call putBucketGlobalAlias successfully', function(done) {
+ //uncomment below and update the code to test putBucketGlobalAlias
+ //instance.putBucketGlobalAlias(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('putBucketLocalAlias', function() {
+ it('should call putBucketLocalAlias successfully', function(done) {
+ //uncomment below and update the code to test putBucketLocalAlias
+ //instance.putBucketLocalAlias(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('updateBucket', function() {
+ it('should call updateBucket successfully', function(done) {
+ //uncomment below and update the code to test updateBucket
+ //instance.updateBucket(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/javascript/test/api/KeyApi.spec.js b/javascript/test/api/KeyApi.spec.js
new file mode 100644
index 0000000..7dbc239
--- /dev/null
+++ b/javascript/test/api/KeyApi.spec.js
@@ -0,0 +1,123 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.KeyApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('KeyApi', function() {
+ describe('addKey', function() {
+ it('should call addKey successfully', function(done) {
+ //uncomment below and update the code to test addKey
+ //instance.addKey(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('deleteKey', function() {
+ it('should call deleteKey successfully', function(done) {
+ //uncomment below and update the code to test deleteKey
+ //instance.deleteKey(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('getKey', function() {
+ it('should call getKey successfully', function(done) {
+ //uncomment below and update the code to test getKey
+ //instance.getKey(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('importKey', function() {
+ it('should call importKey successfully', function(done) {
+ //uncomment below and update the code to test importKey
+ //instance.importKey(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('listKeys', function() {
+ it('should call listKeys successfully', function(done) {
+ //uncomment below and update the code to test listKeys
+ //instance.listKeys(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('searchKey', function() {
+ it('should call searchKey successfully', function(done) {
+ //uncomment below and update the code to test searchKey
+ //instance.searchKey(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('updateKey', function() {
+ it('should call updateKey successfully', function(done) {
+ //uncomment below and update the code to test updateKey
+ //instance.updateKey(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/javascript/test/api/LayoutApi.spec.js b/javascript/test/api/LayoutApi.spec.js
new file mode 100644
index 0000000..7971cbd
--- /dev/null
+++ b/javascript/test/api/LayoutApi.spec.js
@@ -0,0 +1,93 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.LayoutApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('LayoutApi', function() {
+ describe('addLayout', function() {
+ it('should call addLayout successfully', function(done) {
+ //uncomment below and update the code to test addLayout
+ //instance.addLayout(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('applyLayout', function() {
+ it('should call applyLayout successfully', function(done) {
+ //uncomment below and update the code to test applyLayout
+ //instance.applyLayout(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('getLayout', function() {
+ it('should call getLayout successfully', function(done) {
+ //uncomment below and update the code to test getLayout
+ //instance.getLayout(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('revertLayout', function() {
+ it('should call revertLayout successfully', function(done) {
+ //uncomment below and update the code to test revertLayout
+ //instance.revertLayout(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/javascript/test/api/NodesApi.spec.js b/javascript/test/api/NodesApi.spec.js
new file mode 100644
index 0000000..d4e548b
--- /dev/null
+++ b/javascript/test/api/NodesApi.spec.js
@@ -0,0 +1,73 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.NodesApi();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('NodesApi', function() {
+ describe('addNode', function() {
+ it('should call addNode successfully', function(done) {
+ //uncomment below and update the code to test addNode
+ //instance.addNode(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ describe('getNodes', function() {
+ it('should call getNodes successfully', function(done) {
+ //uncomment below and update the code to test getNodes
+ //instance.getNodes(function(error) {
+ // if (error) throw error;
+ //expect().to.be();
+ //});
+ done();
+ });
+ });
+ });
+
+}));
diff --git a/javascript/test/model/AddKeyRequest.spec.js b/javascript/test/model/AddKeyRequest.spec.js
new file mode 100644
index 0000000..e57362e
--- /dev/null
+++ b/javascript/test/model/AddKeyRequest.spec.js
@@ -0,0 +1,65 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.AddKeyRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('AddKeyRequest', function() {
+ it('should create an instance of AddKeyRequest', function() {
+ // uncomment below and update the code to test AddKeyRequest
+ //var instance = new GarageAdministrationApiV0garageV080.AddKeyRequest();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.AddKeyRequest);
+ });
+
+ it('should have the property name (base name: "name")', function() {
+ // uncomment below and update the code to test the property name
+ //var instance = new GarageAdministrationApiV0garageV080.AddKeyRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/AddNode200ResponseInner.spec.js b/javascript/test/model/AddNode200ResponseInner.spec.js
new file mode 100644
index 0000000..55dd7b3
--- /dev/null
+++ b/javascript/test/model/AddNode200ResponseInner.spec.js
@@ -0,0 +1,71 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.AddNode200ResponseInner();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('AddNode200ResponseInner', function() {
+ it('should create an instance of AddNode200ResponseInner', function() {
+ // uncomment below and update the code to test AddNode200ResponseInner
+ //var instance = new GarageAdministrationApiV0garageV080.AddNode200ResponseInner();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.AddNode200ResponseInner);
+ });
+
+ it('should have the property success (base name: "success")', function() {
+ // uncomment below and update the code to test the property success
+ //var instance = new GarageAdministrationApiV0garageV080.AddNode200ResponseInner();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property error (base name: "error")', function() {
+ // uncomment below and update the code to test the property error
+ //var instance = new GarageAdministrationApiV0garageV080.AddNode200ResponseInner();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/AllowBucketKeyRequest.spec.js b/javascript/test/model/AllowBucketKeyRequest.spec.js
new file mode 100644
index 0000000..6821481
--- /dev/null
+++ b/javascript/test/model/AllowBucketKeyRequest.spec.js
@@ -0,0 +1,77 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.AllowBucketKeyRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('AllowBucketKeyRequest', function() {
+ it('should create an instance of AllowBucketKeyRequest', function() {
+ // uncomment below and update the code to test AllowBucketKeyRequest
+ //var instance = new GarageAdministrationApiV0garageV080.AllowBucketKeyRequest();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.AllowBucketKeyRequest);
+ });
+
+ it('should have the property bucketId (base name: "bucketId")', function() {
+ // uncomment below and update the code to test the property bucketId
+ //var instance = new GarageAdministrationApiV0garageV080.AllowBucketKeyRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property accessKeyId (base name: "accessKeyId")', function() {
+ // uncomment below and update the code to test the property accessKeyId
+ //var instance = new GarageAdministrationApiV0garageV080.AllowBucketKeyRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property permissions (base name: "permissions")', function() {
+ // uncomment below and update the code to test the property permissions
+ //var instance = new GarageAdministrationApiV0garageV080.AllowBucketKeyRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/AllowBucketKeyRequestPermissions.spec.js b/javascript/test/model/AllowBucketKeyRequestPermissions.spec.js
new file mode 100644
index 0000000..b809da6
--- /dev/null
+++ b/javascript/test/model/AllowBucketKeyRequestPermissions.spec.js
@@ -0,0 +1,77 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.AllowBucketKeyRequestPermissions();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('AllowBucketKeyRequestPermissions', function() {
+ it('should create an instance of AllowBucketKeyRequestPermissions', function() {
+ // uncomment below and update the code to test AllowBucketKeyRequestPermissions
+ //var instance = new GarageAdministrationApiV0garageV080.AllowBucketKeyRequestPermissions();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.AllowBucketKeyRequestPermissions);
+ });
+
+ it('should have the property read (base name: "read")', function() {
+ // uncomment below and update the code to test the property read
+ //var instance = new GarageAdministrationApiV0garageV080.AllowBucketKeyRequestPermissions();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property write (base name: "write")', function() {
+ // uncomment below and update the code to test the property write
+ //var instance = new GarageAdministrationApiV0garageV080.AllowBucketKeyRequestPermissions();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property owner (base name: "owner")', function() {
+ // uncomment below and update the code to test the property owner
+ //var instance = new GarageAdministrationApiV0garageV080.AllowBucketKeyRequestPermissions();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/BucketInfo.spec.js b/javascript/test/model/BucketInfo.spec.js
new file mode 100644
index 0000000..6c62b35
--- /dev/null
+++ b/javascript/test/model/BucketInfo.spec.js
@@ -0,0 +1,113 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.BucketInfo();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('BucketInfo', function() {
+ it('should create an instance of BucketInfo', function() {
+ // uncomment below and update the code to test BucketInfo
+ //var instance = new GarageAdministrationApiV0garageV080.BucketInfo();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.BucketInfo);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new GarageAdministrationApiV0garageV080.BucketInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property globalAliases (base name: "globalAliases")', function() {
+ // uncomment below and update the code to test the property globalAliases
+ //var instance = new GarageAdministrationApiV0garageV080.BucketInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property websiteAccess (base name: "websiteAccess")', function() {
+ // uncomment below and update the code to test the property websiteAccess
+ //var instance = new GarageAdministrationApiV0garageV080.BucketInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property websiteConfig (base name: "websiteConfig")', function() {
+ // uncomment below and update the code to test the property websiteConfig
+ //var instance = new GarageAdministrationApiV0garageV080.BucketInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property keys (base name: "keys")', function() {
+ // uncomment below and update the code to test the property keys
+ //var instance = new GarageAdministrationApiV0garageV080.BucketInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property objects (base name: "objects")', function() {
+ // uncomment below and update the code to test the property objects
+ //var instance = new GarageAdministrationApiV0garageV080.BucketInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property bytes (base name: "bytes")', function() {
+ // uncomment below and update the code to test the property bytes
+ //var instance = new GarageAdministrationApiV0garageV080.BucketInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property unfinishedUploads (base name: "unfinishedUploads")', function() {
+ // uncomment below and update the code to test the property unfinishedUploads
+ //var instance = new GarageAdministrationApiV0garageV080.BucketInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property quotas (base name: "quotas")', function() {
+ // uncomment below and update the code to test the property quotas
+ //var instance = new GarageAdministrationApiV0garageV080.BucketInfo();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/BucketInfoQuotas.spec.js b/javascript/test/model/BucketInfoQuotas.spec.js
new file mode 100644
index 0000000..3dd6d8f
--- /dev/null
+++ b/javascript/test/model/BucketInfoQuotas.spec.js
@@ -0,0 +1,71 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.BucketInfoQuotas();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('BucketInfoQuotas', function() {
+ it('should create an instance of BucketInfoQuotas', function() {
+ // uncomment below and update the code to test BucketInfoQuotas
+ //var instance = new GarageAdministrationApiV0garageV080.BucketInfoQuotas();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.BucketInfoQuotas);
+ });
+
+ it('should have the property maxSize (base name: "maxSize")', function() {
+ // uncomment below and update the code to test the property maxSize
+ //var instance = new GarageAdministrationApiV0garageV080.BucketInfoQuotas();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property maxObjects (base name: "maxObjects")', function() {
+ // uncomment below and update the code to test the property maxObjects
+ //var instance = new GarageAdministrationApiV0garageV080.BucketInfoQuotas();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/BucketInfoWebsiteConfig.spec.js b/javascript/test/model/BucketInfoWebsiteConfig.spec.js
new file mode 100644
index 0000000..54bcfe9
--- /dev/null
+++ b/javascript/test/model/BucketInfoWebsiteConfig.spec.js
@@ -0,0 +1,71 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.BucketInfoWebsiteConfig();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('BucketInfoWebsiteConfig', function() {
+ it('should create an instance of BucketInfoWebsiteConfig', function() {
+ // uncomment below and update the code to test BucketInfoWebsiteConfig
+ //var instance = new GarageAdministrationApiV0garageV080.BucketInfoWebsiteConfig();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.BucketInfoWebsiteConfig);
+ });
+
+ it('should have the property indexDocument (base name: "indexDocument")', function() {
+ // uncomment below and update the code to test the property indexDocument
+ //var instance = new GarageAdministrationApiV0garageV080.BucketInfoWebsiteConfig();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property errorDocument (base name: "errorDocument")', function() {
+ // uncomment below and update the code to test the property errorDocument
+ //var instance = new GarageAdministrationApiV0garageV080.BucketInfoWebsiteConfig();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/BucketKeyInfo.spec.js b/javascript/test/model/BucketKeyInfo.spec.js
new file mode 100644
index 0000000..e74dd70
--- /dev/null
+++ b/javascript/test/model/BucketKeyInfo.spec.js
@@ -0,0 +1,83 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.BucketKeyInfo();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('BucketKeyInfo', function() {
+ it('should create an instance of BucketKeyInfo', function() {
+ // uncomment below and update the code to test BucketKeyInfo
+ //var instance = new GarageAdministrationApiV0garageV080.BucketKeyInfo();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.BucketKeyInfo);
+ });
+
+ it('should have the property accessKeyId (base name: "accessKeyId")', function() {
+ // uncomment below and update the code to test the property accessKeyId
+ //var instance = new GarageAdministrationApiV0garageV080.BucketKeyInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property name (base name: "name")', function() {
+ // uncomment below and update the code to test the property name
+ //var instance = new GarageAdministrationApiV0garageV080.BucketKeyInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property permissions (base name: "permissions")', function() {
+ // uncomment below and update the code to test the property permissions
+ //var instance = new GarageAdministrationApiV0garageV080.BucketKeyInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property bucketLocalAliases (base name: "bucketLocalAliases")', function() {
+ // uncomment below and update the code to test the property bucketLocalAliases
+ //var instance = new GarageAdministrationApiV0garageV080.BucketKeyInfo();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/ClusterLayout.spec.js b/javascript/test/model/ClusterLayout.spec.js
new file mode 100644
index 0000000..5f45493
--- /dev/null
+++ b/javascript/test/model/ClusterLayout.spec.js
@@ -0,0 +1,77 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.ClusterLayout();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('ClusterLayout', function() {
+ it('should create an instance of ClusterLayout', function() {
+ // uncomment below and update the code to test ClusterLayout
+ //var instance = new GarageAdministrationApiV0garageV080.ClusterLayout();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.ClusterLayout);
+ });
+
+ it('should have the property version (base name: "version")', function() {
+ // uncomment below and update the code to test the property version
+ //var instance = new GarageAdministrationApiV0garageV080.ClusterLayout();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property roles (base name: "roles")', function() {
+ // uncomment below and update the code to test the property roles
+ //var instance = new GarageAdministrationApiV0garageV080.ClusterLayout();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property stagedRoleChanges (base name: "stagedRoleChanges")', function() {
+ // uncomment below and update the code to test the property stagedRoleChanges
+ //var instance = new GarageAdministrationApiV0garageV080.ClusterLayout();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/CreateBucketRequest.spec.js b/javascript/test/model/CreateBucketRequest.spec.js
new file mode 100644
index 0000000..e54bb18
--- /dev/null
+++ b/javascript/test/model/CreateBucketRequest.spec.js
@@ -0,0 +1,71 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.CreateBucketRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('CreateBucketRequest', function() {
+ it('should create an instance of CreateBucketRequest', function() {
+ // uncomment below and update the code to test CreateBucketRequest
+ //var instance = new GarageAdministrationApiV0garageV080.CreateBucketRequest();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.CreateBucketRequest);
+ });
+
+ it('should have the property globalAlias (base name: "globalAlias")', function() {
+ // uncomment below and update the code to test the property globalAlias
+ //var instance = new GarageAdministrationApiV0garageV080.CreateBucketRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property localAlias (base name: "localAlias")', function() {
+ // uncomment below and update the code to test the property localAlias
+ //var instance = new GarageAdministrationApiV0garageV080.CreateBucketRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/CreateBucketRequestLocalAlias.spec.js b/javascript/test/model/CreateBucketRequestLocalAlias.spec.js
new file mode 100644
index 0000000..df7d0db
--- /dev/null
+++ b/javascript/test/model/CreateBucketRequestLocalAlias.spec.js
@@ -0,0 +1,77 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.CreateBucketRequestLocalAlias();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('CreateBucketRequestLocalAlias', function() {
+ it('should create an instance of CreateBucketRequestLocalAlias', function() {
+ // uncomment below and update the code to test CreateBucketRequestLocalAlias
+ //var instance = new GarageAdministrationApiV0garageV080.CreateBucketRequestLocalAlias();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.CreateBucketRequestLocalAlias);
+ });
+
+ it('should have the property accessKeyId (base name: "accessKeyId")', function() {
+ // uncomment below and update the code to test the property accessKeyId
+ //var instance = new GarageAdministrationApiV0garageV080.CreateBucketRequestLocalAlias();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property alias (base name: "alias")', function() {
+ // uncomment below and update the code to test the property alias
+ //var instance = new GarageAdministrationApiV0garageV080.CreateBucketRequestLocalAlias();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property allow (base name: "allow")', function() {
+ // uncomment below and update the code to test the property allow
+ //var instance = new GarageAdministrationApiV0garageV080.CreateBucketRequestLocalAlias();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/CreateBucketRequestLocalAliasAllow.spec.js b/javascript/test/model/CreateBucketRequestLocalAliasAllow.spec.js
new file mode 100644
index 0000000..f9269c7
--- /dev/null
+++ b/javascript/test/model/CreateBucketRequestLocalAliasAllow.spec.js
@@ -0,0 +1,77 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.CreateBucketRequestLocalAliasAllow();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('CreateBucketRequestLocalAliasAllow', function() {
+ it('should create an instance of CreateBucketRequestLocalAliasAllow', function() {
+ // uncomment below and update the code to test CreateBucketRequestLocalAliasAllow
+ //var instance = new GarageAdministrationApiV0garageV080.CreateBucketRequestLocalAliasAllow();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.CreateBucketRequestLocalAliasAllow);
+ });
+
+ it('should have the property read (base name: "read")', function() {
+ // uncomment below and update the code to test the property read
+ //var instance = new GarageAdministrationApiV0garageV080.CreateBucketRequestLocalAliasAllow();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property write (base name: "write")', function() {
+ // uncomment below and update the code to test the property write
+ //var instance = new GarageAdministrationApiV0garageV080.CreateBucketRequestLocalAliasAllow();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property owner (base name: "owner")', function() {
+ // uncomment below and update the code to test the property owner
+ //var instance = new GarageAdministrationApiV0garageV080.CreateBucketRequestLocalAliasAllow();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/GetNodes200Response.spec.js b/javascript/test/model/GetNodes200Response.spec.js
new file mode 100644
index 0000000..38012d6
--- /dev/null
+++ b/javascript/test/model/GetNodes200Response.spec.js
@@ -0,0 +1,83 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.GetNodes200Response();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('GetNodes200Response', function() {
+ it('should create an instance of GetNodes200Response', function() {
+ // uncomment below and update the code to test GetNodes200Response
+ //var instance = new GarageAdministrationApiV0garageV080.GetNodes200Response();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.GetNodes200Response);
+ });
+
+ it('should have the property node (base name: "node")', function() {
+ // uncomment below and update the code to test the property node
+ //var instance = new GarageAdministrationApiV0garageV080.GetNodes200Response();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property garageVersion (base name: "garageVersion")', function() {
+ // uncomment below and update the code to test the property garageVersion
+ //var instance = new GarageAdministrationApiV0garageV080.GetNodes200Response();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property knownNodes (base name: "knownNodes")', function() {
+ // uncomment below and update the code to test the property knownNodes
+ //var instance = new GarageAdministrationApiV0garageV080.GetNodes200Response();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property layout (base name: "layout")', function() {
+ // uncomment below and update the code to test the property layout
+ //var instance = new GarageAdministrationApiV0garageV080.GetNodes200Response();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/ImportKeyRequest.spec.js b/javascript/test/model/ImportKeyRequest.spec.js
new file mode 100644
index 0000000..e3ad68b
--- /dev/null
+++ b/javascript/test/model/ImportKeyRequest.spec.js
@@ -0,0 +1,77 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.ImportKeyRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('ImportKeyRequest', function() {
+ it('should create an instance of ImportKeyRequest', function() {
+ // uncomment below and update the code to test ImportKeyRequest
+ //var instance = new GarageAdministrationApiV0garageV080.ImportKeyRequest();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.ImportKeyRequest);
+ });
+
+ it('should have the property name (base name: "name")', function() {
+ // uncomment below and update the code to test the property name
+ //var instance = new GarageAdministrationApiV0garageV080.ImportKeyRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property accessKeyId (base name: "accessKeyId")', function() {
+ // uncomment below and update the code to test the property accessKeyId
+ //var instance = new GarageAdministrationApiV0garageV080.ImportKeyRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property secretAccessKey (base name: "secretAccessKey")', function() {
+ // uncomment below and update the code to test the property secretAccessKey
+ //var instance = new GarageAdministrationApiV0garageV080.ImportKeyRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/KeyInfo.spec.js b/javascript/test/model/KeyInfo.spec.js
new file mode 100644
index 0000000..59a81c9
--- /dev/null
+++ b/javascript/test/model/KeyInfo.spec.js
@@ -0,0 +1,89 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.KeyInfo();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('KeyInfo', function() {
+ it('should create an instance of KeyInfo', function() {
+ // uncomment below and update the code to test KeyInfo
+ //var instance = new GarageAdministrationApiV0garageV080.KeyInfo();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.KeyInfo);
+ });
+
+ it('should have the property name (base name: "name")', function() {
+ // uncomment below and update the code to test the property name
+ //var instance = new GarageAdministrationApiV0garageV080.KeyInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property accessKeyId (base name: "accessKeyId")', function() {
+ // uncomment below and update the code to test the property accessKeyId
+ //var instance = new GarageAdministrationApiV0garageV080.KeyInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property secretAccessKey (base name: "secretAccessKey")', function() {
+ // uncomment below and update the code to test the property secretAccessKey
+ //var instance = new GarageAdministrationApiV0garageV080.KeyInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property permissions (base name: "permissions")', function() {
+ // uncomment below and update the code to test the property permissions
+ //var instance = new GarageAdministrationApiV0garageV080.KeyInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property buckets (base name: "buckets")', function() {
+ // uncomment below and update the code to test the property buckets
+ //var instance = new GarageAdministrationApiV0garageV080.KeyInfo();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/KeyInfoBucketsInner.spec.js b/javascript/test/model/KeyInfoBucketsInner.spec.js
new file mode 100644
index 0000000..b7e6cc2
--- /dev/null
+++ b/javascript/test/model/KeyInfoBucketsInner.spec.js
@@ -0,0 +1,83 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.KeyInfoBucketsInner();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('KeyInfoBucketsInner', function() {
+ it('should create an instance of KeyInfoBucketsInner', function() {
+ // uncomment below and update the code to test KeyInfoBucketsInner
+ //var instance = new GarageAdministrationApiV0garageV080.KeyInfoBucketsInner();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.KeyInfoBucketsInner);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new GarageAdministrationApiV0garageV080.KeyInfoBucketsInner();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property globalAliases (base name: "globalAliases")', function() {
+ // uncomment below and update the code to test the property globalAliases
+ //var instance = new GarageAdministrationApiV0garageV080.KeyInfoBucketsInner();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property localAliases (base name: "localAliases")', function() {
+ // uncomment below and update the code to test the property localAliases
+ //var instance = new GarageAdministrationApiV0garageV080.KeyInfoBucketsInner();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property permissions (base name: "permissions")', function() {
+ // uncomment below and update the code to test the property permissions
+ //var instance = new GarageAdministrationApiV0garageV080.KeyInfoBucketsInner();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/KeyInfoBucketsInnerPermissions.spec.js b/javascript/test/model/KeyInfoBucketsInnerPermissions.spec.js
new file mode 100644
index 0000000..4843547
--- /dev/null
+++ b/javascript/test/model/KeyInfoBucketsInnerPermissions.spec.js
@@ -0,0 +1,77 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.KeyInfoBucketsInnerPermissions();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('KeyInfoBucketsInnerPermissions', function() {
+ it('should create an instance of KeyInfoBucketsInnerPermissions', function() {
+ // uncomment below and update the code to test KeyInfoBucketsInnerPermissions
+ //var instance = new GarageAdministrationApiV0garageV080.KeyInfoBucketsInnerPermissions();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.KeyInfoBucketsInnerPermissions);
+ });
+
+ it('should have the property read (base name: "read")', function() {
+ // uncomment below and update the code to test the property read
+ //var instance = new GarageAdministrationApiV0garageV080.KeyInfoBucketsInnerPermissions();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property write (base name: "write")', function() {
+ // uncomment below and update the code to test the property write
+ //var instance = new GarageAdministrationApiV0garageV080.KeyInfoBucketsInnerPermissions();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property owner (base name: "owner")', function() {
+ // uncomment below and update the code to test the property owner
+ //var instance = new GarageAdministrationApiV0garageV080.KeyInfoBucketsInnerPermissions();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/KeyInfoPermissions.spec.js b/javascript/test/model/KeyInfoPermissions.spec.js
new file mode 100644
index 0000000..b2476cf
--- /dev/null
+++ b/javascript/test/model/KeyInfoPermissions.spec.js
@@ -0,0 +1,65 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.KeyInfoPermissions();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('KeyInfoPermissions', function() {
+ it('should create an instance of KeyInfoPermissions', function() {
+ // uncomment below and update the code to test KeyInfoPermissions
+ //var instance = new GarageAdministrationApiV0garageV080.KeyInfoPermissions();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.KeyInfoPermissions);
+ });
+
+ it('should have the property createBucket (base name: "createBucket")', function() {
+ // uncomment below and update the code to test the property createBucket
+ //var instance = new GarageAdministrationApiV0garageV080.KeyInfoPermissions();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/LayoutVersion.spec.js b/javascript/test/model/LayoutVersion.spec.js
new file mode 100644
index 0000000..bf177f8
--- /dev/null
+++ b/javascript/test/model/LayoutVersion.spec.js
@@ -0,0 +1,65 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.LayoutVersion();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('LayoutVersion', function() {
+ it('should create an instance of LayoutVersion', function() {
+ // uncomment below and update the code to test LayoutVersion
+ //var instance = new GarageAdministrationApiV0garageV080.LayoutVersion();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.LayoutVersion);
+ });
+
+ it('should have the property version (base name: "version")', function() {
+ // uncomment below and update the code to test the property version
+ //var instance = new GarageAdministrationApiV0garageV080.LayoutVersion();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/ListBuckets200ResponseInner.spec.js b/javascript/test/model/ListBuckets200ResponseInner.spec.js
new file mode 100644
index 0000000..b9f219c
--- /dev/null
+++ b/javascript/test/model/ListBuckets200ResponseInner.spec.js
@@ -0,0 +1,77 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.ListBuckets200ResponseInner();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('ListBuckets200ResponseInner', function() {
+ it('should create an instance of ListBuckets200ResponseInner', function() {
+ // uncomment below and update the code to test ListBuckets200ResponseInner
+ //var instance = new GarageAdministrationApiV0garageV080.ListBuckets200ResponseInner();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.ListBuckets200ResponseInner);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new GarageAdministrationApiV0garageV080.ListBuckets200ResponseInner();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property globalAliases (base name: "globalAliases")', function() {
+ // uncomment below and update the code to test the property globalAliases
+ //var instance = new GarageAdministrationApiV0garageV080.ListBuckets200ResponseInner();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property localAliases (base name: "localAliases")', function() {
+ // uncomment below and update the code to test the property localAliases
+ //var instance = new GarageAdministrationApiV0garageV080.ListBuckets200ResponseInner();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/ListBuckets200ResponseInnerLocalAliasesInner.spec.js b/javascript/test/model/ListBuckets200ResponseInnerLocalAliasesInner.spec.js
new file mode 100644
index 0000000..a5bf4d6
--- /dev/null
+++ b/javascript/test/model/ListBuckets200ResponseInnerLocalAliasesInner.spec.js
@@ -0,0 +1,71 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.ListBuckets200ResponseInnerLocalAliasesInner();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('ListBuckets200ResponseInnerLocalAliasesInner', function() {
+ it('should create an instance of ListBuckets200ResponseInnerLocalAliasesInner', function() {
+ // uncomment below and update the code to test ListBuckets200ResponseInnerLocalAliasesInner
+ //var instance = new GarageAdministrationApiV0garageV080.ListBuckets200ResponseInnerLocalAliasesInner();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.ListBuckets200ResponseInnerLocalAliasesInner);
+ });
+
+ it('should have the property alias (base name: "alias")', function() {
+ // uncomment below and update the code to test the property alias
+ //var instance = new GarageAdministrationApiV0garageV080.ListBuckets200ResponseInnerLocalAliasesInner();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property accessKeyId (base name: "accessKeyId")', function() {
+ // uncomment below and update the code to test the property accessKeyId
+ //var instance = new GarageAdministrationApiV0garageV080.ListBuckets200ResponseInnerLocalAliasesInner();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/ListKeys200ResponseInner.spec.js b/javascript/test/model/ListKeys200ResponseInner.spec.js
new file mode 100644
index 0000000..310fe18
--- /dev/null
+++ b/javascript/test/model/ListKeys200ResponseInner.spec.js
@@ -0,0 +1,71 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.ListKeys200ResponseInner();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('ListKeys200ResponseInner', function() {
+ it('should create an instance of ListKeys200ResponseInner', function() {
+ // uncomment below and update the code to test ListKeys200ResponseInner
+ //var instance = new GarageAdministrationApiV0garageV080.ListKeys200ResponseInner();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.ListKeys200ResponseInner);
+ });
+
+ it('should have the property id (base name: "id")', function() {
+ // uncomment below and update the code to test the property id
+ //var instance = new GarageAdministrationApiV0garageV080.ListKeys200ResponseInner();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property name (base name: "name")', function() {
+ // uncomment below and update the code to test the property name
+ //var instance = new GarageAdministrationApiV0garageV080.ListKeys200ResponseInner();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/NodeClusterInfo.spec.js b/javascript/test/model/NodeClusterInfo.spec.js
new file mode 100644
index 0000000..ad1c7ae
--- /dev/null
+++ b/javascript/test/model/NodeClusterInfo.spec.js
@@ -0,0 +1,77 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.NodeClusterInfo();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('NodeClusterInfo', function() {
+ it('should create an instance of NodeClusterInfo', function() {
+ // uncomment below and update the code to test NodeClusterInfo
+ //var instance = new GarageAdministrationApiV0garageV080.NodeClusterInfo();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.NodeClusterInfo);
+ });
+
+ it('should have the property zone (base name: "zone")', function() {
+ // uncomment below and update the code to test the property zone
+ //var instance = new GarageAdministrationApiV0garageV080.NodeClusterInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property capacity (base name: "capacity")', function() {
+ // uncomment below and update the code to test the property capacity
+ //var instance = new GarageAdministrationApiV0garageV080.NodeClusterInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property tags (base name: "tags")', function() {
+ // uncomment below and update the code to test the property tags
+ //var instance = new GarageAdministrationApiV0garageV080.NodeClusterInfo();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/NodeNetworkInfo.spec.js b/javascript/test/model/NodeNetworkInfo.spec.js
new file mode 100644
index 0000000..d3d095c
--- /dev/null
+++ b/javascript/test/model/NodeNetworkInfo.spec.js
@@ -0,0 +1,83 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.NodeNetworkInfo();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('NodeNetworkInfo', function() {
+ it('should create an instance of NodeNetworkInfo', function() {
+ // uncomment below and update the code to test NodeNetworkInfo
+ //var instance = new GarageAdministrationApiV0garageV080.NodeNetworkInfo();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.NodeNetworkInfo);
+ });
+
+ it('should have the property addr (base name: "addr")', function() {
+ // uncomment below and update the code to test the property addr
+ //var instance = new GarageAdministrationApiV0garageV080.NodeNetworkInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property isUp (base name: "is_up")', function() {
+ // uncomment below and update the code to test the property isUp
+ //var instance = new GarageAdministrationApiV0garageV080.NodeNetworkInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property lastSeenSecsAgo (base name: "last_seen_secs_ago")', function() {
+ // uncomment below and update the code to test the property lastSeenSecsAgo
+ //var instance = new GarageAdministrationApiV0garageV080.NodeNetworkInfo();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property hostname (base name: "hostname")', function() {
+ // uncomment below and update the code to test the property hostname
+ //var instance = new GarageAdministrationApiV0garageV080.NodeNetworkInfo();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/UpdateBucketRequest.spec.js b/javascript/test/model/UpdateBucketRequest.spec.js
new file mode 100644
index 0000000..8c1d035
--- /dev/null
+++ b/javascript/test/model/UpdateBucketRequest.spec.js
@@ -0,0 +1,71 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.UpdateBucketRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('UpdateBucketRequest', function() {
+ it('should create an instance of UpdateBucketRequest', function() {
+ // uncomment below and update the code to test UpdateBucketRequest
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateBucketRequest();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.UpdateBucketRequest);
+ });
+
+ it('should have the property websiteAccess (base name: "websiteAccess")', function() {
+ // uncomment below and update the code to test the property websiteAccess
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateBucketRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property quotas (base name: "quotas")', function() {
+ // uncomment below and update the code to test the property quotas
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateBucketRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/UpdateBucketRequestQuotas.spec.js b/javascript/test/model/UpdateBucketRequestQuotas.spec.js
new file mode 100644
index 0000000..711ef1f
--- /dev/null
+++ b/javascript/test/model/UpdateBucketRequestQuotas.spec.js
@@ -0,0 +1,71 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.UpdateBucketRequestQuotas();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('UpdateBucketRequestQuotas', function() {
+ it('should create an instance of UpdateBucketRequestQuotas', function() {
+ // uncomment below and update the code to test UpdateBucketRequestQuotas
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateBucketRequestQuotas();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.UpdateBucketRequestQuotas);
+ });
+
+ it('should have the property maxSize (base name: "maxSize")', function() {
+ // uncomment below and update the code to test the property maxSize
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateBucketRequestQuotas();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property maxObjects (base name: "maxObjects")', function() {
+ // uncomment below and update the code to test the property maxObjects
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateBucketRequestQuotas();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/UpdateBucketRequestWebsiteAccess.spec.js b/javascript/test/model/UpdateBucketRequestWebsiteAccess.spec.js
new file mode 100644
index 0000000..6efba60
--- /dev/null
+++ b/javascript/test/model/UpdateBucketRequestWebsiteAccess.spec.js
@@ -0,0 +1,77 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.UpdateBucketRequestWebsiteAccess();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('UpdateBucketRequestWebsiteAccess', function() {
+ it('should create an instance of UpdateBucketRequestWebsiteAccess', function() {
+ // uncomment below and update the code to test UpdateBucketRequestWebsiteAccess
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateBucketRequestWebsiteAccess();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.UpdateBucketRequestWebsiteAccess);
+ });
+
+ it('should have the property enabled (base name: "enabled")', function() {
+ // uncomment below and update the code to test the property enabled
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateBucketRequestWebsiteAccess();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property indexDocument (base name: "indexDocument")', function() {
+ // uncomment below and update the code to test the property indexDocument
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateBucketRequestWebsiteAccess();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property errorDocument (base name: "errorDocument")', function() {
+ // uncomment below and update the code to test the property errorDocument
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateBucketRequestWebsiteAccess();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/UpdateKeyRequest.spec.js b/javascript/test/model/UpdateKeyRequest.spec.js
new file mode 100644
index 0000000..a9ee6f2
--- /dev/null
+++ b/javascript/test/model/UpdateKeyRequest.spec.js
@@ -0,0 +1,77 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.UpdateKeyRequest();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('UpdateKeyRequest', function() {
+ it('should create an instance of UpdateKeyRequest', function() {
+ // uncomment below and update the code to test UpdateKeyRequest
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateKeyRequest();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.UpdateKeyRequest);
+ });
+
+ it('should have the property name (base name: "name")', function() {
+ // uncomment below and update the code to test the property name
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateKeyRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property allow (base name: "allow")', function() {
+ // uncomment below and update the code to test the property allow
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateKeyRequest();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property deny (base name: "deny")', function() {
+ // uncomment below and update the code to test the property deny
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateKeyRequest();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/UpdateKeyRequestAllow.spec.js b/javascript/test/model/UpdateKeyRequestAllow.spec.js
new file mode 100644
index 0000000..0ec156a
--- /dev/null
+++ b/javascript/test/model/UpdateKeyRequestAllow.spec.js
@@ -0,0 +1,65 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.UpdateKeyRequestAllow();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('UpdateKeyRequestAllow', function() {
+ it('should create an instance of UpdateKeyRequestAllow', function() {
+ // uncomment below and update the code to test UpdateKeyRequestAllow
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateKeyRequestAllow();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.UpdateKeyRequestAllow);
+ });
+
+ it('should have the property createBucket (base name: "createBucket")', function() {
+ // uncomment below and update the code to test the property createBucket
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateKeyRequestAllow();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/javascript/test/model/UpdateKeyRequestDeny.spec.js b/javascript/test/model/UpdateKeyRequestDeny.spec.js
new file mode 100644
index 0000000..baf3192
--- /dev/null
+++ b/javascript/test/model/UpdateKeyRequestDeny.spec.js
@@ -0,0 +1,65 @@
+/**
+ * Garage Administration API v0+garage-v0.8.0
+ * Administrate your Garage cluster programatically, including status, layout, keys, buckets, and maintainance tasks. *Disclaimer: The API is not stable yet, hence its v0 tag. The API can change at any time, and changes can include breaking backward compatibility. Read the changelog and upgrade your scripts before upgrading. Additionnaly, this specification is very early stage and can contain bugs, especially on error return codes/types that are not tested yet. Do not expect a well finished and polished product!*
+ *
+ * The version of the OpenAPI document: v0.8.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.GarageAdministrationApiV0garageV080);
+ }
+}(this, function(expect, GarageAdministrationApiV0garageV080) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new GarageAdministrationApiV0garageV080.UpdateKeyRequestDeny();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('UpdateKeyRequestDeny', function() {
+ it('should create an instance of UpdateKeyRequestDeny', function() {
+ // uncomment below and update the code to test UpdateKeyRequestDeny
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateKeyRequestDeny();
+ //expect(instance).to.be.a(GarageAdministrationApiV0garageV080.UpdateKeyRequestDeny);
+ });
+
+ it('should have the property createBucket (base name: "createBucket")', function() {
+ // uncomment below and update the code to test the property createBucket
+ //var instance = new GarageAdministrationApiV0garageV080.UpdateKeyRequestDeny();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));