ruạṛ
a ���f) � @ 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 ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zdd� Zdd� Z dd� ZdS )�ApproveDeploymentDetailsz< The stage information for submitting for approval. �APPROVE�REJECTc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new ApproveDeploymentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param deploy_stage_id: The value to assign to the deploy_stage_id property of this ApproveDeploymentDetails. :type deploy_stage_id: str :param reason: The value to assign to the reason property of this ApproveDeploymentDetails. :type reason: str :param action: The value to assign to the action property of this ApproveDeploymentDetails. Allowed values for this property are: "APPROVE", "REJECT" :type action: str �str)�deploy_stage_id�reason�actionZ deployStageIdr r N)Z swagger_typesZ attribute_map�_deploy_stage_id�_reason�_action)�self�kwargs� r �P/usr/lib/python3.9/site-packages/oci/devops/models/approve_deployment_details.py�__init__ s ��z!ApproveDeploymentDetails.__init__c C s | j S )aK **[Required]** Gets the deploy_stage_id of this ApproveDeploymentDetails. The `OCID`__ of the stage which is marked for approval. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The deploy_stage_id of this ApproveDeploymentDetails. :rtype: str �r �r r r r r = s z(ApproveDeploymentDetails.deploy_stage_idc C s || _ dS )aJ Sets the deploy_stage_id of this ApproveDeploymentDetails. The `OCID`__ of the stage which is marked for approval. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param deploy_stage_id: The deploy_stage_id of this ApproveDeploymentDetails. :type: str Nr )r r r r r r K s c C s | j S )z� Gets the reason of this ApproveDeploymentDetails. The reason for approving or rejecting the deployment. :return: The reason of this ApproveDeploymentDetails. :rtype: str �r r r r r r Y s zApproveDeploymentDetails.reasonc C s || _ dS )z� Sets the reason of this ApproveDeploymentDetails. The reason for approving or rejecting the deployment. :param reason: The reason of this ApproveDeploymentDetails. :type: str Nr )r r r r r r e s c C s | j S )a **[Required]** Gets the action of this ApproveDeploymentDetails. The action of Approve or Reject. Allowed values for this property are: "APPROVE", "REJECT" :return: The action of this ApproveDeploymentDetails. :rtype: str )r r r r r r q s zApproveDeploymentDetails.actionc C s* ddg}t ||�s td|� ���|| _dS )z� Sets the action of this ApproveDeploymentDetails. The action of Approve or Reject. :param action: The action of this ApproveDeploymentDetails. :type: str r r z3Invalid value for `action`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r s �c C s t | �S �N)r r r r r �__repr__� s z!ApproveDeploymentDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zApproveDeploymentDetails.__eq__c C s | |k S r r r r r r �__ne__� s zApproveDeploymentDetails.__ne__N)�__name__� __module__�__qualname__�__doc__ZACTION_APPROVEZ ACTION_REJECTr �propertyr �setterr r r r r r r r r r s&