RepositorySummary

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

Bases: object

Summary of the repository.

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this RepositorySummary.
default_branch Gets the default_branch of this RepositorySummary.
defined_tags Gets the defined_tags of this RepositorySummary.
description Gets the description of this RepositorySummary.
freeform_tags Gets the freeform_tags of this RepositorySummary.
http_url Gets the http_url of this RepositorySummary.
id [Required] Gets the id of this RepositorySummary.
lifecycle_details Gets the lifecycle_details of this RepositorySummary.
lifecycle_state Gets the lifecycle_state of this RepositorySummary.
mirror_repository_config Gets the mirror_repository_config of this RepositorySummary.
name Gets the name of this RepositorySummary.
namespace Gets the namespace of this RepositorySummary.
project_id [Required] Gets the project_id of this RepositorySummary.
project_name Gets the project_name of this RepositorySummary.
repository_type Gets the repository_type of this RepositorySummary.
ssh_url Gets the ssh_url of this RepositorySummary.
system_tags Gets the system_tags of this RepositorySummary.
time_created Gets the time_created of this RepositorySummary.
time_updated Gets the time_updated of this RepositorySummary.
__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this RepositorySummary.
  • name (str) – The value to assign to the name property of this RepositorySummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this RepositorySummary.
  • project_id (str) – The value to assign to the project_id property of this RepositorySummary.
  • namespace (str) – The value to assign to the namespace property of this RepositorySummary.
  • project_name (str) – The value to assign to the project_name property of this RepositorySummary.
  • description (str) – The value to assign to the description property of this RepositorySummary.
  • default_branch (str) – The value to assign to the default_branch property of this RepositorySummary.
  • repository_type (str) – The value to assign to the repository_type property of this RepositorySummary.
  • ssh_url (str) – The value to assign to the ssh_url property of this RepositorySummary.
  • http_url (str) – The value to assign to the http_url property of this RepositorySummary.
  • mirror_repository_config (oci.devops.models.MirrorRepositoryConfig) – The value to assign to the mirror_repository_config property of this RepositorySummary.
  • time_created (datetime) – The value to assign to the time_created property of this RepositorySummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this RepositorySummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this RepositorySummary.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this RepositorySummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this RepositorySummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this RepositorySummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this RepositorySummary.
compartment_id

[Required] Gets the compartment_id of this RepositorySummary. The OCID of the repository’s compartment.

Returns:The compartment_id of this RepositorySummary.
Return type:str
default_branch

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

Returns:The default_branch of this RepositorySummary.
Return type:str
defined_tags

Gets the defined_tags of this RepositorySummary. 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 RepositorySummary.
Return type:dict(str, dict(str, object))
description

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

Returns:The description of this RepositorySummary.
Return type:str
freeform_tags

Gets the freeform_tags of this RepositorySummary. 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 RepositorySummary.
Return type:dict(str, str)
http_url

Gets the http_url of this RepositorySummary. HTTP URL that you use to git clone, pull and push.

Returns:The http_url of this RepositorySummary.
Return type:str
id

[Required] Gets the id of this RepositorySummary. The OCID of the repository. This value is unique and immutable.

Returns:The id of this RepositorySummary.
Return type:str
lifecycle_details

Gets the lifecycle_details of this RepositorySummary. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Returns:The lifecycle_details of this RepositorySummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this RepositorySummary. The current state of the repository.

Returns:The lifecycle_state of this RepositorySummary.
Return type:str
mirror_repository_config

Gets the mirror_repository_config of this RepositorySummary.

Returns:The mirror_repository_config of this RepositorySummary.
Return type:oci.devops.models.MirrorRepositoryConfig
name

Gets the name of this RepositorySummary. Name of the repository. Should be unique within the project. This value is mutable.

Returns:The name of this RepositorySummary.
Return type:str
namespace

Gets the namespace of this RepositorySummary. Tenancy unique namespace.

Returns:The namespace of this RepositorySummary.
Return type:str
project_id

[Required] Gets the project_id of this RepositorySummary. The OCID of the DevOps project containing the repository.

Returns:The project_id of this RepositorySummary.
Return type:str
project_name

Gets the project_name of this RepositorySummary. Unique project name in a namespace.

Returns:The project_name of this RepositorySummary.
Return type:str
repository_type

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

Returns:The repository_type of this RepositorySummary.
Return type:str
ssh_url

Gets the ssh_url of this RepositorySummary. SSH URL that you use to git clone, pull and push.

Returns:The ssh_url of this RepositorySummary.
Return type:str
system_tags

Gets the system_tags of this RepositorySummary. 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 RepositorySummary.
Return type:dict(str, dict(str, object))
time_created

Gets the time_created of this RepositorySummary. The time the repository was created. Format defined by RFC3339.

Returns:The time_created of this RepositorySummary.
Return type:datetime
time_updated

Gets the time_updated of this RepositorySummary. The time the repository was updated. Format defined by RFC3339.

Returns:The time_updated of this RepositorySummary.
Return type:datetime