@Generated(value="OracleSDKGenerator", comments="API Version: 20180917") public final class GitConfigSourceRecord extends ConfigSourceRecord
Metadata about the Git configuration source.
GitConfigSourceRecord.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 GitConfigSourceRecord.Builder
, which maintain a set of all explicitly set fields called
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
GitConfigSourceRecord.Builder |
ConfigSourceRecord.ConfigSourceRecordType
Constructor and Description |
---|
GitConfigSourceRecord(String configurationSourceProviderId,
String repositoryUrl,
String branchName,
String commitId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static GitConfigSourceRecord.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getBranchName()
The name of the branch within the Git repository.
|
String |
getCommitId()
The unique identifier (SHA-1 hash) of the individual change to the Git repository.
|
String |
getConfigurationSourceProviderId()
Unique identifier (OCID)
for the Git configuration source.
|
String |
getRepositoryUrl()
The URL of the Git repository.
|
int |
hashCode() |
GitConfigSourceRecord.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public GitConfigSourceRecord(String configurationSourceProviderId, String repositoryUrl, String branchName, String commitId)
public static GitConfigSourceRecord.Builder builder()
Create a new builder.
public GitConfigSourceRecord.Builder toBuilder()
public String getConfigurationSourceProviderId()
Unique identifier (OCID) for the Git configuration source.
public String getRepositoryUrl()
The URL of the Git repository.
public String getBranchName()
The name of the branch within the Git repository.
public String getCommitId()
The unique identifier (SHA-1 hash) of the individual change to the Git repository.
public String toString()
toString
in class ConfigSourceRecord
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ConfigSourceRecord
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ConfigSourceRecord
public int hashCode()
hashCode
in class ConfigSourceRecord
Copyright © 2016–2022. All rights reserved.