/*
 * 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 TypeFieldInfo class.
 * @constructor
 * A Data Lake Analytics catalog type field information item.
 *
 * @member {string} [name] the name of the field associated with this type.
 * 
 * @member {string} [type] the type of the field.
 * 
 */
function TypeFieldInfo() {
}

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

module.exports = TypeFieldInfo;
