# 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::Monitor::Mgmt::V2017_05_01_preview
  module Models
    #
    # Part of Subscription diagnostic setting. Specifies the settings for a
    # particular log.
    #
    class SubscriptionLogSettings

      include MsRestAzure

      # @return [String] Name of a Subscription Diagnostic Log category for a
      # resource type this setting is applied to.
      attr_accessor :category

      # @return [Boolean] a value indicating whether this log is enabled.
      attr_accessor :enabled


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