RepositoryCommitSummary¶
-
class
oci.devops.models.
RepositoryCommitSummary
(**kwargs)¶ Bases:
object
Commit summary with commit information.
Methods
__init__
(**kwargs)Initializes a new RepositoryCommitSummary object with values from keyword arguments. Attributes
author_email
[Required] Gets the author_email of this RepositoryCommitSummary. author_name
[Required] Gets the author_name of this RepositoryCommitSummary. commit_id
[Required] Gets the commit_id of this RepositoryCommitSummary. commit_message
[Required] Gets the commit_message of this RepositoryCommitSummary. committer_email
[Required] Gets the committer_email of this RepositoryCommitSummary. committer_name
[Required] Gets the committer_name of this RepositoryCommitSummary. defined_tags
Gets the defined_tags of this RepositoryCommitSummary. freeform_tags
Gets the freeform_tags of this RepositoryCommitSummary. parent_commit_ids
[Required] Gets the parent_commit_ids of this RepositoryCommitSummary. system_tags
Gets the system_tags of this RepositoryCommitSummary. time_created
[Required] Gets the time_created of this RepositoryCommitSummary. tree_id
[Required] Gets the tree_id of this RepositoryCommitSummary. -
__init__
(**kwargs)¶ Initializes a new RepositoryCommitSummary 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 RepositoryCommitSummary.
- commit_message (str) – The value to assign to the commit_message property of this RepositoryCommitSummary.
- author_name (str) – The value to assign to the author_name property of this RepositoryCommitSummary.
- author_email (str) – The value to assign to the author_email property of this RepositoryCommitSummary.
- committer_name (str) – The value to assign to the committer_name property of this RepositoryCommitSummary.
- committer_email (str) – The value to assign to the committer_email property of this RepositoryCommitSummary.
- parent_commit_ids (list[str]) – The value to assign to the parent_commit_ids property of this RepositoryCommitSummary.
- time_created (datetime) – The value to assign to the time_created property of this RepositoryCommitSummary.
- tree_id (str) – The value to assign to the tree_id property of this RepositoryCommitSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this RepositoryCommitSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this RepositoryCommitSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this RepositoryCommitSummary.
[Required] Gets the author_email of this RepositoryCommitSummary. Email of the author of the repository.
Returns: The author_email of this RepositoryCommitSummary. Return type: str
[Required] Gets the author_name of this RepositoryCommitSummary. Name of the author of the repository.
Returns: The author_name of this RepositoryCommitSummary. Return type: str
-
commit_id
¶ [Required] Gets the commit_id of this RepositoryCommitSummary. Commit hash pointed to by reference name.
Returns: The commit_id of this RepositoryCommitSummary. Return type: str
-
commit_message
¶ [Required] Gets the commit_message of this RepositoryCommitSummary. The commit message.
Returns: The commit_message of this RepositoryCommitSummary. Return type: str
-
committer_email
¶ [Required] Gets the committer_email of this RepositoryCommitSummary. Email of who creates the commit.
Returns: The committer_email of this RepositoryCommitSummary. Return type: str
-
committer_name
¶ [Required] Gets the committer_name of this RepositoryCommitSummary. Name of who creates the commit.
Returns: The committer_name of this RepositoryCommitSummary. Return type: str
Gets the defined_tags of this RepositoryCommitSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this RepositoryCommitSummary. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this RepositoryCommitSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this RepositoryCommitSummary. Return type: dict(str, str)
-
parent_commit_ids
¶ [Required] Gets the parent_commit_ids of this RepositoryCommitSummary. An array of parent commit IDs of created commit.
Returns: The parent_commit_ids of this RepositoryCommitSummary. Return type: list[str]
Gets the system_tags of this RepositoryCommitSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this RepositoryCommitSummary. Return type: dict(str, dict(str, object))
-
time_created
¶ [Required] Gets the time_created of this RepositoryCommitSummary. The time to create the commit.
Returns: The time_created of this RepositoryCommitSummary. Return type: datetime
-
tree_id
¶ [Required] Gets the tree_id of this RepositoryCommitSummary. Tree information for the specified commit.
Returns: The tree_id of this RepositoryCommitSummary. Return type: str
-