ruạṛ
a N��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 ZdZdZdZdZdZdZdd� Z e d d � �Zejdd � �Ze dd � �Z e jdd � �Z e dd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�RestCallConfigz% The REST API configuration. �GET�POST�PATCH�DELETE�PUTc K s2 dddd�| _ dddd�| _d| _d| _d| _dS ) a Initializes a new RestCallConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param method_type: The value to assign to the method_type property of this RestCallConfig. Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT" :type method_type: str :param request_headers: The value to assign to the request_headers property of this RestCallConfig. :type request_headers: dict(str, str) :param config_values: The value to assign to the config_values property of this RestCallConfig. :type config_values: oci.data_integration.models.ConfigValues �strzdict(str, str)�ConfigValues)�method_type�request_headers� config_values� methodType�requestHeaders�configValuesN)� swagger_types� attribute_map�_method_type�_request_headers�_config_values)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_integration/models/rest_call_config.py�__init__$ s ��zRestCallConfig.__init__c C s | j S )a Gets the method_type of this RestCallConfig. The REST method to use. Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT" :return: The method_type of this RestCallConfig. :rtype: str )r �r r r r r G s zRestCallConfig.method_typec C s* g d�}t ||�s td�|���|| _dS )z� Sets the method_type of this RestCallConfig. The REST method to use. :param method_type: The method_type of this RestCallConfig. :type: str )r r r r r z;Invalid value for `method_type`, must be None or one of {0}N)r � ValueError�formatr )r r �allowed_valuesr r r r U s ��c C s | j S )z� Gets the request_headers of this RestCallConfig. The headers for the REST call. :return: The request_headers of this RestCallConfig. :rtype: dict(str, str) �r r r r r r g s zRestCallConfig.request_headersc C s || _ dS )z� Sets the request_headers of this RestCallConfig. The headers for the REST call. :param request_headers: The request_headers of this RestCallConfig. :type: dict(str, str) Nr"