@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class RecommendationCollection extends Object
Results of a get recommendation.
RecommendationCollection.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 RecommendationCollection.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
RecommendationCollection.Builder |
Constructor and Description |
---|
RecommendationCollection(Integer count,
List<RecommendationDetails> items)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RecommendationCollection.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Integer |
getCount()
Total number of items returned.
|
List<RecommendationDetails> |
getItems()
Collection of recommendations.
|
int |
hashCode() |
RecommendationCollection.Builder |
toBuilder() |
String |
toString() |
@Deprecated @ConstructorProperties(value={"count","items"}) public RecommendationCollection(Integer count, List<RecommendationDetails> items)
public static RecommendationCollection.Builder builder()
Create a new builder.
public RecommendationCollection.Builder toBuilder()
public Integer getCount()
Total number of items returned.
public List<RecommendationDetails> getItems()
Collection of recommendations.
Copyright © 2016–2022. All rights reserved.