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: - 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.
-
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
-