Class MyOAuth2ClientCredentials
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.identitydomains.model.MyOAuth2ClientCredentials
-
@Generated(value="OracleSDKGenerator", comments="API Version: v1") public final class MyOAuth2ClientCredentials extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The SCIM protocol defines a standard set of query parameters that can be used to filter, sort, and paginate to return zero or more resources in a query response.Queries MAY be made against a single resource or a resource type endpoint (e.g., /Users), or the service provider Base URI.
Note: Objects should always be created or deserialized using theMyOAuth2ClientCredentials.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 theMyOAuth2ClientCredentials.Builder
, which maintain a set of all explicitly set fields calledMyOAuth2ClientCredentials.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MyOAuth2ClientCredentials.Builder
-
Constructor Summary
Constructors Constructor Description MyOAuth2ClientCredentials(List<String> schemas, Integer totalResults, List<MyOAuth2ClientCredential> resources, Integer startIndex, Integer itemsPerPage)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MyOAuth2ClientCredentials.Builder
builder()
Create a new builder.boolean
equals(Object o)
Integer
getItemsPerPage()
The number of resources returned in a list response page.List<MyOAuth2ClientCredential>
getResources()
A multi-valued list of complex objects containing the requested resources.List<String>
getSchemas()
The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation.Integer
getStartIndex()
The 1-based index of the first result in the current set of list results.Integer
getTotalResults()
The total number of results returned by the list or query operation.int
hashCode()
MyOAuth2ClientCredentials.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
MyOAuth2ClientCredentials
@Deprecated @ConstructorProperties({"schemas","totalResults","resources","startIndex","itemsPerPage"}) public MyOAuth2ClientCredentials(List<String> schemas, Integer totalResults, List<MyOAuth2ClientCredential> resources, Integer startIndex, Integer itemsPerPage)
Deprecated.
-
-
Method Detail
-
builder
public static MyOAuth2ClientCredentials.Builder builder()
Create a new builder.
-
toBuilder
public MyOAuth2ClientCredentials.Builder toBuilder()
-
getSchemas
public List<String> getSchemas()
The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation.Each String value must be a unique URI. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior. REQUIRED.
- Returns:
- the value
-
getTotalResults
public Integer getTotalResults()
The total number of results returned by the list or query operation.The value may be larger than the number of resources returned such as when returning a single page of results where multiple pages are available. REQUIRED.
- Returns:
- the value
-
getResources
public List<MyOAuth2ClientCredential> getResources()
A multi-valued list of complex objects containing the requested resources.This MAY be a subset of the full set of resources if pagination is requested. REQUIRED if “totalResults” is non-zero.
- Returns:
- the value
-
getStartIndex
public Integer getStartIndex()
The 1-based index of the first result in the current set of list results.REQUIRED when partial results returned due to pagination.
- Returns:
- the value
-
getItemsPerPage
public Integer getItemsPerPage()
The number of resources returned in a list response page.REQUIRED when partial results returned due to pagination.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-