@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public final class RepositorySummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of the repository.
Note: Objects should always be created or deserialized using the RepositorySummary.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the RepositorySummary.Builder
, which maintain a
set of all explicitly set fields called RepositorySummary.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
RepositorySummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
RepositorySummary(String id,
String name,
String compartmentId,
String projectId,
String parentRepositoryId,
String namespace,
String projectName,
String description,
String defaultBranch,
Repository.RepositoryType repositoryType,
String sshUrl,
String httpUrl,
MirrorRepositoryConfig mirrorRepositoryConfig,
Date timeCreated,
Date timeUpdated,
Repository.LifecycleState lifecycleState,
String lifecycleDetails,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> systemTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RepositorySummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
The OCID of the repository’s compartment.
|
String |
getDefaultBranch()
The default branch of the repository.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDescription()
Details of the repository.
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
String |
getHttpUrl()
HTTP URL that you use to git clone, pull and push.
|
String |
getId()
The OCID of the repository.
|
String |
getLifecycleDetails()
A message describing the current state in more detail.
|
Repository.LifecycleState |
getLifecycleState()
The current state of the repository.
|
MirrorRepositoryConfig |
getMirrorRepositoryConfig() |
String |
getName()
Name of the repository.
|
String |
getNamespace()
Tenancy unique namespace.
|
String |
getParentRepositoryId()
The OCID of the parent repository.
|
String |
getProjectId()
The OCID of the DevOps project containing the repository.
|
String |
getProjectName()
Unique project name in a namespace.
|
Repository.RepositoryType |
getRepositoryType()
Type of repository.
|
String |
getSshUrl()
SSH URL that you use to git clone, pull and push.
|
Map<String,Map<String,Object>> |
getSystemTags()
Usage of system tag keys.
|
Date |
getTimeCreated()
The time the repository was created.
|
Date |
getTimeUpdated()
The time the repository was updated.
|
int |
hashCode() |
RepositorySummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","name","compartmentId","projectId","parentRepositoryId","namespace","projectName","description","defaultBranch","repositoryType","sshUrl","httpUrl","mirrorRepositoryConfig","timeCreated","timeUpdated","lifecycleState","lifecycleDetails","freeformTags","definedTags","systemTags"}) public RepositorySummary(String id, String name, String compartmentId, String projectId, String parentRepositoryId, String namespace, String projectName, String description, String defaultBranch, Repository.RepositoryType repositoryType, String sshUrl, String httpUrl, MirrorRepositoryConfig mirrorRepositoryConfig, Date timeCreated, Date timeUpdated, Repository.LifecycleState lifecycleState, String lifecycleDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
public static RepositorySummary.Builder builder()
Create a new builder.
public RepositorySummary.Builder toBuilder()
public String getId()
The OCID of the repository. This value is unique and immutable.
public String getName()
Name of the repository. Should be unique within the project. This value is mutable.
public String getCompartmentId()
The OCID of the repository’s compartment.
public String getProjectId()
The OCID of the DevOps project containing the repository.
public String getParentRepositoryId()
The OCID of the parent repository.
public String getNamespace()
Tenancy unique namespace.
public String getProjectName()
Unique project name in a namespace.
public String getDescription()
Details of the repository. Avoid entering confidential information.
public String getDefaultBranch()
The default branch of the repository.
public Repository.RepositoryType getRepositoryType()
Type of repository. Allowed values: MIRRORED
HOSTED
FORKED
public String getSshUrl()
SSH URL that you use to git clone, pull and push.
public String getHttpUrl()
HTTP URL that you use to git clone, pull and push.
public MirrorRepositoryConfig getMirrorRepositoryConfig()
public Date getTimeCreated()
The time the repository was created. Format defined by RFC3339.
public Date getTimeUpdated()
The time the repository was updated. Format defined by RFC3339.
public Repository.LifecycleState getLifecycleState()
The current state of the repository.
public String getLifecycleDetails()
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
public Map<String,String> getFreeformTags()
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"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. See
Resource Tags.
Example: {"foo-namespace": {"bar-key": "value"}}
public Map<String,Map<String,Object>> getSystemTags()
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource
Tags. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.