a Nfz*@sDddlmZddlmZmZmZddlmZeGdddeZdS))ResponseCacheDetails)formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZddZeddZejddZeddZejd dZed d Z e jd d Z ed dZ e jddZ eddZ e jddZ eddZ e jddZ eddZ e jddZ eddZejddZddZddZd d!Zd"S)#ExternalRespCachezY Connection details for an external RESP based cache store for Response Caching. c Kstdddddddddd |_dddd d d d d dd |_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_dS)a Initializes a new ExternalRespCache object with values from keyword arguments. The default value of the :py:attr:`~oci.apigateway.models.ExternalRespCache.type` attribute of this class is ``EXTERNAL_RESP_CACHE`` and it should not be changed. 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 ExternalRespCache. Allowed values for this property are: "EXTERNAL_RESP_CACHE", "NONE" :type type: str :param servers: The value to assign to the servers property of this ExternalRespCache. :type servers: list[oci.apigateway.models.ResponseCacheRespServer] :param authentication_secret_id: The value to assign to the authentication_secret_id property of this ExternalRespCache. :type authentication_secret_id: str :param authentication_secret_version_number: The value to assign to the authentication_secret_version_number property of this ExternalRespCache. :type authentication_secret_version_number: int :param is_ssl_enabled: The value to assign to the is_ssl_enabled property of this ExternalRespCache. :type is_ssl_enabled: bool :param is_ssl_verify_disabled: The value to assign to the is_ssl_verify_disabled property of this ExternalRespCache. :type is_ssl_verify_disabled: bool :param connect_timeout_in_ms: The value to assign to the connect_timeout_in_ms property of this ExternalRespCache. :type connect_timeout_in_ms: int :param read_timeout_in_ms: The value to assign to the read_timeout_in_ms property of this ExternalRespCache. :type read_timeout_in_ms: int :param send_timeout_in_ms: The value to assign to the send_timeout_in_ms property of this ExternalRespCache. :type send_timeout_in_ms: int strzlist[ResponseCacheRespServer]intbool) typeserversauthentication_secret_id$authentication_secret_version_numberis_ssl_enabledis_ssl_verify_disabledconnect_timeout_in_msread_timeout_in_mssend_timeout_in_msr r authenticationSecretId!authenticationSecretVersionNumber isSslEnabledisSslVerifyDisabledconnectTimeoutInMsreadTimeoutInMssendTimeoutInMsNEXTERNAL_RESP_CACHE) swagger_types attribute_map_type_servers_authentication_secret_id%_authentication_secret_version_number_is_ssl_enabled_is_ssl_verify_disabled_connect_timeout_in_ms_read_timeout_in_ms_send_timeout_in_ms)selfkwargsr*/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/apigateway/models/external_resp_cache.py__init__s<-  zExternalRespCache.__init__cCs|jS)a. **[Required]** Gets the servers of this ExternalRespCache. The set of cache store members to connect to. At present only a single server is supported. :return: The servers of this ExternalRespCache. :rtype: list[oci.apigateway.models.ResponseCacheRespServer] r r(r*r*r+r _s zExternalRespCache.serverscCs ||_dS)a% Sets the servers of this ExternalRespCache. The set of cache store members to connect to. At present only a single server is supported. :param servers: The servers of this ExternalRespCache. :type: list[oci.apigateway.models.ResponseCacheRespServer] Nr-)r(r r*r*r+r ks cCs|jS)aQ **[Required]** Gets the authentication_secret_id of this ExternalRespCache. The `OCID`__ of the Oracle Vault Service secret resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The authentication_secret_id of this ExternalRespCache. :rtype: str r!r.r*r*r+rws z*ExternalRespCache.authentication_secret_idcCs ||_dS)aY Sets the authentication_secret_id of this ExternalRespCache. The `OCID`__ of the Oracle Vault Service secret resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param authentication_secret_id: The authentication_secret_id of this ExternalRespCache. :type: str Nr/)r(rr*r*r+rs cCs|jS)a **[Required]** Gets the authentication_secret_version_number of this ExternalRespCache. The version number of the authentication secret to use. :return: The authentication_secret_version_number of this ExternalRespCache. :rtype: int r"r.r*r*r+rs z6ExternalRespCache.authentication_secret_version_numbercCs ||_dS)a( Sets the authentication_secret_version_number of this ExternalRespCache. The version number of the authentication secret to use. :param authentication_secret_version_number: The authentication_secret_version_number of this ExternalRespCache. :type: int Nr0)r(rr*r*r+rs cCs|jS)z Gets the is_ssl_enabled of this ExternalRespCache. Defines if the connection should be over SSL. :return: The is_ssl_enabled of this ExternalRespCache. :rtype: bool r#r.r*r*r+rs z ExternalRespCache.is_ssl_enabledcCs ||_dS)z Sets the is_ssl_enabled of this ExternalRespCache. Defines if the connection should be over SSL. :param is_ssl_enabled: The is_ssl_enabled of this ExternalRespCache. :type: bool Nr1)r(rr*r*r+rs cCs|jS)z Gets the is_ssl_verify_disabled of this ExternalRespCache. Defines whether or not to uphold SSL verification. :return: The is_ssl_verify_disabled of this ExternalRespCache. :rtype: bool r$r.r*r*r+rs z(ExternalRespCache.is_ssl_verify_disabledcCs ||_dS)z Sets the is_ssl_verify_disabled of this ExternalRespCache. Defines whether or not to uphold SSL verification. :param is_ssl_verify_disabled: The is_ssl_verify_disabled of this ExternalRespCache. :type: bool Nr2)r(rr*r*r+rs cCs|jS)z Gets the connect_timeout_in_ms of this ExternalRespCache. Defines the timeout for establishing a connection with the Response Cache. :return: The connect_timeout_in_ms of this ExternalRespCache. :rtype: int r%r.r*r*r+rs z'ExternalRespCache.connect_timeout_in_mscCs ||_dS)a Sets the connect_timeout_in_ms of this ExternalRespCache. Defines the timeout for establishing a connection with the Response Cache. :param connect_timeout_in_ms: The connect_timeout_in_ms of this ExternalRespCache. :type: int Nr3)r(rr*r*r+rs cCs|jS)z Gets the read_timeout_in_ms of this ExternalRespCache. Defines the timeout for reading data from the Response Cache. :return: The read_timeout_in_ms of this ExternalRespCache. :rtype: int r&r.r*r*r+rs z$ExternalRespCache.read_timeout_in_mscCs ||_dS)z Sets the read_timeout_in_ms of this ExternalRespCache. Defines the timeout for reading data from the Response Cache. :param read_timeout_in_ms: The read_timeout_in_ms of this ExternalRespCache. :type: int Nr4)r(rr*r*r+rs cCs|jS)z Gets the send_timeout_in_ms of this ExternalRespCache. Defines the timeout for transmitting data to the Response Cache. :return: The send_timeout_in_ms of this ExternalRespCache. :rtype: int r'r.r*r*r+r s z$ExternalRespCache.send_timeout_in_mscCs ||_dS)z Sets the send_timeout_in_ms of this ExternalRespCache. Defines the timeout for transmitting data to the Response Cache. :param send_timeout_in_ms: The send_timeout_in_ms of this ExternalRespCache. :type: int Nr5)r(rr*r*r+rs cCst|SN)rr.r*r*r+__repr__#szExternalRespCache.__repr__cCs|dur dS|j|jkS)NF)__dict__r(otherr*r*r+__eq__&szExternalRespCache.__eq__cCs ||k Sr6r*r9r*r*r+__ne__,szExternalRespCache.__ne__N)__name__ __module__ __qualname____doc__r,propertyr setterrrrrrrrr7r;r<r*r*r*r+r sJO                rN) response_cache_detailsroci.utilrrroci.decoratorsrrr*r*r*r+s