/*
* 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';
import {SandboxDetails} from './SandboxDetails';
/**
* The GetSandboxByIdResponse model module.
* @module model/GetSandboxByIdResponse
*/
export class GetSandboxByIdResponse {
/**
* Constructs a new <code>GetSandboxByIdResponse</code>.
* @alias module:model/GetSandboxByIdResponse
* @class
*/
constructor() {
}
/**
* Constructs a <code>GetSandboxByIdResponse</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/GetSandboxByIdResponse} obj Optional instance to populate.
* @return {module:model/GetSandboxByIdResponse} The populated <code>GetSandboxByIdResponse</code> instance.
*/
static constructFromObject(data, obj) {
if (data) {
obj = obj || new GetSandboxByIdResponse();
if (data.hasOwnProperty('sandbox'))
obj.sandbox = SandboxDetails.constructFromObject(data['sandbox']);
}
return obj;
}
}
/**
* @member {module:model/SandboxDetails} sandbox
*/
GetSandboxByIdResponse.prototype.sandbox = undefined;