Source: responses/network-storage-object.js

/**
 * Copyright© 2016, Oracle and/or its affiliates. All rights reserved.
 * Created by Yuri Panshin on 2016-08-26.
 */

/**
 * Class that provides network storage object details.
 * @constructor
 * @global
 */
function NetworkStorageObject(statusCode, storageObject) {

  /**
   * The network status code.
   * @type {Number}
   */
  this.statusCode = statusCode;

  /**
   * The error data.
   * @type {StorageObject}
   */
  this.storageObject = storageObject;
}