ruạṛ
a N��f�+ � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�CreateJobDetails� )�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 edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS ) �CreateSqlJobDetailsz6 The details specific to the SQL job request. c K s� ddddddddddddddddddd�| _ ddddd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _ dS )a Initializes a new CreateSqlJobDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.database_management.models.CreateSqlJobDetails.job_type` attribute of this class is ``SQL`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this CreateSqlJobDetails. :type name: str :param description: The value to assign to the description property of this CreateSqlJobDetails. :type description: str :param compartment_id: The value to assign to the compartment_id property of this CreateSqlJobDetails. :type compartment_id: str :param managed_database_group_id: The value to assign to the managed_database_group_id property of this CreateSqlJobDetails. :type managed_database_group_id: str :param managed_database_id: The value to assign to the managed_database_id property of this CreateSqlJobDetails. :type managed_database_id: str :param database_sub_type: The value to assign to the database_sub_type property of this CreateSqlJobDetails. Allowed values for this property are: "CDB", "PDB", "NON_CDB", "ACD", "ADB" :type database_sub_type: str :param schedule_type: The value to assign to the schedule_type property of this CreateSqlJobDetails. :type schedule_type: str :param job_type: The value to assign to the job_type property of this CreateSqlJobDetails. Allowed values for this property are: "SQL" :type job_type: str :param timeout: The value to assign to the timeout property of this CreateSqlJobDetails. :type timeout: str :param result_location: The value to assign to the result_location property of this CreateSqlJobDetails. :type result_location: oci.database_management.models.JobExecutionResultLocation :param schedule_details: The value to assign to the schedule_details property of this CreateSqlJobDetails. :type schedule_details: oci.database_management.models.JobScheduleDetails :param sql_text: The value to assign to the sql_text property of this CreateSqlJobDetails. :type sql_text: str :param sql_type: The value to assign to the sql_type property of this CreateSqlJobDetails. :type sql_type: str :param operation_type: The value to assign to the operation_type property of this CreateSqlJobDetails. :type operation_type: str :param user_name: The value to assign to the user_name property of this CreateSqlJobDetails. :type user_name: str :param password: The value to assign to the password property of this CreateSqlJobDetails. :type password: str :param secret_id: The value to assign to the secret_id property of this CreateSqlJobDetails. :type secret_id: str :param role: The value to assign to the role property of this CreateSqlJobDetails. :type role: str �str�JobExecutionResultLocation�JobScheduleDetails)�name�description�compartment_id�managed_database_group_id�managed_database_id�database_sub_type� schedule_type�job_type�timeout�result_location�schedule_details�sql_text�sql_type�operation_type� user_name�password� secret_id�roler r � compartmentId�managedDatabaseGroupId�managedDatabaseId�databaseSubType�scheduleType�jobTyper �resultLocation�scheduleDetails�sqlText�sqlType� operationType�userNamer �secretIdr N�SQL)� swagger_types� attribute_map�_name�_description�_compartment_id�_managed_database_group_id�_managed_database_id�_database_sub_type�_schedule_type� _job_type�_timeout�_result_location�_schedule_details� _sql_text� _sql_type�_operation_type� _user_name� _password� _secret_id�_role)�self�kwargs� rB ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_management/models/create_sql_job_details.py�__init__ sr R��zCreateSqlJobDetails.__init__c C s | j S )z� Gets the sql_text of this CreateSqlJobDetails. The SQL text to be executed as part of the job. :return: The sql_text of this CreateSqlJobDetails. :rtype: str �r9 �r@ rB rB rC r � s zCreateSqlJobDetails.sql_textc C s || _ dS )z� Sets the sql_text of this CreateSqlJobDetails. The SQL text to be executed as part of the job. :param sql_text: The sql_text of this CreateSqlJobDetails. :type: str NrE )r@ r rB rB rC r � s c C s | j S )z� Gets the sql_type of this CreateSqlJobDetails. :return: The sql_type of this CreateSqlJobDetails. :rtype: str �r: rF rB rB rC r � s zCreateSqlJobDetails.sql_typec C s || _ dS )z� Sets the sql_type of this CreateSqlJobDetails. :param sql_type: The sql_type of this CreateSqlJobDetails. :type: str NrG )r@ r rB rB rC r � s c C s | j S )z� **[Required]** Gets the operation_type of this CreateSqlJobDetails. The SQL operation type. :return: The operation_type of this CreateSqlJobDetails. :rtype: str �r; rF rB rB rC r � s z"CreateSqlJobDetails.operation_typec C s || _ dS )z� Sets the operation_type of this CreateSqlJobDetails. The SQL operation type. :param operation_type: The operation_type of this CreateSqlJobDetails. :type: str NrH )r@ r rB rB rC r � s c C s | j S )as Gets the user_name of this CreateSqlJobDetails. The database user name used to execute the SQL job. If the job is being executed on a Managed Database Group, then the user name should exist on all the databases in the group with the same password. :return: The user_name of this CreateSqlJobDetails. :rtype: str �r<