a fM@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"d:d;Z#dd?Z%d@S)AJavaReleaseSummaryz3 A summary of the Java release properties. EARLY_ACCESSUNKNOWN UP_TO_DATEUPDATE_REQUIREDUPGRADE_REQUIREDCPUFEATUREBPR PATCH_RELEASEOTNNFTC RESTRICTEDJDKJRE SERVER_JREcKsdddddddddddddd |_d d d d d ddddddddd |_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_dS)a Initializes a new JavaReleaseSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param release_version: The value to assign to the release_version property of this JavaReleaseSummary. :type release_version: str :param family_version: The value to assign to the family_version property of this JavaReleaseSummary. :type family_version: str :param parent_release_version: The value to assign to the parent_release_version property of this JavaReleaseSummary. :type parent_release_version: str :param security_status: The value to assign to the security_status property of this JavaReleaseSummary. 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 JavaReleaseSummary. 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 JavaReleaseSummary. 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 JavaReleaseSummary. :type family_details: oci.jms.models.JavaFamily :param license_details: The value to assign to the license_details property of this JavaReleaseSummary. :type license_details: oci.jms.models.JavaLicense :param release_date: The value to assign to the release_date property of this JavaReleaseSummary. :type release_date: datetime :param release_notes_url: The value to assign to the release_notes_url property of this JavaReleaseSummary. :type release_notes_url: str :param artifact_content_types: The value to assign to the artifact_content_types property of this JavaReleaseSummary. 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 JavaReleaseSummary. :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 JavaReleaseSummary. :type days_under_security_baseline: int strZ JavaFamilyZ JavaLicenseZdatetimez list[str]zlist[PatchDetail]int) release_versionfamily_versionparent_release_versionsecurity_status release_type license_typefamily_detailslicense_details release_daterelease_notes_urlartifact_content_types mos_patchesdays_under_security_baselineZreleaseVersionZ familyVersionZparentReleaseVersionZsecurityStatusZ releaseTypeZ licenseTypeZ familyDetailsZlicenseDetailsZ releaseDateZreleaseNotesUrlZartifactContentTypesZ mosPatchesZdaysUnderSecurityBaselineN)Z swagger_typesZ attribute_map_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)selfkwargsr4G/usr/lib/python3.9/site-packages/oci/jms/models/java_release_summary.py__init__NsRCzJavaReleaseSummary.__init__cCs|jS)z **[Required]** Gets the release_version of this JavaReleaseSummary. Java release version identifier. :return: The release_version of this JavaReleaseSummary. :rtype: str r%r2r4r4r5rs z"JavaReleaseSummary.release_versioncCs ||_dS)z Sets the release_version of this JavaReleaseSummary. Java release version identifier. :param release_version: The release_version of this JavaReleaseSummary. :type: str Nr7)r2rr4r4r5rs cCs|jS)z **[Required]** Gets the family_version of this JavaReleaseSummary. Java release family identifier. :return: The family_version of this JavaReleaseSummary. :rtype: str r&r8r4r4r5rs z!JavaReleaseSummary.family_versioncCs ||_dS)z Sets the family_version of this JavaReleaseSummary. Java release family identifier. :param family_version: The family_version of this JavaReleaseSummary. :type: str Nr9)r2rr4r4r5rs cCs|jS)a Gets the parent_release_version of this JavaReleaseSummary. Parent Java release version identifier. This is applicable for BPR releases. :return: The parent_release_version of this JavaReleaseSummary. :rtype: str r'r8r4r4r5rs z)JavaReleaseSummary.parent_release_versioncCs ||_dS)a Sets the parent_release_version of this JavaReleaseSummary. Parent Java release version identifier. This is applicable for BPR releases. :param parent_release_version: The parent_release_version of this JavaReleaseSummary. :type: str Nr:)r2rr4r4r5rs cCs|jS)a **[Required]** Gets the security_status of this JavaReleaseSummary. 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 JavaReleaseSummary. :rtype: str )r(r8r4r4r5rs z"JavaReleaseSummary.security_statuscCs gd}t||sd}||_dS)z Sets the security_status of this JavaReleaseSummary. The security status of the Java version. :param security_status: The security_status of this JavaReleaseSummary. :type: str )rrr r r UNKNOWN_ENUM_VALUEN)rr()r2rallowed_valuesr4r4r5rs  cCs|jS)a **[Required]** Gets the release_type of this JavaReleaseSummary. 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 JavaReleaseSummary. :rtype: str )r)r8r4r4r5r$s zJavaReleaseSummary.release_typecCs gd}t||sd}||_dS)z Sets the release_type of this JavaReleaseSummary. Release category of the Java version. :param release_type: The release_type of this JavaReleaseSummary. :type: str )r r rrr;N)rr))r2rr<r4r4r5r3s  cCs|jS)a **[Required]** Gets the license_type of this JavaReleaseSummary. 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 JavaReleaseSummary. :rtype: str )r*r8r4r4r5rBs zJavaReleaseSummary.license_typecCs gd}t||sd}||_dS)z Sets the license_type of this JavaReleaseSummary. License type for the Java version. :param license_type: The license_type of this JavaReleaseSummary. :type: str )rrrr;N)rr*)r2rr<r4r4r5rQs  cCs|jS)z Gets the family_details of this JavaReleaseSummary. :return: The family_details of this JavaReleaseSummary. :rtype: oci.jms.models.JavaFamily r+r8r4r4r5r`sz!JavaReleaseSummary.family_detailscCs ||_dS)z Sets the family_details of this JavaReleaseSummary. :param family_details: The family_details of this JavaReleaseSummary. :type: oci.jms.models.JavaFamily Nr=)r2rr4r4r5rjscCs|jS)z Gets the license_details of this JavaReleaseSummary. :return: The license_details of this JavaReleaseSummary. :rtype: oci.jms.models.JavaLicense r,r8r4r4r5rtsz"JavaReleaseSummary.license_detailscCs ||_dS)z Sets the license_details of this JavaReleaseSummary. :param license_details: The license_details of this JavaReleaseSummary. :type: oci.jms.models.JavaLicense Nr>)r2rr4r4r5r~scCs|jS)a8 **[Required]** Gets the release_date of this JavaReleaseSummary. The release date of the Java version (formatted according to `RFC3339`__). __ https://datatracker.ietf.org/doc/html/rfc3339 :return: The release_date of this JavaReleaseSummary. :rtype: datetime r-r8r4r4r5r s zJavaReleaseSummary.release_datecCs ||_dS)a4 Sets the release_date of this JavaReleaseSummary. 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 JavaReleaseSummary. :type: datetime Nr?)r2r r4r4r5r s cCs|jS)z **[Required]** Gets the release_notes_url of this JavaReleaseSummary. Release notes associated with the Java version. :return: The release_notes_url of this JavaReleaseSummary. :rtype: str r.r8r4r4r5r!s z$JavaReleaseSummary.release_notes_urlcCs ||_dS)z Sets the release_notes_url of this JavaReleaseSummary. Release notes associated with the Java version. :param release_notes_url: The release_notes_url of this JavaReleaseSummary. :type: str Nr@)r2r!r4r4r5r!s cCs|jS)a **[Required]** Gets the artifact_content_types of this JavaReleaseSummary. 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 JavaReleaseSummary. :rtype: list[str] r/r8r4r4r5r"s z)JavaReleaseSummary.artifact_content_typescs0gd|r&fdd|D|dd<||_dS)z Sets the artifact_content_types of this JavaReleaseSummary. Artifact content types for the Java version. :param artifact_content_types: The artifact_content_types of this JavaReleaseSummary. :type: list[str] )rrrcsg|]}t|sdn|qS)r;)r).0xr<r4r5 z=JavaReleaseSummary.artifact_content_types..NrA)r2r"r4rDr5r"s cCs|jS)a@ Gets the mos_patches of this JavaReleaseSummary. 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 JavaReleaseSummary. :rtype: list[oci.jms.models.PatchDetail] r0r8r4r4r5r#s zJavaReleaseSummary.mos_patchescCs ||_dS)aJ Sets the mos_patches of this JavaReleaseSummary. 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 JavaReleaseSummary. :type: list[oci.jms.models.PatchDetail] NrG)r2r#r4r4r5r#s cCs|jS)a  Gets the days_under_security_baseline of this JavaReleaseSummary. The number of days since this release has been under the security baseline. :return: The days_under_security_baseline of this JavaReleaseSummary. :rtype: int r1r8r4r4r5r$s z/JavaReleaseSummary.days_under_security_baselinecCs ||_dS)a& Sets the days_under_security_baseline of this JavaReleaseSummary. 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 JavaReleaseSummary. :type: int NrH)r2r$r4r4r5r$s cCst|SN)rr8r4r4r5__repr__ szJavaReleaseSummary.__repr__cCs|dur dS|j|jkS)NF)__dict__r2otherr4r4r5__eq__szJavaReleaseSummary.__eq__cCs ||k SrIr4rLr4r4r5__ne__szJavaReleaseSummary.__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_JREr6propertyrsetterrrrrrrrr r!r"r#r$rJrNrOr4r4r4r5r sp                          rN)Zoci.utilrrrZoci.decoratorsrobjectrr4r4r4r5s