ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�DeployArtifactSource� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�OcirDeployArtifactSourcez% Specifies the OCIR details. c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS )a� Initializes a new OcirDeployArtifactSource object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.OcirDeployArtifactSource.deploy_artifact_source_type` attribute of this class is ``OCIR`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param deploy_artifact_source_type: The value to assign to the deploy_artifact_source_type property of this OcirDeployArtifactSource. Allowed values for this property are: "INLINE", "OCIR", "GENERIC_ARTIFACT", "HELM_CHART", "HELM_COMMAND_SPEC" :type deploy_artifact_source_type: str :param image_uri: The value to assign to the image_uri property of this OcirDeployArtifactSource. :type image_uri: str :param image_digest: The value to assign to the image_digest property of this OcirDeployArtifactSource. :type image_digest: str �str)Zdeploy_artifact_source_type� image_uri�image_digestZdeployArtifactSourceTypeZimageUriZimageDigestNZOCIR)Z swagger_typesZ attribute_mapZ_deploy_artifact_source_type� _image_uri� _image_digest)�self�kwargs� r �Q/usr/lib/python3.9/site-packages/oci/devops/models/ocir_deploy_artifact_source.py�__init__ s ��z!OcirDeployArtifactSource.__init__c C s | j S )z� **[Required]** Gets the image_uri of this OcirDeployArtifactSource. Specifies OCIR image path - optionally include tag. :return: The image_uri of this OcirDeployArtifactSource. :rtype: str �r �r r r r r 7 s z"OcirDeployArtifactSource.image_uric C s || _ dS )z� Sets the image_uri of this OcirDeployArtifactSource. Specifies OCIR image path - optionally include tag. :param image_uri: The image_uri of this OcirDeployArtifactSource. :type: str Nr )r r r r r r C s c C s | j S )z� Gets the image_digest of this OcirDeployArtifactSource. Specifies image digest for the version of the image. :return: The image_digest of this OcirDeployArtifactSource. :rtype: str �r r r r r r O s z%OcirDeployArtifactSource.image_digestc C s || _ dS )z� Sets the image_digest of this OcirDeployArtifactSource. Specifies image digest for the version of the image. :param image_digest: The image_digest of this OcirDeployArtifactSource. :type: str Nr )r r r r r r [ s c C s t | �S �N)r r r r r �__repr__g s z!OcirDeployArtifactSource.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__j s zOcirDeployArtifactSource.__eq__c C s | |k S r r r r r r �__ne__p s zOcirDeployArtifactSource.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s % r N) Zdeploy_artifact_sourcer Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn