ruạṛ
a N��fKA � @ 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 @ sn e Zd ZdZdZdZdZdZdZdd� Z e 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*� �Zd,d-� Zd.d/� Zd0d1� Zd2S )3�IdentityProviderax The resulting base object when you add an identity provider to your tenancy. A :class:`Saml2IdentityProvider` is a specific type of `IdentityProvider` that supports the SAML 2.0 protocol. Each `IdentityProvider` object has its own OCID. For more information, see `Identity Providers and Federation`__. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see `Get Started with Policies`__. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. __ https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm __ https://docs.cloud.oracle.com/Content/Identity/policiesgs/get-started-with-policies.htm �CREATING�ACTIVE�INACTIVE�DELETING�DELETEDc K s� dddddddddddd�| _ ddd d ddd ddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a Initializes a new IdentityProvider 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.identity.models.Saml2IdentityProvider` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this IdentityProvider. :type id: str :param compartment_id: The value to assign to the compartment_id property of this IdentityProvider. :type compartment_id: str :param name: The value to assign to the name property of this IdentityProvider. :type name: str :param description: The value to assign to the description property of this IdentityProvider. :type description: str :param product_type: The value to assign to the product_type property of this IdentityProvider. :type product_type: str :param time_created: The value to assign to the time_created property of this IdentityProvider. :type time_created: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this IdentityProvider. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param inactive_status: The value to assign to the inactive_status property of this IdentityProvider. :type inactive_status: int :param protocol: The value to assign to the protocol property of this IdentityProvider. :type protocol: str :param freeform_tags: The value to assign to the freeform_tags property of this IdentityProvider. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this IdentityProvider. :type defined_tags: dict(str, dict(str, object)) �str�datetime�intzdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�name�description�product_type�time_created�lifecycle_state�inactive_status�protocol� freeform_tags�defined_tagsr � compartmentIdr r �productType�timeCreated�lifecycleState�inactiveStatusr �freeformTags�definedTagsN) � swagger_types� attribute_map�_id�_compartment_id�_name�_description� _product_type� _time_created�_lifecycle_state�_inactive_status� _protocol�_freeform_tags� _defined_tags)�self�kwargs� r0 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/identity/models/identity_provider.py�__init__2 sF 9��zIdentityProvider.__init__c C s | d }|dkrdS 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 �SAML2�Saml2IdentityProviderr Nr0 )�object_dictionary�typer0 r0 r1 �get_subtype� s zIdentityProvider.get_subtypec C s | j S )z� **[Required]** Gets the id of this IdentityProvider. The OCID of the `IdentityProvider`. :return: The id of this IdentityProvider. :rtype: str �r# �r. r0 r0 r1 r � s zIdentityProvider.idc C s || _ dS )z� Sets the id of this IdentityProvider. The OCID of the `IdentityProvider`. :param id: The id of this IdentityProvider. :type: str Nr8 )r. r r0 r0 r1 r � s c C s | j S )z� **[Required]** Gets the compartment_id of this IdentityProvider. The OCID of the tenancy containing the `IdentityProvider`. :return: The compartment_id of this IdentityProvider. :rtype: str �r$ r9 r0 r0 r1 r � s zIdentityProvider.compartment_idc C s || _ dS )z� Sets the compartment_id of this IdentityProvider. The OCID of the tenancy containing the `IdentityProvider`. :param compartment_id: The compartment_id of this IdentityProvider. :type: str Nr: )r. r r0 r0 r1 r � s c C s | j S )a� **[Required]** Gets the name of this IdentityProvider. The name you assign to the `IdentityProvider` during creation. The name must be unique across all `IdentityProvider` objects in the tenancy and cannot be changed. This is the name federated users see when choosing which identity provider to use when signing in to the Oracle Cloud Infrastructure Console. :return: The name of this IdentityProvider. :rtype: str �r% r9 r0 r0 r1 r � s zIdentityProvider.namec C s || _ dS )a� Sets the name of this IdentityProvider. The name you assign to the `IdentityProvider` during creation. The name must be unique across all `IdentityProvider` objects in the tenancy and cannot be changed. This is the name federated users see when choosing which identity provider to use when signing in to the Oracle Cloud Infrastructure Console. :param name: The name of this IdentityProvider. :type: str Nr; )r. r r0 r0 r1 r � s c C s | j S )a' **[Required]** Gets the description of this IdentityProvider. The description you assign to the `IdentityProvider` during creation. Does not have to be unique, and it's changeable. :return: The description of this IdentityProvider. :rtype: str �r&