RewardCollection¶
- class oci.usage.models.RewardCollection(**kwargs)¶
Bases:
objectThe response object for the ListRewards API call. Provides information about the subscription rewards.
Methods:
__init__(**kwargs)Initializes a new RewardCollection object with values from keyword arguments.
Attributes:
Gets the items of this RewardCollection.
[Required] Gets the summary of this RewardCollection.
- __init__(**kwargs)¶
Initializes a new RewardCollection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
summary (oci.usage.models.RewardDetails) – The value to assign to the summary property of this RewardCollection.
items (list[oci.usage.models.MonthlyRewardSummary]) – The value to assign to the items property of this RewardCollection.
- property items¶
Gets the items of this RewardCollection. The monthly summary of rewards.
- Returns
The items of this RewardCollection.
- Return type
- property summary¶
[Required] Gets the summary of this RewardCollection.
- Returns
The summary of this RewardCollection.
- Return type