CostAnalysisUI¶
-
class
oci.usage_api.models.CostAnalysisUI(**kwargs)¶ Bases:
objectThe common fields for Cost Analysis UI rendering.
Attributes
GRAPH_BARSA constant which can be used with the graph property of a CostAnalysisUI. GRAPH_LINESA constant which can be used with the graph property of a CostAnalysisUI. GRAPH_STACKED_LINESA constant which can be used with the graph property of a CostAnalysisUI. graphGets the graph of this CostAnalysisUI. is_cumulative_graphGets 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.
-
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
-
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
-