Show / Hide Table of Contents

Class JavaArtifact

Information about a binary artifact of Java.

Inheritance
object
JavaArtifact
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.JmsService.Models
Assembly: OCI.DotNetSDK.Jms.dll
Syntax
public class JavaArtifact

Properties

ApproximateFileSizeInBytes

Declaration
[Required(ErrorMessage = "ApproximateFileSizeInBytes is required.")]
[JsonProperty(PropertyName = "approximateFileSizeInBytes")]
public long? ApproximateFileSizeInBytes { get; set; }
Property Value
Type Description
long?

Approximate compressed file size in bytes.

Remarks

Required

Architecture

Declaration
[Required(ErrorMessage = "Architecture is required.")]
[JsonProperty(PropertyName = "architecture")]
public string Architecture { get; set; }
Property Value
Type Description
string

The target Operating System architecture for the artifact.

Remarks

Required

ArtifactContentType

Declaration
[Required(ErrorMessage = "ArtifactContentType is required.")]
[JsonProperty(PropertyName = "artifactContentType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ArtifactContentType? ArtifactContentType { get; set; }
Property Value
Type Description
ArtifactContentType?

Product content type of this artifact.

Remarks

Required

ArtifactDescription

Declaration
[Required(ErrorMessage = "ArtifactDescription is required.")]
[JsonProperty(PropertyName = "artifactDescription")]
public string ArtifactDescription { get; set; }
Property Value
Type Description
string

Description of the binary artifact. Typically includes the OS, architecture, and installer type.

Remarks

Required

ArtifactFileName

Declaration
[JsonProperty(PropertyName = "artifactFileName")]
public string ArtifactFileName { get; set; }
Property Value
Type Description
string

The file name of the artifact.

ArtifactId

Declaration
[Required(ErrorMessage = "ArtifactId is required.")]
[JsonProperty(PropertyName = "artifactId")]
public long? ArtifactId { get; set; }
Property Value
Type Description
long?

Unique identifier for the artifact.

Remarks

Required

DownloadUrl

Declaration
[Required(ErrorMessage = "DownloadUrl is required.")]
[JsonProperty(PropertyName = "downloadUrl")]
public string DownloadUrl { get; set; }
Property Value
Type Description
string

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.

Remarks

Required

OsFamily

Declaration
[Required(ErrorMessage = "OsFamily is required.")]
[JsonProperty(PropertyName = "osFamily")]
public string OsFamily { get; set; }
Property Value
Type Description
string

The target Operating System family for the artifact.

Remarks

Required

PackageType

Declaration
[Required(ErrorMessage = "PackageType is required.")]
[JsonProperty(PropertyName = "packageType")]
public string PackageType { get; set; }
Property Value
Type Description
string

The package type(typically the file extension) of the artifact.

Remarks

Required

PackageTypeDetail

Declaration
[JsonProperty(PropertyName = "packageTypeDetail")]
public string PackageTypeDetail { get; set; }
Property Value
Type Description
string

Additional information about the package type.

ScriptChecksumUrl

Declaration
[Required(ErrorMessage = "ScriptChecksumUrl is required.")]
[JsonProperty(PropertyName = "scriptChecksumUrl")]
public string ScriptChecksumUrl { get; set; }
Property Value
Type Description
string

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.

Remarks

Required

ScriptDownloadUrl

Declaration
[Required(ErrorMessage = "ScriptDownloadUrl is required.")]
[JsonProperty(PropertyName = "scriptDownloadUrl")]
public string ScriptDownloadUrl { get; set; }
Property Value
Type Description
string

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.

Remarks

Required

Sha256

Declaration
[Required(ErrorMessage = "Sha256 is required.")]
[JsonProperty(PropertyName = "sha256")]
public string Sha256 { get; set; }
Property Value
Type Description
string

SHA256 checksum of the artifact.

Remarks

Required

In this article
Back to top