
Replace the Vue v2 webapp with a Vue v3 one, and embed the OpenAPI client in the webapp itself (instead of being its own npm project). - Vue v2.x -> v3.x - Tabulator v4.x -> v5.1 - Moment JS -> replaced with Luxon JS - Vue CLI/UI -> replaced with Vite
76 lines
2.2 KiB
JavaScript
76 lines
2.2 KiB
JavaScript
/**
|
|
* Flamenco manager
|
|
* Render Farm manager API
|
|
*
|
|
* The version of the OpenAPI document: 1.0.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 ShamanFileSpec from './ShamanFileSpec';
|
|
|
|
/**
|
|
* The ShamanRequirementsRequest model module.
|
|
* @module model/ShamanRequirementsRequest
|
|
* @version 0.0.0
|
|
*/
|
|
class ShamanRequirementsRequest {
|
|
/**
|
|
* Constructs a new <code>ShamanRequirementsRequest</code>.
|
|
* Set of files with their SHA256 checksum and size in bytes.
|
|
* @alias module:model/ShamanRequirementsRequest
|
|
* @param files {Array.<module:model/ShamanFileSpec>}
|
|
*/
|
|
constructor(files) {
|
|
|
|
ShamanRequirementsRequest.initialize(this, files);
|
|
}
|
|
|
|
/**
|
|
* Initializes the fields of 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, files) {
|
|
obj['files'] = files;
|
|
}
|
|
|
|
/**
|
|
* Constructs a <code>ShamanRequirementsRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
* @param {module:model/ShamanRequirementsRequest} obj Optional instance to populate.
|
|
* @return {module:model/ShamanRequirementsRequest} The populated <code>ShamanRequirementsRequest</code> instance.
|
|
*/
|
|
static constructFromObject(data, obj) {
|
|
if (data) {
|
|
obj = obj || new ShamanRequirementsRequest();
|
|
|
|
if (data.hasOwnProperty('files')) {
|
|
obj['files'] = ApiClient.convertToType(data['files'], [ShamanFileSpec]);
|
|
}
|
|
}
|
|
return obj;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
/**
|
|
* @member {Array.<module:model/ShamanFileSpec>} files
|
|
*/
|
|
ShamanRequirementsRequest.prototype['files'] = undefined;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default ShamanRequirementsRequest;
|
|
|