@Generated(value="OracleSDKGenerator", comments="API Version: 20180917") public final class CreateGitConfigSourceDetails extends CreateConfigSourceDetails
Creation details for configuration Git information.
Note: Objects should always be created or deserialized using the CreateGitConfigSourceDetails.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 CreateGitConfigSourceDetails.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 |
CreateGitConfigSourceDetails.Builder |
Constructor and Description |
---|
CreateGitConfigSourceDetails(String workingDirectory,
String configurationSourceProviderId,
String repositoryUrl,
String branchName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateGitConfigSourceDetails.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() |
CreateGitConfigSourceDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getWorkingDirectory
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CreateGitConfigSourceDetails(String workingDirectory, String configurationSourceProviderId, String repositoryUrl, String branchName)
public static CreateGitConfigSourceDetails.Builder builder()
Create a new builder.
public CreateGitConfigSourceDetails.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 CreateConfigSourceDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CreateConfigSourceDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CreateConfigSourceDetails
public int hashCode()
hashCode
in class CreateConfigSourceDetails
Copyright © 2016–2023. All rights reserved.