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 )�Strategyzq The metadata associated with the strategy. The strategy is the method used to apply the recommendation. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS ) a� Initializes a new Strategy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param strategy_name: The value to assign to the strategy_name property of this Strategy. :type strategy_name: str :param is_default: The value to assign to the is_default property of this Strategy. :type is_default: bool :param parameters_definition: The value to assign to the parameters_definition property of this Strategy. :type parameters_definition: list[oci.optimizer.models.StrategyParameter] �str�boolzlist[StrategyParameter])� strategy_name� is_default�parameters_definitionZstrategyNameZ isDefaultZparametersDefinitionN)Z swagger_typesZ attribute_map�_strategy_name�_is_default�_parameters_definition)�self�kwargs� r �A/usr/lib/python3.9/site-packages/oci/optimizer/models/strategy.py�__init__ s ��zStrategy.__init__c C s | j S )z� **[Required]** Gets the strategy_name of this Strategy. The name of the strategy. :return: The strategy_name of this Strategy. :rtype: str �r �r r r r r 4 s zStrategy.strategy_namec C s || _ dS )z� Sets the strategy_name of this Strategy. The name of the strategy. :param strategy_name: The strategy_name of this Strategy. :type: str Nr )r r r r r r @ s c C s | j S )z� **[Required]** Gets the is_default of this Strategy. Whether this is the default recommendation strategy. :return: The is_default of this Strategy. :rtype: bool �r r r r r r L s zStrategy.is_defaultc C s || _ dS )z� Sets the is_default of this Strategy. Whether this is the default recommendation strategy. :param is_default: The is_default of this Strategy. :type: bool Nr )r r r r r r X s c C s | j S )z� Gets the parameters_definition of this Strategy. The list of strategies for the parameters. :return: The parameters_definition of this Strategy. :rtype: list[oci.optimizer.models.StrategyParameter] �r r r r r r d s zStrategy.parameters_definitionc C s || _ dS )a Sets the parameters_definition of this Strategy. The list of strategies for the parameters. :param parameters_definition: The parameters_definition of this Strategy. :type: list[oci.optimizer.models.StrategyParameter] Nr )r r r r r r p s c C s t | �S �N)r r r r r �__repr__| s zStrategy.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s zStrategy.__eq__c C s | |k S r r r r r r �__ne__� s zStrategy.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"