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 @ sj e Zd ZdZdZdZdZdZdZdd� Z e d d � �Zedd� �Z e jd d� �Z dd� Zdd� Zdd� ZdS )� SourceDetailsa Specify one of the following values depending for the 'type' attribute based on the application that you want to migrate. Specify `OCIC` if you want to migrate Oracle Java Cloud Service, Oracle Analytics Cloud - Classic, Oracle Integration, and Oracle SOA Cloud Service applications from Oracle Cloud Infrastructure - Classic. Specify `INTERNAL_COMPUTE` if you have a traditional Oracle Cloud Infrastructure - Classic account and you want to migrate Oracle Process Cloud Service or Oracle Integration Cloud Service applications. Specify `OCC` if you want to migrate applications from Oracle Cloud@Customer. �OCIC�INTERNAL_COMPUTE�OCC� OCIC_IDCS�IMPORTc K s ddi| _ ddi| _d| _dS )a� Initializes a new SourceDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.application_migration.models.ImportSourceDetails` * :class:`~oci.application_migration.models.OccSourceDetails` * :class:`~oci.application_migration.models.InternalSourceDetails` * :class:`~oci.application_migration.models.OcicSourceDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this SourceDetails. Allowed values for this property are: "OCIC", "INTERNAL_COMPUTE", "OCC", "OCIC_IDCS", "IMPORT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str �type�strN)� swagger_types� attribute_map�_type)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/application_migration/models/source_details.py�__init__, s ��zSourceDetails.__init__c C s@ | d }|dkrdS |dkr dS |dkr,dS |dkr8d S d S dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r �ImportSourceDetailsr �OccSourceDetailsr �InternalSourceDetailsr �OcicSourceDetailsr Nr )�object_dictionaryr r r r �get_subtypeI s zSourceDetails.get_subtypec C s | j S )a� **[Required]** Gets the type of this SourceDetails. The type of source environment. Allowed values for this property are: "OCIC", "INTERNAL_COMPUTE", "OCC", "OCIC_IDCS", "IMPORT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this SourceDetails. :rtype: str )r �r r r r r _ s zSourceDetails.typec C s g d�}t ||�sd}|| _dS )z� Sets the type of this SourceDetails. The type of source environment. :param type: The type of this SourceDetails. :type: str )r r r r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r n s c C s t | �S �N)r r r r r �__repr__} s zSourceDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zSourceDetails.__eq__c C s | |k S r r r"