* use default values for non-required properties if a default is specified * generate client * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
23 lines
352 B
Python
23 lines
352 B
Python
from typing import List, Optional
|
|
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
|
|
|
class Cluster(BaseModel):
|
|
"""Cluster information."""
|
|
|
|
addr: Optional[str] = None
|
|
|
|
auth_timeout: int = 0
|
|
|
|
cluster_port: int = 0
|
|
|
|
name: str = ""
|
|
|
|
tls_timeout: int = 0
|
|
|
|
urls: List[str] = []
|
|
|
|
model_config = ConfigDict(protected_namespaces=())
|