/**
* 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;