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__ = ["IgroupTarget", "IgroupTargetSchema"]
__pdoc__ = {
    "IgroupTargetSchema.resource": False,
    "IgroupTargetSchema.opts": False,
    "IgroupTarget": False,
}

class IgroupTargetSchema(ResourceSchema, metaclass=ResourceSchemaMeta):
    """The fields of the IgroupTarget object"""

    firmware_revision = marshmallow_fields.Str(data_key="firmware_revision", allow_none=True)
    r""" The firmware revision of the SCSI target specific to the OS type of the initiator group.


Example: 9111 """

    product_id = marshmallow_fields.Str(data_key="product_id", allow_none=True)
    r""" The product ID of the SCSI target.


Example: LUN C-Mode """

    vendor_id = marshmallow_fields.Str(data_key="vendor_id", allow_none=True)
    r""" The vendor ID of the SCSI target.


Example: NETAPP """

    @property
    def resource(self):
        return IgroupTarget

    gettable_fields = [
        "firmware_revision",
        "product_id",
        "vendor_id",
    ]
    """firmware_revision,product_id,vendor_id,"""

    patchable_fields = [
    ]
    """"""

    postable_fields = [
    ]
    """"""


class IgroupTarget(Resource):

    _schema = IgroupTargetSchema
