# This file was auto generated; Do not modify, if you value your sanity!
import ctypes
import enum

from ics.structures.extended_response_generic import *
from ics.structures.s_disk_details import *
from ics.structures.s_disk_format_progress import *
from ics.structures.s_disk_structure import *
from ics.structures.s_ext_sub_cmd_hdr import *
from ics.structures.start_dhcp_server_command import *
from ics.structures.stop_dhcp_server_command import *


class extension(ctypes.Union):
    _pack_ = 2
    _fields_ = [
        ('structure', SDiskStructure),
        ('details', SDiskDetails),
        ('progress', SDiskFormatProgress),
        ('startDHCPServer', StartDHCPServerCommand),
        ('stopDHCPServer', StopDHCPServerCommand),
        ('genericResponse', ExtendedResponseGeneric),
    ]



class s_ext_sub_cmd_comm(ctypes.Structure):
    _pack_ = 2
    _fields_ = [
        ('header', SExtSubCmdHdr),
        ('extension', extension),
    ]


_SExtSubCmdComm = s_ext_sub_cmd_comm
SExtSubCmdComm = s_ext_sub_cmd_comm

