UNPKG

@vrspace/babylonjs

Version:

vrspace.org babylonjs client

90 lines (68 loc) 2.49 kB
/** * OpenAPI definition * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v0 * * * 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.js'; import { WelcomeWelcome } from './WelcomeWelcome.js'; /** * The Welcome model module. * @module model/Welcome * @version v0 */ export class Welcome { /** * Constructs a new <code>Welcome</code>. * @alias Welcome */ constructor() { /** Welcome * @type {WelcomeWelcome} */ this.Welcome = undefined; Welcome.initialize(this); } /** * Initializes the fields of 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>Welcome</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 {Welcome} obj Optional instance to populate. * @return {Welcome} The populated <code>Welcome</code> instance. */ static constructFromObject(data, obj) { if (data) { obj = obj || new Welcome(); if (data.hasOwnProperty('Welcome')) { obj['Welcome'] = WelcomeWelcome.constructFromObject(data['Welcome']); } } return obj; } /** * Validates the JSON data with respect to <code>Welcome</code>. * @param {Object} data The plain JavaScript object bearing properties of interest. * @return {boolean} to indicate whether the JSON data is valid with respect to <code>Welcome</code>. */ static validateJSON(data) { // validate the optional field `Welcome` if (data['Welcome']) { // data not null WelcomeWelcome.validateJSON(data['Welcome']); } return true; } } export default Welcome;