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 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� �Zdd� Zdd� Zd d!� Zd"S )#�CreateExecutionActionDetailsz6 Request to create execution action resource. �DB_SERVER_FULL_SOFTWARE_UPDATE�#STORAGE_SERVER_FULL_SOFTWARE_UPDATE�#NETWORK_SWITCH_FULL_SOFTWARE_UPDATEc K sZ dddddddd�| _ dddd d ddd�| _d | _d | _d | _d | _d | _d | _d | _d S )a_ Initializes a new CreateExecutionActionDetails 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 CreateExecutionActionDetails. :type compartment_id: str :param execution_window_id: The value to assign to the execution_window_id property of this CreateExecutionActionDetails. :type execution_window_id: str :param action_type: The value to assign to the action_type property of this CreateExecutionActionDetails. Allowed values for this property are: "DB_SERVER_FULL_SOFTWARE_UPDATE", "STORAGE_SERVER_FULL_SOFTWARE_UPDATE", "NETWORK_SWITCH_FULL_SOFTWARE_UPDATE" :type action_type: str :param action_params: The value to assign to the action_params property of this CreateExecutionActionDetails. :type action_params: dict(str, str) :param action_members: The value to assign to the action_members property of this CreateExecutionActionDetails. :type action_members: list[oci.database.models.ExecutionActionMember] :param freeform_tags: The value to assign to the freeform_tags property of this CreateExecutionActionDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateExecutionActionDetails. :type defined_tags: dict(str, dict(str, object)) �strzdict(str, str)zlist[ExecutionActionMember]zdict(str, dict(str, object)))�compartment_id�execution_window_id�action_type� action_params�action_members� freeform_tags�defined_tagsZ compartmentIdZexecutionWindowIdZ actionTypeZactionParamsZ actionMembersZfreeformTagsZdefinedTagsN) Z swagger_typesZ attribute_map�_compartment_id�_execution_window_id�_action_type�_action_params�_action_members�_freeform_tags� _defined_tags)�self�kwargs� r �W/usr/lib/python3.9/site-packages/oci/database/models/create_execution_action_details.py�__init__ s. $�� z%CreateExecutionActionDetails.__init__c C s | j S )a+ Gets the compartment_id of this CreateExecutionActionDetails. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this CreateExecutionActionDetails. :rtype: str �r �r r r r r ] s z+CreateExecutionActionDetails.compartment_idc C s || _ dS )a8 Sets the compartment_id of this CreateExecutionActionDetails. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this CreateExecutionActionDetails. :type: str Nr )r r r r r r k s c C s | j S )ar **[Required]** Gets the execution_window_id of this CreateExecutionActionDetails. The `OCID`__ of the execution window resource the execution action belongs to. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The execution_window_id of this CreateExecutionActionDetails. :rtype: str �r r r r r r y s z0CreateExecutionActionDetails.execution_window_idc C s || _ dS )au Sets the execution_window_id of this CreateExecutionActionDetails. The `OCID`__ of the execution window resource the execution action belongs to. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param execution_window_id: The execution_window_id of this CreateExecutionActionDetails. :type: str Nr )r r r r r r � s c C s | j S )a� **[Required]** Gets the action_type of this CreateExecutionActionDetails. The action type of the execution action being performed Allowed values for this property are: "DB_SERVER_FULL_SOFTWARE_UPDATE", "STORAGE_SERVER_FULL_SOFTWARE_UPDATE", "NETWORK_SWITCH_FULL_SOFTWARE_UPDATE" :return: The action_type of this CreateExecutionActionDetails. :rtype: str )r r r r r r � s z(CreateExecutionActionDetails.action_typec C s* g d�}t ||�s td|� ���|| _dS )z� Sets the action_type of this CreateExecutionActionDetails. The action type of the execution action being performed :param action_type: The action_type of this CreateExecutionActionDetails. :type: str )r r r z8Invalid value for `action_type`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r � s �c C s | j S )a= Gets the action_params of this CreateExecutionActionDetails. Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}` :return: The action_params of this CreateExecutionActionDetails. :rtype: dict(str, str) �r r r r r r � s z*CreateExecutionActionDetails.action_paramsc C s || _ dS )aI Sets the action_params of this CreateExecutionActionDetails. Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}` :param action_params: The action_params of this CreateExecutionActionDetails. :type: dict(str, str) Nr"