/*
 * 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 settings for remote management of a device.
 *
 */
class RemoteManagementSettings {
  /**
   * Create a RemoteManagementSettings.
   * @member {string} remoteManagementMode The remote management mode. Possible
   * values include: 'Unknown', 'Disabled', 'HttpsEnabled',
   * 'HttpsAndHttpEnabled'
   * @member {string} [remoteManagementCertificate] The remote management
   * certificates.
   */
  constructor() {
  }

  /**
   * Defines the metadata of RemoteManagementSettings
   *
   * @returns {object} metadata of RemoteManagementSettings
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'RemoteManagementSettings',
      type: {
        name: 'Composite',
        className: 'RemoteManagementSettings',
        modelProperties: {
          remoteManagementMode: {
            required: true,
            serializedName: 'remoteManagementMode',
            type: {
              name: 'Enum',
              allowedValues: [ 'Unknown', 'Disabled', 'HttpsEnabled', 'HttpsAndHttpEnabled' ]
            }
          },
          remoteManagementCertificate: {
            required: false,
            serializedName: 'remoteManagementCertificate',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
}

module.exports = RemoteManagementSettings;
