o
    ëÉ¶d6F  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   s°  e Zd ZdZdZdZdZdZdZdd„ Z	e
d	d
„ ƒZejdd
„ ƒZe
dd„ ƒZejdd„ ƒZe
dd„ ƒZejdd„ ƒZe
dd„ ƒZejdd„ ƒZe
dd„ ƒZejdd„ ƒZe
dd„ ƒZejdd„ ƒZe
dd„ ƒZejdd„ ƒZe
dd„ ƒZejd d„ ƒZe
d!d"„ ƒZejd#d"„ ƒZe
d$d%„ ƒZejd&d%„ ƒZe
d'd(„ ƒZejd)d(„ ƒZe
d*d+„ ƒZejd,d+„ ƒZe
d-d.„ ƒZejd/d.„ ƒZe
d0d1„ ƒZejd2d1„ ƒZd3d4„ Zd5d6„ Zd7d8„ Zd9S ):ÚSdkz$
    Information about the SDK.
    ÚCREATINGÚACTIVEÚFAILEDÚDELETINGÚDELETEDc                 K   s    dddddddddddddddœ| _ dddd	d
ddddddddddœ| _d| _d| _d| _d| _d| _d| _d| _d| _	d| _
d| _d| _d| _d| _d| _dS )ar	  
        Initializes a new Sdk object with values from keyword arguments.
        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 Sdk.
        :type id: str

        :param api_id:
            The value to assign to the api_id property of this Sdk.
        :type api_id: str

        :param compartment_id:
            The value to assign to the compartment_id property of this Sdk.
        :type compartment_id: str

        :param time_created:
            The value to assign to the time_created property of this Sdk.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this Sdk.
        :type time_updated: datetime

        :param display_name:
            The value to assign to the display_name property of this Sdk.
        :type display_name: str

        :param target_language:
            The value to assign to the target_language property of this Sdk.
        :type target_language: str

        :param artifact_url:
            The value to assign to the artifact_url property of this Sdk.
        :type artifact_url: str

        :param time_artifact_url_expires_at:
            The value to assign to the time_artifact_url_expires_at property of this Sdk.
        :type time_artifact_url_expires_at: datetime

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Sdk.
            Allowed values for this property are: "CREATING", "ACTIVE", "FAILED", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this Sdk.
        :type lifecycle_details: str

        :param freeform_tags:
            The value to assign to the freeform_tags property of this Sdk.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this Sdk.
        :type defined_tags: dict(str, dict(str, object))

        :param parameters:
            The value to assign to the parameters property of this Sdk.
        :type parameters: dict(str, str)

        ÚstrÚdatetimezdict(str, str)zdict(str, dict(str, object)))ÚidÚapi_idÚcompartment_idÚtime_createdÚtime_updatedÚdisplay_nameÚtarget_languageÚartifact_urlÚtime_artifact_url_expires_atÚlifecycle_stateÚlifecycle_detailsÚfreeform_tagsÚdefined_tagsÚ
parametersr   ZapiIdZcompartmentIdZtimeCreatedZtimeUpdatedZdisplayNameZtargetLanguageZartifactUrlZtimeArtifactUrlExpiresAtZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsr   N)Zswagger_typesZattribute_mapÚ_idÚ_api_idÚ_compartment_idÚ_time_createdÚ_time_updatedÚ_display_nameÚ_target_languageÚ_artifact_urlÚ_time_artifact_url_expires_atÚ_lifecycle_stateÚ_lifecycle_detailsÚ_freeform_tagsÚ_defined_tagsÚ_parameters)ÚselfÚkwargs© r,   ú=usr/lib/python3.10/site-packages/oci/apigateway/models/sdk.pyÚ__init__&   sX   Aòò
zSdk.__init__c                 C   ó   | j S )zí
        **[Required]** Gets the id of this Sdk.
        The `OCID`__ of the resource.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The id of this Sdk.
        :rtype: str
        ©r   ©r*   r,   r,   r-   r   —   ó   zSdk.idc                 C   ó
   || _ dS )zß
        Sets the id of this Sdk.
        The `OCID`__ of the resource.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param id: The id of this Sdk.
        :type: str
        Nr0   )r*   r   r,   r,   r-   r   ¥   ó   
c                 C   r/   )zô
        **[Required]** Gets the api_id of this Sdk.
        The `OCID`__ of API resource

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The api_id of this Sdk.
        :rtype: str
        ©r   r1   r,   r,   r-   r   ³   r2   z
