ruạṛ
a ���f* � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s e Zd ZdZdZdZdZdZdZdZ dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zd"d#� Zd$d%� Zd&d'� Zd(S ))�BuildRunSnapshotzW Snapshot of a build run. Contains information including pipelineId, commitId. �ACCEPTED�IN_PROGRESS�FAILED� SUCCEEDED� CANCELING�CANCELEDc K sd ddddddddd�| _ dddddd d dd�| _d| _d| _d| _d| _d| _d| _d| _d| _ dS ) a Initializes a new BuildRunSnapshot object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param build_pipeline_id: The value to assign to the build_pipeline_id property of this BuildRunSnapshot. :type build_pipeline_id: str :param display_name: The value to assign to the display_name property of this BuildRunSnapshot. :type display_name: str :param commit_id: The value to assign to the commit_id property of this BuildRunSnapshot. :type commit_id: str :param build_run_id: The value to assign to the build_run_id property of this BuildRunSnapshot. :type build_run_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this BuildRunSnapshot. Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED" :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this BuildRunSnapshot. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this BuildRunSnapshot. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this BuildRunSnapshot. :type time_updated: datetime �strZdatetime)�build_pipeline_id�display_name� commit_id�build_run_id�lifecycle_state�lifecycle_details�time_created�time_updatedZbuildPipelineIdZdisplayNameZcommitIdZ buildRunIdZlifecycleStateZlifecycleDetailsZtimeCreatedZtimeUpdatedN) Z swagger_typesZ attribute_map�_build_pipeline_id� _display_name� _commit_id� _build_run_id�_lifecycle_state�_lifecycle_details� _time_created� _time_updated)�self�kwargs� r �H/usr/lib/python3.9/site-packages/oci/devops/models/build_run_snapshot.py�__init__* s4 (��zBuildRunSnapshot.__init__c C s | j S )z� **[Required]** Gets the build_pipeline_id of this BuildRunSnapshot. The OCID of the build pipeline where the build was triggered. :return: The build_pipeline_id of this BuildRunSnapshot. :rtype: str �r �r r r r! r p s z"BuildRunSnapshot.build_pipeline_idc C s || _ dS )z� Sets the build_pipeline_id of this BuildRunSnapshot. The OCID of the build pipeline where the build was triggered. :param build_pipeline_id: The build_pipeline_id of this BuildRunSnapshot. :type: str Nr# )r r r r r! r | s c C s | j S )z� Gets the display_name of this BuildRunSnapshot. The display name of the build run. :return: The display_name of this BuildRunSnapshot. :rtype: str �r r$ r r r! r � s zBuildRunSnapshot.display_namec C s || _ dS )z� Sets the display_name of this BuildRunSnapshot. The display name of the build run. :param display_name: The display_name of this BuildRunSnapshot. :type: str Nr% )r r r r r! r � s c C s | j S )z� **[Required]** Gets the commit_id of this BuildRunSnapshot. The commit id which the build was triggered from. :return: The commit_id of this BuildRunSnapshot. :rtype: str �r r$ r r r! r � s zBuildRunSnapshot.commit_idc C s || _ dS )z� Sets the commit_id of this BuildRunSnapshot. The commit id which the build was triggered from. :param commit_id: The commit_id of this BuildRunSnapshot. :type: str Nr&