# 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::ContainerService::Mgmt::V2019_09_30_preview
  module Models
    #
    # Represents an OpenShift router
    #
    class OpenShiftRouterProfile

      include MsRestAzure

      # @return [String] Name of the router profile.
      attr_accessor :name

      # @return [String] DNS subdomain for OpenShift router.
      attr_accessor :public_subdomain

      # @return [String] Auto-allocated FQDN for the OpenShift router.
      attr_accessor :fqdn


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