Sdk.api_idc                 C   r3   )zê
        Sets the api_id of this Sdk.
        The `OCID`__ of API resource

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param api_id: The api_id of this Sdk.
        :type: str
        Nr5   )r*   r   r,   r,   r-   r   Á   r4   c                 C   r/   )a"  
        Gets the compartment_id of this Sdk.
        The `OCID`__ of the compartment in which the
        resource is created.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The compartment_id of this Sdk.
        :rtype: str
        ©r   r1   r,   r,   r-   r   Ï   ó   zSdk.compartment_idc                 C   r3   )a/  
        Sets the compartment_id of this Sdk.
        The `OCID`__ of the compartment in which the
        resource is created.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param compartment_id: The compartment_id of this Sdk.
        :type: str
        Nr6   )r*   r   r,   r,   r-   r   Þ   ó   
c                 C   r/   )zÐ
        Gets the time_created of this Sdk.
        The time this resource was created. An RFC3339 formatted datetime string.


        :return: The time_created of this Sdk.
        :rtype: datetime
        ©r   r1   r,   r,   r-   r   í   ó   
zSdk.time_createdc                 C   r3   )zÛ
        Sets the time_created of this Sdk.
        The time this resource was created. An RFC3339 formatted datetime string.


        :param time_created: The time_created of this Sdk.
        :type: datetime
        Nr9   )r*   r   r,   r,   r-   r   ù   ó   

c                 C   r/   )zÕ
        Gets the time_updated of this Sdk.
        The time this resource was last updated. An RFC3339 formatted datetime string.


        :return: The time_updated of this Sdk.
        :rtype: datetime
        ©r    r1   r,   r,   r-   r     r:   zSdk.time_updatedc                 C   r3   )zà
        Sets the time_updated of this Sdk.
        The time this resource was last updated. An RFC3339 formatted datetime string.


        :param time_updated: The time_updated of this Sdk.
        :type: datetime
        Nr<   )r*   r   r,   r,   r-   r     r;   c                 C   r/   )a,  
        **[Required]** Gets the display_name of this Sdk.
        A user-friendly name. Does not have to be unique, and it's changeable.
        Avoid entering confidential information.

        Example: `My new resource`


        :return: The display_name of this Sdk.
        :rtype: str
        ©r!   r1   r,   r,   r-   r     r7   zSdk.display_namec                 C   r3   )a(  
        Sets the display_name of this Sdk.
        A user-friendly name. Does not have to be unique, and it's changeable.
        Avoid entering confidential information.

        Example: `My new resource`


        :param display_name: The display_name of this Sdk.
        :type: str
        Nr=   )r*   r   r,   r,   r-   r   ,  r8   c                 C   r/   )zæ
        **[Required]** Gets the target_language of this Sdk.
        The string representing the target programming language for generating the SDK.


        :return: The target_language of this Sdk.
        :rtype: str
        ©r"   r1   r,   r,   r-   r   ;  r:   zSdk.target_languagec                 C   r3   )zå
        Sets the target_language of this Sdk.
        The string representing the target programming language for generating the SDK.


        :param target_language: The target_language of this Sdk.
        :type: str
        Nr>   )r*   r   r,   r,   r-   r   G  r;   c                 C   r/   )z¢
        Gets the artifact_url of this Sdk.
        File location for generated SDK.


        :return: The artifact_url of this Sdk.
        :rtype: str
        ©r#   r1   r,   r,   r-   r   S  r:   zSdk.artifact_urlc                 C   r3   )z­
        Sets the artifact_url of this Sdk.
        File location for generated SDK.


        :param artifact_url: The artifact_url of this Sdk.
        :type: str
        Nr?   )r*   r   r,   r,   r-   r   _  r;   c                 C   r/   )z¾
        Gets the time_artifact_url_expires_at of this Sdk.
        Expiry of artifact url.


        :return: The time_artifact_url_expires_at of this Sdk.
        :rtype: datetime
        ©r$   r1   r,   r,   r-   r   k  r:   z Sdk.time_artifact_url_expires_atc                 C   r3   )zÙ
        Sets the time_artifact_url_expires_at of this Sdk.
        Expiry of artifact url.


        :param time_artifact_url_expires_at: The time_artifact_url_expires_at of this Sdk.
        :type: datetime
        Nr@   )r*   r   r,   r,   r-   r   w  r;   c                 C   r/   )að  
        Gets the lifecycle_state of this Sdk.
        The current state of the SDK.
        - The SDK will be in CREATING state if the SDK creation is in progress.
        - The SDK will be in ACTIVE state if create is successful.
        - The SDK will be in FAILED state if the create, or delete fails.
        - The SDK will be in DELETING state if the deletion in in progress.
        - The SDK will be in DELETED state if the delete is successful.

        Allowed values for this property are: "CREATING", "ACTIVE", "FAILED", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this Sdk.
        :rtype: str
        )r%   r1   r,   r,   r-   r   ƒ  s   zSdk.lifecycle_statec                 C   s    g d¢}t ||ƒsd}|| _dS )a$  
        Sets the lifecycle_state of this Sdk.
        The current state of the SDK.
        - The SDK will be in CREATING state if the SDK creation is in progress.
        - The SDK will be in ACTIVE state if create is successful.
        - The SDK will be in FAILED state if the create, or delete fails.
        - The SDK will be in DELETING state if the deletion in in progress.
        - The SDK will be in DELETED state if the delete is successful.


        :param lifecycle_state: The lifecycle_state of this Sdk.
        :type: str
        )r   r   r	   r
   r   ZUNKNOWN_ENUM_VALUEN)r   r%   )r*   r   Zallowed_valuesr,   r,   r-   r   —  s   

