Sha256: d728405648672d16ca79ccaaaa112fd5bdb17a2797afdaa0d6ae7777d30cbae4

Contents?: true

Size: 1.66 KB

Versions: 2

Compression:

Stored size: 1.66 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_09_01
  module Models
    #
    # Defines the UrlFileName condition for the delivery rule.
    #
    class DeliveryRuleUrlFileNameCondition < DeliveryRuleCondition

      include MsRestAzure


      def initialize
        @name = "UrlFileName"
      end

      attr_accessor :name

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


      #
      # Mapper for DeliveryRuleUrlFileNameCondition class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'UrlFileName',
          type: {
            name: 'Composite',
            class_name: 'DeliveryRuleUrlFileNameCondition',
            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: 'UrlFileNameMatchConditionParameters'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_cdn-0.18.2 lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_url_file_name_condition.rb
azure_mgmt_cdn-0.18.1 lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_url_file_name_condition.rb