a fJO@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZddZeddZejddZeddZejddZeddZejddZeddZejddZedd Zejd!d Zed"d#Zejd$d#Zed%d&Zejd'd&Zed(d)Zejd*d)Zed+d,Zejd-d,Zed.d/Zejd0d/Zed1d2Z e jd3d2Z ed4d5Z!e!jd6d5Z!ed7d8Z"e"jd9d8Z"ed:d;Z#e#jdZ$d?d@Z%dAdBZ&dCS)D JavaReleasez] Metadata associated with a specific release of Java. Includes the artifact details. EARLY_ACCESSUNKNOWN UP_TO_DATEUPDATE_REQUIREDUPGRADE_REQUIREDCPUFEATUREBPR PATCH_RELEASEOTNNFTC RESTRICTEDJDKJRE SERVER_JREcKsddddddddddddddd |_d d d 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 JavaFamilyZ JavaLicenseZdatetimez list[str]zlist[PatchDetail]int) artifactsrelease_versionfamily_versionparent_release_versionsecurity_status release_type license_typefamily_detailslicense_details release_daterelease_notes_urlartifact_content_types mos_patchesdays_under_security_baselinerZreleaseVersionZ familyVersionZparentReleaseVersionZsecurityStatusZ releaseTypeZ licenseTypeZ familyDetailsZlicenseDetailsZ releaseDateZreleaseNotesUrlZartifactContentTypesZ 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)selfkwargsr6?/usr/lib/python3.9/site-packages/oci/jms/models/java_release.py__init__NsXGzJavaRelease.__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&r4r6r6r7rs 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)r4rr6r6r7rs 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:r6r6r7rs 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;)r4rr6r6r7rs 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:r6r6r7rs 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*)r4rallowed_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@)r4rr6r6r7rscCs|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).0xr?r6r7 z6JavaRelease.artifact_content_types..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$s zJavaRelease.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$s cCs|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|SN)rr:r6r6r7__repr__+szJavaRelease.__repr__cCs|dur dS|j|jkS)NF)__dict__r4otherr6r6r7__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_JREr8propertyrsetterrrrrrrrr r!r"r#r$r%rMrQrRr6r6r6r7r sw                            rN)Zoci.utilrrrZoci.decoratorsrobjectrr6r6r6r7s