ForkSyncStatusSummary

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

Bases: object

Object that contains the sync status for a specific branch name.

Attributes:

SYNC_STATUS_IN_SYNC

A constant which can be used with the sync_status property of a ForkSyncStatusSummary.

SYNC_STATUS_OUT_OF_SYNC

A constant which can be used with the sync_status property of a ForkSyncStatusSummary.

SYNC_STATUS_SYNC_IN_PROGRESS

A constant which can be used with the sync_status property of a ForkSyncStatusSummary.

branch_name

[Required] Gets the branch_name of this ForkSyncStatusSummary.

repository_id

[Required] Gets the repository_id of this ForkSyncStatusSummary.

sync_status

[Required] Gets the sync_status of this ForkSyncStatusSummary.

Methods:

__init__(**kwargs)

Initializes a new ForkSyncStatusSummary object with values from keyword arguments.

SYNC_STATUS_IN_SYNC = 'IN_SYNC'

A constant which can be used with the sync_status property of a ForkSyncStatusSummary. This constant has a value of “IN_SYNC”

SYNC_STATUS_OUT_OF_SYNC = 'OUT_OF_SYNC'

A constant which can be used with the sync_status property of a ForkSyncStatusSummary. This constant has a value of “OUT_OF_SYNC”

SYNC_STATUS_SYNC_IN_PROGRESS = 'SYNC_IN_PROGRESS'

A constant which can be used with the sync_status property of a ForkSyncStatusSummary. This constant has a value of “SYNC_IN_PROGRESS”

__init__(**kwargs)

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

Parameters
  • sync_status (str) – The value to assign to the sync_status property of this ForkSyncStatusSummary. Allowed values for this property are: “IN_SYNC”, “SYNC_IN_PROGRESS”, “OUT_OF_SYNC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • repository_id (str) – The value to assign to the repository_id property of this ForkSyncStatusSummary.

  • branch_name (str) – The value to assign to the branch_name property of this ForkSyncStatusSummary.

property branch_name

[Required] Gets the branch_name of this ForkSyncStatusSummary. The branch in the child repository we are checking the sync status of.

Returns

The branch_name of this ForkSyncStatusSummary.

Return type

str

property repository_id

[Required] Gets the repository_id of this ForkSyncStatusSummary. The OCID of the child repository.

Returns

The repository_id of this ForkSyncStatusSummary.

Return type

str

property sync_status

[Required] Gets the sync_status of this ForkSyncStatusSummary. Sync status for the provided branch.

Allowed values for this property are: “IN_SYNC”, “SYNC_IN_PROGRESS”, “OUT_OF_SYNC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The sync_status of this ForkSyncStatusSummary.

Return type

str