403Webshell
Server IP : 103.119.228.120  /  Your IP : 3.22.249.229
Web Server : Apache
System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : nobody ( 99)
PHP Version : 5.6.40
Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime
MySQL : ON |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/log_analytics/models/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/log_analytics/models/associable_entity.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 AssociableEntity(object):
    """
    Entity details including whether or not it is eligible for association with the source.
    """

    #: A constant which can be used with the eligibility_status property of a AssociableEntity.
    #: This constant has a value of "ELIGIBLE"
    ELIGIBILITY_STATUS_ELIGIBLE = "ELIGIBLE"

    #: A constant which can be used with the eligibility_status property of a AssociableEntity.
    #: This constant has a value of "INELIGIBLE"
    ELIGIBILITY_STATUS_INELIGIBLE = "INELIGIBLE"

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

        :param entity_id:
            The value to assign to the entity_id property of this AssociableEntity.
        :type entity_id: str

        :param entity_name:
            The value to assign to the entity_name property of this AssociableEntity.
        :type entity_name: str

        :param entity_type_name:
            The value to assign to the entity_type_name property of this AssociableEntity.
        :type entity_type_name: str

        :param entity_type_display_name:
            The value to assign to the entity_type_display_name property of this AssociableEntity.
        :type entity_type_display_name: str

        :param host:
            The value to assign to the host property of this AssociableEntity.
        :type host: str

        :param agent_id:
            The value to assign to the agent_id property of this AssociableEntity.
        :type agent_id: str

        :param eligibility_status:
            The value to assign to the eligibility_status property of this AssociableEntity.
            Allowed values for this property are: "ELIGIBLE", "INELIGIBLE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type eligibility_status: str

        :param ineligibility_details:
            The value to assign to the ineligibility_details property of this AssociableEntity.
        :type ineligibility_details: str

        """
        self.swagger_types = {
            'entity_id': 'str',
            'entity_name': 'str',
            'entity_type_name': 'str',
            'entity_type_display_name': 'str',
            'host': 'str',
            'agent_id': 'str',
            'eligibility_status': 'str',
            'ineligibility_details': 'str'
        }

        self.attribute_map = {
            'entity_id': 'entityId',
            'entity_name': 'entityName',
            'entity_type_name': 'entityTypeName',
            'entity_type_display_name': 'entityTypeDisplayName',
            'host': 'host',
            'agent_id': 'agentId',
            'eligibility_status': 'eligibilityStatus',
            'ineligibility_details': 'ineligibilityDetails'
        }

        self._entity_id = None
        self._entity_name = None
        self._entity_type_name = None
        self._entity_type_display_name = None
        self._host = None
        self._agent_id = None
        self._eligibility_status = None
        self._ineligibility_details = None

    @property
    def entity_id(self):
        """
        Gets the entity_id of this AssociableEntity.
        The entity OCID.


        :return: The entity_id of this AssociableEntity.
        :rtype: str
        """
        return self._entity_id

    @entity_id.setter
    def entity_id(self, entity_id):
        """
        Sets the entity_id of this AssociableEntity.
        The entity OCID.


        :param entity_id: The entity_id of this AssociableEntity.
        :type: str
        """
        self._entity_id = entity_id

    @property
    def entity_name(self):
        """
        Gets the entity_name of this AssociableEntity.
        The name of the entity.


        :return: The entity_name of this AssociableEntity.
        :rtype: str
        """
        return self._entity_name

    @entity_name.setter
    def entity_name(self, entity_name):
        """
        Sets the entity_name of this AssociableEntity.
        The name of the entity.


        :param entity_name: The entity_name of this AssociableEntity.
        :type: str
        """
        self._entity_name = entity_name

    @property
    def entity_type_name(self):
        """
        Gets the entity_type_name of this AssociableEntity.
        The type name of the entity.


        :return: The entity_type_name of this AssociableEntity.
        :rtype: str
        """
        return self._entity_type_name

    @entity_type_name.setter
    def entity_type_name(self, entity_type_name):
        """
        Sets the entity_type_name of this AssociableEntity.
        The type name of the entity.


        :param entity_type_name: The entity_type_name of this AssociableEntity.
        :type: str
        """
        self._entity_type_name = entity_type_name

    @property
    def entity_type_display_name(self):
        """
        Gets the entity_type_display_name of this AssociableEntity.
        The display name of the entity type.


        :return: The entity_type_display_name of this AssociableEntity.
        :rtype: str
        """
        return self._entity_type_display_name

    @entity_type_display_name.setter
    def entity_type_display_name(self, entity_type_display_name):
        """
        Sets the entity_type_display_name of this AssociableEntity.
        The display name of the entity type.


        :param entity_type_display_name: The entity_type_display_name of this AssociableEntity.
        :type: str
        """
        self._entity_type_display_name = entity_type_display_name

    @property
    def host(self):
        """
        Gets the host of this AssociableEntity.
        The entity host.


        :return: The host of this AssociableEntity.
        :rtype: str
        """
        return self._host

    @host.setter
    def host(self, host):
        """
        Sets the host of this AssociableEntity.
        The entity host.


        :param host: The host of this AssociableEntity.
        :type: str
        """
        self._host = host

    @property
    def agent_id(self):
        """
        Gets the agent_id of this AssociableEntity.
        The OCID of the Management Agent.


        :return: The agent_id of this AssociableEntity.
        :rtype: str
        """
        return self._agent_id

    @agent_id.setter
    def agent_id(self, agent_id):
        """
        Sets the agent_id of this AssociableEntity.
        The OCID of the Management Agent.


        :param agent_id: The agent_id of this AssociableEntity.
        :type: str
        """
        self._agent_id = agent_id

    @property
    def eligibility_status(self):
        """
        Gets the eligibility_status of this AssociableEntity.
        This field indicates whether the entity is (in)eligible to be associated with this source.

        Allowed values for this property are: "ELIGIBLE", "INELIGIBLE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The eligibility_status of this AssociableEntity.
        :rtype: str
        """
        return self._eligibility_status

    @eligibility_status.setter
    def eligibility_status(self, eligibility_status):
        """
        Sets the eligibility_status of this AssociableEntity.
        This field indicates whether the entity is (in)eligible to be associated with this source.


        :param eligibility_status: The eligibility_status of this AssociableEntity.
        :type: str
        """
        allowed_values = ["ELIGIBLE", "INELIGIBLE"]
        if not value_allowed_none_or_none_sentinel(eligibility_status, allowed_values):
            eligibility_status = 'UNKNOWN_ENUM_VALUE'
        self._eligibility_status = eligibility_status

    @property
    def ineligibility_details(self):
        """
        Gets the ineligibility_details of this AssociableEntity.
        The reason the entity is not eligible for association.


        :return: The ineligibility_details of this AssociableEntity.
        :rtype: str
        """
        return self._ineligibility_details

    @ineligibility_details.setter
    def ineligibility_details(self, ineligibility_details):
        """
        Sets the ineligibility_details of this AssociableEntity.
        The reason the entity is not eligible for association.


        :param ineligibility_details: The ineligibility_details of this AssociableEntity.
        :type: str
        """
        self._ineligibility_details = ineligibility_details

    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