SyncRepositoryDetails

class oci.devops.models.SyncRepositoryDetails(**kwargs)

Bases: object

Details required for syncing a repository with its upstream.

Methods

__init__(**kwargs) Initializes a new SyncRepositoryDetails object with values from keyword arguments.

Attributes

destination_branch [Required] Gets the destination_branch of this SyncRepositoryDetails.
source_branch [Required] Gets the source_branch of this SyncRepositoryDetails.
__init__(**kwargs)

Initializes a new SyncRepositoryDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • source_branch (str) – The value to assign to the source_branch property of this SyncRepositoryDetails.
  • destination_branch (str) – The value to assign to the destination_branch property of this SyncRepositoryDetails.
destination_branch

[Required] Gets the destination_branch of this SyncRepositoryDetails. The branch in the repository we want to be updated with changes from the upstream.

Returns:The destination_branch of this SyncRepositoryDetails.
Return type:str
source_branch

[Required] Gets the source_branch of this SyncRepositoryDetails. The branch in the upstream repository we want to sync from.

Returns:The source_branch of this SyncRepositoryDetails.
Return type:str