HEX
Server: Apache
System: Linux sh00085.hostgator.com 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64
User: yqegzjte (1064)
PHP: 8.5.8
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/oci/devops/models/__pycache__/nginx_canary_strategy.cpython-39.pyc
a

���f�@sDddlmZddlmZmZmZddlmZeGdd�de��ZdS)�)�OkeCanaryStrategy�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@sdeZdZdZdd�Zedd��Zejdd��Zedd��Zejd	d��Zd
d�Z	dd
�Z
dd�ZdS)�NginxCanaryStrategyz6
    Specifies the NGINX canary release strategy.
    cKs8dddd�|_dddd�|_d|_d|_d|_d|_dS)a�
        Initializes a new NginxCanaryStrategy object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.NginxCanaryStrategy.strategy_type` attribute
        of this class is ``NGINX_CANARY_STRATEGY`` and it should not be changed.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param strategy_type:
            The value to assign to the strategy_type property of this NginxCanaryStrategy.
            Allowed values for this property are: "NGINX_CANARY_STRATEGY"
        :type strategy_type: str

        :param namespace:
            The value to assign to the namespace property of this NginxCanaryStrategy.
        :type namespace: str

        :param ingress_name:
            The value to assign to the ingress_name property of this NginxCanaryStrategy.
        :type ingress_name: str

        �str)Z
strategy_type�	namespace�ingress_nameZstrategyTyper
ZingressNameNZNGINX_CANARY_STRATEGY)Z
swagger_typesZ
attribute_mapZ_strategy_type�
_namespace�
_ingress_name)�self�kwargs�r�K/usr/lib/python3.9/site-packages/oci/devops/models/nginx_canary_strategy.py�__init__s��zNginxCanaryStrategy.__init__cCs|jS)a
        **[Required]** Gets the namespace of this NginxCanaryStrategy.
        Canary namespace to be used for Kubernetes canary deployment. Example: canary - Name of the Canary namespace.


        :return: The namespace of this NginxCanaryStrategy.
        :rtype: str
        �r�rrrrr
7s
zNginxCanaryStrategy.namespacecCs
||_dS)a
        Sets the namespace of this NginxCanaryStrategy.
        Canary namespace to be used for Kubernetes canary deployment. Example: canary - Name of the Canary namespace.


        :param namespace: The namespace of this NginxCanaryStrategy.
        :type: str
        Nr)rr
rrrr
Cs
cCs|jS)z�
        **[Required]** Gets the ingress_name of this NginxCanaryStrategy.
        Name of the Ingress resource.


        :return: The ingress_name of this NginxCanaryStrategy.
        :rtype: str
        �r
rrrrrOs
z NginxCanaryStrategy.ingress_namecCs
||_dS)z�
        Sets the ingress_name of this NginxCanaryStrategy.
        Name of the Ingress resource.


        :param ingress_name: The ingress_name of this NginxCanaryStrategy.
        :type: str
        Nr)rrrrrr[s
cCst|�S�N)rrrrr�__repr__gszNginxCanaryStrategy.__repr__cCs|durdS|j|jkS)NF)�__dict__�r�otherrrr�__eq__jszNginxCanaryStrategy.__eq__cCs
||kSrrrrrr�__ne__pszNginxCanaryStrategy.__ne__N)�__name__�
__module__�__qualname__�__doc__r�propertyr
�setterrrrrrrrrrs%



rN)	Zoke_canary_strategyrZoci.utilrrrZoci.decoratorsrrrrrr�<module>s