OpenAPI DataClass

Contains all the data models used in inputs/outputs

class modelz.openapi.sdk.models.AWSSecret(access_key_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, region: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, secret_access_key: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
access_key_id
Type:

Union[Unset, str]

region
Type:

Union[Unset, str]

secret_access_key
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.AgentToken(cluster_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, cluster_name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, token: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
cluster_id
Type:

Union[Unset, str]

cluster_name
Type:

Union[Unset, str]

token

Token is the token used by agent to register managed cluster

Type:

Union[Unset, str]

class modelz.openapi.sdk.models.AgentTokenList(items: ~modelz.openapi.sdk.types.Unset | ~typing.List[AgentToken] = <modelz.openapi.sdk.types.Unset object>)[source]
items
Type:

Union[Unset, List[‘AgentToken’]]

class modelz.openapi.sdk.models.AgentVersionInfo(orchestration: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, provider: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, version: ~modelz.openapi.sdk.types.Unset | VersionInfo = <modelz.openapi.sdk.types.Unset object>)[source]
orchestration
Type:

Union[Unset, str]

provider
Type:

Union[Unset, str]

version
Type:

Union[Unset, VersionInfo]

class modelz.openapi.sdk.models.BuildListResponse(deployment: ~modelz.openapi.sdk.types.Unset | ~typing.List[TypesBuild] = <modelz.openapi.sdk.types.Unset object>)[source]
deployment
Type:

Union[Unset, List[‘TypesBuild’]]

class modelz.openapi.sdk.models.BuildResponse(spec: ~modelz.openapi.sdk.types.Unset | TypesBuildSpec = <modelz.openapi.sdk.types.Unset object>, status: ~modelz.openapi.sdk.types.Unset | TypesBuildStatus = <modelz.openapi.sdk.types.Unset object>)[source]
spec
Type:

Union[Unset, TypesBuildSpec]

status
Type:

Union[Unset, TypesBuildStatus]

class modelz.openapi.sdk.models.CreditWallet(left: ~modelz.openapi.sdk.types.Unset | float = <modelz.openapi.sdk.types.Unset object>, total: ~modelz.openapi.sdk.types.Unset | float = <modelz.openapi.sdk.types.Unset object>, used: ~modelz.openapi.sdk.types.Unset | float = <modelz.openapi.sdk.types.Unset object>)[source]
left
Type:

Union[Unset, float]

total
Type:

Union[Unset, float]

used
Type:

Union[Unset, float]

class modelz.openapi.sdk.models.Deployment(spec: ~modelz.openapi.sdk.types.Unset | DeploymentSpec = <modelz.openapi.sdk.types.Unset object>, status: ~modelz.openapi.sdk.types.Unset | DeploymentStatus = <modelz.openapi.sdk.types.Unset object>)[source]
spec
Type:

Union[Unset, DeploymentSpec]

status
Type:

Union[Unset, DeploymentStatus]

class modelz.openapi.sdk.models.DeploymentCreateRequest(spec: ~modelz.openapi.sdk.types.Unset | DeploymentSpec = <modelz.openapi.sdk.types.Unset object>)[source]
spec
Type:

Union[Unset, DeploymentSpec]

class modelz.openapi.sdk.models.DeploymentDockerSource(image: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
image
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.DeploymentEvent(created_at: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, deployment_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, event_type: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, message: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, user_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
created_at
Type:

Union[Unset, str]

deployment_id
Type:

Union[Unset, str]

event_type
Type:

Union[Unset, str]

id
Type:

Union[Unset, str]

message
Type:

Union[Unset, str]

user_id
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.DeploymentEventListResponse(events: ~modelz.openapi.sdk.types.Unset | ~typing.List[DeploymentEvent] = <modelz.openapi.sdk.types.Unset object>)[source]
events
Type:

Union[Unset, List[‘DeploymentEvent’]]

class modelz.openapi.sdk.models.DeploymentGitSource(branch: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, builder: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, directory: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, image: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, image_tag: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, repo: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, revision: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
branch
Type:

Union[Unset, str]

builder
Type:

Union[Unset, str]

directory

directory is the target directory name. Must not contain or start with ‘..’. If ‘.’ is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. +optional

Type:

Union[Unset, str]

image
Type:

Union[Unset, str]

image_tag
Type:

Union[Unset, str]

repo
Type:

Union[Unset, str]

revision
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.DeploymentGuide(markdown: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
markdown
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.DeploymentHuggingfaceSpaceSource(space: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, tag: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
space
Type:

Union[Unset, str]

tag

tag is the tag of the docker image. (Optional) If not set, we will get from the huggingface API.

Type:

Union[Unset, str]

class modelz.openapi.sdk.models.DeploymentInstance(spec: ~modelz.openapi.sdk.types.Unset | InstanceSpec = <modelz.openapi.sdk.types.Unset object>, status: ~modelz.openapi.sdk.types.Unset | InstanceStatus = <modelz.openapi.sdk.types.Unset object>)[source]
spec
Type:

Union[Unset, InstanceSpec]

status
Type:

Union[Unset, InstanceStatus]

class modelz.openapi.sdk.models.DeploymentListResponse(deployments: ~modelz.openapi.sdk.types.Unset | ~typing.List[Deployment] = <modelz.openapi.sdk.types.Unset object>)[source]
deployments
Type:

Union[Unset, List[‘Deployment’]]

class modelz.openapi.sdk.models.DeploymentLog(deployment_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, instance: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, text: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, timestamp: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, user: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
deployment_id
Type:

Union[Unset, str]

instance
Type:

Union[Unset, str]

text
Type:

Union[Unset, str]

timestamp
Type:

Union[Unset, str]

user
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.DeploymentLogResponse(logs: ~modelz.openapi.sdk.types.Unset | ~typing.List[DeploymentLog] = <modelz.openapi.sdk.types.Unset object>)[source]
logs
Type:

Union[Unset, List[‘DeploymentLog’]]

class modelz.openapi.sdk.models.DeploymentResource(cpu: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, gpu: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, memory: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
cpu
Type:

Union[Unset, str]

gpu
Type:

Union[Unset, str]

memory
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.DeploymentResponse(spec: ~modelz.openapi.sdk.types.Unset | DeploymentSpec = <modelz.openapi.sdk.types.Unset object>, status: ~modelz.openapi.sdk.types.Unset | DeploymentStatus = <modelz.openapi.sdk.types.Unset object>)[source]
spec
Type:

Union[Unset, DeploymentSpec]

status
Type:

Union[Unset, DeploymentStatus]

class modelz.openapi.sdk.models.DeploymentSource(docker: ~modelz.openapi.sdk.types.Unset | DeploymentDockerSource = <modelz.openapi.sdk.types.Unset object>, git: ~modelz.openapi.sdk.types.Unset | DeploymentGitSource = <modelz.openapi.sdk.types.Unset object>, huggingface: ~modelz.openapi.sdk.types.Unset | DeploymentHuggingfaceSpaceSource = <modelz.openapi.sdk.types.Unset object>)[source]
docker
Type:

Union[Unset, DeploymentDockerSource]

git
Type:

Union[Unset, DeploymentGitSource]

huggingface
Type:

Union[Unset, DeploymentHuggingfaceSpaceSource]

class modelz.openapi.sdk.models.DeploymentSpec(cluster: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, command: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, deployment_resource: ~modelz.openapi.sdk.types.Unset | DeploymentResource = <modelz.openapi.sdk.types.Unset object>, deployment_source: ~modelz.openapi.sdk.types.Unset | DeploymentSource = <modelz.openapi.sdk.types.Unset object>, env_vars: ~modelz.openapi.sdk.types.Unset | DeploymentSpecEnvVars = <modelz.openapi.sdk.types.Unset object>, framework: ~modelz.openapi.sdk.types.Unset | ~modelz.openapi.sdk.models.framework_type.FrameworkType = <modelz.openapi.sdk.types.Unset object>, http_probe_path: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, image_config: ~modelz.openapi.sdk.types.Unset | ImageConfig = <modelz.openapi.sdk.types.Unset object>, max_replicas: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, min_replicas: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, port: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, secret: ~modelz.openapi.sdk.types.Unset | ~typing.List[str] = <modelz.openapi.sdk.types.Unset object>, server_resource: ~modelz.openapi.sdk.types.Unset | ~modelz.openapi.sdk.models.server_resource.ServerResource = <modelz.openapi.sdk.types.Unset object>, spot_instance: ~modelz.openapi.sdk.types.Unset | bool = <modelz.openapi.sdk.types.Unset object>, startup_duration: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, target_load: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, template_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, zero_duration: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>)[source]
cluster
Type:

Union[Unset, str]

command

Command is the command to run.

Type:

Union[Unset, str]

deployment_resource
Type:

Union[Unset, DeploymentResource]

deployment_source
Type:

Union[Unset, DeploymentSource]

env_vars

EnvVars is the environment variables of the deployment.

Type:

Union[Unset, DeploymentSpecEnvVars]

framework
Type:

Union[Unset, FrameworkType]

http_probe_path

HTTPProbePath is the user defined path of the http probe.

Type:

Union[Unset, str]

id

ID holds the unique identifier of the deployment.

Type:

Union[Unset, str]

image_config
Type:

Union[Unset, ImageConfig]

max_replicas

MaxReplicas is the maximum number of replicas of the deployment.

Type:

Union[Unset, int]

min_replicas

MinReplicas is the minimum number of replicas of the deployment.

Type:

Union[Unset, int]

name

Name is the name of the deployment. e.g. demo. [a-z0-9]([-a-z0-9]*[a-z0-9])?

Type:

Union[Unset, str]

port

Port is the port of the deployment.

Type:

Union[Unset, int]

secret

Secret is the secret of the deployment.

Type:

Union[Unset, List[str]]

server_resource
Type:

Union[Unset, ServerResource]

spot_instance
Type:

Union[Unset, bool]

startup_duration

StartupDuration is the startup timeout.

Type:

Union[Unset, int]

target_load

TargetLoad is the target load of the deployment. (inflight requests per replica)

Type:

Union[Unset, int]

template_id

TemplateID is the template ID of the deployment.

Type:

Union[Unset, str]

zero_duration

ZeroDuration is the idle timeout before scaling to zero.

Type:

Union[Unset, int]

class modelz.openapi.sdk.models.DeploymentSpecEnvVars[source]

EnvVars is the environment variables of the deployment.

class modelz.openapi.sdk.models.DeploymentStatus(available_replicas: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, build_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, created_at: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, endpoint: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, image: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, innocation_count: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, phase: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, replicas: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>)[source]
available_replicas

AvailableReplicas is the count of replicas ready to receive invocations as reported by the faas-provider

Type:

Union[Unset, int]

build_id
Type:

Union[Unset, str]

created_at

CreatedAt is the time read back from the faas backend’s data store for when the function or its container was created.

Type:

Union[Unset, str]

endpoint

Endpoint is the endpoint of the deployment. e.g. https://df433125-bdaa-4180-9087-313d5f64a3d5.modelz.ai

Type:

Union[Unset, str]

image

Image is the image name of the deployment.

Type:

Union[Unset, str]

innocation_count

InvocationCount count of invocations

Type:

Union[Unset, int]

phase

Phase is the current phase of the deployment.

Type:

Union[Unset, str]

replicas

Replicas desired within the cluster

Type:

Union[Unset, int]

class modelz.openapi.sdk.models.DeploymentUpdateRequest(command: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, env_vars: ~modelz.openapi.sdk.types.Unset | DeploymentUpdateRequestEnvVars = <modelz.openapi.sdk.types.Unset object>, http_probe_path: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, max_replicas: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, min_replicas: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, port: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, secret: ~modelz.openapi.sdk.types.Unset | ~typing.List[str] = <modelz.openapi.sdk.types.Unset object>, startup_duration: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, target_load: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, zero_duration: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>)[source]
command

Command is the command to run.

Type:

Union[Unset, str]

env_vars

EnvVars is the environment variables of the deployment.

Type:

Union[Unset, DeploymentUpdateRequestEnvVars]

http_probe_path

HTTPProbePath is the user defined path of the http probe.

Type:

Union[Unset, str]

max_replicas

MaxReplicas is the maximum number of replicas of the deployment.

Type:

Union[Unset, int]

min_replicas

MinReplicas is the minimum number of replicas of the deployment.

Type:

Union[Unset, int]

port

Port is the port of the deployment.

Type:

Union[Unset, int]

secret

Secret is the secret of the deployment.

Type:

Union[Unset, List[str]]

startup_duration

StartupDuration is the startup timeout.

Type:

Union[Unset, int]

target_load

TargetLoad is the target load of the deployment. (inflight requests per replica)

Type:

Union[Unset, int]

zero_duration

ZeroDuration is the idle timeout before scaling to zero.

Type:

Union[Unset, int]

class modelz.openapi.sdk.models.DeploymentUpdateRequestEnvVars[source]

EnvVars is the environment variables of the deployment.

class modelz.openapi.sdk.models.DockerSecret(password: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, username: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
password
Type:

Union[Unset, str]

username
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.FrameworkType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
class modelz.openapi.sdk.models.GCPSecret(json_key: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
json_key
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.GithubComTensorchordModelzApiserverPkgInternalTypesRecord(avatar_url: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, email: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, full_name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, updated_at: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, username: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, website: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
avatar_url
Type:

Union[Unset, str]

email
Type:

Union[Unset, str]

full_name
Type:

Union[Unset, str]

id
Type:

Union[Unset, str]

updated_at
Type:

Union[Unset, str]

username
Type:

Union[Unset, str]

website
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.GithubComTensorchordModelzApiserverPkgInternalTypesTableRecord(record: ~modelz.openapi.sdk.types.Unset | GithubComTensorchordModelzApiserverPkgInternalTypesRecord = <modelz.openapi.sdk.types.Unset object>, schema: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, table: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, team: ~modelz.openapi.sdk.types.Unset | bool = <modelz.openapi.sdk.types.Unset object>, type: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
record
Type:

Union[Unset, GithubComTensorchordModelzApiserverPkgInternalTypesRecord]

schema
Type:

Union[Unset, str]

table
Type:

Union[Unset, str]

team
Type:

Union[Unset, bool]

type
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.GithubComTensorchordModelzApiserverPkgQueryTemplate(command: ~modelz.openapi.sdk.types.Unset | SqlNullString = <modelz.openapi.sdk.types.Unset object>, created_at: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, deployment_source: ~modelz.openapi.sdk.types.Unset | PgtypeJSONB = <modelz.openapi.sdk.types.Unset object>, description: ~modelz.openapi.sdk.types.Unset | SqlNullString = <modelz.openapi.sdk.types.Unset object>, env_vars: ~modelz.openapi.sdk.types.Unset | PgtypeJSONB = <modelz.openapi.sdk.types.Unset object>, framework: ~modelz.openapi.sdk.types.Unset | SqlNullString = <modelz.openapi.sdk.types.Unset object>, http_probe_path: ~modelz.openapi.sdk.types.Unset | SqlNullString = <modelz.openapi.sdk.types.Unset object>, id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, image: ~modelz.openapi.sdk.types.Unset | SqlNullString = <modelz.openapi.sdk.types.Unset object>, is_public: ~modelz.openapi.sdk.types.Unset | SqlNullBool = <modelz.openapi.sdk.types.Unset object>, name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, port: ~modelz.openapi.sdk.types.Unset | SqlNullInt32 = <modelz.openapi.sdk.types.Unset object>, readme: ~modelz.openapi.sdk.types.Unset | SqlNullString = <modelz.openapi.sdk.types.Unset object>, repo: ~modelz.openapi.sdk.types.Unset | SqlNullString = <modelz.openapi.sdk.types.Unset object>, server_resource: ~modelz.openapi.sdk.types.Unset | SqlNullString = <modelz.openapi.sdk.types.Unset object>, suggest_name: ~modelz.openapi.sdk.types.Unset | SqlNullString = <modelz.openapi.sdk.types.Unset object>, tags: ~modelz.openapi.sdk.types.Unset | PgtypeJSONB = <modelz.openapi.sdk.types.Unset object>, updated_at: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, user_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
command
Type:

Union[Unset, SqlNullString]

created_at
Type:

Union[Unset, str]

deployment_source
Type:

Union[Unset, PgtypeJSONB]

description
Type:

Union[Unset, SqlNullString]

env_vars
Type:

Union[Unset, PgtypeJSONB]

framework
Type:

Union[Unset, SqlNullString]

http_probe_path
Type:

Union[Unset, SqlNullString]

id
Type:

Union[Unset, str]

image
Type:

Union[Unset, SqlNullString]

is_public
Type:

Union[Unset, SqlNullBool]

name
Type:

Union[Unset, str]

port
Type:

Union[Unset, SqlNullInt32]

readme
Type:

Union[Unset, SqlNullString]

repo
Type:

Union[Unset, SqlNullString]

server_resource
Type:

Union[Unset, SqlNullString]

suggest_name
Type:

Union[Unset, SqlNullString]

tags
Type:

Union[Unset, PgtypeJSONB]

updated_at
Type:

Union[Unset, str]

user_id
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.ImageConfig(enable_cache_optimize: ~modelz.openapi.sdk.types.Unset | bool = <modelz.openapi.sdk.types.Unset object>, secret_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
enable_cache_optimize

EnableCacheOptimize is the flag to enable image cache optimization.

Type:

Union[Unset, bool]

secret_id

Secret for private registry

Type:

Union[Unset, str]

class modelz.openapi.sdk.models.Instance(name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, namespace: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
name
Type:

Union[Unset, str]

namespace
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.InstanceListResponse(instances: ~modelz.openapi.sdk.types.Unset | ~typing.List[DeploymentInstance] = <modelz.openapi.sdk.types.Unset object>)[source]
instances
Type:

Union[Unset, List[‘DeploymentInstance’]]

class modelz.openapi.sdk.models.InstanceMetricResponse(instance: ~modelz.openapi.sdk.types.Unset | Instance = <modelz.openapi.sdk.types.Unset object>, metrics: ~modelz.openapi.sdk.types.Unset | MetricResponse = <modelz.openapi.sdk.types.Unset object>)[source]
instance
Type:

Union[Unset, Instance]

metrics
Type:

Union[Unset, MetricResponse]

class modelz.openapi.sdk.models.InstanceMetricResponseList(items: ~modelz.openapi.sdk.types.Unset | ~typing.List[InstanceMetricResponse] = <modelz.openapi.sdk.types.Unset object>)[source]
items
Type:

Union[Unset, List[‘InstanceMetricResponse’]]

class modelz.openapi.sdk.models.InstanceSpec(name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, owner_reference: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
name
Type:

Union[Unset, str]

owner_reference
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.InstanceStatus(created_at: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, message: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, phase: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, reason: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
created_at
Type:

Union[Unset, str]

message
Type:

Union[Unset, str]

phase
Type:

Union[Unset, str]

reason
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.KeyResponse(key: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
key
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.ManagedCluster(created_at: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, kubernetes_version: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, platform: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, prometheus_url: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, region: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, server_resources: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, status: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, token_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, updated_at: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, version: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
created_at
Type:

Union[Unset, str]

id
Type:

Union[Unset, str]

kubernetes_version
Type:

Union[Unset, str]

name

For show name

Type:

Union[Unset, str]

platform
Type:

Union[Unset, str]

prometheus_url
Type:

Union[Unset, str]

region
Type:

Union[Unset, str]

server_resources
Type:

Union[Unset, str]

status
Type:

Union[Unset, str]

token_id
Type:

Union[Unset, str]

updated_at
Type:

Union[Unset, str]

version
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.ManagedClusterList(items: ~modelz.openapi.sdk.types.Unset | ~typing.List[ManagedCluster] = <modelz.openapi.sdk.types.Unset object>)[source]
items
Type:

Union[Unset, List[‘ManagedCluster’]]

class modelz.openapi.sdk.models.MemberRole(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
class modelz.openapi.sdk.models.MeterSessionKeyResponse(session_token: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
session_token
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.Metric(unix_seconds: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, value: ~modelz.openapi.sdk.types.Unset | float = <modelz.openapi.sdk.types.Unset object>)[source]
unix_seconds
Type:

Union[Unset, int]

value
Type:

Union[Unset, float]

class modelz.openapi.sdk.models.MetricResponse(metrics: ~modelz.openapi.sdk.types.Unset | ~typing.List[Metric] = <modelz.openapi.sdk.types.Unset object>)[source]
metrics
Type:

Union[Unset, List[‘Metric’]]

class modelz.openapi.sdk.models.NamespaceList(items: ~modelz.openapi.sdk.types.Unset | ~typing.List[str] = <modelz.openapi.sdk.types.Unset object>)[source]
items
Type:

Union[Unset, List[str]]

class modelz.openapi.sdk.models.NodeSystemInfo(architecture: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, kernel_version: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, machine_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, operating_system: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, os_image: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
architecture

The Architecture reported by the node

Type:

Union[Unset, str]

kernel_version

Kernel Version reported by the node from ‘uname -r’ (e.g. 3.16.0-0.bpo.4-amd64).

Type:

Union[Unset, str]

machine_id

MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html

Type:

Union[Unset, str]

operating_system

The Operating System reported by the node

Type:

Union[Unset, str]

os_image

OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).

Type:

Union[Unset, str]

class modelz.openapi.sdk.models.PgtypeJSONB(bytes_: ~modelz.openapi.sdk.types.Unset | ~typing.List[int] = <modelz.openapi.sdk.types.Unset object>, status: ~modelz.openapi.sdk.types.Unset | ~modelz.openapi.sdk.models.pgtype_status.PgtypeStatus = <modelz.openapi.sdk.types.Unset object>)[source]
bytes_
Type:

Union[Unset, List[int]]

status
Type:

Union[Unset, PgtypeStatus]

class modelz.openapi.sdk.models.PgtypeStatus(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
class modelz.openapi.sdk.models.PkgServerError(error: ~modelz.openapi.sdk.types.Unset | PkgServerErrorError = <modelz.openapi.sdk.types.Unset object>, http_status_code: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, message: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, op: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, request: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
error
Type:

Union[Unset, PkgServerErrorError]

http_status_code

Machine-readable error code.

Type:

Union[Unset, int]

message

Human-readable message.

Type:

Union[Unset, str]

op

Logical operation and nested error.

Type:

Union[Unset, str]

request
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.Secret(aws: ~modelz.openapi.sdk.types.Unset | AWSSecret = <modelz.openapi.sdk.types.Unset object>, created_at: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, docker: ~modelz.openapi.sdk.types.Unset | DockerSecret = <modelz.openapi.sdk.types.Unset object>, gcp: ~modelz.openapi.sdk.types.Unset | GCPSecret = <modelz.openapi.sdk.types.Unset object>, id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, type: ~modelz.openapi.sdk.types.Unset | ~modelz.openapi.sdk.models.secret_type.SecretType = <modelz.openapi.sdk.types.Unset object>, updated_at: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
aws
Type:

Union[Unset, AWSSecret]

created_at
Type:

Union[Unset, str]

docker
Type:

Union[Unset, DockerSecret]

gcp
Type:

Union[Unset, GCPSecret]

id
Type:

Union[Unset, str]

name
Type:

Union[Unset, str]

type
Type:

Union[Unset, SecretType]

updated_at
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.SecretCreateRequest(secret: ~modelz.openapi.sdk.types.Unset | Secret = <modelz.openapi.sdk.types.Unset object>)[source]
secret
Type:

Union[Unset, Secret]

class modelz.openapi.sdk.models.SecretCreateResponse(secret: ~modelz.openapi.sdk.types.Unset | ~typing.List[Secret] = <modelz.openapi.sdk.types.Unset object>, uid: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
secret
Type:

Union[Unset, List[‘Secret’]]

uid
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.SecretListResponse(secrets: ~modelz.openapi.sdk.types.Unset | ~typing.List[Secret] = <modelz.openapi.sdk.types.Unset object>)[source]
secrets
Type:

Union[Unset, List[‘Secret’]]

class modelz.openapi.sdk.models.SecretType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
class modelz.openapi.sdk.models.Server(spec: ~modelz.openapi.sdk.types.Unset | ServerSpec = <modelz.openapi.sdk.types.Unset object>, status: ~modelz.openapi.sdk.types.Unset | ServerStatus = <modelz.openapi.sdk.types.Unset object>)[source]
spec
Type:

Union[Unset, ServerSpec]

status
Type:

Union[Unset, ServerStatus]

class modelz.openapi.sdk.models.ServerList(items: ~modelz.openapi.sdk.types.Unset | ~typing.List[Server] = <modelz.openapi.sdk.types.Unset object>)[source]
items
Type:

Union[Unset, List[‘Server’]]

class modelz.openapi.sdk.models.ServerResource(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
class modelz.openapi.sdk.models.ServerResourceInfo(cpu: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, gpu: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, gpu_memory: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, memory: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, price: ~modelz.openapi.sdk.types.Unset | float = <modelz.openapi.sdk.types.Unset object>, resource: ~modelz.openapi.sdk.types.Unset | ~modelz.openapi.sdk.models.server_resource.ServerResource = <modelz.openapi.sdk.types.Unset object>)[source]
cpu
Type:

Union[Unset, int]

gpu
Type:

Union[Unset, int]

gpu_memory
Type:

Union[Unset, int]

memory
Type:

Union[Unset, int]

name
Type:

Union[Unset, str]

price
Type:

Union[Unset, float]

resource
Type:

Union[Unset, ServerResource]

class modelz.openapi.sdk.models.ServerSpec(labels: ~modelz.openapi.sdk.types.Unset | ServerSpecLabels = <modelz.openapi.sdk.types.Unset object>, name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
labels
Type:

Union[Unset, ServerSpecLabels]

name
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.ServerStatus(allocatable: ~modelz.openapi.sdk.types.Unset | ResourceList = <modelz.openapi.sdk.types.Unset object>, capacity: ~modelz.openapi.sdk.types.Unset | ResourceList = <modelz.openapi.sdk.types.Unset object>, phase: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, system: ~modelz.openapi.sdk.types.Unset | NodeSystemInfo = <modelz.openapi.sdk.types.Unset object>)[source]
allocatable
Type:

Union[Unset, ResourceList]

capacity
Type:

Union[Unset, ResourceList]

phase
Type:

Union[Unset, str]

system
Type:

Union[Unset, NodeSystemInfo]

class modelz.openapi.sdk.models.SpendLimit(limit: ~modelz.openapi.sdk.types.Unset | float = <modelz.openapi.sdk.types.Unset object>)[source]
limit
Type:

Union[Unset, float]

class modelz.openapi.sdk.models.SpendLimitHookRequest(current_value: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, customer_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, customer_name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, meter_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, meter_name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, notification_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, notification_name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, threshold_condition: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, threshold_value: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
current_value
Type:

Union[Unset, str]

customer_id
Type:

Union[Unset, str]

customer_name
Type:

Union[Unset, str]

meter_id
Type:

Union[Unset, str]

meter_name
Type:

Union[Unset, str]

notification_id
Type:

Union[Unset, str]

notification_name
Type:

Union[Unset, str]

threshold_condition
Type:

Union[Unset, str]

threshold_value
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.SqlNullBool(bool_: ~modelz.openapi.sdk.types.Unset | bool = <modelz.openapi.sdk.types.Unset object>, valid: ~modelz.openapi.sdk.types.Unset | bool = <modelz.openapi.sdk.types.Unset object>)[source]
bool_
Type:

Union[Unset, bool]

valid

Valid is true if Bool is not NULL

Type:

Union[Unset, bool]

class modelz.openapi.sdk.models.SqlNullInt32(int32: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, valid: ~modelz.openapi.sdk.types.Unset | bool = <modelz.openapi.sdk.types.Unset object>)[source]
int32
Type:

Union[Unset, int]

valid

Valid is true if Int32 is not NULL

Type:

Union[Unset, bool]

class modelz.openapi.sdk.models.SqlNullString(string: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, valid: ~modelz.openapi.sdk.types.Unset | bool = <modelz.openapi.sdk.types.Unset object>)[source]
string
Type:

Union[Unset, str]

valid

Valid is true if String is not NULL

Type:

Union[Unset, bool]

class modelz.openapi.sdk.models.TeamCreateRequest(spec: ~modelz.openapi.sdk.types.Unset | TeamSpec = <modelz.openapi.sdk.types.Unset object>)[source]
spec
Type:

Union[Unset, TeamSpec]

class modelz.openapi.sdk.models.TeamListResponse(teams: ~modelz.openapi.sdk.types.Unset | ~typing.List[TeamSpec] = <modelz.openapi.sdk.types.Unset object>)[source]
teams
Type:

Union[Unset, List[‘TeamSpec’]]

class modelz.openapi.sdk.models.TeamMember(email: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, role: ~modelz.openapi.sdk.types.Unset | ~modelz.openapi.sdk.models.member_role.MemberRole = <modelz.openapi.sdk.types.Unset object>)[source]
email
Type:

Union[Unset, str]

id
Type:

Union[Unset, str]

name
Type:

Union[Unset, str]

role
Type:

Union[Unset, MemberRole]

class modelz.openapi.sdk.models.TeamMemberEditableFields(role: ~modelz.openapi.sdk.types.Unset | ~modelz.openapi.sdk.models.member_role.MemberRole = <modelz.openapi.sdk.types.Unset object>)[source]
role
Type:

Union[Unset, MemberRole]

class modelz.openapi.sdk.models.TeamMemberRequest(email: str, member_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, role: ~modelz.openapi.sdk.types.Unset | ~modelz.openapi.sdk.models.member_role.MemberRole = <modelz.openapi.sdk.types.Unset object>, team_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
email
Type:

str

member_id
Type:

Union[Unset, str]

role
Type:

Union[Unset, MemberRole]

team_id
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.TeamMemberResponse(member: ~modelz.openapi.sdk.types.Unset | TeamMember = <modelz.openapi.sdk.types.Unset object>, team_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
member
Type:

Union[Unset, TeamMember]

team_id
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.TeamSpec(api_key: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, avatar_url: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, email: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, members: ~modelz.openapi.sdk.types.Unset | ~typing.List[TeamMember] = <modelz.openapi.sdk.types.Unset object>, name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
api_key
Type:

Union[Unset, str]

avatar_url

AvatarUrl is the avatar url of the team.

Type:

Union[Unset, str]

email

Email is the email of the team.

Type:

Union[Unset, str]

id

ID holds the unique identifier of the team.

Type:

Union[Unset, str]

members
Type:

Union[Unset, List[‘TeamMember’]]

name

Name is the name of the team.

Type:

Union[Unset, str]

class modelz.openapi.sdk.models.TeamUpdateRequest(avatar_url: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, members: ~modelz.openapi.sdk.types.Unset | ~typing.List[TeamMemberEditableFields] = <modelz.openapi.sdk.types.Unset object>, name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
avatar_url
Type:

Union[Unset, str]

members
Type:

Union[Unset, List[‘TeamMemberEditableFields’]]

name
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.Template(command: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, deployment_source: ~modelz.openapi.sdk.types.Unset | DeploymentSource = <modelz.openapi.sdk.types.Unset object>, description: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, env_vars: ~modelz.openapi.sdk.types.Unset | TemplateEnvVars = <modelz.openapi.sdk.types.Unset object>, framework: ~modelz.openapi.sdk.types.Unset | ~modelz.openapi.sdk.models.framework_type.FrameworkType = <modelz.openapi.sdk.types.Unset object>, http_probe_path: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, is_public: ~modelz.openapi.sdk.types.Unset | bool = <modelz.openapi.sdk.types.Unset object>, name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, port: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, readme: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, repo: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, server_source: ~modelz.openapi.sdk.types.Unset | ~modelz.openapi.sdk.models.server_resource.ServerResource = <modelz.openapi.sdk.types.Unset object>, suggest_name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, tags: ~modelz.openapi.sdk.types.Unset | ~typing.List[str] = <modelz.openapi.sdk.types.Unset object>)[source]
command
Type:

Union[Unset, str]

deployment_source
Type:

Union[Unset, DeploymentSource]

description
Type:

Union[Unset, str]

env_vars
Type:

Union[Unset, TemplateEnvVars]

framework
Type:

Union[Unset, FrameworkType]

http_probe_path
Type:

Union[Unset, str]

id
Type:

Union[Unset, str]

is_public
Type:

Union[Unset, bool]

name
Type:

Union[Unset, str]

port
Type:

Union[Unset, int]

readme
Type:

Union[Unset, str]

repo
Type:

Union[Unset, str]

server_source
Type:

Union[Unset, ServerResource]

suggest_name
Type:

Union[Unset, str]

tags
Type:

Union[Unset, List[str]]

class modelz.openapi.sdk.models.TemplateCreateRequest(command: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, deployment_source: ~modelz.openapi.sdk.types.Unset | DeploymentSource = <modelz.openapi.sdk.types.Unset object>, description: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, env_vars: ~modelz.openapi.sdk.types.Unset | TemplateCreateRequestEnvVars = <modelz.openapi.sdk.types.Unset object>, framework: ~modelz.openapi.sdk.types.Unset | ~modelz.openapi.sdk.models.framework_type.FrameworkType = <modelz.openapi.sdk.types.Unset object>, http_probe_path: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, is_public: ~modelz.openapi.sdk.types.Unset | bool = <modelz.openapi.sdk.types.Unset object>, name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, port: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, readme: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, repo: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, server_source: ~modelz.openapi.sdk.types.Unset | ~modelz.openapi.sdk.models.server_resource.ServerResource = <modelz.openapi.sdk.types.Unset object>, suggest_name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, tags: ~modelz.openapi.sdk.types.Unset | ~typing.List[str] = <modelz.openapi.sdk.types.Unset object>)[source]
command
Type:

Union[Unset, str]

deployment_source
Type:

Union[Unset, DeploymentSource]

description
Type:

Union[Unset, str]

env_vars
Type:

Union[Unset, TemplateCreateRequestEnvVars]

framework
Type:

Union[Unset, FrameworkType]

http_probe_path
Type:

Union[Unset, str]

id
Type:

Union[Unset, str]

is_public
Type:

Union[Unset, bool]

name
Type:

Union[Unset, str]

port
Type:

Union[Unset, int]

readme
Type:

Union[Unset, str]

repo
Type:

Union[Unset, str]

server_source
Type:

Union[Unset, ServerResource]

suggest_name
Type:

Union[Unset, str]

tags
Type:

Union[Unset, List[str]]

class modelz.openapi.sdk.models.TemplateUpdateRequest(command: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, deployment_source: ~modelz.openapi.sdk.types.Unset | DeploymentSource = <modelz.openapi.sdk.types.Unset object>, description: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, env_vars: ~modelz.openapi.sdk.types.Unset | TemplateUpdateRequestEnvVars = <modelz.openapi.sdk.types.Unset object>, framework: ~modelz.openapi.sdk.types.Unset | ~modelz.openapi.sdk.models.framework_type.FrameworkType = <modelz.openapi.sdk.types.Unset object>, http_probe_path: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, is_public: ~modelz.openapi.sdk.types.Unset | bool = <modelz.openapi.sdk.types.Unset object>, name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, port: ~modelz.openapi.sdk.types.Unset | int = <modelz.openapi.sdk.types.Unset object>, readme: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, repo: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, server_source: ~modelz.openapi.sdk.types.Unset | ~modelz.openapi.sdk.models.server_resource.ServerResource = <modelz.openapi.sdk.types.Unset object>, suggest_name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, tags: ~modelz.openapi.sdk.types.Unset | ~typing.List[str] = <modelz.openapi.sdk.types.Unset object>)[source]
command
Type:

Union[Unset, str]

deployment_source
Type:

Union[Unset, DeploymentSource]

description
Type:

Union[Unset, str]

env_vars
Type:

Union[Unset, TemplateUpdateRequestEnvVars]

framework
Type:

Union[Unset, FrameworkType]

http_probe_path
Type:

Union[Unset, str]

id
Type:

Union[Unset, str]

is_public
Type:

Union[Unset, bool]

name
Type:

Union[Unset, str]

port
Type:

Union[Unset, int]

readme
Type:

Union[Unset, str]

repo
Type:

Union[Unset, str]

server_source
Type:

Union[Unset, ServerResource]

suggest_name
Type:

Union[Unset, str]

tags
Type:

Union[Unset, List[str]]

class modelz.openapi.sdk.models.TypesAuthN(password: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, token: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, username: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
password
Type:

Union[Unset, str]

token
Type:

Union[Unset, str]

username
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.TypesBuild(spec: ~modelz.openapi.sdk.types.Unset | TypesBuildSpec = <modelz.openapi.sdk.types.Unset object>, status: ~modelz.openapi.sdk.types.Unset | TypesBuildStatus = <modelz.openapi.sdk.types.Unset object>)[source]
spec
Type:

Union[Unset, TypesBuildSpec]

status
Type:

Union[Unset, TypesBuildStatus]

class modelz.openapi.sdk.models.TypesBuildPhase(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
class modelz.openapi.sdk.models.TypesBuildSpec(authn: ~modelz.openapi.sdk.types.Unset | TypesAuthN = <modelz.openapi.sdk.types.Unset object>, branch: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, build_target: ~modelz.openapi.sdk.types.Unset | TypesBuildTarget = <modelz.openapi.sdk.types.Unset object>, image: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, image_tag: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, namespace: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, repository: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, revision: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, secret_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
authn
Type:

Union[Unset, TypesAuthN]

branch
Type:

Union[Unset, str]

build_target
Type:

Union[Unset, TypesBuildTarget]

image
Type:

Union[Unset, str]

image_tag
Type:

Union[Unset, str]

name
Type:

Union[Unset, str]

namespace
Type:

Union[Unset, str]

repository

repository is the URL

Type:

Union[Unset, str]

revision

revision is the commit hash for the specified revision. +optional

Type:

Union[Unset, str]

secret_id
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.TypesBuildStatus(phase: ~modelz.openapi.sdk.types.Unset | ~modelz.openapi.sdk.models.types_build_phase.TypesBuildPhase = <modelz.openapi.sdk.types.Unset object>)[source]
phase
Type:

Union[Unset, TypesBuildPhase]

class modelz.openapi.sdk.models.TypesBuildTarget(builder: ~modelz.openapi.sdk.types.Unset | ~modelz.openapi.sdk.models.types_builder_type.TypesBuilderType = <modelz.openapi.sdk.types.Unset object>, digest: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, directory: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, duration: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, image: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, image_tag: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, registry: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, registry_token: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
builder
Type:

Union[Unset, TypesBuilderType]

digest
Type:

Union[Unset, str]

directory

directory is the target directory name. Must not contain or start with ‘..’. If ‘.’ is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. +optional

Type:

Union[Unset, str]

duration
Type:

Union[Unset, str]

image
Type:

Union[Unset, str]

image_tag
Type:

Union[Unset, str]

registry
Type:

Union[Unset, str]

registry_token
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.TypesBuilderType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
class modelz.openapi.sdk.models.UserProfile(avatar_url: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, email: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, full_name: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
avatar_url
Type:

Union[Unset, str]

email
Type:

Union[Unset, str]

full_name
Type:

Union[Unset, str]

id
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.UserState(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
class modelz.openapi.sdk.models.UserStatus(state: ~modelz.openapi.sdk.types.Unset | ~modelz.openapi.sdk.models.user_state.UserState = <modelz.openapi.sdk.types.Unset object>, user_id: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
state
Type:

Union[Unset, UserState]

user_id
Type:

Union[Unset, str]

class modelz.openapi.sdk.models.Version(agents: ~modelz.openapi.sdk.types.Unset | ~typing.List[AgentVersionInfo] = <modelz.openapi.sdk.types.Unset object>, version: ~modelz.openapi.sdk.types.Unset | VersionInfo = <modelz.openapi.sdk.types.Unset object>)[source]
agents
Type:

Union[Unset, List[‘AgentVersionInfo’]]

version
Type:

Union[Unset, VersionInfo]

class modelz.openapi.sdk.models.VersionInfo(build_date: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, compiler: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, git_commit: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, git_tag: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, git_tree_state: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, go_version: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, platform: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>, version: ~modelz.openapi.sdk.types.Unset | str = <modelz.openapi.sdk.types.Unset object>)[source]
build_date
Type:

Union[Unset, str]

compiler
Type:

Union[Unset, str]

git_commit
Type:

Union[Unset, str]

git_tag
Type:

Union[Unset, str]

git_tree_state
Type:

Union[Unset, str]

go_version
Type:

Union[Unset, str]

platform
Type:

Union[Unset, str]

version
Type:

Union[Unset, str]