Class: Azure::ServiceFabric::V6_4_0_36::Models::HttpRouteMatchHeader
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::HttpRouteMatchHeader
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/http_route_match_header.rb
Overview
Describes header information for http route matching.
Instance Attribute Summary collapse
-
#name ⇒ String
Name of header to match in request.
-
#type ⇒ HeaderMatchType
include: ‘exact’.
-
#value ⇒ String
Value of header to match in request.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for HttpRouteMatchHeader class as Ruby Hash.
Instance Attribute Details
#name ⇒ String
Returns Name of header to match in request.
16 17 18 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/http_route_match_header.rb', line 16 def name @name end |
#type ⇒ HeaderMatchType
include: ‘exact’
23 24 25 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/http_route_match_header.rb', line 23 def type @type end |
#value ⇒ String
Returns Value of header to match in request.
19 20 21 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/http_route_match_header.rb', line 19 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for HttpRouteMatchHeader class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/http_route_match_header.rb', line 30 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 |