
    >Tf                     n    d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	 ddl
mZ dZ G d	 d
e	          ZdS )    )serializers)Platform)ConfigTemplateSerializer)RelatedObjectCountField)NetBoxModelSerializer   )ManufacturerSerializer)PlatformSerializerc                       e Zd Z eddd          Z edddd          Z ed          Z ed          Z	 G d d	          Z
dS )
r
   TF)nestedrequired
allow_nullN)r   r   r   defaultdevicesvirtual_machinesc                       e Zd ZeZg dZdZdS )PlatformSerializer.Meta)idurldisplay_urldisplaynameslugmanufacturerconfig_templatedescriptiontagscustom_fieldscreatedlast_updateddevice_countvirtualmachine_count)r   r   r   r   r   r   r!   r"   N)__name__
__module____qualname__r   modelfieldsbrief_fields     D/var/www/html/netbox-4.1.3/netbox/dcim/api/serializers_/platforms.pyMetar      s,        
 
 
 wr*   r,   )r#   r$   r%   r	   r   r   r   r   r!   r"   r,   r)   r*   r+   r
   r
      s        ))RVWWWL..dUW[eijjjO +*955L223EFFw w w w w w w w w wr*   r
   N)rest_frameworkr   dcim.modelsr   'extras.api.serializers_.configtemplatesr   netbox.api.fieldsr   netbox.api.serializersr   manufacturersr	   __all__r
   r)   r*   r+   <module>r4      s    & & & & & &             L L L L L L 5 5 5 5 5 5 8 8 8 8 8 8 1 1 1 1 1 1
w w w w w. w w w w wr*   