Source: model/SandboxReadyResponse.js

/*
 * Signadot API
 * API for Signadot Sandboxes
 *
 * OpenAPI spec version: 1.0
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 *
 * Swagger Codegen version: 2.4.25
 *
 * Do not edit the class manually.
 *
 */

import {ApiClient} from '../ApiClient';

/**
 * The SandboxReadyResponse model module.
 * @module model/SandboxReadyResponse
 */
export class SandboxReadyResponse {
  /**
   * Constructs a new <code>SandboxReadyResponse</code>.
   * @alias module:model/SandboxReadyResponse
   * @class
   */
  constructor() {
  }

  /**
   * Constructs a <code>SandboxReadyResponse</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/SandboxReadyResponse} obj Optional instance to populate.
   * @return {module:model/SandboxReadyResponse} The populated <code>SandboxReadyResponse</code> instance.
   */
  static constructFromObject(data, obj) {
    if (data) {
      obj = obj || new SandboxReadyResponse();
      if (data.hasOwnProperty('ready'))
        obj.ready = ApiClient.convertToType(data['ready'], 'Boolean');
    }
    return obj;
  }
}

/**
 * @member {Boolean} ready
 */
SandboxReadyResponse.prototype.ready = undefined;