📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
generative_ai_inference
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/generative_ai_inference/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: on_demand_serving_mode.cpython-39.pyc
a ���fn � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�ServingMode� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�OnDemandServingModezS The model's serving mode is on-demand serving on a shared infrastructure. c K s. ddd�| _ ddd�| _d| _d| _d| _dS )a� Initializes a new OnDemandServingMode object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_inference.models.OnDemandServingMode.serving_type` attribute of this class is ``ON_DEMAND`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param serving_type: The value to assign to the serving_type property of this OnDemandServingMode. Allowed values for this property are: "ON_DEMAND", "DEDICATED" :type serving_type: str :param model_id: The value to assign to the model_id property of this OnDemandServingMode. :type model_id: str �str)Zserving_type�model_idZservingTypeZmodelIdNZ ON_DEMAND)Z swagger_typesZ attribute_mapZ _serving_type� _model_id)�self�kwargs� r �]/usr/lib/python3.9/site-packages/oci/generative_ai_inference/models/on_demand_serving_mode.py�__init__ s ��zOnDemandServingMode.__init__c C s | j S )a **[Required]** Gets the model_id of this OnDemandServingMode. The unique ID of a model to use. You can use the :func:`list_models` API to list the available models. :return: The model_id of this OnDemandServingMode. :rtype: str �r �r r r r r 0 s zOnDemandServingMode.model_idc C s || _ dS )a Sets the model_id of this OnDemandServingMode. The unique ID of a model to use. You can use the :func:`list_models` API to list the available models. :param model_id: The model_id of this OnDemandServingMode. :type: str Nr )r r r r r r <