/*
 * 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 0.16.0.0
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

'use strict';

/**
 * @class
 * Initializes a new instance of the DnsNameAvailabilityResult class.
 * @constructor
 * Response for CheckDnsNameAvailability Api servive call
 * @member {boolean} [available] Domain availability (True/False)
 * 
 */
function DnsNameAvailabilityResult() {
}

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

module.exports = DnsNameAvailabilityResult;
