Source code for appstoreserverlibrary.models.GetImageListResponseItem

# Copyright (c) 2025 Apple Inc. Licensed under MIT License.

from typing import Optional
from uuid import UUID

from attr import define
import attr

from .ImageState import ImageState
from .LibraryUtility import AttrsRawValueAware

[docs] @define class GetImageListResponseItem(AttrsRawValueAware): """ An image identifier and state information for an image. https://developer.apple.com/documentation/retentionmessaging/getimagelistresponseitem """ imageIdentifier: Optional[UUID] = attr.ib(default=None) """ The identifier of the image. https://developer.apple.com/documentation/retentionmessaging/imageidentifier """ imageState: Optional[ImageState] = ImageState.create_main_attr('rawImageState') """ The current state of the image. https://developer.apple.com/documentation/retentionmessaging/imagestate """ rawImageState: Optional[str] = ImageState.create_raw_attr('imageState') """ See imageState """