VendorUpdate
Schema for updating a vendor.
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
name | Any | ✗ | None | - |
description | Any | ✗ | None | - |
Usage Example
from credoai.models import VendorUpdate
# Create a new instance
model = VendorUpdate(
)
# Convert to dictionary
model_dict = model.model_dump()
print(model_dict)
# Create from dictionary
data = {
}
model_from_dict = VendorUpdate(**data)
JSON Schema
{
"type": "object",
"title": "VendorUpdate",
"description": "Schema for updating a vendor.",
"properties": {
"name": {
"type": "any"
},
"description": {
"type": "any"
}
},
"required": []
}