ruạṛ
a ���f�9 � @ 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 ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zd/d0� Zd1d2� Zd3d4� Zd5S )6�ParameterDefinitionz$ A parameter to a resource. �STRING�URI�URL�NUMBER�BOOLEAN�INPUT�OUTPUTc K s� ddddddddddddd�| _ dddd d ddd ddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )a^ Initializes a new ParameterDefinition object with values from keyword arguments. 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 ParameterDefinition. :type name: str :param type: The value to assign to the type property of this ParameterDefinition. Allowed values for this property are: "STRING", "URI", "URL", "NUMBER", "BOOLEAN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param description: The value to assign to the description property of this ParameterDefinition. :type description: str :param is_required: The value to assign to the is_required property of this ParameterDefinition. :type is_required: bool :param is_sensitive: The value to assign to the is_sensitive property of this ParameterDefinition. :type is_sensitive: bool :param default_value: The value to assign to the default_value property of this ParameterDefinition. :type default_value: str :param min_length: The value to assign to the min_length property of this ParameterDefinition. :type min_length: int :param max_length: The value to assign to the max_length property of this ParameterDefinition. :type max_length: int :param pattern: The value to assign to the pattern property of this ParameterDefinition. :type pattern: str :param direction: The value to assign to the direction property of this ParameterDefinition. Allowed values for this property are: "INPUT", "OUTPUT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type direction: str :param ui_placement_hint: The value to assign to the ui_placement_hint property of this ParameterDefinition. :type ui_placement_hint: str :param resource_type_metadata: The value to assign to the resource_type_metadata property of this ParameterDefinition. :type resource_type_metadata: object �str�bool�int�object)�name�type�description�is_required�is_sensitive� default_value� min_length� max_length�pattern� direction�ui_placement_hint�resource_type_metadatar r r Z isRequiredZisSensitiveZdefaultValueZ minLengthZ maxLengthr r ZuiPlacementHintZresourceTypeMetadataN)Z swagger_typesZ attribute_map�_name�_type�_description�_is_required� _is_sensitive�_default_value�_min_length�_max_length�_pattern� _direction�_ui_placement_hint�_resource_type_metadata)�self�kwargs� r, �G/usr/lib/python3.9/site-packages/oci/oda/models/parameter_definition.py�__init__. sL ;��zParameterDefinition.__init__c C s | j S )z� **[Required]** Gets the name of this ParameterDefinition. The name of the parameter :return: The name of this ParameterDefinition. :rtype: str �r �r* r, r, r- r � s zParameterDefinition.namec C s || _ dS )z� Sets the name of this ParameterDefinition. The name of the parameter :param name: The name of this ParameterDefinition. :type: str Nr/ )r* r r, r, r- r � s c C s | j S )a� **[Required]** Gets the type of this ParameterDefinition. Enumerated parameter type. Allowed values for this property are: "STRING", "URI", "URL", "NUMBER", "BOOLEAN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this ParameterDefinition. :rtype: str )r r0 r, r, r- r � s zParameterDefinition.typec C s g d�}t ||�sd}|| _dS )z� Sets the type of this ParameterDefinition. Enumerated parameter type. :param type: The type of this ParameterDefinition. :type: str )r r r r r �UNKNOWN_ENUM_VALUEN)r r )r* r �allowed_valuesr, r, r- r � s c C s | j S )z� Gets the description of this ParameterDefinition. Description of the parameter. :return: The description of this ParameterDefinition. :rtype: str �r r0 r, r, r- r � s zParameterDefinition.descriptionc C s || _ dS )z� Sets the description of this ParameterDefinition. Description of the parameter. :param description: The description of this ParameterDefinition. :type: str Nr3 )r* r r, r, r- r � s c C s | j S )z� Gets the is_required of this ParameterDefinition. Is this parameter required. Ignored for parameters with direction = OUTPUT. :return: The is_required of this ParameterDefinition. :rtype: bool �r! r0 r, r, r- r � s zParameterDefinition.is_requiredc C s || _ dS )z� Sets the is_required of this ParameterDefinition. Is this parameter required. Ignored for parameters with direction = OUTPUT. :param is_required: The is_required of this ParameterDefinition. :type: bool Nr4 )r* r r, r, r- r � s c C s | j S )a Gets the is_sensitive of this ParameterDefinition. Is the data for this parameter sensitive (e.g. should the data be hidden in UI, encrypted if stored, etc.) :return: The is_sensitive of this ParameterDefinition. :rtype: bool �r"