# Module `netapp_ontap.models.storage_switch_ports`

Copyright © 2021 NetApp Inc. All rights reserved.

## Classes

`class StorageSwitchPortsSchema (*, only: typing.Union = None, exclude: typing.Union = (), many: bool = False, context: typing.Dict = None, load_only: typing.Union = (), dump_only: typing.Union = (), partial: typing.Union = False, unknown: str = None)`

  The fields of the StorageSwitchPorts object

  ### Ancestors

  - netapp_ontap.resource.ResourceSchema
  - marshmallow.schema.Schema
  - marshmallow.base.SchemaABC

  ### Class variables

  `enabled GET POST PATCH`

    Indicates whether the storage switch port is enabled.

  `mode GET POST PATCH`

    Storage switch port mode

    Valid choices:

    - unknown
    - auto
    - f_port
    - fl_port
    - e_port
    - te_port
    - u_port
    - g_port
    - other
    - ex_port
    - d_port
    - sim_port
    - ve_port
    - ae_port
    - af_port
  `name GET POST PATCH`

    Storage switch port name

  `sfp GET POST PATCH`

    The sfp field of the storage_switch_ports.

  `speed GET POST PATCH`

    Storage switch port speed, in Gbps

  `state GET POST PATCH`

    Storage switch port state

    Valid choices:

    - error
    - online
    - offline
  `wwn GET POST PATCH`

    Storage switch port world wide name