/*
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 * 
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

'use strict';

/**
 * @class
 * Initializes a new instance of the Workspace class.
 * @constructor
 * @member {string} [id] Workspace id
 * 
 * @member {string} [name] Workspace name
 * 
 * @member {string} [type] Resource type
 * 
 * @member {object} [properties] Property bag
 * 
 */
function Workspace() {
}

/**
 * Defines the metadata of Workspace
 *
 * @returns {object} metadata of Workspace
 *
 */
Workspace.prototype.mapper = function () {
  return {
    required: false,
    serializedName: 'Workspace',
    type: {
      name: 'Composite',
      className: 'Workspace',
      modelProperties: {
        id: {
          required: false,
          serializedName: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          required: false,
          serializedName: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          required: false,
          serializedName: 'type',
          type: {
            name: 'String'
          }
        },
        properties: {
          required: false,
          serializedName: 'properties',
          type: {
            name: 'Object'
          }
        }
      }
    }
  };
};

module.exports = Workspace;
