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()),
]

[((286, 316), 'backend.api.v1.dialogs.views.DialogListCreateView.as_view', 'DialogListCreateView.as_view', ([], {}), '()\n', (314, 316), False, 'from backend.api.v1.dialogs.views import DialogListCreateView, DialogRetrieveUpdateDestroyAPIView, DialogMembershipListCreateView, DialogMessageListCreateView, DialogMessageRetrieveUpdateDestroyAPIView\n'), ((340, 384), 'backend.api.v1.dialogs.views.DialogRetrieveUpdateDestroyAPIView.as_view', 'DialogRetrieveUpdateDestroyAPIView.as_view', ([], {}), '()\n', (382, 384), False, 'from backend.api.v1.dialogs.views import DialogListCreateView, DialogRetrieveUpdateDestroyAPIView, DialogMembershipListCreateView, DialogMessageListCreateView, DialogMessageRetrieveUpdateDestroyAPIView\n'), ((411, 451), 'backend.api.v1.dialogs.views.DialogMembershipListCreateView.as_view', 'DialogMembershipListCreateView.as_view', ([], {}), '()\n', (449, 451), False, 'from backend.api.v1.dialogs.views import DialogListCreateView, DialogRetrieveUpdateDestroyAPIView, DialogMembershipListCreateView, DialogMessageListCreateView, DialogMessageRetrieveUpdateDestroyAPIView\n'), ((476, 513), 'backend.api.v1.dialogs.views.DialogMessageListCreateView.as_view', 'DialogMessageListCreateView.as_view', ([], {}), '()\n', (511, 513), False, 'from backend.api.v1.dialogs.views import DialogListCreateView, DialogRetrieveUpdateDestroyAPIView, DialogMembershipListCreateView, DialogMessageListCreateView, DialogMessageRetrieveUpdateDestroyAPIView\n'), ((546, 597), 'backend.api.v1.dialogs.views.DialogMessageRetrieveUpdateDestroyAPIView.as_view', 'DialogMessageRetrieveUpdateDestroyAPIView.as_view', ([], {}), '()\n', (595, 597), False, 'from backend.api.v1.dialogs.views import DialogListCreateView, DialogRetrieveUpdateDestroyAPIView, DialogMembershipListCreateView, DialogMessageListCreateView, DialogMessageRetrieveUpdateDestroyAPIView\n')]