JavaArtifact

class oci.jms.models.JavaArtifact(**kwargs)

Bases: object

Information about a binary artifact of Java.

Attributes

ARTIFACT_CONTENT_TYPE_JDK A constant which can be used with the artifact_content_type property of a JavaArtifact.
ARTIFACT_CONTENT_TYPE_JRE A constant which can be used with the artifact_content_type property of a JavaArtifact.
ARTIFACT_CONTENT_TYPE_SERVER_JRE A constant which can be used with the artifact_content_type property of a JavaArtifact.
approximate_file_size_in_bytes [Required] Gets the approximate_file_size_in_bytes of this JavaArtifact.
architecture [Required] Gets the architecture of this JavaArtifact.
artifact_content_type [Required] Gets the artifact_content_type of this JavaArtifact.
artifact_description [Required] Gets the artifact_description of this JavaArtifact.
artifact_file_name Gets the artifact_file_name of this JavaArtifact.
artifact_id [Required] Gets the artifact_id of this JavaArtifact.
download_url [Required] Gets the download_url of this JavaArtifact.
os_family [Required] Gets the os_family of this JavaArtifact.
package_type [Required] Gets the package_type of this JavaArtifact.
package_type_detail Gets the package_type_detail of this JavaArtifact.
script_checksum_url [Required] Gets the script_checksum_url of this JavaArtifact.
script_download_url [Required] Gets the script_download_url of this JavaArtifact.
sha256 [Required] Gets the sha256 of this JavaArtifact.

Methods

__init__(**kwargs) Initializes a new JavaArtifact object with values from keyword arguments.
ARTIFACT_CONTENT_TYPE_JDK = 'JDK'

A constant which can be used with the artifact_content_type property of a JavaArtifact. This constant has a value of “JDK”

ARTIFACT_CONTENT_TYPE_JRE = 'JRE'

A constant which can be used with the artifact_content_type property of a JavaArtifact. This constant has a value of “JRE”

ARTIFACT_CONTENT_TYPE_SERVER_JRE = 'SERVER_JRE'

A constant which can be used with the artifact_content_type property of a JavaArtifact. This constant has a value of “SERVER_JRE”

__init__(**kwargs)

Initializes a new JavaArtifact object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • artifact_id (int) – The value to assign to the artifact_id property of this JavaArtifact.
  • artifact_description (str) – The value to assign to the artifact_description property of this JavaArtifact.
  • artifact_content_type (str) – 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’.
  • approximate_file_size_in_bytes (int) – The value to assign to the approximate_file_size_in_bytes property of this JavaArtifact.
  • sha256 (str) – The value to assign to the sha256 property of this JavaArtifact.
  • artifact_file_name (str) – The value to assign to the artifact_file_name property of this JavaArtifact.
  • os_family (str) – The value to assign to the os_family property of this JavaArtifact.
  • architecture (str) – The value to assign to the architecture property of this JavaArtifact.
  • package_type (str) – The value to assign to the package_type property of this JavaArtifact.
  • package_type_detail (str) – The value to assign to the package_type_detail property of this JavaArtifact.
  • download_url (str) – The value to assign to the download_url property of this JavaArtifact.
  • script_download_url (str) – The value to assign to the script_download_url property of this JavaArtifact.
  • script_checksum_url (str) – The value to assign to the script_checksum_url property of this JavaArtifact.
approximate_file_size_in_bytes

[Required] Gets the approximate_file_size_in_bytes of this JavaArtifact. Approximate compressed file size in bytes.

Returns:The approximate_file_size_in_bytes of this JavaArtifact.
Return type:int
architecture

[Required] Gets the architecture of this JavaArtifact. The target Operating System architecture for the artifact.

Returns:The architecture of this JavaArtifact.
Return type:str
artifact_content_type

[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’.

Returns:The artifact_content_type of this JavaArtifact.
Return type:str
artifact_description

[Required] Gets the artifact_description of this JavaArtifact. Description of the binary artifact. Typically includes the OS, architecture, and installer type.

Returns:The artifact_description of this JavaArtifact.
Return type:str
artifact_file_name

Gets the artifact_file_name of this JavaArtifact. The file name of the artifact.

Returns:The artifact_file_name of this JavaArtifact.
Return type:str
artifact_id

[Required] Gets the artifact_id of this JavaArtifact. Unique identifier for the artifact.

Returns:The artifact_id of this JavaArtifact.
Return type:int
download_url

[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.

Returns:The download_url of this JavaArtifact.
Return type:str
os_family

[Required] Gets the os_family of this JavaArtifact. The target Operating System family for the artifact.

Returns:The os_family of this JavaArtifact.
Return type:str
package_type

[Required] Gets the package_type of this JavaArtifact. The package type(typically the file extension) of the artifact.

Returns:The package_type of this JavaArtifact.
Return type:str
package_type_detail

Gets the package_type_detail of this JavaArtifact. Additional information about the package type.

Returns:The package_type_detail of this JavaArtifact.
Return type:str
script_checksum_url

[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.

Returns:The script_checksum_url of this JavaArtifact.
Return type:str
script_download_url

[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.

Returns:The script_download_url of this JavaArtifact.
Return type:str
sha256

[Required] Gets the sha256 of this JavaArtifact. SHA256 checksum of the artifact.

Returns:The sha256 of this JavaArtifact.
Return type:str