{"size": 1344, "ext": "js", "max_stars_repo_path": "api/generated/nodejs/azure-iiot-opc-registry/lib/models/gatewayQueryApiModel.js", "max_stars_repo_name": "jaz230/Industrial-IoT", "max_stars_repo_stars_event_min_datetime": "2020-01-22T12:03:08.000Z", "max_stars_repo_stars_event_max_datetime": "2020-01-22T12:03:08.000Z", "max_issues_repo_path": "api/generated/nodejs/azure-iiot-opc-registry/lib/models/gatewayQueryApiModel.js", "max_issues_repo_name": "likithadt/Industrial-IoT", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "api/generated/nodejs/azure-iiot-opc-registry/lib/models/gatewayQueryApiModel.js", "max_forks_repo_name": "likithadt/Industrial-IoT", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.0327868852, "max_line_length": 74, "alphanum_fraction": 0.5773809524}
/*
 * 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 1.0.0.0
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

'use strict';

/**
 * Gateway registration query
 *
 */
class GatewayQueryApiModel {
  /**
   * Create a GatewayQueryApiModel.
   * @property {string} [siteId] Site of the Gateway
   * @property {boolean} [connected] Included connected or disconnected
   */
  constructor() {
  }

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

module.exports = GatewayQueryApiModel;
