ruạṛ
a N��fn � @ 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 )�CreateSourceApplicationInfoz0 The information about the application. � CONNECTED�DISCONNECTEDc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a Initializes a new CreateSourceApplicationInfo object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param workspace_id: The value to assign to the workspace_id property of this CreateSourceApplicationInfo. :type workspace_id: str :param application_key: The value to assign to the application_key property of this CreateSourceApplicationInfo. :type application_key: str :param copy_type: The value to assign to the copy_type property of this CreateSourceApplicationInfo. Allowed values for this property are: "CONNECTED", "DISCONNECTED" :type copy_type: str �str)�workspace_id�application_key� copy_type�workspaceId�applicationKey�copyTypeN)� swagger_types� attribute_map� _workspace_id�_application_key� _copy_type)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_integration/models/create_source_application_info.py�__init__ s ��z$CreateSourceApplicationInfo.__init__c C s | j S )a{ Gets the workspace_id of this CreateSourceApplicationInfo. The OCID of the workspace containing the application. This allows cross workspace deployment to publish an application from a different workspace into the current workspace specified in this operation. :return: The workspace_id of this CreateSourceApplicationInfo. :rtype: str �r �r r r r r ; s z(CreateSourceApplicationInfo.workspace_idc C s || _ dS )a� Sets the workspace_id of this CreateSourceApplicationInfo. The OCID of the workspace containing the application. This allows cross workspace deployment to publish an application from a different workspace into the current workspace specified in this operation. :param workspace_id: The workspace_id of this CreateSourceApplicationInfo. :type: str Nr )r r r r r r G s c C s | j S )z� Gets the application_key of this CreateSourceApplicationInfo. The source application key to use when creating the application. :return: The application_key of this CreateSourceApplicationInfo. :rtype: str �r r r r r r S s z+CreateSourceApplicationInfo.application_keyc C s || _ dS )a Sets the application_key of this CreateSourceApplicationInfo. The source application key to use when creating the application. :param application_key: The application_key of this CreateSourceApplicationInfo. :type: str Nr )r r r r r r _ s c C s | j S )a Gets the copy_type of this CreateSourceApplicationInfo. Parameter to specify the link between SOURCE and TARGET application after copying. CONNECTED - Indicate that TARGET application is conneced to SOURCE and can be synced after copy. DISCONNECTED - Indicate that TARGET application is not conneced to SOURCE and can evolve independently. Allowed values for this property are: "CONNECTED", "DISCONNECTED" :return: The copy_type of this CreateSourceApplicationInfo. :rtype: str )r r r r r r k s z%CreateSourceApplicationInfo.copy_typec C s* ddg}t ||�s td�|���|| _dS )a� Sets the copy_type of this CreateSourceApplicationInfo. Parameter to specify the link between SOURCE and TARGET application after copying. CONNECTED - Indicate that TARGET application is conneced to SOURCE and can be synced after copy. DISCONNECTED - Indicate that TARGET application is not conneced to SOURCE and can evolve independently. :param copy_type: The copy_type of this CreateSourceApplicationInfo. :type: str r r z9Invalid value for `copy_type`, must be None or one of {0}N)r � ValueError�formatr )r r �allowed_valuesr r r r y s ��c C s t | �S �N)r r r r r �__repr__� s z$CreateSourceApplicationInfo.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z"CreateSourceApplicationInfo.__eq__c C s | |k S r r r# r r r �__ne__� s z"CreateSourceApplicationInfo.__ne__N)�__name__� __module__�__qualname__�__doc__�COPY_TYPE_CONNECTED�COPY_TYPE_DISCONNECTEDr �propertyr �setterr r r! r% r&