ruạṛ
a ���f�X � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s* e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zed4d5� �Zej d6d5� �Zed7d8� �Zej d9d8� �Zed:d;� �Zej d<d;� �Zed=d>� �Zej d?d>� �Zd@dA� ZdBdC� ZdDdE� ZdFS )G�ContainerImagez# Container image metadata. � AVAILABLE�DELETED�DELETINGc K s� dddddddddddddddddddd�| _ d d ddd ddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _dS )a Initializes a new ContainerImage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this ContainerImage. :type compartment_id: str :param created_by: The value to assign to the created_by property of this ContainerImage. :type created_by: str :param digest: The value to assign to the digest property of this ContainerImage. :type digest: str :param display_name: The value to assign to the display_name property of this ContainerImage. :type display_name: str :param id: The value to assign to the id property of this ContainerImage. :type id: str :param layers: The value to assign to the layers property of this ContainerImage. :type layers: list[oci.artifacts.models.ContainerImageLayer] :param layers_size_in_bytes: The value to assign to the layers_size_in_bytes property of this ContainerImage. :type layers_size_in_bytes: int :param lifecycle_state: The value to assign to the lifecycle_state property of this ContainerImage. Allowed values for this property are: "AVAILABLE", "DELETED", "DELETING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param manifest_size_in_bytes: The value to assign to the manifest_size_in_bytes property of this ContainerImage. :type manifest_size_in_bytes: int :param pull_count: The value to assign to the pull_count property of this ContainerImage. :type pull_count: int :param repository_id: The value to assign to the repository_id property of this ContainerImage. :type repository_id: str :param repository_name: The value to assign to the repository_name property of this ContainerImage. :type repository_name: str :param time_created: The value to assign to the time_created property of this ContainerImage. :type time_created: datetime :param time_last_pulled: The value to assign to the time_last_pulled property of this ContainerImage. :type time_last_pulled: datetime :param version: The value to assign to the version property of this ContainerImage. :type version: str :param versions: The value to assign to the versions property of this ContainerImage. :type versions: list[oci.artifacts.models.ContainerVersion] :param freeform_tags: The value to assign to the freeform_tags property of this ContainerImage. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ContainerImage. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this ContainerImage. :type system_tags: dict(str, dict(str, object)) �strzlist[ContainerImageLayer]�intZdatetimezlist[ContainerVersion]zdict(str, str)zdict(str, dict(str, object)))�compartment_id� created_by�digest�display_name�id�layers�layers_size_in_bytes�lifecycle_state�manifest_size_in_bytes� pull_count� repository_id�repository_name�time_created�time_last_pulled�version�versions� freeform_tags�defined_tags�system_tagsZ compartmentIdZ createdByr ZdisplayNamer r ZlayersSizeInBytesZlifecycleStateZmanifestSizeInBytesZ pullCountZrepositoryIdZrepositoryNameZtimeCreatedZtimeLastPulledr r ZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_compartment_id�_created_by�_digest� _display_name�_id�_layers�_layers_size_in_bytes�_lifecycle_state�_manifest_size_in_bytes�_pull_count�_repository_id�_repository_name� _time_created�_time_last_pulled�_version� _versions�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r4 �H/usr/lib/python3.9/site-packages/oci/artifacts/models/container_image.py�__init__ sv U��zContainerImage.__init__c C s | j S )a **[Required]** Gets the compartment_id of this ContainerImage. The compartment OCID to which the container image belongs. Inferred from the container repository. :return: The compartment_id of this ContainerImage. :rtype: str �r �r2 r4 r4 r5 r � s zContainerImage.compartment_idc C s || _ dS )a Sets the compartment_id of this ContainerImage. The compartment OCID to which the container image belongs. Inferred from the container repository. :param compartment_id: The compartment_id of this ContainerImage. :type: str Nr7 )r2 r r4 r4 r5 r � s c C s | j S )a6 **[Required]** Gets the created_by of this ContainerImage. The `OCID`__ of the user or principal that created the resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The created_by of this ContainerImage. :rtype: str �r r8 r4 r4 r5 r � s zContainerImage.created_byc C s || _ dS )a0 Sets the created_by of this ContainerImage. The `OCID`__ of the user or principal that created the resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param created_by: The created_by of this ContainerImage. :type: str Nr9 )r2 r r4 r4 r5 r � s c C s | j S )z� **[Required]** Gets the digest of this ContainerImage. The container image digest. :return: The digest of this ContainerImage. :rtype: str �r! r8 r4 r4 r5 r � s zContainerImage.digestc C s || _ dS )z� Sets the digest of this ContainerImage. The container image digest. :param digest: The digest of this ContainerImage. :type: str Nr: )r2 r r4 r4 r5 r � s c C s | j S )a@ **[Required]** Gets the display_name of this ContainerImage. The repository name and the most recent version associated with the image. If there are no versions associated with the image, then last known version and digest are used instead. If the last known version is unavailable, then 'unknown' is used instead of the version. Example: `ubuntu:latest` or `ubuntu:latest@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2` :return: The display_name of this ContainerImage. :rtype: str �r"