# Module `netapp_ontap.models.fc_switch_port`

Copyright © 2022 NetApp Inc. All rights reserved.

This file has been automatically generated based on the ONTAP REST API documentation.

## Classes

`class FcSwitchPortSchema (*, only: Union[Sequence[str], Set[str]] = None, exclude: Union[Sequence[str], Set[str]] = (), many: bool = False, context: Dict = None, load_only: Union[Sequence[str], Set[str]] = (), dump_only: Union[Sequence[str], Set[str]] = (), partial: Union[bool, Sequence[str], Set[str]] = False, unknown: str = None)`

  The fields of the FcSwitchPort object

  ### Ancestors

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

  ### Class variables

  `attached_device: FcSwitchPortsAttachedDevice GET`

    The attached_device field of the fc_switch_port.

  `slot: str GET`

    The slot of the Fibre Channel switch port.

    Example: 1

  `state: str GET`

    The state of the Fibre Channel switch port.

    Valid choices:

    - unknown
    - online
    - offline
    - testing
    - fault
  `type: str GET`

    The type of the Fibre Channel switch port.

    Valid choices:

    - b_port
    - e_port
    - f_port
    - fl_port
    - fnl_port
    - fv_port
    - n_port
    - nl_port
    - nv_port
    - nx_port
    - sd_port
    - te_port
    - tf_port
    - tl_port
    - tnp_port
    - none
  `wwpn: str GET`

    The world wide port name (WWPN) of the Fibre Channel switch port.

    Example: 50:0a:31:32:33:34:35:36