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 ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zdd� Zdd� Zdd� Zd S )!�CompatibilityMessageza Information about shape compatibility with the client's current resource configuration. �ERROR�WARNING�INFO�NOT_ENOUGH_DATA�INVALID_DATA�CPU_COMPATIBILITY_WARNING�CPU_METRIC_INFO�MEMORY_COMPATIBILITY_WARNING�MEMORY_METRIC_INFO�VNICS_COMPATIBILITY_WARNING�BANDWIDTH_COMPATIBILITY_WARNING�GPU_COMPATIBILITY_WARNING� OS_WARNINGc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new CompatibilityMessage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param severity: The value to assign to the severity property of this CompatibilityMessage. Allowed values for this property are: "ERROR", "WARNING", "INFO", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type severity: str :param name: The value to assign to the name property of this CompatibilityMessage. Allowed values for this property are: "NOT_ENOUGH_DATA", "INVALID_DATA", "CPU_COMPATIBILITY_WARNING", "CPU_METRIC_INFO", "MEMORY_COMPATIBILITY_WARNING", "MEMORY_METRIC_INFO", "VNICS_COMPATIBILITY_WARNING", "BANDWIDTH_COMPATIBILITY_WARNING", "GPU_COMPATIBILITY_WARNING", "OS_WARNING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type name: str :param message: The value to assign to the message property of this CompatibilityMessage. :type message: str �str)�severity�name�messager r r N)Z swagger_typesZ attribute_map� _severity�_name�_message)�self�kwargs� r �U/usr/lib/python3.9/site-packages/oci/cloud_migrations/models/compatibility_message.py�__init__F s ��zCompatibilityMessage.__init__c C s | j S )a� Gets the severity of this CompatibilityMessage. Severity level of the compatibility issue. Allowed values for this property are: "ERROR", "WARNING", "INFO", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The severity of this CompatibilityMessage. :rtype: str )r �r r r r r l s zCompatibilityMessage.severityc C s g d�}t ||�sd}|| _dS )z� Sets the severity of this CompatibilityMessage. Severity level of the compatibility issue. :param severity: The severity of this CompatibilityMessage. :type: str )r r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r { s c C s | j S )aM Gets the name of this CompatibilityMessage. Name of the compatibility issue. Allowed values for this property are: "NOT_ENOUGH_DATA", "INVALID_DATA", "CPU_COMPATIBILITY_WARNING", "CPU_METRIC_INFO", "MEMORY_COMPATIBILITY_WARNING", "MEMORY_METRIC_INFO", "VNICS_COMPATIBILITY_WARNING", "BANDWIDTH_COMPATIBILITY_WARNING", "GPU_COMPATIBILITY_WARNING", "OS_WARNING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The name of this CompatibilityMessage. :rtype: str )r r r r r r � s zCompatibilityMessage.namec C s g d�}t ||�sd}|| _dS )z� Sets the name of this CompatibilityMessage. Name of the compatibility issue. :param name: The name of this CompatibilityMessage. :type: str ) r r r r r r r r r r r! N)r r )r r r"