RepositoryRefSummary

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

Bases: object

Summary of a reference.

Methods

__init__(**kwargs) Initializes a new RepositoryRefSummary object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

Attributes

defined_tags Gets the defined_tags of this RepositoryRefSummary.
freeform_tags Gets the freeform_tags of this RepositoryRefSummary.
full_ref_name [Required] Gets the full_ref_name of this RepositoryRefSummary.
ref_name [Required] Gets the ref_name of this RepositoryRefSummary.
ref_type [Required] Gets the ref_type of this RepositoryRefSummary.
repository_id [Required] Gets the repository_id of this RepositoryRefSummary.
system_tags Gets the system_tags of this RepositoryRefSummary.
__init__(**kwargs)

Initializes a new RepositoryRefSummary object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • ref_name (str) – The value to assign to the ref_name property of this RepositoryRefSummary.
  • ref_type (str) – The value to assign to the ref_type property of this RepositoryRefSummary.
  • full_ref_name (str) – The value to assign to the full_ref_name property of this RepositoryRefSummary.
  • repository_id (str) – The value to assign to the repository_id property of this RepositoryRefSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this RepositoryRefSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this RepositoryRefSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this RepositoryRefSummary.
defined_tags

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

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

[Required] Gets the full_ref_name of this RepositoryRefSummary. Unique full reference name inside a repository.

Returns:The full_ref_name of this RepositoryRefSummary.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

ref_name

[Required] Gets the ref_name of this RepositoryRefSummary. Reference name inside a repository.

Returns:The ref_name of this RepositoryRefSummary.
Return type:str
ref_type

[Required] Gets the ref_type of this RepositoryRefSummary. The type of reference (BRANCH or TAG).

Returns:The ref_type of this RepositoryRefSummary.
Return type:str
repository_id

[Required] Gets the repository_id of this RepositoryRefSummary. The OCID of the repository containing the reference.

Returns:The repository_id of this RepositoryRefSummary.
Return type:str
system_tags

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