DeliveredArtifact¶
- class oci.devops.models.DeliveredArtifact(**kwargs)¶
Bases:
objectDetails of the artifacts delivered through the Deliver Artifacts stage.
Attributes:
A constant which can be used with the artifact_type property of a DeliveredArtifact.
A constant which can be used with the artifact_type property of a DeliveredArtifact.
[Required] Gets the artifact_type of this DeliveredArtifact.
[Required] Gets the deploy_artifact_id of this DeliveredArtifact.
[Required] Gets the output_artifact_name of this DeliveredArtifact.
Methods:
__init__(**kwargs)Initializes a new DeliveredArtifact 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 DeliveredArtifact object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 DeliveredArtifact.
output_artifact_name (str) – The value to assign to the output_artifact_name property of this DeliveredArtifact.
artifact_type (str) – The value to assign to the artifact_type property of this DeliveredArtifact. 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’.
- 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 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