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

/**
 * Column definition
 *
 */
class DataTableResponseColumn {
  /**
   * Create a DataTableResponseColumn.
   * @member {string} [columnName] Name of the column
   * @member {string} [dataType] Data type which looks like 'String' or
   * 'Int32'.
   * @member {string} [columnType] Column Type
   */
  constructor() {
  }

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

module.exports = DataTableResponseColumn;
