HEX
Server: Apache
System: Linux box5936.bluehost.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: aviatjd3 (1318)
PHP: 8.3.32
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/oci/jms/models/__pycache__/java_release.cpython-39.pyc
a

���fJO�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s�eZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdZdZdd�Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd ��Zejd!d ��Zed"d#��Zejd$d#��Zed%d&��Zejd'd&��Zed(d)��Zejd*d)��Zed+d,��Zejd-d,��Zed.d/��Zejd0d/��Zed1d2��Z e jd3d2��Z ed4d5��Z!e!jd6d5��Z!ed7d8��Z"e"jd9d8��Z"ed:d;��Z#e#jd<d;��Z#d=d>�Z$d?d@�Z%dAdB�Z&dCS)D�JavaReleasez]
    Metadata associated with a specific release of Java. Includes the artifact details.
    �EARLY_ACCESS�UNKNOWN�
UP_TO_DATE�UPDATE_REQUIRED�UPGRADE_REQUIRED�CPU�FEATURE�BPR�
PATCH_RELEASE�OTN�NFTC�
RESTRICTED�JDK�JRE�
SERVER_JREcKs�ddddddddddddddd	�|_d
ddd
ddddddddddd	�|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_d|_
d|_d|_dS)a

        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

        zlist[JavaArtifact]�strZ
JavaFamilyZJavaLicenseZdatetimez	list[str]zlist[PatchDetail]�int)�	artifacts�release_version�family_version�parent_release_version�security_status�release_type�license_type�family_details�license_details�release_date�release_notes_url�artifact_content_types�mos_patches�days_under_security_baselinerZreleaseVersionZ
familyVersionZparentReleaseVersionZsecurityStatusZreleaseTypeZlicenseTypeZ
familyDetailsZlicenseDetailsZreleaseDateZreleaseNotesUrlZartifactContentTypesZ
mosPatchesZdaysUnderSecurityBaselineN)Z
swagger_typesZ
attribute_map�
_artifacts�_release_version�_family_version�_parent_release_version�_security_status�
_release_type�
_license_type�_family_details�_license_details�
_release_date�_release_notes_url�_artifact_content_types�_mos_patches�_days_under_security_baseline)�self�kwargs�r6�?/usr/lib/python3.9/site-packages/oci/jms/models/java_release.py�__init__NsXG��zJavaRelease.__init__cCs|jS)z�
        Gets the artifacts of this JavaRelease.
        List of Java artifacts.


        :return: The artifacts of this JavaRelease.
        :rtype: list[oci.jms.models.JavaArtifact]
        �r&�r4r6r6r7r�s
zJavaRelease.artifactscCs
||_dS)z�
        Sets the artifacts of this JavaRelease.
        List of Java artifacts.


        :param artifacts: The artifacts of this JavaRelease.
        :type: list[oci.jms.models.JavaArtifact]
        Nr9)r4rr6r6r7r�s
cCs|jS)z�
        **[Required]** Gets the release_version of this JavaRelease.
        Java release version identifier.


        :return: The release_version of this JavaRelease.
        :rtype: str
        �r'r:r6r6r7r�s
zJavaRelease.release_versioncCs
||_dS)z�
        Sets the release_version of this JavaRelease.
        Java release version identifier.


        :param release_version: The release_version of this JavaRelease.
        :type: str
        Nr;)r4rr6r6r7r�s
cCs|jS)z�
        **[Required]** Gets the family_version of this JavaRelease.
        Java release family identifier.


        :return: The family_version of this JavaRelease.
        :rtype: str
        �r(r:r6r6r7r�s
zJavaRelease.family_versioncCs
||_dS)z�
        Sets the family_version of this JavaRelease.
        Java release family identifier.


        :param family_version: The family_version of this JavaRelease.
        :type: str
        Nr<)r4rr6r6r7rs
cCs|jS)z�
        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
        �r)r:r6r6r7r
s
z"JavaRelease.parent_release_versioncCs
||_dS)a
        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
        Nr=)r4rr6r6r7rs
cCs|jS)a�
        **[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
        )r*r:r6r6r7r%s
zJavaRelease.security_statuscCs gd�}t||�sd}||_dS)z�
        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
        )rrr	r
r�UNKNOWN_ENUM_VALUEN)rr*)r4r�allowed_valuesr6r6r7r4s

