403Webshell
Server IP : 162.144.4.212  /  Your IP : 216.73.216.108
Web Server : Apache
System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64
User : cozeellc ( 2980)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /lib/python3.9/site-packages/oci/log_analytics/models/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/oci/log_analytics/models/upsert_log_analytics_label_details.py
# coding: utf-8
# Copyright (c) 2016, 2024, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200601


from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel  # noqa: F401
from oci.decorators import init_model_state_from_kwargs


@init_model_state_from_kwargs
class UpsertLogAnalyticsLabelDetails(object):
    """
    Upsert LogAnalytics Label Details
    """

    #: A constant which can be used with the priority property of a UpsertLogAnalyticsLabelDetails.
    #: This constant has a value of "NONE"
    PRIORITY_NONE = "NONE"

    #: A constant which can be used with the priority property of a UpsertLogAnalyticsLabelDetails.
    #: This constant has a value of "LOW"
    PRIORITY_LOW = "LOW"

    #: A constant which can be used with the priority property of a UpsertLogAnalyticsLabelDetails.
    #: This constant has a value of "MEDIUM"
    PRIORITY_MEDIUM = "MEDIUM"

    #: A constant which can be used with the priority property of a UpsertLogAnalyticsLabelDetails.
    #: This constant has a value of "HIGH"
    PRIORITY_HIGH = "HIGH"

    #: A constant which can be used with the type property of a UpsertLogAnalyticsLabelDetails.
    #: This constant has a value of "INFO"
    TYPE_INFO = "INFO"

    #: A constant which can be used with the type property of a UpsertLogAnalyticsLabelDetails.
    #: This constant has a value of "PROBLEM"
    TYPE_PROBLEM = "PROBLEM"

    def __init__(self, **kwargs):
        """
        Initializes a new UpsertLogAnalyticsLabelDetails object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param aliases:
            The value to assign to the aliases property of this UpsertLogAnalyticsLabelDetails.
        :type aliases: list[oci.log_analytics.models.LogAnalyticsLabelAlias]

        :param suggest_type:
            The value to assign to the suggest_type property of this UpsertLogAnalyticsLabelDetails.
        :type suggest_type: int

        :param description:
            The value to assign to the description property of this UpsertLogAnalyticsLabelDetails.
        :type description: str

        :param display_name:
            The value to assign to the display_name property of this UpsertLogAnalyticsLabelDetails.
        :type display_name: str

        :param edit_version:
            The value to assign to the edit_version property of this UpsertLogAnalyticsLabelDetails.
        :type edit_version: int

        :param impact:
            The value to assign to the impact property of this UpsertLogAnalyticsLabelDetails.
        :type impact: str

        :param is_system:
            The value to assign to the is_system property of this UpsertLogAnalyticsLabelDetails.
        :type is_system: bool

        :param name:
            The value to assign to the name property of this UpsertLogAnalyticsLabelDetails.
        :type name: str

        :param priority:
            The value to assign to the priority property of this UpsertLogAnalyticsLabelDetails.
            Allowed values for this property are: "NONE", "LOW", "MEDIUM", "HIGH"
        :type priority: str

        :param recommendation:
            The value to assign to the recommendation property of this UpsertLogAnalyticsLabelDetails.
        :type recommendation: str

        :param type:
            The value to assign to the type property of this UpsertLogAnalyticsLabelDetails.
            Allowed values for this property are: "INFO", "PROBLEM"
        :type type: str

        """
        self.swagger_types = {
            'aliases': 'list[LogAnalyticsLabelAlias]',
            'suggest_type': 'int',
            'description': 'str',
            'display_name': 'str',
            'edit_version': 'int',
            'impact': 'str',
            'is_system': 'bool',
            'name': 'str',
            'priority': 'str',
            'recommendation': 'str',
            'type': 'str'
        }

        self.attribute_map = {
            'aliases': 'aliases',
            'suggest_type': 'suggestType',
            'description': 'description',
            'display_name': 'displayName',
            'edit_version': 'editVersion',
            'impact': 'impact',
            'is_system': 'isSystem',
            'name': 'name',
            'priority': 'priority',
            'recommendation': 'recommendation',
            'type': 'type'
        }

        self._aliases = None
        self._suggest_type = None
        self._description = None
        self._display_name = None
        self._edit_version = None
        self._impact = None
        self._is_system = None
        self._name = None
        self._priority = None
        self._recommendation = None
        self._type = None

    @property
    def aliases(self):
        """
        Gets the aliases of this UpsertLogAnalyticsLabelDetails.
        The alias list.


        :return: The aliases of this UpsertLogAnalyticsLabelDetails.
        :rtype: list[oci.log_analytics.models.LogAnalyticsLabelAlias]
        """
        return self._aliases

    @aliases.setter
    def aliases(self, aliases):
        """
        Sets the aliases of this UpsertLogAnalyticsLabelDetails.
        The alias list.


        :param aliases: The aliases of this UpsertLogAnalyticsLabelDetails.
        :type: list[oci.log_analytics.models.LogAnalyticsLabelAlias]
        """
        self._aliases = aliases

    @property
    def suggest_type(self):
        """
        Gets the suggest_type of this UpsertLogAnalyticsLabelDetails.
        suggest type


        :return: The suggest_type of this UpsertLogAnalyticsLabelDetails.
        :rtype: int
        """
        return self._suggest_type

    @suggest_type.setter
    def suggest_type(self, suggest_type):
        """
        Sets the suggest_type of this UpsertLogAnalyticsLabelDetails.
        suggest type


        :param suggest_type: The suggest_type of this UpsertLogAnalyticsLabelDetails.
        :type: int
        """
        self._suggest_type = suggest_type

    @property
    def description(self):
        """
        Gets the description of this UpsertLogAnalyticsLabelDetails.
        The label description.


        :return: The description of this UpsertLogAnalyticsLabelDetails.
        :rtype: str
        """
        return self._description

    @description.setter
    def description(self, description):
        """
        Sets the description of this UpsertLogAnalyticsLabelDetails.
        The label description.


        :param description: The description of this UpsertLogAnalyticsLabelDetails.
        :type: str
        """
        self._description = description

    @property
    def display_name(self):
        """
        Gets the display_name of this UpsertLogAnalyticsLabelDetails.
        The label display name.


        :return: The display_name of this UpsertLogAnalyticsLabelDetails.
        :rtype: str
        """
        return self._display_name

    @display_name.setter
    def display_name(self, display_name):
        """
        Sets the display_name of this UpsertLogAnalyticsLabelDetails.
        The label display name.


        :param display_name: The display_name of this UpsertLogAnalyticsLabelDetails.
        :type: str
        """
        self._display_name = display_name

    @property
    def edit_version(self):
        """
        Gets the edit_version of this UpsertLogAnalyticsLabelDetails.
        The edit version.


        :return: The edit_version of this UpsertLogAnalyticsLabelDetails.
        :rtype: int
        """
        return self._edit_version

    @edit_version.setter
    def edit_version(self, edit_version):
        """
        Sets the edit_version of this UpsertLogAnalyticsLabelDetails.
        The edit version.


        :param edit_version: The edit_version of this UpsertLogAnalyticsLabelDetails.
        :type: int
        """
        self._edit_version = edit_version

    @property
    def impact(self):
        """
        Gets the impact of this UpsertLogAnalyticsLabelDetails.
        The label impact.


        :return: The impact of this UpsertLogAnalyticsLabelDetails.
        :rtype: str
        """
        return self._impact

    @impact.setter
    def impact(self, impact):
        """
        Sets the impact of this UpsertLogAnalyticsLabelDetails.
        The label impact.


        :param impact: The impact of this UpsertLogAnalyticsLabelDetails.
        :type: str
        """
        self._impact = impact

    @property
    def is_system(self):
        """
        Gets the is_system of this UpsertLogAnalyticsLabelDetails.
        The system flag.  A value of false denotes a custom, or user
        defined label.  A value of true denotes a built in label.


        :return: The is_system of this UpsertLogAnalyticsLabelDetails.
        :rtype: bool
        """
        return self._is_system

    @is_system.setter
    def is_system(self, is_system):
        """
        Sets the is_system of this UpsertLogAnalyticsLabelDetails.
        The system flag.  A value of false denotes a custom, or user
        defined label.  A value of true denotes a built in label.


        :param is_system: The is_system of this UpsertLogAnalyticsLabelDetails.
        :type: bool
        """
        self._is_system = is_system

    @property
    def name(self):
        """
        Gets the name of this UpsertLogAnalyticsLabelDetails.
        The label name.


        :return: The name of this UpsertLogAnalyticsLabelDetails.
        :rtype: str
        """
        return self._name

    @name.setter
    def name(self, name):
        """
        Sets the name of this UpsertLogAnalyticsLabelDetails.
        The label name.


        :param name: The name of this UpsertLogAnalyticsLabelDetails.
        :type: str
        """
        self._name = name

    @property
    def priority(self):
        """
        Gets the priority of this UpsertLogAnalyticsLabelDetails.
        The label priority. Valid values are (NONE, LOW, HIGH). NONE is default.

        Allowed values for this property are: "NONE", "LOW", "MEDIUM", "HIGH"


        :return: The priority of this UpsertLogAnalyticsLabelDetails.
        :rtype: str
        """
        return self._priority

    @priority.setter
    def priority(self, priority):
        """
        Sets the priority of this UpsertLogAnalyticsLabelDetails.
        The label priority. Valid values are (NONE, LOW, HIGH). NONE is default.


        :param priority: The priority of this UpsertLogAnalyticsLabelDetails.
        :type: str
        """
        allowed_values = ["NONE", "LOW", "MEDIUM", "HIGH"]
        if not value_allowed_none_or_none_sentinel(priority, allowed_values):
            raise ValueError(
                f"Invalid value for `priority`, must be None or one of {allowed_values}"
            )
        self._priority = priority

    @property
    def recommendation(self):
        """
        Gets the recommendation of this UpsertLogAnalyticsLabelDetails.
        The label recommendation.


        :return: The recommendation of this UpsertLogAnalyticsLabelDetails.
        :rtype: str
        """
        return self._recommendation

    @recommendation.setter
    def recommendation(self, recommendation):
        """
        Sets the recommendation of this UpsertLogAnalyticsLabelDetails.
        The label recommendation.


        :param recommendation: The recommendation of this UpsertLogAnalyticsLabelDetails.
        :type: str
        """
        self._recommendation = recommendation

    @property
    def type(self):
        """
        Gets the type of this UpsertLogAnalyticsLabelDetails.
        The label type. Valid values are (INFO, PROBLEM). INFO is default.

        Allowed values for this property are: "INFO", "PROBLEM"


        :return: The type of this UpsertLogAnalyticsLabelDetails.
        :rtype: str
        """
        return self._type

    @type.setter
    def type(self, type):
        """
        Sets the type of this UpsertLogAnalyticsLabelDetails.
        The label type. Valid values are (INFO, PROBLEM). INFO is default.


        :param type: The type of this UpsertLogAnalyticsLabelDetails.
        :type: str
        """
        allowed_values = ["INFO", "PROBLEM"]
        if not value_allowed_none_or_none_sentinel(type, allowed_values):
            raise ValueError(
                f"Invalid value for `type`, must be None or one of {allowed_values}"
            )
        self._type = type

    def __repr__(self):
        return formatted_flat_dict(self)

    def __eq__(self, other):
        if other is None:
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        return not self == other

Youez - 2016 - github.com/yon3zu
LinuXploit