/*
 * 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 CheckNameRequest class.
 * @constructor
 * @member {string} [name] Workspace collection name
 * 
 * @member {string} [type] Resource type. Default value:
 * 'Microsoft.PowerBI/workspaceCollections' .
 * 
 */
function CheckNameRequest() {
}

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

module.exports = CheckNameRequest;
