class Azure::ServiceFabric::V7_0_0_42::Models::HttpRouteMatchPath

Path to match for routing.

Attributes

rewrite[RW]

@return [String] replacement string for matched part of the Uri.

type[RW]

@return [String] how to match value in the Uri. Default value: 'prefix' .

value[RW]

@return [String] Uri path to match for request.

Private Class Methods

mapper() click to toggle source

Mapper for HttpRouteMatchPath class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/7.0.0.42/generated/azure_service_fabric/models/http_route_match_path.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'HttpRouteMatchPath',
    type: {
      name: 'Composite',
      class_name: 'HttpRouteMatchPath',
      model_properties: {
        value: {
          client_side_validation: true,
          required: true,
          serialized_name: 'value',
          type: {
            name: 'String'
          }
        },
        rewrite: {
          client_side_validation: true,
          required: false,
          serialized_name: 'rewrite',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: true,
          is_constant: true,
          serialized_name: 'type',
          default_value: 'prefix',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end