Usage¶
-
class
oci.generative_ai_agent_runtime.models.
Usage
(**kwargs)¶ Bases:
object
Details of usage.
Methods
__init__
(**kwargs)Initializes a new Usage object with values from keyword arguments. Attributes
model_details
Gets the model_details of this Usage. usage_details
Gets the usage_details of this Usage. -
__init__
(**kwargs)¶ Initializes a new Usage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - model_details (oci.generative_ai_agent_runtime.models.ModelDetails) – The value to assign to the model_details property of this Usage.
- usage_details (oci.generative_ai_agent_runtime.models.UsageDetails) – The value to assign to the usage_details property of this Usage.
-
model_details
¶ Gets the model_details of this Usage.
Returns: The model_details of this Usage. Return type: oci.generative_ai_agent_runtime.models.ModelDetails
-
usage_details
¶ Gets the usage_details of this Usage.
Returns: The usage_details of this Usage. Return type: oci.generative_ai_agent_runtime.models.UsageDetails
-