RepositoryPathCommitDetails¶
-
class
oci.devops.models.RepositoryPathCommitDetails(**kwargs)¶ Bases:
objectDetails about the last commit that modified a repository path.
Methods
__init__(**kwargs)Initializes a new RepositoryPathCommitDetails object with values from keyword arguments. Attributes
authorGets the author of this RepositoryPathCommitDetails. commit_idGets the commit_id of this RepositoryPathCommitDetails. messageGets the message of this RepositoryPathCommitDetails. time_updatedGets the time_updated of this RepositoryPathCommitDetails. -
__init__(**kwargs)¶ Initializes a new RepositoryPathCommitDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - commit_id (str) – The value to assign to the commit_id property of this RepositoryPathCommitDetails.
- message (str) – The value to assign to the message property of this RepositoryPathCommitDetails.
- author (oci.devops.models.PrincipalDetails) – The value to assign to the author property of this RepositoryPathCommitDetails.
- time_updated (datetime) – The value to assign to the time_updated property of this RepositoryPathCommitDetails.
Gets the author of this RepositoryPathCommitDetails.
Returns: The author of this RepositoryPathCommitDetails. Return type: oci.devops.models.PrincipalDetails
-
commit_id¶ Gets the commit_id of this RepositoryPathCommitDetails. The commit hash of the last commit.
Returns: The commit_id of this RepositoryPathCommitDetails. Return type: str
-
message¶ Gets the message of this RepositoryPathCommitDetails. The commit message of the last commit.
Returns: The message of this RepositoryPathCommitDetails. Return type: str
-
time_updated¶ Gets the time_updated of this RepositoryPathCommitDetails. Timestamp when this commit was made.
Returns: The time_updated of this RepositoryPathCommitDetails. Return type: datetime
-