Server IP : 103.119.228.120 / Your IP : 3.146.37.222 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/local/ssl/lib/mysqlsh/lib/python3.9/site-packages/oci/jms/models/ |
Upload File : |
# 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: 20210610 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 JavaRelease(object): """ Metadata associated with a specific release of Java. Includes the artifact details. """ #: A constant which can be used with the security_status property of a JavaRelease. #: This constant has a value of "EARLY_ACCESS" SECURITY_STATUS_EARLY_ACCESS = "EARLY_ACCESS" #: A constant which can be used with the security_status property of a JavaRelease. #: This constant has a value of "UNKNOWN" SECURITY_STATUS_UNKNOWN = "UNKNOWN" #: A constant which can be used with the security_status property of a JavaRelease. #: This constant has a value of "UP_TO_DATE" SECURITY_STATUS_UP_TO_DATE = "UP_TO_DATE" #: A constant which can be used with the security_status property of a JavaRelease. #: This constant has a value of "UPDATE_REQUIRED" SECURITY_STATUS_UPDATE_REQUIRED = "UPDATE_REQUIRED" #: A constant which can be used with the security_status property of a JavaRelease. #: This constant has a value of "UPGRADE_REQUIRED" SECURITY_STATUS_UPGRADE_REQUIRED = "UPGRADE_REQUIRED" #: A constant which can be used with the release_type property of a JavaRelease. #: This constant has a value of "CPU" RELEASE_TYPE_CPU = "CPU" #: A constant which can be used with the release_type property of a JavaRelease. #: This constant has a value of "FEATURE" RELEASE_TYPE_FEATURE = "FEATURE" #: A constant which can be used with the release_type property of a JavaRelease. #: This constant has a value of "BPR" RELEASE_TYPE_BPR = "BPR" #: A constant which can be used with the release_type property of a JavaRelease. #: This constant has a value of "PATCH_RELEASE" RELEASE_TYPE_PATCH_RELEASE = "PATCH_RELEASE" #: A constant which can be used with the license_type property of a JavaRelease. #: This constant has a value of "OTN" LICENSE_TYPE_OTN = "OTN" #: A constant which can be used with the license_type property of a JavaRelease. #: This constant has a value of "NFTC" LICENSE_TYPE_NFTC = "NFTC" #: A constant which can be used with the license_type property of a JavaRelease. #: This constant has a value of "RESTRICTED" LICENSE_TYPE_RESTRICTED = "RESTRICTED" #: A constant which can be used with the artifact_content_types property of a JavaRelease. #: This constant has a value of "JDK" ARTIFACT_CONTENT_TYPES_JDK = "JDK" #: A constant which can be used with the artifact_content_types property of a JavaRelease. #: This constant has a value of "JRE" ARTIFACT_CONTENT_TYPES_JRE = "JRE" #: A constant which can be used with the artifact_content_types property of a JavaRelease. #: This constant has a value of "SERVER_JRE" ARTIFACT_CONTENT_TYPES_SERVER_JRE = "SERVER_JRE" def __init__(self, **kwargs): """ Initializes a new JavaRelease object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param artifacts: The value to assign to the artifacts property of this JavaRelease. :type artifacts: list[oci.jms.models.JavaArtifact] :param release_version: The value to assign to the release_version property of this JavaRelease. :type release_version: str :param family_version: The value to assign to the family_version property of this JavaRelease. :type family_version: str :param parent_release_version: The value to assign to the parent_release_version property of this JavaRelease. :type parent_release_version: str :param security_status: The value to assign to the security_status property of this JavaRelease. Allowed values for this property are: "EARLY_ACCESS", "UNKNOWN", "UP_TO_DATE", "UPDATE_REQUIRED", "UPGRADE_REQUIRED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type security_status: str :param release_type: The value to assign to the release_type property of this JavaRelease. Allowed values for this property are: "CPU", "FEATURE", "BPR", "PATCH_RELEASE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type release_type: str :param license_type: The value to assign to the license_type property of this JavaRelease. Allowed values for this property are: "OTN", "NFTC", "RESTRICTED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type license_type: str :param family_details: The value to assign to the family_details property of this JavaRelease. :type family_details: oci.jms.models.JavaFamily :param license_details: The value to assign to the license_details property of this JavaRelease. :type license_details: oci.jms.models.JavaLicense :param release_date: The value to assign to the release_date property of this JavaRelease. :type release_date: datetime :param release_notes_url: The value to assign to the release_notes_url property of this JavaRelease. :type release_notes_url: str :param artifact_content_types: The value to assign to the artifact_content_types property of this JavaRelease. Allowed values for items in this list are: "JDK", "JRE", "SERVER_JRE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type artifact_content_types: list[str] :param mos_patches: The value to assign to the mos_patches property of this JavaRelease. :type mos_patches: list[oci.jms.models.PatchDetail] :param days_under_security_baseline: The value to assign to the days_under_security_baseline property of this JavaRelease. :type days_under_security_baseline: int """ self.swagger_types = { 'artifacts': 'list[JavaArtifact]', 'release_version': 'str', 'family_version': 'str', 'parent_release_version': 'str', 'security_status': 'str', 'release_type': 'str', 'license_type': 'str', 'family_details': 'JavaFamily', 'license_details': 'JavaLicense', 'release_date': 'datetime', 'release_notes_url': 'str', 'artifact_content_types': 'list[str]', 'mos_patches': 'list[PatchDetail]', 'days_under_security_baseline': 'int' } self.attribute_map = { 'artifacts': 'artifacts', 'release_version': 'releaseVersion', 'family_version': 'familyVersion', 'parent_release_version': 'parentReleaseVersion', 'security_status': 'securityStatus', 'release_type': 'releaseType', 'license_type': 'licenseType', 'family_details': 'familyDetails', 'license_details': 'licenseDetails', 'release_date': 'releaseDate', 'release_notes_url': 'releaseNotesUrl', 'artifact_content_types': 'artifactContentTypes', 'mos_patches': 'mosPatches', 'days_under_security_baseline': 'daysUnderSecurityBaseline' } self._artifacts = None self._release_version = None self._family_version = None self._parent_release_version = None self._security_status = None self._release_type = None self._license_type = None self._family_details = None self._license_details = None self._release_date = None self._release_notes_url = None self._artifact_content_types = None self._mos_patches = None self._days_under_security_baseline = None @property def artifacts(self): """ Gets the artifacts of this JavaRelease. List of Java artifacts. :return: The artifacts of this JavaRelease. :rtype: list[oci.jms.models.JavaArtifact] """ return self._artifacts @artifacts.setter def artifacts(self, artifacts): """ Sets the artifacts of this JavaRelease. List of Java artifacts. :param artifacts: The artifacts of this JavaRelease. :type: list[oci.jms.models.JavaArtifact] """ self._artifacts = artifacts @property def release_version(self): """ **[Required]** Gets the release_version of this JavaRelease. Java release version identifier. :return: The release_version of this JavaRelease. :rtype: str """ return self._release_version @release_version.setter def release_version(self, release_version): """ Sets the release_version of this JavaRelease. Java release version identifier. :param release_version: The release_version of this JavaRelease. :type: str """ self._release_version = release_version @property def family_version(self): """ **[Required]** Gets the family_version of this JavaRelease. Java release family identifier. :return: The family_version of this JavaRelease. :rtype: str """ return self._family_version @family_version.setter def family_version(self, family_version): """ Sets the family_version of this JavaRelease. Java release family identifier. :param family_version: The family_version of this JavaRelease. :type: str """ self._family_version = family_version @property def parent_release_version(self): """ Gets the parent_release_version of this JavaRelease. Parent Java release version identifier. This is applicable for BPR releases. :return: The parent_release_version of this JavaRelease. :rtype: str """ return self._parent_release_version @parent_release_version.setter def parent_release_version(self, parent_release_version): """ Sets the parent_release_version of this JavaRelease. Parent Java release version identifier. This is applicable for BPR releases. :param parent_release_version: The parent_release_version of this JavaRelease. :type: str """ self._parent_release_version = parent_release_version @property def security_status(self): """ **[Required]** Gets the security_status of this JavaRelease. The security status of the Java version. Allowed values for this property are: "EARLY_ACCESS", "UNKNOWN", "UP_TO_DATE", "UPDATE_REQUIRED", "UPGRADE_REQUIRED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The security_status of this JavaRelease. :rtype: str """ return self._security_status @security_status.setter def security_status(self, security_status): """ Sets the security_status of this JavaRelease. The security status of the Java version. :param security_status: The security_status of this JavaRelease. :type: str """ allowed_values = ["EARLY_ACCESS", "UNKNOWN", "UP_TO_DATE", "UPDATE_REQUIRED", "UPGRADE_REQUIRED"] if not value_allowed_none_or_none_sentinel(security_status, allowed_values): security_status = 'UNKNOWN_ENUM_VALUE' self._security_status = security_status @property def release_type(self): """ **[Required]** Gets the release_type of this JavaRelease. Release category of the Java version. Allowed values for this property are: "CPU", "FEATURE", "BPR", "PATCH_RELEASE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The release_type of this JavaRelease. :rtype: str """ return self._release_type @release_type.setter def release_type(self, release_type): """ Sets the release_type of this JavaRelease. Release category of the Java version. :param release_type: The release_type of this JavaRelease. :type: str """ allowed_values = ["CPU", "FEATURE", "BPR", "PATCH_RELEASE"] if not value_allowed_none_or_none_sentinel(release_type, allowed_values): release_type = 'UNKNOWN_ENUM_VALUE' self._release_type = release_type @property def license_type(self): """ **[Required]** Gets the license_type of this JavaRelease. License type for the Java version. Allowed values for this property are: "OTN", "NFTC", "RESTRICTED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The license_type of this JavaRelease. :rtype: str """ return self._license_type @license_type.setter def license_type(self, license_type): """ Sets the license_type of this JavaRelease. License type for the Java version. :param license_type: The license_type of this JavaRelease. :type: str """ allowed_values = ["OTN", "NFTC", "RESTRICTED"] if not value_allowed_none_or_none_sentinel(license_type, allowed_values): license_type = 'UNKNOWN_ENUM_VALUE' self._license_type = license_type @property def family_details(self): """ Gets the family_details of this JavaRelease. :return: The family_details of this JavaRelease. :rtype: oci.jms.models.JavaFamily """ return self._family_details @family_details.setter def family_details(self, family_details): """ Sets the family_details of this JavaRelease. :param family_details: The family_details of this JavaRelease. :type: oci.jms.models.JavaFamily """ self._family_details = family_details @property def license_details(self): """ Gets the license_details of this JavaRelease. :return: The license_details of this JavaRelease. :rtype: oci.jms.models.JavaLicense """ return self._license_details @license_details.setter def license_details(self, license_details): """ Sets the license_details of this JavaRelease. :param license_details: The license_details of this JavaRelease. :type: oci.jms.models.JavaLicense """ self._license_details = license_details @property def release_date(self): """ **[Required]** Gets the release_date of this JavaRelease. The release date of the Java version (formatted according to `RFC3339`__). __ https://datatracker.ietf.org/doc/html/rfc3339 :return: The release_date of this JavaRelease. :rtype: datetime """ return self._release_date @release_date.setter def release_date(self, release_date): """ Sets the release_date of this JavaRelease. The release date of the Java version (formatted according to `RFC3339`__). __ https://datatracker.ietf.org/doc/html/rfc3339 :param release_date: The release_date of this JavaRelease. :type: datetime """ self._release_date = release_date @property def release_notes_url(self): """ **[Required]** Gets the release_notes_url of this JavaRelease. Release notes associated with the Java version. :return: The release_notes_url of this JavaRelease. :rtype: str """ return self._release_notes_url @release_notes_url.setter def release_notes_url(self, release_notes_url): """ Sets the release_notes_url of this JavaRelease. Release notes associated with the Java version. :param release_notes_url: The release_notes_url of this JavaRelease. :type: str """ self._release_notes_url = release_notes_url @property def artifact_content_types(self): """ **[Required]** Gets the artifact_content_types of this JavaRelease. Artifact content types for the Java version. Allowed values for items in this list are: "JDK", "JRE", "SERVER_JRE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The artifact_content_types of this JavaRelease. :rtype: list[str] """ return self._artifact_content_types @artifact_content_types.setter def artifact_content_types(self, artifact_content_types): """ Sets the artifact_content_types of this JavaRelease. Artifact content types for the Java version. :param artifact_content_types: The artifact_content_types of this JavaRelease. :type: list[str] """ allowed_values = ["JDK", "JRE", "SERVER_JRE"] if artifact_content_types: artifact_content_types[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in artifact_content_types] self._artifact_content_types = artifact_content_types @property def mos_patches(self): """ Gets the mos_patches of this JavaRelease. List of My Oracle Support(MoS) patches available for this release. This information is only available for `BPR` release type. :return: The mos_patches of this JavaRelease. :rtype: list[oci.jms.models.PatchDetail] """ return self._mos_patches @mos_patches.setter def mos_patches(self, mos_patches): """ Sets the mos_patches of this JavaRelease. List of My Oracle Support(MoS) patches available for this release. This information is only available for `BPR` release type. :param mos_patches: The mos_patches of this JavaRelease. :type: list[oci.jms.models.PatchDetail] """ self._mos_patches = mos_patches @property def days_under_security_baseline(self): """ Gets the days_under_security_baseline of this JavaRelease. The number of days since this release has been under the security baseline. :return: The days_under_security_baseline of this JavaRelease. :rtype: int """ return self._days_under_security_baseline @days_under_security_baseline.setter def days_under_security_baseline(self, days_under_security_baseline): """ Sets the days_under_security_baseline of this JavaRelease. The number of days since this release has been under the security baseline. :param days_under_security_baseline: The days_under_security_baseline of this JavaRelease. :type: int """ self._days_under_security_baseline = days_under_security_baseline 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