r"""
Copyright &copy; 2026 NetApp Inc.
All rights reserved.

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

"""
from marshmallow import EXCLUDE, fields as marshmallow_fields  # type: ignore
from netapp_ontap.resource import Resource, ResourceSchema, ResourceSchemaMeta, ImpreciseDateTime, Size, lazy_import_schema


__all__ = ["FabricConnectionsSwitchPort", "FabricConnectionsSwitchPortSchema"]
__pdoc__ = {
    "FabricConnectionsSwitchPortSchema.resource": False,
    "FabricConnectionsSwitchPortSchema.opts": False,
    "FabricConnectionsSwitchPort": False,
}

class FabricConnectionsSwitchPortSchema(ResourceSchema, metaclass=ResourceSchemaMeta):
    """The fields of the FabricConnectionsSwitchPort object"""

    wwpn = marshmallow_fields.Str(data_key="wwpn", allow_none=True)
    r""" The world wide port name (WWPN) of the Fibre Channel switch port.


Example: 50:0a:a1:a2:a3:a4:a5:a6 """

    @property
    def resource(self):
        return FabricConnectionsSwitchPort

    gettable_fields = [
        "wwpn",
    ]
    """wwpn,"""

    patchable_fields = [
    ]
    """"""

    postable_fields = [
    ]
    """"""


class FabricConnectionsSwitchPort(Resource):

    _schema = FabricConnectionsSwitchPortSchema
