Server IP : 103.119.228.120 / Your IP : 216.73.216.224 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els17.x86_64 #1 SMP Mon Feb 24 04:58:14 UTC 2025 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/os_management/models/ |
Upload File : |
# coding: utf-8 # Copyright (c) 2016, 2025, 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: 20190801 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 InstalledPackageSummary(object): """ A software package installed on a managed instance """ def __init__(self, **kwargs): """ Initializes a new InstalledPackageSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this InstalledPackageSummary. :type display_name: str :param name: The value to assign to the name property of this InstalledPackageSummary. :type name: str :param type: The value to assign to the type property of this InstalledPackageSummary. :type type: str :param version: The value to assign to the version property of this InstalledPackageSummary. :type version: str :param architecture: The value to assign to the architecture property of this InstalledPackageSummary. :type architecture: str :param install_time: The value to assign to the install_time property of this InstalledPackageSummary. :type install_time: str :param issued: The value to assign to the issued property of this InstalledPackageSummary. :type issued: str :param software_sources: The value to assign to the software_sources property of this InstalledPackageSummary. :type software_sources: list[oci.os_management.models.SoftwareSourceId] """ self.swagger_types = { 'display_name': 'str', 'name': 'str', 'type': 'str', 'version': 'str', 'architecture': 'str', 'install_time': 'str', 'issued': 'str', 'software_sources': 'list[SoftwareSourceId]' } self.attribute_map = { 'display_name': 'displayName', 'name': 'name', 'type': 'type', 'version': 'version', 'architecture': 'architecture', 'install_time': 'installTime', 'issued': 'issued', 'software_sources': 'softwareSources' } self._display_name = None self._name = None self._type = None self._version = None self._architecture = None self._install_time = None self._issued = None self._software_sources = None @property def display_name(self): """ **[Required]** Gets the display_name of this InstalledPackageSummary. Package name :return: The display_name of this InstalledPackageSummary. :rtype: str """ return self._display_name @display_name.setter def display_name(self, display_name): """ Sets the display_name of this InstalledPackageSummary. Package name :param display_name: The display_name of this InstalledPackageSummary. :type: str """ self._display_name = display_name @property def name(self): """ **[Required]** Gets the name of this InstalledPackageSummary. Unique identifier for the package. NOTE - This is not an OCID :return: The name of this InstalledPackageSummary. :rtype: str """ return self._name @name.setter def name(self, name): """ Sets the name of this InstalledPackageSummary. Unique identifier for the package. NOTE - This is not an OCID :param name: The name of this InstalledPackageSummary. :type: str """ self._name = name @property def type(self): """ **[Required]** Gets the type of this InstalledPackageSummary. Type of the package :return: The type of this InstalledPackageSummary. :rtype: str """ return self._type @type.setter def type(self, type): """ Sets the type of this InstalledPackageSummary. Type of the package :param type: The type of this InstalledPackageSummary. :type: str """ self._type = type @property def version(self): """ **[Required]** Gets the version of this InstalledPackageSummary. Version of the installed package :return: The version of this InstalledPackageSummary. :rtype: str """ return self._version @version.setter def version(self, version): """ Sets the version of this InstalledPackageSummary. Version of the installed package :param version: The version of this InstalledPackageSummary. :type: str """ self._version = version @property def architecture(self): """ Gets the architecture of this InstalledPackageSummary. The architecture for which this package was built :return: The architecture of this InstalledPackageSummary. :rtype: str """ return self._architecture @architecture.setter def architecture(self, architecture): """ Sets the architecture of this InstalledPackageSummary. The architecture for which this package was built :param architecture: The architecture of this InstalledPackageSummary. :type: str """ self._architecture = architecture @property def install_time(self): """ Gets the install_time of this InstalledPackageSummary. Install time of the package :return: The install_time of this InstalledPackageSummary. :rtype: str """ return self._install_time @install_time.setter def install_time(self, install_time): """ Sets the install_time of this InstalledPackageSummary. Install time of the package :param install_time: The install_time of this InstalledPackageSummary. :type: str """ self._install_time = install_time @property def issued(self): """ Gets the issued of this InstalledPackageSummary. date the package was issued by a providing erratum (if available) :return: The issued of this InstalledPackageSummary. :rtype: str """ return self._issued @issued.setter def issued(self, issued): """ Sets the issued of this InstalledPackageSummary. date the package was issued by a providing erratum (if available) :param issued: The issued of this InstalledPackageSummary. :type: str """ self._issued = issued @property def software_sources(self): """ Gets the software_sources of this InstalledPackageSummary. list of software sources that provide the software package :return: The software_sources of this InstalledPackageSummary. :rtype: list[oci.os_management.models.SoftwareSourceId] """ return self._software_sources @software_sources.setter def software_sources(self, software_sources): """ Sets the software_sources of this InstalledPackageSummary. list of software sources that provide the software package :param software_sources: The software_sources of this InstalledPackageSummary. :type: list[oci.os_management.models.SoftwareSourceId] """ self._software_sources = software_sources 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