ContainerVersion¶
-
class
oci.artifacts.models.ContainerVersion(**kwargs)¶ Bases:
objectContainer version metadata.
Methods
__init__(**kwargs)Initializes a new ContainerVersion object with values from keyword arguments. Attributes
created_by[Required] Gets the created_by of this ContainerVersion. time_created[Required] Gets the time_created of this ContainerVersion. version[Required] Gets the version of this ContainerVersion. -
__init__(**kwargs)¶ Initializes a new ContainerVersion object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - created_by (str) – The value to assign to the created_by property of this ContainerVersion.
- time_created (datetime) – The value to assign to the time_created property of this ContainerVersion.
- version (str) – The value to assign to the version property of this ContainerVersion.
-
created_by¶ [Required] Gets the created_by of this ContainerVersion. The OCID of the user or principal that pushed the version.
Returns: The created_by of this ContainerVersion. Return type: str
-
time_created¶ [Required] Gets the time_created of this ContainerVersion. The creation time of the version.
Returns: The time_created of this ContainerVersion. Return type: datetime
-
version¶ [Required] Gets the version of this ContainerVersion. The version name.
Returns: The version of this ContainerVersion. Return type: str
-