Sybren A. Stüvel 555c935790 Web: Replace Vue 2 with Vue 3 webapp
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
2022-04-12 12:34:49 +02:00

116 lines
3.1 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 JobStatus from './JobStatus';
/**
* The JobsQuery model module.
* @module model/JobsQuery
* @version 0.0.0
*/
class JobsQuery {
/**
* Constructs a new <code>JobsQuery</code>.
* @alias module:model/JobsQuery
*/
constructor() {
JobsQuery.initialize(this);
}
/**
* Initializes the fields of 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 <code>JobsQuery</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/JobsQuery} obj Optional instance to populate.
* @return {module:model/JobsQuery} The populated <code>JobsQuery</code> instance.
*/
static constructFromObject(data, obj) {
if (data) {
obj = obj || new JobsQuery();
if (data.hasOwnProperty('offset')) {
obj['offset'] = ApiClient.convertToType(data['offset'], 'Number');
}
if (data.hasOwnProperty('limit')) {
obj['limit'] = ApiClient.convertToType(data['limit'], 'Number');
}
if (data.hasOwnProperty('order_by')) {
obj['order_by'] = ApiClient.convertToType(data['order_by'], ['String']);
}
if (data.hasOwnProperty('status_in')) {
obj['status_in'] = ApiClient.convertToType(data['status_in'], [JobStatus]);
}
if (data.hasOwnProperty('metadata')) {
obj['metadata'] = ApiClient.convertToType(data['metadata'], {'String': 'String'});
}
if (data.hasOwnProperty('settings')) {
obj['settings'] = ApiClient.convertToType(data['settings'], {'String': Object});
}
}
return obj;
}
}
/**
* @member {Number} offset
*/
JobsQuery.prototype['offset'] = undefined;
/**
* @member {Number} limit
*/
JobsQuery.prototype['limit'] = undefined;
/**
* @member {Array.<String>} order_by
*/
JobsQuery.prototype['order_by'] = undefined;
/**
* Return only jobs with a status in this array.
* @member {Array.<module:model/JobStatus>} status_in
*/
JobsQuery.prototype['status_in'] = undefined;
/**
* Filter by metadata, using `LIKE` notation.
* @member {Object.<String, String>} metadata
*/
JobsQuery.prototype['metadata'] = undefined;
/**
* Filter by job settings, using `LIKE` notation.
* @member {Object.<String, Object>} settings
*/
JobsQuery.prototype['settings'] = undefined;
export default JobsQuery;