Sha256: 3f4b2bd035717e8d24ab9de906ca1bd73e3e09b7a58efc596c073a082a77c5d3

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 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
    #
    # The json object containing security policy parameters
    #
    class SecurityPolicyParameters

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["WebApplicationFirewall"] = "SecurityPolicyWebApplicationFirewallParameters"

      def initialize
        @type = "SecurityPolicyParameters"
      end

      attr_accessor :type


      #
      # Mapper for SecurityPolicyParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SecurityPolicyParameters',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'type',
            uber_parent: 'SecurityPolicyParameters',
            class_name: 'SecurityPolicyParameters',
            model_properties: {
            }
          }
        }
      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/security_policy_parameters.rb
azure_mgmt_cdn-0.18.1 lib/2020-09-01/generated/azure_mgmt_cdn/models/security_policy_parameters.rb