/*
 * 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 CsmSlotEntity class.
 * @constructor
 * Class containing deployment slot parameters
 *
 * @member {string} [targetSlot] Set the destination deployment slot during
 * swap operation
 * 
 * @member {boolean} [preserveVnet] Get or set the flag indicating it should
 * preserve VNet to the slot during swap
 * 
 */
function CsmSlotEntity() {
}

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

module.exports = CsmSlotEntity;
