AverageCarbonEmission¶
-
class
oci.usage_api.models.
AverageCarbonEmission
(**kwargs)¶ Bases:
object
Average carbon emission.
Methods
__init__
(**kwargs)Initializes a new AverageCarbonEmission object with values from keyword arguments. Attributes
average_carbon_emission
[Required] Gets the average_carbon_emission of this AverageCarbonEmission. sku_part_number
[Required] Gets the sku_part_number of this AverageCarbonEmission. -
__init__
(**kwargs)¶ Initializes a new AverageCarbonEmission object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - sku_part_number (str) – The value to assign to the sku_part_number property of this AverageCarbonEmission.
- average_carbon_emission (float) – The value to assign to the average_carbon_emission property of this AverageCarbonEmission.
-
average_carbon_emission
¶ [Required] Gets the average_carbon_emission of this AverageCarbonEmission. The average carbon emissions by SKU.
Returns: The average_carbon_emission of this AverageCarbonEmission. Return type: float
-
sku_part_number
¶ [Required] Gets the sku_part_number of this AverageCarbonEmission. The sku part number.
Returns: The sku_part_number of this AverageCarbonEmission. Return type: str
-