# 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::V7_0_0_42 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