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

/**
 * Geo-physical location to run a web test from. You must specify one or more
 * locations for the test to run from.
 *
 */
class WebTestGeolocation {
  /**
   * Create a WebTestGeolocation.
   * @member {string} [location] Location ID for the webtest to run from.
   */
  constructor() {
  }

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

module.exports = WebTestGeolocation;
