module Azure::Network::Mgmt::V2020_06_01
  module Models
    #
    # Office365 breakout categories.
    #
    class O365BreakOutCategoryPolicies

      include MsRestAzure

      # @return [Boolean] Flag to control allow category.
      attr_accessor :allow

      # @return [Boolean] Flag to control optimize category.
      attr_accessor :optimize

      # @return [Boolean] Flag to control default category.
      attr_accessor :default


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