@Generated(value="OracleSDKGenerator", comments="API Version: 20180917") public final class UpdateGitConfigSourceDetails extends UpdateConfigSourceDetails
Update details for a Git configuration source.
Note: Objects should always be created or deserialized using the UpdateGitConfigSourceDetails.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 UpdateGitConfigSourceDetails.Builder
, which maintain a
set of all explicitly set fields called UpdateGitConfigSourceDetails.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 |
UpdateGitConfigSourceDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UpdateGitConfigSourceDetails(String workingDirectory,
String configurationSourceProviderId,
String repositoryUrl,
String branchName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateGitConfigSourceDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getBranchName()
The name of the branch within the Git repository.
|
String |
getConfigurationSourceProviderId()
Unique identifier
(OCID) for the
Git configuration source.
|
String |
getRepositoryUrl()
The URL of the Git repository.
|
int |
hashCode() |
UpdateGitConfigSourceDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getWorkingDirectory
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public UpdateGitConfigSourceDetails(String workingDirectory, String configurationSourceProviderId, String repositoryUrl, String branchName)
public static UpdateGitConfigSourceDetails.Builder builder()
Create a new builder.
public UpdateGitConfigSourceDetails.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 toString()
toString
in class UpdateConfigSourceDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class UpdateConfigSourceDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class UpdateConfigSourceDetails
public int hashCode()
hashCode
in class UpdateConfigSourceDetails
Copyright © 2016–2024. All rights reserved.