# 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::Consumption::Mgmt::V2018_11_01_preview
  module Models
    #
    # The attributes associated with legacy enrollment
    #
    class EnrollmentPolicies

      include MsRestAzure

      # @return [Boolean] The accountOwnerViewCharges flag for Enrollment
      attr_accessor :account_owner_view_charges

      # @return [Boolean] The departmentAdminViewCharges flag for Enrollment
      attr_accessor :department_admin_view_charges

      # @return [Boolean] The marketplaces flag for Enrollment
      attr_accessor :marketplaces_enabled

      # @return [Boolean] The reserved instances flag for Enrollment
      attr_accessor :reserved_instances_enabled


      #
      # Mapper for EnrollmentPolicies class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'EnrollmentPolicies',
          type: {
            name: 'Composite',
            class_name: 'EnrollmentPolicies',
            model_properties: {
              account_owner_view_charges: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'accountOwnerViewCharges',
                type: {
                  name: 'Boolean'
                }
              },
              department_admin_view_charges: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'departmentAdminViewCharges',
                type: {
                  name: 'Boolean'
                }
              },
              marketplaces_enabled: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'marketplacesEnabled',
                type: {
                  name: 'Boolean'
                }
              },
              reserved_instances_enabled: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'reservedInstancesEnabled',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end
