/*
 * 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';

/**
 * The folder that this Dataset is in. If not specified, Dataset will appear at
 * the root level.
 *
 */
class DatasetFolder {
  /**
   * Create a DatasetFolder.
   * @member {string} [name] The name of the folder that this Dataset is in.
   */
  constructor() {
  }

  /**
   * Defines the metadata of DatasetFolder
   *
   * @returns {object} metadata of DatasetFolder
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'Dataset_folder',
      type: {
        name: 'Composite',
        className: 'DatasetFolder',
        modelProperties: {
          name: {
            required: false,
            serializedName: 'name',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
}

module.exports = DatasetFolder;
