class Azure::ServiceFabric::V6_5_0_36::Models::HttpRouteMatchRule
Describes a rule for http route matching.
Attributes
headers[RW]
@return [Array<HttpRouteMatchHeader>] headers and their values to match in request.
path[RW]
@return [HttpRouteMatchPath] Path to match for routing.
Public Class Methods
mapper()
click to toggle source
Mapper for HttpRouteMatchRule
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/6.5.0.36/generated/azure_service_fabric/models/http_route_match_rule.rb, line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'HttpRouteMatchRule', type: { name: 'Composite', class_name: 'HttpRouteMatchRule', model_properties: { path: { client_side_validation: true, required: true, serialized_name: 'path', default_value: {}, type: { name: 'Composite', class_name: 'HttpRouteMatchPath' } }, headers: { client_side_validation: true, required: false, serialized_name: 'headers', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'HttpRouteMatchHeaderElementType', type: { name: 'Composite', class_name: 'HttpRouteMatchHeader' } } } } } } } end