GenericDeliveredArtifact

class oci.devops.models.GenericDeliveredArtifact(**kwargs)

Bases: DeliveredArtifact

Details of the generic artifacts delivered through the Deliver Artifacts stage.

Attributes:

ARTIFACT_TYPE_GENERIC_ARTIFACT

A constant which can be used with the artifact_type property of a DeliveredArtifact.

ARTIFACT_TYPE_OCIR

A constant which can be used with the artifact_type property of a DeliveredArtifact.

artifact_repository_id

Gets the artifact_repository_id of this GenericDeliveredArtifact.

artifact_type

[Required] Gets the artifact_type of this DeliveredArtifact.

delivered_artifact_id

[Required] Gets the delivered_artifact_id of this GenericDeliveredArtifact.

deploy_artifact_id

[Required] Gets the deploy_artifact_id of this DeliveredArtifact.

output_artifact_name

[Required] Gets the output_artifact_name of this DeliveredArtifact.

path

Gets the path of this GenericDeliveredArtifact.

version

Gets the version of this GenericDeliveredArtifact.

Methods:

__init__(**kwargs)

Initializes a new GenericDeliveredArtifact object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

ARTIFACT_TYPE_GENERIC_ARTIFACT = 'GENERIC_ARTIFACT'

A constant which can be used with the artifact_type property of a DeliveredArtifact. This constant has a value of “GENERIC_ARTIFACT”

ARTIFACT_TYPE_OCIR = 'OCIR'

A constant which can be used with the artifact_type property of a DeliveredArtifact. This constant has a value of “OCIR”

__init__(**kwargs)

Initializes a new GenericDeliveredArtifact object with values from keyword arguments. The default value of the artifact_type attribute of this class is GENERIC_ARTIFACT and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • deploy_artifact_id (str) – The value to assign to the deploy_artifact_id property of this GenericDeliveredArtifact.

  • output_artifact_name (str) – The value to assign to the output_artifact_name property of this GenericDeliveredArtifact.

  • artifact_type (str) – The value to assign to the artifact_type property of this GenericDeliveredArtifact. Allowed values for this property are: “GENERIC_ARTIFACT”, “OCIR”

  • artifact_repository_id (str) – The value to assign to the artifact_repository_id property of this GenericDeliveredArtifact.

  • delivered_artifact_id (str) – The value to assign to the delivered_artifact_id property of this GenericDeliveredArtifact.

  • path (str) – The value to assign to the path property of this GenericDeliveredArtifact.

  • version (str) – The value to assign to the version property of this GenericDeliveredArtifact.

property artifact_repository_id

Gets the artifact_repository_id of this GenericDeliveredArtifact. The OCID of the artifact registry repository used by the DeliverArtifactStage

Returns

The artifact_repository_id of this GenericDeliveredArtifact.

Return type

str

property artifact_type

[Required] Gets the artifact_type of this DeliveredArtifact. Type of artifact delivered.

Allowed values for this property are: “GENERIC_ARTIFACT”, “OCIR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The artifact_type of this DeliveredArtifact.

Return type

str

property delivered_artifact_id

[Required] Gets the delivered_artifact_id of this GenericDeliveredArtifact. The OCID of the artifact pushed by the Deliver Artifacts stage.

Returns

The delivered_artifact_id of this GenericDeliveredArtifact.

Return type

str

property deploy_artifact_id

[Required] Gets the deploy_artifact_id of this DeliveredArtifact. The OCID of the deployment artifact definition.

Returns

The deploy_artifact_id of this DeliveredArtifact.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property output_artifact_name

[Required] Gets the output_artifact_name of this DeliveredArtifact. Name of the output artifact defined in the build specification file.

Returns

The output_artifact_name of this DeliveredArtifact.

Return type

str

property path

Gets the path of this GenericDeliveredArtifact. Path of the repository where artifact was pushed

Returns

The path of this GenericDeliveredArtifact.

Return type

str

property version

Gets the version of this GenericDeliveredArtifact. Version of the artifact pushed

Returns

The version of this GenericDeliveredArtifact.

Return type

str