"""
Definition of the :class:`StorageScpViewSet` class.
"""

from django_dicom.filters import StorageScpFilter
from django_dicom.models.networking import StorageServiceClassProvider
from django_dicom.serializers import StorageScpSerializer
from django_dicom.views.defaults import DefaultsMixin
from django_dicom.views.pagination import StandardResultsSetPagination
from rest_framework import viewsets


class StorageScpViewSet(DefaultsMixin, viewsets.ModelViewSet):
    """
    API endpoint that allows storage SCUs to be viewed or edited.
    """

    filter_class = StorageScpFilter
    pagination_class = StandardResultsSetPagination
    queryset = StorageServiceClassProvider.objects.order_by("title")
    serializer_class = StorageScpSerializer

71a876ce19040711011c49459b28f3adcb62f242
<mask token>


class StorageScpViewSet(DefaultsMixin, viewsets.ModelViewSet):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class StorageScpViewSet(DefaultsMixin, viewsets.ModelViewSet):
    <mask token>
    filter_class = StorageScpFilter
    pagination_class = StandardResultsSetPagination
    queryset = StorageServiceClassProvider.objects.order_by('title')
    serializer_class = StorageScpSerializer

<mask token>


class StorageScpViewSet(DefaultsMixin, viewsets.ModelViewSet):
    """
    API endpoint that allows storage SCUs to be viewed or edited.
    """
    filter_class = StorageScpFilter
    pagination_class = StandardResultsSetPagination
    queryset = StorageServiceClassProvider.objects.order_by('title')
    serializer_class = StorageScpSerializer

<mask token>
from django_dicom.filters import StorageScpFilter
from django_dicom.models.networking import StorageServiceClassProvider
from django_dicom.serializers import StorageScpSerializer
from django_dicom.views.defaults import DefaultsMixin
from django_dicom.views.pagination import StandardResultsSetPagination
from rest_framework import viewsets


class StorageScpViewSet(DefaultsMixin, viewsets.ModelViewSet):
    """
    API endpoint that allows storage SCUs to be viewed or edited.
    """
    filter_class = StorageScpFilter
    pagination_class = StandardResultsSetPagination
    queryset = StorageServiceClassProvider.objects.order_by('title')
    serializer_class = StorageScpSerializer

"""
Definition of the :class:`StorageScpViewSet` class.
"""

from django_dicom.filters import StorageScpFilter
from django_dicom.models.networking import StorageServiceClassProvider
from django_dicom.serializers import StorageScpSerializer
from django_dicom.views.defaults import DefaultsMixin
from django_dicom.views.pagination import StandardResultsSetPagination
from rest_framework import viewsets


class StorageScpViewSet(DefaultsMixin, viewsets.ModelViewSet):
    """
    API endpoint that allows storage SCUs to be viewed or edited.
    """

    filter_class = StorageScpFilter
    pagination_class = StandardResultsSetPagination
    queryset = StorageServiceClassProvider.objects.order_by("title")
    serializer_class = StorageScpSerializer
