Sha256: 65655163679b7e4ec9a39f3e812707981500d86a3d3277464bd7fa6f230ed8d1

Contents?: true

Size: 1.67 KB

Versions: 5

Compression:

Stored size: 1.67 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::CDN::Mgmt::V2020_04_15
  module Models
    #
    # Defines the RequestScheme condition for the delivery rule.
    #
    class DeliveryRuleRequestSchemeCondition < DeliveryRuleCondition

      include MsRestAzure


      def initialize
        @name = "RequestScheme"
      end

      attr_accessor :name

      # @return [RequestSchemeMatchConditionParameters] Defines the parameters
      # for the condition.
      attr_accessor :parameters


      #
      # Mapper for DeliveryRuleRequestSchemeCondition class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'RequestScheme',
          type: {
            name: 'Composite',
            class_name: 'DeliveryRuleRequestSchemeCondition',
            model_properties: {
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              parameters: {
                client_side_validation: true,
                required: true,
                serialized_name: 'parameters',
                default_value: {},
                type: {
                  name: 'Composite',
                  class_name: 'RequestSchemeMatchConditionParameters'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_cdn-0.18.2 lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_request_scheme_condition.rb
azure_mgmt_cdn-0.18.1 lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_request_scheme_condition.rb
azure_mgmt_cdn-0.17.7 lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_request_scheme_condition.rb
azure_mgmt_cdn-0.17.6 lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_request_scheme_condition.rb
azure_mgmt_cdn-0.17.5 lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_request_scheme_condition.rb