# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceBus::Mgmt::V2017_04_01
  module Models
    #
    # Namespace Migrate Object
    #
    class SBNamespaceMigrate

      include MsRestAzure

      # @return [NameSpaceType] Type of namespaces. Possible values include:
      # 'Messaging', 'NotificationHub', 'Mixed', 'EventHub', 'Relay'
      attr_accessor :target_namespace_type


      #
      # Mapper for SBNamespaceMigrate class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SBNamespaceMigrate',
          type: {
            name: 'Composite',
            class_name: 'SBNamespaceMigrate',
            model_properties: {
              target_namespace_type: {
                client_side_validation: true,
                required: true,
                serialized_name: 'targetNamespaceType',
                type: {
                  name: 'Enum',
                  module: 'NameSpaceType'
                }
              }
            }
          }
        }
      end
    end
  end
end
