# 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::ServiceFabric::V6_5_0_36
  module Models
    #
    # Describes destination endpoint for routing traffic.
    #
    class GatewayDestination

      include MsRestAzure

      # @return [String] Name of the service fabric Mesh application.
      attr_accessor :application_name

      # @return [String] service that contains the endpoint.
      attr_accessor :service_name

      # @return [String] name of the endpoint in the service.
      attr_accessor :endpoint_name


      #
      # Mapper for GatewayDestination class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'GatewayDestination',
          type: {
            name: 'Composite',
            class_name: 'GatewayDestination',
            model_properties: {
              application_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'applicationName',
                type: {
                  name: 'String'
                }
              },
              service_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'serviceName',
                type: {
                  name: 'String'
                }
              },
              endpoint_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'endpointName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
