text: """ Api views. """
  
  # Django REST Framework
  from rest_framework.viewsets import GenericViewSet
  from rest_framework import mixins
  
  # Serializers
  from api.serializers import RoomModelSerializer
  
  # Models
  from api.models import Room
  
  
  class RoomViewSet(
          mixins.CreateModelMixin,
          mixins.ListModelMixin,
          GenericViewSet):
      """ Room view set. """
      serializer_class = RoomModelSerializer
      queryset = Room.objects.all()
  