ruạṛ
a ���f� � @ 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 @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�LoadBalancerConfigz� Specifies configuration for load balancer traffic shift stages. The load balancer specified here should be an Application load balancer type. Network load balancers are not supported. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new LoadBalancerConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param load_balancer_id: The value to assign to the load_balancer_id property of this LoadBalancerConfig. :type load_balancer_id: str :param listener_name: The value to assign to the listener_name property of this LoadBalancerConfig. :type listener_name: str :param backend_port: The value to assign to the backend_port property of this LoadBalancerConfig. :type backend_port: int �str�int)�load_balancer_id� listener_name�backend_portZloadBalancerIdZlistenerNameZbackendPortN)Z swagger_typesZ attribute_map�_load_balancer_id�_listener_name� _backend_port)�self�kwargs� r �J/usr/lib/python3.9/site-packages/oci/devops/models/load_balancer_config.py�__init__ s ��zLoadBalancerConfig.__init__c C s | j S )z� **[Required]** Gets the load_balancer_id of this LoadBalancerConfig. The OCID of the load balancer. :return: The load_balancer_id of this LoadBalancerConfig. :rtype: str �r �r r r r r 6 s z#LoadBalancerConfig.load_balancer_idc C s || _ dS )z� Sets the load_balancer_id of this LoadBalancerConfig. The OCID of the load balancer. :param load_balancer_id: The load_balancer_id of this LoadBalancerConfig. :type: str Nr )r r r r r r B s c C s | j S )z� **[Required]** Gets the listener_name of this LoadBalancerConfig. Name of the load balancer listener. :return: The listener_name of this LoadBalancerConfig. :rtype: str �r r r r r r N s z LoadBalancerConfig.listener_namec C s || _ dS )z� Sets the listener_name of this LoadBalancerConfig. Name of the load balancer listener. :param listener_name: The listener_name of this LoadBalancerConfig. :type: str Nr )r r r r r r Z s c C s | j S )z� Gets the backend_port of this LoadBalancerConfig. Listen port for the backend server. :return: The backend_port of this LoadBalancerConfig. :rtype: int �r r r r r r f s zLoadBalancerConfig.backend_portc C s || _ dS )z� Sets the backend_port of this LoadBalancerConfig. Listen port for the backend server. :param backend_port: The backend_port of this LoadBalancerConfig. :type: int Nr )r r r r r r r s c C s t | �S �N)r r r r r �__repr__~ s zLoadBalancerConfig.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zLoadBalancerConfig.__eq__c C s | |k S r r r r r r �__ne__� s zLoadBalancerConfig.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"