# 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::V2015_05_01
  module Models
    #
    # An Application Insights component billing features
    #
    class ApplicationInsightsComponentBillingFeatures

      include MsRestAzure

      # @return [ApplicationInsightsComponentDataVolumeCap] An Application
      # Insights component daily data volume cap
      attr_accessor :data_volume_cap

      # @return [Array<String>] Current enabled pricing plan. When the
      # component is in the Enterprise plan, this will list both 'Basic' and
      # 'Application Insights Enterprise'.
      attr_accessor :current_billing_features


      #
      # Mapper for ApplicationInsightsComponentBillingFeatures class as Ruby
      # Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationInsightsComponentBillingFeatures',
          type: {
            name: 'Composite',
            class_name: 'ApplicationInsightsComponentBillingFeatures',
            model_properties: {
              data_volume_cap: {
                client_side_validation: true,
                required: false,
                serialized_name: 'DataVolumeCap',
                type: {
                  name: 'Composite',
                  class_name: 'ApplicationInsightsComponentDataVolumeCap'
                }
              },
              current_billing_features: {
                client_side_validation: true,
                required: false,
                serialized_name: 'CurrentBillingFeatures',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
