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 ZdZdZdZdd� Zedd� �Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS )�CreateServiceInstanceDetailsz4 The information about new ServiceInstance. �INTEGRATION_CLOUD�ANALYTICS_WAREHOUSEc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a~ Initializes a new CreateServiceInstanceDetails 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.fusion_apps.models.CreateOaxServiceInstanceDetails` * :class:`~oci.fusion_apps.models.CreateOicServiceInstanceDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this CreateServiceInstanceDetails. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this CreateServiceInstanceDetails. :type compartment_id: str :param service_instance_type: The value to assign to the service_instance_type property of this CreateServiceInstanceDetails. Allowed values for this property are: "INTEGRATION_CLOUD", "ANALYTICS_WAREHOUSE" :type service_instance_type: str �str)�display_name�compartment_id�service_instance_type�displayName� compartmentId�serviceInstanceTypeN)� swagger_types� attribute_map� _display_name�_compartment_id�_service_instance_type)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/fusion_apps/models/create_service_instance_details.py�__init__ s ��z%CreateServiceInstanceDetails.__init__c C s( | d }|dkrdS |dkr dS dS 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 �CreateOaxServiceInstanceDetailsr �CreateOicServiceInstanceDetailsr Nr )�object_dictionary�typer r r �get_subtype@ s z(CreateServiceInstanceDetails.get_subtypec C s | j S )z� **[Required]** Gets the display_name of this CreateServiceInstanceDetails. The service instance type being provisioned :return: The display_name of this CreateServiceInstanceDetails. :rtype: str �r �r r r r r P s z)CreateServiceInstanceDetails.display_namec C s || _ dS )z� Sets the display_name of this CreateServiceInstanceDetails. The service instance type being provisioned :param display_name: The display_name of this CreateServiceInstanceDetails. :type: str Nr )r r r r r r \ s c C s | j S )z� Gets the compartment_id of this CreateServiceInstanceDetails. Comparment where the instance is to be created :return: The compartment_id of this CreateServiceInstanceDetails. :rtype: str �r r r r r r h s z+CreateServiceInstanceDetails.compartment_idc C s || _ dS )z� Sets the compartment_id of this CreateServiceInstanceDetails. Comparment where the instance is to be created :param compartment_id: The compartment_id of this CreateServiceInstanceDetails. :type: str Nr! )r r r r r r t s c C s | j S )aK **[Required]** Gets the service_instance_type of this CreateServiceInstanceDetails. Type of the ServiceInstance. Allowed values for this property are: "INTEGRATION_CLOUD", "ANALYTICS_WAREHOUSE" :return: The service_instance_type of this CreateServiceInstanceDetails. :rtype: str )r r r r r r � s z2CreateServiceInstanceDetails.service_instance_typec C s* ddg}t ||�s td�|���|| _dS )z� Sets the service_instance_type of this CreateServiceInstanceDetails. Type of the ServiceInstance. :param service_instance_type: The service_instance_type of this CreateServiceInstanceDetails. :type: str r r zEInvalid value for `service_instance_type`, must be None or one of {0}N)r � ValueError�formatr )r r �allowed_valuesr r r r � s ��c C s t | �S �N)r r r r r �__repr__� s z%CreateServiceInstanceDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z#CreateServiceInstanceDetails.__eq__c C s | |k S r% r r( r r r �__ne__� s z#CreateServiceInstanceDetails.__ne__N)�__name__� __module__�__qualname__�__doc__�'SERVICE_INSTANCE_TYPE_INTEGRATION_CLOUD�)SERVICE_INSTANCE_TYPE_ANALYTICS_WAREHOUSEr �staticmethodr �propertyr �setterr r r&