AverageCarbonEmission¶
- class oci.usage_api.models.AverageCarbonEmission(**kwargs)¶
Bases:
objectAverage carbon emissions.
Methods:
__init__(**kwargs)Initializes a new AverageCarbonEmission object with values from keyword arguments.
Attributes:
[Required] Gets the average_carbon_emission of this AverageCarbonEmission.
[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.
- property 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
- property 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