Sha256: dc9607c0f5beb3167fb1b93457cdb1870aea75de70ee4866608504f71456795d

Contents?: true

Size: 1.83 KB

Versions: 3

Compression:

Stored size: 1.83 KB

Contents

# 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.5.0.36/generated/azure_service_fabric/models/gateway_destination.rb
azure_service_fabric-0.18.0 lib/6.5.0.36/generated/azure_service_fabric/models/gateway_destination.rb
azure_service_fabric-0.17.2 lib/6.5.0.36/generated/azure_service_fabric/models/gateway_destination.rb