UpdateRepositoryDetails

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

Bases: object

The information to be updated.

Methods:

__init__(**kwargs)

Initializes a new UpdateRepositoryDetails object with values from keyword arguments.

Attributes:

default_branch

Gets the default_branch of this UpdateRepositoryDetails.

defined_tags

Gets the defined_tags of this UpdateRepositoryDetails.

description

Gets the description of this UpdateRepositoryDetails.

freeform_tags

Gets the freeform_tags of this UpdateRepositoryDetails.

mirror_repository_config

Gets the mirror_repository_config of this UpdateRepositoryDetails.

name

Gets the name of this UpdateRepositoryDetails.

repository_type

Gets the repository_type of this UpdateRepositoryDetails.

__init__(**kwargs)

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

Parameters
  • name (str) – The value to assign to the name property of this UpdateRepositoryDetails.

  • description (str) – The value to assign to the description property of this UpdateRepositoryDetails.

  • default_branch (str) – The value to assign to the default_branch property of this UpdateRepositoryDetails.

  • repository_type (str) – The value to assign to the repository_type property of this UpdateRepositoryDetails.

  • mirror_repository_config (oci.devops.models.MirrorRepositoryConfig) – The value to assign to the mirror_repository_config property of this UpdateRepositoryDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateRepositoryDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateRepositoryDetails.

property default_branch

Gets the default_branch of this UpdateRepositoryDetails. The default branch of the repository.

Returns

The default_branch of this UpdateRepositoryDetails.

Return type

str

property defined_tags

Gets the defined_tags of this UpdateRepositoryDetails. 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 UpdateRepositoryDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this UpdateRepositoryDetails. Details of the repository. Avoid entering confidential information.

Returns

The description of this UpdateRepositoryDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this UpdateRepositoryDetails. 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 UpdateRepositoryDetails.

Return type

dict(str, str)

property mirror_repository_config

Gets the mirror_repository_config of this UpdateRepositoryDetails.

Returns

The mirror_repository_config of this UpdateRepositoryDetails.

Return type

oci.devops.models.MirrorRepositoryConfig

property name

Gets the name of this UpdateRepositoryDetails. Name of the repository. Should be unique within the project.

Returns

The name of this UpdateRepositoryDetails.

Return type

str

property repository_type

Gets the repository_type of this UpdateRepositoryDetails. Type of repository. Allowed values: MIRRORED HOSTED FORKED

Returns

The repository_type of this UpdateRepositoryDetails.

Return type

str