# Copyright (c) 2017 Ansible, Inc.
# All Rights Reserved.

from django.urls import re_path

from awx.api.views import (
    AdHocCommandList,
    AdHocCommandDetail,
    AdHocCommandCancel,
    AdHocCommandRelaunch,
    AdHocCommandAdHocCommandEventsList,
    AdHocCommandActivityStreamList,
    AdHocCommandNotificationsList,
    AdHocCommandStdout,
)


urls = [
    re_path(r'^$', AdHocCommandList.as_view(), name='ad_hoc_command_list'),
    re_path(r'^(?P<pk>[0-9]+)/$', AdHocCommandDetail.as_view(), name='ad_hoc_command_detail'),
    re_path(r'^(?P<pk>[0-9]+)/cancel/$', AdHocCommandCancel.as_view(), name='ad_hoc_command_cancel'),
    re_path(r'^(?P<pk>[0-9]+)/relaunch/$', AdHocCommandRelaunch.as_view(), name='ad_hoc_command_relaunch'),
    re_path(r'^(?P<pk>[0-9]+)/events/$', AdHocCommandAdHocCommandEventsList.as_view(), name='ad_hoc_command_ad_hoc_command_events_list'),
    re_path(r'^(?P<pk>[0-9]+)/activity_stream/$', AdHocCommandActivityStreamList.as_view(), name='ad_hoc_command_activity_stream_list'),
    re_path(r'^(?P<pk>[0-9]+)/notifications/$', AdHocCommandNotificationsList.as_view(), name='ad_hoc_command_notifications_list'),
    re_path(r'^(?P<pk>[0-9]+)/stdout/$', AdHocCommandStdout.as_view(), name='ad_hoc_command_stdout'),
]

__all__ = ['urls']

[((383, 409), 'awx.api.views.AdHocCommandList.as_view', 'AdHocCommandList.as_view', ([], {}), '()\n', (407, 409), False, 'from awx.api.views import AdHocCommandList, AdHocCommandDetail, AdHocCommandCancel, AdHocCommandRelaunch, AdHocCommandAdHocCommandEventsList, AdHocCommandActivityStreamList, AdHocCommandNotificationsList, AdHocCommandStdout\n'), ((474, 502), 'awx.api.views.AdHocCommandDetail.as_view', 'AdHocCommandDetail.as_view', ([], {}), '()\n', (500, 502), False, 'from awx.api.views import AdHocCommandList, AdHocCommandDetail, AdHocCommandCancel, AdHocCommandRelaunch, AdHocCommandAdHocCommandEventsList, AdHocCommandActivityStreamList, AdHocCommandNotificationsList, AdHocCommandStdout\n'), ((576, 604), 'awx.api.views.AdHocCommandCancel.as_view', 'AdHocCommandCancel.as_view', ([], {}), '()\n', (602, 604), False, 'from awx.api.views import AdHocCommandList, AdHocCommandDetail, AdHocCommandCancel, AdHocCommandRelaunch, AdHocCommandAdHocCommandEventsList, AdHocCommandActivityStreamList, AdHocCommandNotificationsList, AdHocCommandStdout\n'), ((680, 710), 'awx.api.views.AdHocCommandRelaunch.as_view', 'AdHocCommandRelaunch.as_view', ([], {}), '()\n', (708, 710), False, 'from awx.api.views import AdHocCommandList, AdHocCommandDetail, AdHocCommandCancel, AdHocCommandRelaunch, AdHocCommandAdHocCommandEventsList, AdHocCommandActivityStreamList, AdHocCommandNotificationsList, AdHocCommandStdout\n'), ((786, 830), 'awx.api.views.AdHocCommandAdHocCommandEventsList.as_view', 'AdHocCommandAdHocCommandEventsList.as_view', ([], {}), '()\n', (828, 830), False, 'from awx.api.views import AdHocCommandList, AdHocCommandDetail, AdHocCommandCancel, AdHocCommandRelaunch, AdHocCommandAdHocCommandEventsList, AdHocCommandActivityStreamList, AdHocCommandNotificationsList, AdHocCommandStdout\n'), ((933, 973), 'awx.api.views.AdHocCommandActivityStreamList.as_view', 'AdHocCommandActivityStreamList.as_view', ([], {}), '()\n', (971, 973), False, 'from awx.api.views import AdHocCommandList, AdHocCommandDetail, AdHocCommandCancel, AdHocCommandRelaunch, AdHocCommandAdHocCommandEventsList, AdHocCommandActivityStreamList, AdHocCommandNotificationsList, AdHocCommandStdout\n'), ((1068, 1107), 'awx.api.views.AdHocCommandNotificationsList.as_view', 'AdHocCommandNotificationsList.as_view', ([], {}), '()\n', (1105, 1107), False, 'from awx.api.views import AdHocCommandList, AdHocCommandDetail, AdHocCommandCancel, AdHocCommandRelaunch, AdHocCommandAdHocCommandEventsList, AdHocCommandActivityStreamList, AdHocCommandNotificationsList, AdHocCommandStdout\n'), ((1193, 1221), 'awx.api.views.AdHocCommandStdout.as_view', 'AdHocCommandStdout.as_view', ([], {}), '()\n', (1219, 1221), False, 'from awx.api.views import AdHocCommandList, AdHocCommandDetail, AdHocCommandCancel, AdHocCommandRelaunch, AdHocCommandAdHocCommandEventsList, AdHocCommandActivityStreamList, AdHocCommandNotificationsList, AdHocCommandStdout\n')]