CostAnalysisUI¶
- class oci.usage_api.models.CostAnalysisUI(**kwargs)¶
Bases:
objectThe common fields for Cost Analysis UI rendering.
Attributes:
A constant which can be used with the graph property of a CostAnalysisUI.
A constant which can be used with the graph property of a CostAnalysisUI.
A constant which can be used with the graph property of a CostAnalysisUI.
Gets the graph of this CostAnalysisUI.
Gets the is_cumulative_graph of this CostAnalysisUI.
Methods:
__init__(**kwargs)Initializes a new CostAnalysisUI object with values from keyword arguments.
- GRAPH_BARS = 'BARS'¶
A constant which can be used with the graph property of a CostAnalysisUI. This constant has a value of “BARS”
- GRAPH_LINES = 'LINES'¶
A constant which can be used with the graph property of a CostAnalysisUI. This constant has a value of “LINES”
- GRAPH_STACKED_LINES = 'STACKED_LINES'¶
A constant which can be used with the graph property of a CostAnalysisUI. This constant has a value of “STACKED_LINES”
- __init__(**kwargs)¶
Initializes a new CostAnalysisUI object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
graph (str) – The value to assign to the graph property of this CostAnalysisUI. Allowed values for this property are: “BARS”, “LINES”, “STACKED_LINES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
is_cumulative_graph (bool) – The value to assign to the is_cumulative_graph property of this CostAnalysisUI.
- property graph¶
Gets the graph of this CostAnalysisUI. The graph type.
Allowed values for this property are: “BARS”, “LINES”, “STACKED_LINES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The graph of this CostAnalysisUI.
- Return type
str
- property is_cumulative_graph¶
Gets the is_cumulative_graph of this CostAnalysisUI. A cumulative graph.
- Returns
The is_cumulative_graph of this CostAnalysisUI.
- Return type
bool