c                 C   r/   )a/  
        Gets the lifecycle_details of this Sdk.
        A message describing the current state in more detail.
        For example, can be used to provide actionable information for a
        resource in a Failed state.


        :return: The lifecycle_details of this Sdk.
        :rtype: str
        ©r&   r1   r,   r,   r-   r   «  r2   zSdk.lifecycle_detailsc                 C   r3   )a?  
        Sets the lifecycle_details of this Sdk.
        A message describing the current state in more detail.
        For example, can be used to provide actionable information for a
        resource in a Failed state.


        :param lifecycle_details: The lifecycle_details of this Sdk.
        :type: str
        NrA   )r*   r   r,   r,   r-   r   ¹  r4   c                 C   r/   )aÀ  
        Gets the freeform_tags of this Sdk.
        Free-form tags for this resource. Each tag is a simple key-value pair
        with no predefined name, type, or namespace. For more information, see
        `Resource Tags`__.

        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this Sdk.
        :rtype: dict(str, str)
        ©r'   r1   r,   r,   r-   r   Ç  ó   zSdk.freeform_tagsc                 C   r3   )aÌ  
        Sets the freeform_tags of this Sdk.
        Free-form tags for this resource. Each tag is a simple key-value pair
        with no predefined name, type, or namespace. For more information, see
        `Resource Tags`__.

        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this Sdk.
        :type: dict(str, str)
        NrB   )r*   r   r,   r,   r-   r   Ù  ó   
c                 C   r/   )a¶  
        Gets the defined_tags of this Sdk.
        Defined tags for this resource. Each key is predefined and scoped to a
        namespace. For more information, see
        `Resource Tags`__.

        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this Sdk.
        :rtype: dict(str, dict(str, object))
        ©r(   r1   r,   r,   r-   r   ë  rC   zSdk.defined_tagsc                 C   r3   )aÁ  
        Sets the defined_tags of this Sdk.
        Defined tags for this resource. Each key is predefined and scoped to a
        namespace. For more information, see
        `Resource Tags`__.

        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this Sdk.
        :type: dict(str, dict(str, object))
        NrE   )r*   r   r,   r,   r-   r   ý  rD   c                 C   r/   )aJ  
        Gets the parameters of this Sdk.
        Additional optional configurations passed.
        The applicable config keys are listed under "parameters" when "/sdkLanguageTypes" is called.

        Example: `{"configName": "configValue"}`


        :return: The parameters of this Sdk.
        :rtype: dict(str, str)
        ©r)   r1   r,   r,   r-   r     r7   zSdk.parametersc                 C   r3   )aS  
        Sets the parameters of this Sdk.
        Additional optional configurations passed.
        The applicable config keys are listed under "parameters" when "/sdkLanguageTypes" is called.

        Example: `{"configName": "configValue"}`


        :param parameters: The parameters of this Sdk.
        :type: dict(str, str)
        NrF   )r*   r   r,   r,   r-   r     r8   c                 C   s   t | ƒS ©N)r   r1   r,   r,   r-   Ú__repr__-  s   zSdk.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r*   Úotherr,   r,   r-   Ú__eq__0  s   z
Sdk.__eq__c                 C   s
   | |k S rG   r,   rJ   r,   r,   r-   Ú__ne__6  s   
z
Sdk.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDr.   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r   r   r   r   r   rH   rL   rM   r,   r,   r,   r-   r      s†    q



























r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r,   r,   r,   r-   Ú<module>   s   