@Generated(value="OracleSDKGenerator", comments="API Version: v1") public final class CloudGateOauthClient extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A reference to the OAuth client App used by this Cloud Gate instance.
*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false -
mutability: readOnly - required: false - returned: default - type: complex - uniqueness: none
Note: Objects should always be created or deserialized using the CloudGateOauthClient.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 CloudGateOauthClient.Builder
, which maintain a
set of all explicitly set fields called CloudGateOauthClient.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 |
CloudGateOauthClient.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CloudGateOauthClient(String value,
String ref,
String clientId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CloudGateOauthClient.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getClientId()
The Client ID of the OAuth app for this CloudGate.
|
String |
getRef()
The URI of the OAuth app for this CloudGate.
|
String |
getValue()
The id of the OAuth app for this CloudGate.
|
int |
hashCode() |
CloudGateOauthClient.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"value","ref","clientId"}) public CloudGateOauthClient(String value, String ref, String clientId)
public static CloudGateOauthClient.Builder builder()
Create a new builder.
public CloudGateOauthClient.Builder toBuilder()
public String getValue()
The id of the OAuth app for this CloudGate.
*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none
public String getRef()
The URI of the OAuth app for this CloudGate.
*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: reference - uniqueness: none
public String getClientId()
The Client ID of the OAuth app for this CloudGate.
*Added In:** 19.2.1
*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none
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.