RewardCollection

class oci.usage.models.RewardCollection(**kwargs)

Bases: object

The 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

items Gets the items of this RewardCollection.
summary [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:
items

Gets the items of this RewardCollection. The monthly summary of rewards.

Returns:The items of this RewardCollection.
Return type:list[oci.usage.models.MonthlyRewardSummary]
summary

[Required] Gets the summary of this RewardCollection.

Returns:The summary of this RewardCollection.
Return type:oci.usage.models.RewardDetails