# 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::Signalr::Mgmt::V2018_03_01_preview
  module Models
    #
    # Settings used to provision or configure the resource.
    #
    class SignalRCreateOrUpdateProperties

      include MsRestAzure

      # @return [String] Prefix for the hostName of the SignalR service.
      # Retained for future use.
      # The hostname will be of format:
      # &lt;hostNamePrefix&gt;.service.signalr.net.
      attr_accessor :host_name_prefix


      #
      # Mapper for SignalRCreateOrUpdateProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SignalRCreateOrUpdateProperties',
          type: {
            name: 'Composite',
            class_name: 'SignalRCreateOrUpdateProperties',
            model_properties: {
              host_name_prefix: {
                client_side_validation: true,
                required: false,
                serialized_name: 'hostNamePrefix',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
