Sha256: b808780d5b843d9d4b60710e0f7a6ca92b15b082e6149196cf6707278024fec3

Contents?: true

Size: 1.8 KB

Versions: 5

Compression:

Stored size: 1.8 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_4_0_36
  module Models
    #
    # Describes header information for http route matching.
    #
    class HttpRouteMatchHeader

      include MsRestAzure

      # @return [String] Name of header to match in request.
      attr_accessor :name

      # @return [String] Value of header to match in request.
      attr_accessor :value

      # @return [HeaderMatchType] how to match header value. Possible values
      # include: 'exact'
      attr_accessor :type


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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.4.0.36/generated/azure_service_fabric/models/http_route_match_header.rb
azure_service_fabric-0.18.0 lib/6.4.0.36/generated/azure_service_fabric/models/http_route_match_header.rb
azure_service_fabric-0.17.2 lib/6.4.0.36/generated/azure_service_fabric/models/http_route_match_header.rb
azure_service_fabric-0.17.1 lib/6.4.0.36/generated/azure_service_fabric/models/http_route_match_header.rb
azure_service_fabric-0.17.0 lib/6.4.0.36/generated/azure_service_fabric/models/http_route_match_header.rb