ruạṛ
a ���f � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�OkeCanaryStrategy� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�NginxCanaryStrategyz6 Specifies the NGINX canary release strategy. c K s8 dddd�| _ 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_nameZstrategyTyper 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__c C s | j S )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 �r r r r r 7 s zNginxCanaryStrategy.namespacec C s || _ 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 )r r r r r r C s c C s | j S )z� **[Required]** Gets the ingress_name of this NginxCanaryStrategy. Name of the Ingress resource. :return: The ingress_name of this NginxCanaryStrategy. :rtype: str �r r r r r r O s z NginxCanaryStrategy.ingress_namec C s || _ 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 )r r r r r r [ s c C s t | �S �N)r r r r r �__repr__g s zNginxCanaryStrategy.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__j s zNginxCanaryStrategy.__eq__c C s | |k S r r r r r r �__ne__p s zNginxCanaryStrategy.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s % r N) Zoke_canary_strategyr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn