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:
Gets the author of this RepositoryPathCommitDetails.
Gets the commit_id of this RepositoryPathCommitDetails.
Gets the message of this RepositoryPathCommitDetails.
Gets 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.
- property author¶
Gets the author of this RepositoryPathCommitDetails.
- Returns
The author of this RepositoryPathCommitDetails.
- Return type
- property 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
- property message¶
Gets the message of this RepositoryPathCommitDetails. The commit message of the last commit.
- Returns
The message of this RepositoryPathCommitDetails.
- Return type
str
- property 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