cCs|jS)a�
        **[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
        )r+r:r6r6r7rCs
zJavaRelease.release_typecCs gd�}t||�sd}||_dS)z�
        Sets the release_type of this JavaRelease.
        Release category of the Java version.


        :param release_type: The release_type of this JavaRelease.
        :type: str
        )rr
rrr>N)rr+)r4rr?r6r6r7rRs

cCs|jS)a�
        **[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
        )r,r:r6r6r7ras
zJavaRelease.license_typecCs gd�}t||�sd}||_dS)z�
        Sets the license_type of this JavaRelease.
        License type for the Java version.


        :param license_type: The license_type of this JavaRelease.
        :type: str
        )rrrr>N)rr,)r4rr?r6r6r7rps

cCs|jS)z�
        Gets the family_details of this JavaRelease.

        :return: The family_details of this JavaRelease.
        :rtype: oci.jms.models.JavaFamily
        �r-r:r6r6r7rszJavaRelease.family_detailscCs
||_dS)z�
        Sets the family_details of this JavaRelease.

        :param family_details: The family_details of this JavaRelease.
        :type: oci.jms.models.JavaFamily
        Nr@)r4rr6r6r7r�scCs|jS)z�
        Gets the license_details of this JavaRelease.

        :return: The license_details of this JavaRelease.
        :rtype: oci.jms.models.JavaLicense
        �r.r:r6r6r7r �szJavaRelease.license_detailscCs
||_dS)z�
        Sets the license_details of this JavaRelease.

        :param license_details: The license_details of this JavaRelease.
        :type: oci.jms.models.JavaLicense
        NrA)r4r r6r6r7r �scCs|jS)a*
        **[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
        �r/r:r6r6r7r!�szJavaRelease.release_datecCs
||_dS)a&
        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
        NrB)r4r!r6r6r7r!�scCs|jS)z�
        **[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
        �r0r:r6r6r7r"�s
zJavaRelease.release_notes_urlcCs
||_dS)z�
        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
        NrC)r4r"r6r6r7r"�s
cCs|jS)a�
        **[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]
        �r1r:r6r6r7r#�s
z"JavaRelease.artifact_content_typescs0gd��|r&�fdd�|D�|dd�<||_dS)z�
        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]
        )rrrcsg|]}t|��sdn|�qS)r>)r)�.0�x�r?r6r7�
<listcomp>��z6JavaRelease.artifact_content_types.<locals>.<listcomp>NrD)r4r#r6rGr7r#�s
cCs|jS)a2
        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]
        �r2r:r6r6r7r$�szJavaRelease.mos_patchescCs
||_dS)a<
        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]
        NrJ)r4r$r6r6r7r$scCs|jS)z�
        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
        �r3r:r6r6r7r%s
z(JavaRelease.days_under_security_baselinecCs
||_dS)a
        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
        NrK)r4r%r6r6r7r%s
cCst|�S�N)rr:r6r6r7�__repr__+szJavaRelease.__repr__cCs|durdS|j|jkS)NF)�__dict__�r4�otherr6r6r7�__eq__.szJavaRelease.__eq__cCs
||kSrLr6rOr6r6r7�__ne__4szJavaRelease.__ne__N)'�__name__�
__module__�__qualname__�__doc__ZSECURITY_STATUS_EARLY_ACCESSZSECURITY_STATUS_UNKNOWNZSECURITY_STATUS_UP_TO_DATEZSECURITY_STATUS_UPDATE_REQUIREDZ SECURITY_STATUS_UPGRADE_REQUIREDZRELEASE_TYPE_CPUZRELEASE_TYPE_FEATUREZRELEASE_TYPE_BPRZRELEASE_TYPE_PATCH_RELEASEZLICENSE_TYPE_OTNZLICENSE_TYPE_NFTCZLICENSE_TYPE_RESTRICTEDZARTIFACT_CONTENT_TYPES_JDKZARTIFACT_CONTENT_TYPES_JREZ!ARTIFACT_CONTENT_TYPES_SERVER_JREr8�propertyr�setterrrrrrrrr r!r"r#r$r%rMrQrRr6r6r6r7rs�w














	
	
	
	











rN)Zoci.utilrrrZoci.decoratorsr�objectrr6r6r6r7�<module>s