Sha256: f810671bf7dc76677004e262ae32fd8344a1b2512aebea195568bb85e540ec4c
Contents?: true
Size: 1.92 KB
Versions: 2
Compression:
Stored size: 1.92 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::V7_0_0_42 module Models # # Describes a rule for http route matching. # class HttpRouteMatchRule include MsRestAzure # @return [HttpRouteMatchPath] Path to match for routing. attr_accessor :path # @return [Array<HttpRouteMatchHeader>] headers and their values to match # in request. attr_accessor :headers # # Mapper for HttpRouteMatchRule class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end
Version data entries
2 entries across 2 versions & 1 rubygems