from rest_framework import serializers

from sandbox.apps.devices.core.consts import EMULATOR_CHOICES


class EmulatorsCreateSerializer(serializers.Serializer):
    """
    Create request serializer, used for validation
    """
    device_type = serializers.ChoiceField(choices=EMULATOR_CHOICES)
    amount = serializers.IntegerField()
