ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�DeliveredArtifact� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z dd� Zdd� Zdd� Z dS )�GenericDeliveredArtifactzY Details of the generic artifacts delivered through the Deliver Artifacts stage. c K s` dddddddd�| _ ddddddd d�| _d | _d | _d | _d | _d | _d | _d | _d| _d S )a_ Initializes a new GenericDeliveredArtifact object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.GenericDeliveredArtifact.artifact_type` attribute of this class is ``GENERIC_ARTIFACT`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param deploy_artifact_id: The value to assign to the deploy_artifact_id property of this GenericDeliveredArtifact. :type deploy_artifact_id: str :param output_artifact_name: The value to assign to the output_artifact_name property of this GenericDeliveredArtifact. :type output_artifact_name: str :param artifact_type: The value to assign to the artifact_type property of this GenericDeliveredArtifact. Allowed values for this property are: "GENERIC_ARTIFACT", "OCIR" :type artifact_type: str :param artifact_repository_id: The value to assign to the artifact_repository_id property of this GenericDeliveredArtifact. :type artifact_repository_id: str :param delivered_artifact_id: The value to assign to the delivered_artifact_id property of this GenericDeliveredArtifact. :type delivered_artifact_id: str :param path: The value to assign to the path property of this GenericDeliveredArtifact. :type path: str :param version: The value to assign to the version property of this GenericDeliveredArtifact. :type version: str �str)Zdeploy_artifact_idZoutput_artifact_nameZ artifact_type�artifact_repository_id�delivered_artifact_id�path�versionZdeployArtifactIdZoutputArtifactNameZartifactTypeZartifactRepositoryIdZdeliveredArtifactIdr r NZGENERIC_ARTIFACT) Z swagger_typesZ attribute_mapZ_deploy_artifact_idZ_output_artifact_nameZ_artifact_type�_artifact_repository_id�_delivered_artifact_id�_path�_version)�self�kwargs� r �P/usr/lib/python3.9/site-packages/oci/devops/models/generic_delivered_artifact.py�__init__ s0 %�� z!GenericDeliveredArtifact.__init__c C s | j S )a Gets the artifact_repository_id of this GenericDeliveredArtifact. The OCID of the artifact registry repository used by the DeliverArtifactStage :return: The artifact_repository_id of this GenericDeliveredArtifact. :rtype: str �r �r r r r r S s z/GenericDeliveredArtifact.artifact_repository_idc C s || _ dS )a" Sets the artifact_repository_id of this GenericDeliveredArtifact. The OCID of the artifact registry repository used by the DeliverArtifactStage :param artifact_repository_id: The artifact_repository_id of this GenericDeliveredArtifact. :type: str Nr )r r r r r r _ s c C s | j S )a **[Required]** Gets the delivered_artifact_id of this GenericDeliveredArtifact. The OCID of the artifact pushed by the Deliver Artifacts stage. :return: The delivered_artifact_id of this GenericDeliveredArtifact. :rtype: str �r r r r r r k s z.GenericDeliveredArtifact.delivered_artifact_idc C s || _ dS )a Sets the delivered_artifact_id of this GenericDeliveredArtifact. The OCID of the artifact pushed by the Deliver Artifacts stage. :param delivered_artifact_id: The delivered_artifact_id of this GenericDeliveredArtifact. :type: str Nr )r r r r r r w s c C s | j S )z� Gets the path of this GenericDeliveredArtifact. Path of the repository where artifact was pushed :return: The path of this GenericDeliveredArtifact. :rtype: str �r r r r r r � s zGenericDeliveredArtifact.pathc C s || _ dS )z� Sets the path of this GenericDeliveredArtifact. Path of the repository where artifact was pushed :param path: The path of this GenericDeliveredArtifact. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the version of this GenericDeliveredArtifact. Version of the artifact pushed :return: The version of this GenericDeliveredArtifact. :rtype: str �r r r r r r � s z GenericDeliveredArtifact.versionc C s || _ dS )z� Sets the version of this GenericDeliveredArtifact. Version of the artifact pushed :param version: The version of this GenericDeliveredArtifact. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z!GenericDeliveredArtifact.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zGenericDeliveredArtifact.__eq__c C s | |k S r r r r r r �__ne__� s zGenericDeliveredArtifact.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r! r"