RepositoryPathSummary¶
-
class
oci.devops.models.
RepositoryPathSummary
(**kwargs)¶ Bases:
object
Object containing information about files and directories in a repository.
Methods
__init__
(**kwargs)Initializes a new RepositoryPathSummary object with values from keyword arguments. Attributes
defined_tags
Gets the defined_tags of this RepositoryPathSummary. freeform_tags
Gets the freeform_tags of this RepositoryPathSummary. name
Gets the name of this RepositoryPathSummary. path
Gets the path of this RepositoryPathSummary. sha
Gets the sha of this RepositoryPathSummary. size_in_bytes
Gets the size_in_bytes of this RepositoryPathSummary. submodule_git_url
Gets the submodule_git_url of this RepositoryPathSummary. system_tags
Gets the system_tags of this RepositoryPathSummary. type
Gets the type of this RepositoryPathSummary. -
__init__
(**kwargs)¶ Initializes a new RepositoryPathSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - type (str) – The value to assign to the type property of this RepositoryPathSummary.
- size_in_bytes (int) – The value to assign to the size_in_bytes property of this RepositoryPathSummary.
- name (str) – The value to assign to the name property of this RepositoryPathSummary.
- path (str) – The value to assign to the path property of this RepositoryPathSummary.
- sha (str) – The value to assign to the sha property of this RepositoryPathSummary.
- submodule_git_url (str) – The value to assign to the submodule_git_url property of this RepositoryPathSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this RepositoryPathSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this RepositoryPathSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this RepositoryPathSummary.
Gets the defined_tags of this RepositoryPathSummary. 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 RepositoryPathSummary. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this RepositoryPathSummary. 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 RepositoryPathSummary. Return type: dict(str, str)
-
name
¶ Gets the name of this RepositoryPathSummary. Name of file or directory.
Returns: The name of this RepositoryPathSummary. Return type: str
-
path
¶ Gets the path of this RepositoryPathSummary. Path to file or directory in a repository.
Returns: The path of this RepositoryPathSummary. Return type: str
-
sha
¶ Gets the sha of this RepositoryPathSummary. SHA-1 checksum of blob or tree.
Returns: The sha of this RepositoryPathSummary. Return type: str
-
size_in_bytes
¶ Gets the size_in_bytes of this RepositoryPathSummary. Size of file or directory.
Returns: The size_in_bytes of this RepositoryPathSummary. Return type: int
-
submodule_git_url
¶ Gets the submodule_git_url of this RepositoryPathSummary. The git URL of the submodule.
Returns: The submodule_git_url of this RepositoryPathSummary. Return type: str
Gets the system_tags of this RepositoryPathSummary. 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 RepositoryPathSummary. Return type: dict(str, dict(str, object))
-
type
¶ Gets the type of this RepositoryPathSummary. File or directory.
Returns: The type of this RepositoryPathSummary. Return type: str
-