a üÎòfT?ã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@sŽeZdZdZdZdZdZdd„Zedd„ƒZ e j d d„ƒZ ed d „ƒZ e j d d „ƒZ ed d„ƒZ e j dd„ƒZ edd„ƒZ e j dd„ƒZ edd„ƒZej dd„ƒZedd„ƒZej dd„ƒZedd„ƒZej dd„ƒZedd„ƒZej dd„ƒZedd „ƒZej d!d „ƒZed"d#„ƒZej d$d#„ƒZed%d&„ƒZej d'd&„ƒZed(d)„ƒZej d*d)„ƒZed+d,„ƒZej d-d,„ƒZd.d/„Zd0d1„Zd2d3„Zd4S)5Ú JavaArtifactz6 Information about a binary artifact of Java. ÚJDKÚJREÚ SERVER_JREcKs–ddddddddddddddœ |_dddddd d d d d ddddœ |_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_dS)a‡ Initializes a new JavaArtifact object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param artifact_id: The value to assign to the artifact_id property of this JavaArtifact. :type artifact_id: int :param artifact_description: The value to assign to the artifact_description property of this JavaArtifact. :type artifact_description: str :param artifact_content_type: The value to assign to the artifact_content_type property of this JavaArtifact. Allowed values for this property 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_type: str :param approximate_file_size_in_bytes: The value to assign to the approximate_file_size_in_bytes property of this JavaArtifact. :type approximate_file_size_in_bytes: int :param sha256: The value to assign to the sha256 property of this JavaArtifact. :type sha256: str :param artifact_file_name: The value to assign to the artifact_file_name property of this JavaArtifact. :type artifact_file_name: str :param os_family: The value to assign to the os_family property of this JavaArtifact. :type os_family: str :param architecture: The value to assign to the architecture property of this JavaArtifact. :type architecture: str :param package_type: The value to assign to the package_type property of this JavaArtifact. :type package_type: str :param package_type_detail: The value to assign to the package_type_detail property of this JavaArtifact. :type package_type_detail: str :param download_url: The value to assign to the download_url property of this JavaArtifact. :type download_url: str :param script_download_url: The value to assign to the script_download_url property of this JavaArtifact. :type script_download_url: str :param script_checksum_url: The value to assign to the script_checksum_url property of this JavaArtifact. :type script_checksum_url: str ÚintÚstr) Ú artifact_idÚartifact_descriptionÚartifact_content_typeÚapproximate_file_size_in_bytesÚsha256Úartifact_file_nameÚ os_familyÚ architectureÚ package_typeÚpackage_type_detailÚ download_urlÚscript_download_urlÚscript_checksum_urlZ artifactIdZartifactDescriptionZartifactContentTypeZapproximateFileSizeInBytesrZartifactFileNameZosFamilyrZ packageTypeZpackageTypeDetailZ downloadUrlZscriptDownloadUrlZscriptChecksumUrlN)Z swagger_typesZ attribute_mapÚ _artifact_idÚ_artifact_descriptionÚ_artifact_content_typeÚ_approximate_file_size_in_bytesÚ_sha256Ú_artifact_file_nameÚ _os_familyÚ _architectureÚ _package_typeÚ_package_type_detailÚ _download_urlÚ_script_download_urlÚ_script_checksum_url)ÚselfÚkwargs©r(ú@/usr/lib/python3.9/site-packages/oci/jms/models/java_artifact.pyÚ__init__sR=óózJavaArtifact.__init__cCs|jS)zÄ **[Required]** Gets the artifact_id of this JavaArtifact. Unique identifier for the artifact. :return: The artifact_id of this JavaArtifact. :rtype: int ©r©r&r(r(r)r ˆs zJavaArtifact.artifact_idcCs ||_dS)z¿ Sets the artifact_id of this JavaArtifact. Unique identifier for the artifact. :param artifact_id: The artifact_id of this JavaArtifact. :type: int Nr+)r&r r(r(r)r ”s cCs|jS)a **[Required]** Gets the artifact_description of this JavaArtifact. Description of the binary artifact. Typically includes the OS, architecture, and installer type. :return: The artifact_description of this JavaArtifact. :rtype: str ©rr,r(r(r)r  s z!JavaArtifact.artifact_descriptioncCs ||_dS)a Sets the artifact_description of this JavaArtifact. Description of the binary artifact. Typically includes the OS, architecture, and installer type. :param artifact_description: The artifact_description of this JavaArtifact. :type: str Nr-)r&r r(r(r)r ¬s cCs|jS)aš **[Required]** Gets the artifact_content_type of this JavaArtifact. Product content type of this artifact. Allowed values for this property 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_type of this JavaArtifact. :rtype: str )rr,r(r(r)r¸s z"JavaArtifact.artifact_content_typecCs gd¢}t||ƒsd}||_dS)zà Sets the artifact_content_type of this JavaArtifact. Product content type of this artifact. :param artifact_content_type: The artifact_content_type of this JavaArtifact. :type: str )rrr ZUNKNOWN_ENUM_VALUEN)rr)r&rZallowed_valuesr(r(r)rÇs  cCs|jS)zñ **[Required]** Gets the approximate_file_size_in_bytes of this JavaArtifact. Approximate compressed file size in bytes. :return: The approximate_file_size_in_bytes of this JavaArtifact. :rtype: int ©rr,r(r(r)rÖs z+JavaArtifact.approximate_file_size_in_bytescCs ||_dS)zÿ Sets the approximate_file_size_in_bytes of this JavaArtifact. Approximate compressed file size in bytes. :param approximate_file_size_in_bytes: The approximate_file_size_in_bytes of this JavaArtifact. :type: int Nr.)r&rr(r(r)râs cCs|jS)z· **[Required]** Gets the sha256 of this JavaArtifact. SHA256 checksum of the artifact. :return: The sha256 of this JavaArtifact. :rtype: str ©rr,r(r(r)rîs zJavaArtifact.sha256cCs ||_dS)z­ Sets the sha256 of this JavaArtifact. SHA256 checksum of the artifact. :param sha256: The sha256 of this JavaArtifact. :type: str Nr/)r&rr(r(r)rús cCs|jS)z¾ Gets the artifact_file_name of this JavaArtifact. The file name of the artifact. :return: The artifact_file_name of this JavaArtifact. :rtype: str ©rr,r(r(r)rs zJavaArtifact.artifact_file_namecCs ||_dS)zÏ Sets the artifact_file_name of this JavaArtifact. The file name of the artifact. :param artifact_file_name: The artifact_file_name of this JavaArtifact. :type: str Nr0)r&rr(r(r)rs cCs|jS)zÑ **[Required]** Gets the os_family of this JavaArtifact. The target Operating System family for the artifact. :return: The os_family of this JavaArtifact. :rtype: str ©rr,r(r(r)rs zJavaArtifact.os_familycCs ||_dS)zÊ Sets the os_family of this JavaArtifact. The target Operating System family for the artifact. :param os_family: The os_family of this JavaArtifact. :type: str Nr1)r&rr(r(r)r*s cCs|jS)zÝ **[Required]** Gets the architecture of this JavaArtifact. The target Operating System architecture for the artifact. :return: The architecture of this JavaArtifact. :rtype: str ©r r,r(r(r)r6s zJavaArtifact.architecturecCs ||_dS)zÙ Sets the architecture of this JavaArtifact. The target Operating System architecture for the artifact. :param architecture: The architecture of this JavaArtifact. :type: str Nr2)r&rr(r(r)rBs cCs|jS)zâ **[Required]** Gets the package_type of this JavaArtifact. The package type(typically the file extension) of the artifact. :return: The package_type of this JavaArtifact. :rtype: str ©r!r,r(r(r)rNs zJavaArtifact.package_typecCs ||_dS)zÞ Sets the package_type of this JavaArtifact. The package type(typically the file extension) of the artifact. :param package_type: The package_type of this JavaArtifact. :type: str Nr3)r&rr(r(r)rZs cCs|jS)zÐ Gets the package_type_detail of this JavaArtifact. Additional information about the package type. :return: The package_type_detail of this JavaArtifact. :rtype: str ©r"r,r(r(r)rfs z JavaArtifact.package_type_detailcCs ||_dS)zâ Sets the package_type_detail of this JavaArtifact. Additional information about the package type. :param package_type_detail: The package_type_detail of this JavaArtifact. :type: str Nr4)r&rr(r(r)rrs cCs|jS)aè **[Required]** Gets the download_url of this JavaArtifact. The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this `API`__ for more details. __ https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl :return: The download_url of this JavaArtifact. :rtype: str ©r#r,r(r(r)r~szJavaArtifact.download_urlcCs ||_dS)aä Sets the download_url of this JavaArtifact. The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this `API`__ for more details. __ https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/DownloadUrl/GenerateArtifactDownloadUrl :param download_url: The download_url of this JavaArtifact. :type: str Nr5)r&rr(r(r)rŽscCs|jS)a› **[Required]** Gets the script_download_url of this JavaArtifact. The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. :return: The script_download_url of this JavaArtifact. :rtype: str ©r$r,r(r(r)ržs z JavaArtifact.script_download_urlcCs ||_dS)až Sets the script_download_url of this JavaArtifact. The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family. :param script_download_url: The script_download_url of this JavaArtifact. :type: str Nr6)r&rr(r(r)r«s cCs|jS)aa **[Required]** Gets the script_checksum_url of this JavaArtifact. The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. :return: The script_checksum_url of this JavaArtifact. :rtype: str ©r%r,r(r(r)r¸s z JavaArtifact.script_checksum_urlcCs ||_dS)ad Sets the script_checksum_url of this JavaArtifact. The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact. :param script_checksum_url: The script_checksum_url of this JavaArtifact. :type: str Nr7)r&rr(r(r)rÅs cCst|ƒS©N)rr,r(r(r)Ú__repr__ÒszJavaArtifact.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©r&Úotherr(r(r)Ú__eq__ÕszJavaArtifact.__eq__cCs ||k Sr8r(r;r(r(r)Ú__ne__ÛszJavaArtifact.__ne__N)Ú__name__Ú __module__Ú __qualname__Ú__doc__ZARTIFACT_CONTENT_TYPE_JDKZARTIFACT_CONTENT_TYPE_JREZ ARTIFACT_CONTENT_TYPE_SERVER_JREr*Úpropertyr Úsetterr rrrrrrrrrrrr9r=r>r(r(r(r)r sxj                          rN)Zoci.utilrrrZoci.decoratorsrÚobjectrr(r(r(r)Ús