from django.urls import path
from backend.api.v1.dialogs.views import (
    DialogListCreateView,
    DialogRetrieveUpdateDestroyAPIView,
    DialogMembershipListCreateView,
    DialogMessageListCreateView,
    DialogMessageRetrieveUpdateDestroyAPIView,
)

urlpatterns = [
    path('', DialogListCreateView.as_view()),
    path('<int:pk>', DialogRetrieveUpdateDestroyAPIView.as_view()),
    path('membership/', DialogMembershipListCreateView.as_view()),
    path('messages/', DialogMessageListCreateView.as_view()),
    path('messages/<int:pk>', DialogMessageRetrieveUpdateDestroyAPIView.as_view()),
]

[(11, 'backend.api.v1.dialogs.views.DialogListCreateView.as_view', 'DialogListCreateView.as_view', False, 'from backend.api.v1.dialogs.views import DialogListCreateView, DialogRetrieveUpdateDestroyAPIView, DialogMembershipListCreateView, DialogMessageListCreateView, DialogMessageRetrieveUpdateDestroyAPIView\n'), (12, 'backend.api.v1.dialogs.views.DialogRetrieveUpdateDestroyAPIView.as_view', 'DialogRetrieveUpdateDestroyAPIView.as_view', False, 'from backend.api.v1.dialogs.views import DialogListCreateView, DialogRetrieveUpdateDestroyAPIView, DialogMembershipListCreateView, DialogMessageListCreateView, DialogMessageRetrieveUpdateDestroyAPIView\n'), (13, 'backend.api.v1.dialogs.views.DialogMembershipListCreateView.as_view', 'DialogMembershipListCreateView.as_view', False, 'from backend.api.v1.dialogs.views import DialogListCreateView, DialogRetrieveUpdateDestroyAPIView, DialogMembershipListCreateView, DialogMessageListCreateView, DialogMessageRetrieveUpdateDestroyAPIView\n'), (14, 'backend.api.v1.dialogs.views.DialogMessageListCreateView.as_view', 'DialogMessageListCreateView.as_view', False, 'from backend.api.v1.dialogs.views import DialogListCreateView, DialogRetrieveUpdateDestroyAPIView, DialogMembershipListCreateView, DialogMessageListCreateView, DialogMessageRetrieveUpdateDestroyAPIView\n'), (15, 'backend.api.v1.dialogs.views.DialogMessageRetrieveUpdateDestroyAPIView.as_view', 'DialogMessageRetrieveUpdateDestroyAPIView.as_view', False, 'from backend.api.v1.dialogs.views import DialogListCreateView, DialogRetrieveUpdateDestroyAPIView, DialogMembershipListCreateView, DialogMessageListCreateView, DialogMessageRetrieveUpdateDestroyAPIView\n')]