gen

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package gen provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCancelModelUploadRequest

func NewCancelModelUploadRequest(server string, accountName string, repoName string, uploadId string, params *CancelModelUploadParams) (*http.Request, error)

NewCancelModelUploadRequest constructs an http.Request for the CancelModelUpload method

func NewCompleteModelUploadRequest

func NewCompleteModelUploadRequest(server string, accountName string, repoName string, uploadId string, params *CompleteModelUploadParams) (*http.Request, error)

NewCompleteModelUploadRequest constructs an http.Request for the CompleteModelUpload method

func NewCreateDownloadAuthorizationRequest

func NewCreateDownloadAuthorizationRequest(server string, accountName string, repoName string, modelKey string, targetId string, params *CreateDownloadAuthorizationParams) (*http.Request, error)

NewCreateDownloadAuthorizationRequest constructs an http.Request for the CreateDownloadAuthorization method

func NewCreateModelUploadRequest

func NewCreateModelUploadRequest(server string, accountName string, repoName string, params *CreateModelUploadParams, body CreateModelUploadJSONRequestBody) (*http.Request, error)

NewCreateModelUploadRequest calls the generic CreateModelUpload builder with application/json body

func NewCreateModelUploadRequestWithBody

func NewCreateModelUploadRequestWithBody(server string, accountName string, repoName string, params *CreateModelUploadParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateModelUploadRequestWithBody constructs an http.Request for the CreateModelUpload method, with any body, and a specified content type

func NewCreateRepoRequest

func NewCreateRepoRequest(server string, body CreateRepoJSONRequestBody) (*http.Request, error)

NewCreateRepoRequest calls the generic CreateRepo builder with application/json body

func NewCreateRepoRequestWithBody

func NewCreateRepoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateRepoRequestWithBody constructs an http.Request for the CreateRepo method, with any body, and a specified content type

func NewDeleteRepoRequest

func NewDeleteRepoRequest(server string, accountName string, repoName string) (*http.Request, error)

NewDeleteRepoRequest constructs an http.Request for the DeleteRepo method

func NewGetBillingPlanRequest added in v0.2.0

func NewGetBillingPlanRequest(server string) (*http.Request, error)

NewGetBillingPlanRequest constructs an http.Request for the GetBillingPlan method

func NewGetDeploymentGuideRequest

func NewGetDeploymentGuideRequest(server string, accountName string, repoName string, modelKey string, params *GetDeploymentGuideParams) (*http.Request, error)

NewGetDeploymentGuideRequest constructs an http.Request for the GetDeploymentGuide method

func NewGetDeploymentOptionsRequest

func NewGetDeploymentOptionsRequest(server string) (*http.Request, error)

NewGetDeploymentOptionsRequest constructs an http.Request for the GetDeploymentOptions method

func NewGetGeneralReportRequest

func NewGetGeneralReportRequest(server string, accountName string, repoName string, modelKey string) (*http.Request, error)

NewGetGeneralReportRequest constructs an http.Request for the GetGeneralReport method

func NewGetLibraryModelRequest

func NewGetLibraryModelRequest(server string, accountName string, repoName string) (*http.Request, error)

NewGetLibraryModelRequest constructs an http.Request for the GetLibraryModel method

func NewGetLlmReportRequest

func NewGetLlmReportRequest(server string, accountName string, repoName string, modelKey string) (*http.Request, error)

NewGetLlmReportRequest constructs an http.Request for the GetLlmReport method

func NewGetMeRequest

func NewGetMeRequest(server string) (*http.Request, error)

NewGetMeRequest constructs an http.Request for the GetMe method

func NewGetModelRequest

func NewGetModelRequest(server string, accountName string, repoName string, modelKey string) (*http.Request, error)

NewGetModelRequest constructs an http.Request for the GetModel method

func NewGetModelStatusRequest

func NewGetModelStatusRequest(server string, accountName string, repoName string, modelKey string) (*http.Request, error)

NewGetModelStatusRequest constructs an http.Request for the GetModelStatus method

func NewGetModelUploadRequest

func NewGetModelUploadRequest(server string, accountName string, repoName string, uploadId string) (*http.Request, error)

NewGetModelUploadRequest constructs an http.Request for the GetModelUpload method

func NewGetPackageReportRequest

func NewGetPackageReportRequest(server string, accountName string, repoName string, modelKey string) (*http.Request, error)

NewGetPackageReportRequest constructs an http.Request for the GetPackageReport method

func NewGetRepoRequest

func NewGetRepoRequest(server string, accountName string, repoName string) (*http.Request, error)

NewGetRepoRequest constructs an http.Request for the GetRepo method

func NewGetUsageQuotasRequest

func NewGetUsageQuotasRequest(server string) (*http.Request, error)

NewGetUsageQuotasRequest constructs an http.Request for the GetUsageQuotas method

func NewGetUsageRequest

func NewGetUsageRequest(server string) (*http.Request, error)

NewGetUsageRequest constructs an http.Request for the GetUsage method

func NewImportModelRequest

func NewImportModelRequest(server string, accountName string, repoName string, params *ImportModelParams, body ImportModelJSONRequestBody) (*http.Request, error)

NewImportModelRequest calls the generic ImportModel builder with application/json body

func NewImportModelRequestWithBody

func NewImportModelRequestWithBody(server string, accountName string, repoName string, params *ImportModelParams, contentType string, body io.Reader) (*http.Request, error)

NewImportModelRequestWithBody constructs an http.Request for the ImportModel method, with any body, and a specified content type

func NewListLibraryModelsRequest

func NewListLibraryModelsRequest(server string, params *ListLibraryModelsParams) (*http.Request, error)

NewListLibraryModelsRequest constructs an http.Request for the ListLibraryModels method

func NewListLibraryProvidersRequest

func NewListLibraryProvidersRequest(server string) (*http.Request, error)

NewListLibraryProvidersRequest constructs an http.Request for the ListLibraryProviders method

func NewListModelTargetsRequest

func NewListModelTargetsRequest(server string, accountName string, repoName string, modelKey string) (*http.Request, error)

NewListModelTargetsRequest constructs an http.Request for the ListModelTargets method

func NewListModelUploadsRequest

func NewListModelUploadsRequest(server string, accountName string, repoName string) (*http.Request, error)

NewListModelUploadsRequest constructs an http.Request for the ListModelUploads method

func NewListModelsRequest

func NewListModelsRequest(server string, accountName string, repoName string, params *ListModelsParams) (*http.Request, error)

NewListModelsRequest constructs an http.Request for the ListModels method

func NewListReposRequest

func NewListReposRequest(server string, params *ListReposParams) (*http.Request, error)

NewListReposRequest constructs an http.Request for the ListRepos method

func NewReissueUploadFilesRequest

func NewReissueUploadFilesRequest(server string, accountName string, repoName string, uploadId string, body ReissueUploadFilesJSONRequestBody) (*http.Request, error)

NewReissueUploadFilesRequest calls the generic ReissueUploadFiles builder with application/json body

func NewReissueUploadFilesRequestWithBody

func NewReissueUploadFilesRequestWithBody(server string, accountName string, repoName string, uploadId string, contentType string, body io.Reader) (*http.Request, error)

NewReissueUploadFilesRequestWithBody constructs an http.Request for the ReissueUploadFiles method, with any body, and a specified content type

func NewSetDefaultModelRequest

func NewSetDefaultModelRequest(server string, accountName string, repoName string, modelKey string) (*http.Request, error)

NewSetDefaultModelRequest constructs an http.Request for the SetDefaultModel method

func NewUpdateRepoRequest

func NewUpdateRepoRequest(server string, accountName string, repoName string, body UpdateRepoJSONRequestBody) (*http.Request, error)

NewUpdateRepoRequest calls the generic UpdateRepo builder with application/json body

func NewUpdateRepoRequestWithBody

func NewUpdateRepoRequestWithBody(server string, accountName string, repoName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateRepoRequestWithBody constructs an http.Request for the UpdateRepo method, with any body, and a specified content type

func NewZeticPublicProjectsCreateProjectRequest

func NewZeticPublicProjectsCreateProjectRequest(server string, body ZeticPublicProjectsCreateProjectJSONRequestBody) (*http.Request, error)

NewZeticPublicProjectsCreateProjectRequest calls the generic ZeticPublicProjectsCreateProject builder with application/json body

func NewZeticPublicProjectsCreateProjectRequestWithBody

func NewZeticPublicProjectsCreateProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewZeticPublicProjectsCreateProjectRequestWithBody constructs an http.Request for the ZeticPublicProjectsCreateProject method, with any body, and a specified content type

func NewZeticPublicProjectsDeleteProjectRequest

func NewZeticPublicProjectsDeleteProjectRequest(server string, projectName string) (*http.Request, error)

NewZeticPublicProjectsDeleteProjectRequest constructs an http.Request for the ZeticPublicProjectsDeleteProject method

func NewZeticPublicUploadsCancelUploadRequest

func NewZeticPublicUploadsCancelUploadRequest(server string, projectName string, uploadId string) (*http.Request, error)

NewZeticPublicUploadsCancelUploadRequest constructs an http.Request for the ZeticPublicUploadsCancelUpload method

func NewZeticPublicUploadsCompleteUploadRequest

func NewZeticPublicUploadsCompleteUploadRequest(server string, projectName string, uploadId string, body ZeticPublicUploadsCompleteUploadJSONRequestBody) (*http.Request, error)

NewZeticPublicUploadsCompleteUploadRequest calls the generic ZeticPublicUploadsCompleteUpload builder with application/json body

func NewZeticPublicUploadsCompleteUploadRequestWithBody

func NewZeticPublicUploadsCompleteUploadRequestWithBody(server string, projectName string, uploadId string, contentType string, body io.Reader) (*http.Request, error)

NewZeticPublicUploadsCompleteUploadRequestWithBody constructs an http.Request for the ZeticPublicUploadsCompleteUpload method, with any body, and a specified content type

func NewZeticPublicUploadsCreateUploadRequest

func NewZeticPublicUploadsCreateUploadRequest(server string, projectName string, body ZeticPublicUploadsCreateUploadJSONRequestBody) (*http.Request, error)

NewZeticPublicUploadsCreateUploadRequest calls the generic ZeticPublicUploadsCreateUpload builder with application/json body

func NewZeticPublicUploadsCreateUploadRequestWithBody

func NewZeticPublicUploadsCreateUploadRequestWithBody(server string, projectName string, contentType string, body io.Reader) (*http.Request, error)

NewZeticPublicUploadsCreateUploadRequestWithBody constructs an http.Request for the ZeticPublicUploadsCreateUpload method, with any body, and a specified content type

func NewZeticPublicUploadsGetUploadRequest

func NewZeticPublicUploadsGetUploadRequest(server string, projectName string, uploadId string) (*http.Request, error)

NewZeticPublicUploadsGetUploadRequest constructs an http.Request for the ZeticPublicUploadsGetUpload method

func NewZeticPublicUploadsListActiveUploadsRequest

func NewZeticPublicUploadsListActiveUploadsRequest(server string, projectName string) (*http.Request, error)

NewZeticPublicUploadsListActiveUploadsRequest constructs an http.Request for the ZeticPublicUploadsListActiveUploads method

func NewZeticPublicUploadsReissueUploadUrlsRequest

func NewZeticPublicUploadsReissueUploadUrlsRequest(server string, projectName string, uploadId string, body ZeticPublicUploadsReissueUploadUrlsJSONRequestBody) (*http.Request, error)

NewZeticPublicUploadsReissueUploadUrlsRequest calls the generic ZeticPublicUploadsReissueUploadUrls builder with application/json body

func NewZeticPublicUploadsReissueUploadUrlsRequestWithBody

func NewZeticPublicUploadsReissueUploadUrlsRequestWithBody(server string, projectName string, uploadId string, contentType string, body io.Reader) (*http.Request, error)

NewZeticPublicUploadsReissueUploadUrlsRequestWithBody constructs an http.Request for the ZeticPublicUploadsReissueUploadUrls method, with any body, and a specified content type

Types

type ActiveUpload

type ActiveUpload struct {
	ExpectedFiles []string `json:"expected_files"`
	Id            string   `json:"id"`
	StartedAt     string   `json:"started_at"`
}

ActiveUpload defines model for ActiveUpload.

type BadRequest

type BadRequest = ErrorEnvelope

BadRequest Standard error envelope returned by every non-2xx response of the public API.

type BillingPlanResponse added in v0.2.0

type BillingPlanResponse struct {
	IsTrial     bool                    `json:"is_trial"`
	Plan        BillingPlanResponsePlan `json:"plan"`
	TrialEndsAt *time.Time              `json:"trial_ends_at,omitempty"`
}

BillingPlanResponse The account's effective billing plan identity.

type BillingPlanResponsePlan added in v0.2.0

type BillingPlanResponsePlan string

BillingPlanResponsePlan defines model for BillingPlanResponse.Plan.

const (
	Enterprise BillingPlanResponsePlan = "enterprise"
	Free       BillingPlanResponsePlan = "free"
	Lite       BillingPlanResponsePlan = "lite"
	Pro        BillingPlanResponsePlan = "pro"
	ProPlus    BillingPlanResponsePlan = "pro_plus"
)

Defines values for BillingPlanResponsePlan.

func (BillingPlanResponsePlan) Valid added in v0.2.0

func (e BillingPlanResponsePlan) Valid() bool

Valid indicates whether the value is a known member of the BillingPlanResponsePlan enum.

type CancelModelUploadParams

type CancelModelUploadParams struct {
	// IdempotencyKey Optional client-generated key that makes the mutation safely retryable: replaying a request with the same key returns the original outcome instead of repeating the side effect. See each operation's description for its exact replay semantics.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CancelModelUploadParams defines parameters for CancelModelUpload.

type CancelModelUploadResponse

type CancelModelUploadResponse struct {
	Id    string                         `json:"id"`
	State CancelModelUploadResponseState `json:"state"`
}

CancelModelUploadResponse defines model for CancelModelUploadResponse.

type CancelModelUploadResponseState

type CancelModelUploadResponseState string

CancelModelUploadResponseState defines model for CancelModelUploadResponse.State.

const (
	CancelModelUploadResponseStateCANCELED        CancelModelUploadResponseState = "CANCELED"
	CancelModelUploadResponseStateCONVERTING      CancelModelUploadResponseState = "CONVERTING"
	CancelModelUploadResponseStateCREATED         CancelModelUploadResponseState = "CREATED"
	CancelModelUploadResponseStateDISPATCHPENDING CancelModelUploadResponseState = "DISPATCH_PENDING"
	CancelModelUploadResponseStateEXPIRED         CancelModelUploadResponseState = "EXPIRED"
	CancelModelUploadResponseStateFAILED          CancelModelUploadResponseState = "FAILED"
	CancelModelUploadResponseStateUPLOADING       CancelModelUploadResponseState = "UPLOADING"
	CancelModelUploadResponseStateVERIFYING       CancelModelUploadResponseState = "VERIFYING"
)

Defines values for CancelModelUploadResponseState.

func (CancelModelUploadResponseState) Valid

Valid indicates whether the value is a known member of the CancelModelUploadResponseState enum.

type CancelModelUploadResult

type CancelModelUploadResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CancelModelUploadResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationError
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *CancelModelUploadResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *CancelModelUploadResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CancelModelUploadResult404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *CancelModelUploadResult409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CancelModelUploadResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CancelModelUploadResult429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *CancelModelUploadResult500Headers
}

func ParseCancelModelUploadResult

func ParseCancelModelUploadResult(rsp *http.Response) (*CancelModelUploadResult, error)

ParseCancelModelUploadResult parses an HTTP response from a CancelModelUploadWithResponse call

func (CancelModelUploadResult) ContentType

func (r CancelModelUploadResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CancelModelUploadResult) GetBody

func (r CancelModelUploadResult) GetBody() []byte

GetBody returns the raw response body bytes

func (CancelModelUploadResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CancelModelUploadResult) GetJSON401

func (r CancelModelUploadResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CancelModelUploadResult) GetJSON403

func (r CancelModelUploadResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CancelModelUploadResult) GetJSON404

func (r CancelModelUploadResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CancelModelUploadResult) GetJSON409

func (r CancelModelUploadResult) GetJSON409() *Conflict

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CancelModelUploadResult) GetJSON422

func (r CancelModelUploadResult) GetJSON422() *ValidationError

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CancelModelUploadResult) GetJSON429 added in v0.2.0

func (r CancelModelUploadResult) GetJSON429() *RateLimited

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CancelModelUploadResult) GetJSON500

func (r CancelModelUploadResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CancelModelUploadResult) Status

func (r CancelModelUploadResult) Status() string

Status returns HTTPResponse.Status

func (CancelModelUploadResult) StatusCode

func (r CancelModelUploadResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CancelModelUploadResult401Headers

type CancelModelUploadResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

CancelModelUploadResult401Headers the declared response headers of an HTTP 401 response for CancelModelUpload

type CancelModelUploadResult403Headers

type CancelModelUploadResult403Headers struct {
	XRequestID *string
}

CancelModelUploadResult403Headers the declared response headers of an HTTP 403 response for CancelModelUpload

type CancelModelUploadResult404Headers

type CancelModelUploadResult404Headers struct {
	XRequestID *string
}

CancelModelUploadResult404Headers the declared response headers of an HTTP 404 response for CancelModelUpload

type CancelModelUploadResult409Headers

type CancelModelUploadResult409Headers struct {
	XRequestID *string
}

CancelModelUploadResult409Headers the declared response headers of an HTTP 409 response for CancelModelUpload

type CancelModelUploadResult422Headers

type CancelModelUploadResult422Headers struct {
	XRequestID *string
}

CancelModelUploadResult422Headers the declared response headers of an HTTP 422 response for CancelModelUpload

type CancelModelUploadResult429Headers added in v0.2.0

type CancelModelUploadResult429Headers struct {
	RetryAfter *int
	XRequestID *string
}

CancelModelUploadResult429Headers the declared response headers of an HTTP 429 response for CancelModelUpload

type CancelModelUploadResult500Headers

type CancelModelUploadResult500Headers struct {
	XRequestID *string
}

CancelModelUploadResult500Headers the declared response headers of an HTTP 500 response for CancelModelUpload

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) CancelModelUpload

func (c *Client) CancelModelUpload(ctx context.Context, accountName string, repoName string, uploadId string, params *CancelModelUploadParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CancelModelUpload Cancel Model Upload

Cancel a pre-completion session (idempotent); cleanup is best-effort.

Only CREATED and UPLOADING are cancelable. Once completion has claimed VERIFYING, cancellation returns 409 so it cannot delete staging while a verifier/promoter or the durable dispatch retry path owns the session.

Corresponds with DELETE /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id} (the `CancelModelUpload` operationId).

func (*Client) CompleteModelUpload

func (c *Client) CompleteModelUpload(ctx context.Context, accountName string, repoName string, uploadId string, params *CompleteModelUploadParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CompleteModelUpload Complete Model Upload

Complete an upload session: verify -> promote -> register -> dispatch.

Contract: a 200 means the COMPLETE REQUEST was processed — not that the session succeeded. Verification/promotion failures are session state: the response carries `state="FAILED"` plus a machine `failure_code` (`file_missing:<id>`, `size_mismatch:<id>`, `crc32c_mismatch:<id>`, `staging_mutated:<id>`). Request-level errors are reserved for sessions that cannot accept a complete at all (CANCELED/EXPIRED/FAILED -> 409).

Idempotent: repeating the call (same `Idempotency-Key` or not) while the session is VERIFYING/DISPATCH_PENDING/CONVERTING replays the current state without re-verifying and without double-dispatching; a replay on DISPATCH_PENDING retries a failed conversion trigger.

Session expiry is deliberately not checked here: an expired session the cleanup sweep has not processed yet may still complete (the sweep re-checks state under a lock, so the race resolves to one winner).

If the account's conversion quota is exhausted the request returns the standard 429 `rate_limit_error`: the conversion has NOT started and the session stays DISPATCH_PENDING — complete again after resolving the quota to retry the dispatch.

Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id}/complete (the `CompleteModelUpload` operationId).

func (*Client) CreateDownloadAuthorization

func (c *Client) CreateDownloadAuthorization(ctx context.Context, accountName string, repoName string, modelKey string, targetId string, params *CreateDownloadAuthorizationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateDownloadAuthorization Create Download Authorization

Authorize downloading a converted target's artifacts (BILLABLE).

Charges the target's aggregate `download_size` against the CALLER's bandwidth quota — also for public models owned by others. Over quota is a 429 with nothing charged and no row created. Returns signed GET URLs valid until `expires_at` (about one hour).

With an `Idempotency-Key`, replaying returns the original authorization (200) with fresh URLs and does NOT charge again; without one, EVERY call charges. The key is scoped to the caller's account; reusing it for a different target is a 409.

Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/{model_key}/targets/{target_id}/download-authorizations (the `CreateDownloadAuthorization` operationId).

func (*Client) CreateModelUpload

func (c *Client) CreateModelUpload(ctx context.Context, accountName string, repoName string, params *CreateModelUploadParams, body CreateModelUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateModelUpload Create Model Upload

Open an upload session from a v2 manifest.

Returns 201 with server-assigned canonical paths and resumable upload URLs; an `Idempotency-Key` replay of the same manifest returns the original session with 200.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/repos/{account_name}/{repo_name}/models (the `CreateModelUpload` operationId).

func (*Client) CreateModelUploadWithBody

func (c *Client) CreateModelUploadWithBody(ctx context.Context, accountName string, repoName string, params *CreateModelUploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateModelUploadWithBody Create Model Upload

Open an upload session from a v2 manifest.

Returns 201 with server-assigned canonical paths and resumable upload URLs; an `Idempotency-Key` replay of the same manifest returns the original session with 200.

Takes any type of body and a specified content type.

Corresponds with POST /v1/repos/{account_name}/{repo_name}/models (the `CreateModelUpload` operationId).

func (*Client) CreateRepo

func (c *Client) CreateRepo(ctx context.Context, body CreateRepoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateRepo Create Repo

Takes a body of the `application/json` content type.

Corresponds with POST /v1/repos (the `CreateRepo` operationId).

func (*Client) CreateRepoWithBody

func (c *Client) CreateRepoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateRepoWithBody Create Repo

Takes any type of body and a specified content type.

Corresponds with POST /v1/repos (the `CreateRepo` operationId).

func (*Client) DeleteRepo

func (c *Client) DeleteRepo(ctx context.Context, accountName string, repoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteRepo Delete Repo

Corresponds with DELETE /v1/repos/{account_name}/{repo_name} (the `DeleteRepo` operationId).

func (*Client) GetBillingPlan added in v0.2.0

func (c *Client) GetBillingPlan(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetBillingPlan Get Billing Plan

Effective billing plan for the token's account.

`plan` is the entitlement tier quotas derive from (a trial grant reports the granted tier with `is_trial: true`). Use `/usage/quotas` for the per-counter headroom.

Corresponds with GET /v1/billing/plan (the `GetBillingPlan` operationId).

func (*Client) GetDeploymentGuide

func (c *Client) GetDeploymentGuide(ctx context.Context, accountName string, repoName string, modelKey string, params *GetDeploymentGuideParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDeploymentGuide Get Deployment Guide

Exact SDK install/use guide for one contained, visible model.

The credential is always a fixed placeholder. The request PAT, internal debug tokens, storage paths, and producer metadata are never inputs.

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/deployment-guide (the `GetDeploymentGuide` operationId).

func (*Client) GetDeploymentOptions

func (c *Client) GetDeploymentOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDeploymentOptions Get Deployment Options

Supported deterministic guide selectors. React Native is excluded.

Corresponds with GET /v1/deployment/options (the `GetDeploymentOptions` operationId).

func (*Client) GetGeneralReport

func (c *Client) GetGeneralReport(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetGeneralReport Get General Report

Raw general benchmark measurements for a model, one record per (device, run, metric), with a per-precision summary the dashboard's headline numbers derive from. 404 when the model has no general report. Derivation rules are versioned via `derivation_version`.

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/reports/general (the `GetGeneralReport` operationId).

func (*Client) GetLibraryModel

func (c *Client) GetLibraryModel(ctx context.Context, accountName string, repoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetLibraryModel Get Library Model

A single PUBLIC library model, with its readme.

Resolves public repos only: a private repo is a 404 here EVEN FOR ITS OWNER (use `/v1/repos/{account_name}/{repo_name}` for that), so this route never confirms a private repo's existence.

Corresponds with GET /v1/library/models/{account_name}/{repo_name} (the `GetLibraryModel` operationId).

func (*Client) GetLlmReport

func (c *Client) GetLlmReport(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetLlmReport Get Llm Report

Raw LLM benchmark measurements (per-device generation metrics plus server-side accuracy scores per dataset) with per-quant summary aggregates. 404 when the model has no LLM report.

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/reports/llm (the `GetLlmReport` operationId).

func (*Client) GetMe

func (c *Client) GetMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetMe Get Me

Corresponds with GET /v1/me (the `GetMe` operationId).

func (*Client) GetModel

func (c *Client) GetModel(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetModel Get Model

Public detail of a model within a visible repo (containment: a key that exists in another repo is a 404, not a leak).

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key} (the `GetModel` operationId).

func (*Client) GetModelStatus

func (c *Client) GetModelStatus(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetModelStatus Get Model Status

Public conversion status of a model (the CLI `--wait` poll target).

`download_ready` follows `ModelStatus.available()` — the same condition internal download paths gate on: a model is downloadable once converted (OPTIMIZING), even while benchmarking is still running.

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/status (the `GetModelStatus` operationId).

func (*Client) GetModelUpload

func (c *Client) GetModelUpload(ctx context.Context, accountName string, repoName string, uploadId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetModelUpload Get Model Upload

Session detail with per-file staging arrival (one storage list call).

Requires repository owner or JOINED WRITE-collaborator access even though the PAT scope is READ; private-repo visibility failures remain 404.

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id} (the `GetModelUpload` operationId).

func (*Client) GetPackageReport

func (c *Client) GetPackageReport(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetPackageReport Get Package Report

Raw ZTC package benchmark measurements, one record per (device environment, run configuration, metric), with per-mode summary aggregates. 404 when the model has no package benchmark results.

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/reports/package (the `GetPackageReport` operationId).

func (*Client) GetRepo

func (c *Client) GetRepo(ctx context.Context, accountName string, repoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetRepo Get Repo

Corresponds with GET /v1/repos/{account_name}/{repo_name} (the `GetRepo` operationId).

func (*Client) GetUsage

func (c *Client) GetUsage(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUsage Get Usage

Current-month usage totals for the token's account (`bandwidth` in bytes, the rest counts).

Corresponds with GET /v1/usage (the `GetUsage` operationId).

func (*Client) GetUsageQuotas

func (c *Client) GetUsageQuotas(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUsageQuotas Get Usage Quotas

Usage against the account's plan quotas.

Each counter reports `{used, limit, remaining}`; null means unlimited. `remaining` is what enforcement would allow right now (spike headroom included, floored at 0) — preflight on `remaining`, not `limit - used`.

Corresponds with GET /v1/usage/quotas (the `GetUsageQuotas` operationId).

func (*Client) ImportModel

func (c *Client) ImportModel(ctx context.Context, accountName string, repoName string, params *ImportModelParams, body ImportModelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ImportModel Import Model

Register an LLM model from a public HuggingFace repo.

Returns 201 with the created model reference; conversion continues asynchronously (poll `get_model_status`). An `Idempotency-Key` replay of the same body returns the original model with 200. The repository must have `model_type` "llm".

Takes a body of the `application/json` content type.

Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/import (the `ImportModel` operationId).

func (*Client) ImportModelWithBody

func (c *Client) ImportModelWithBody(ctx context.Context, accountName string, repoName string, params *ImportModelParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ImportModelWithBody Import Model

Register an LLM model from a public HuggingFace repo.

Returns 201 with the created model reference; conversion continues asynchronously (poll `get_model_status`). An `Idempotency-Key` replay of the same body returns the original model with 200. The repository must have `model_type` "llm".

Takes any type of body and a specified content type.

Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/import (the `ImportModel` operationId).

func (*Client) ListLibraryModels

func (c *Client) ListLibraryModels(ctx context.Context, params *ListLibraryModelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListLibraryModels List Library Models

Browse the public model library, newest first.

Results are ordered by created_at descending, then id descending.

Corresponds with GET /v1/library/models (the `ListLibraryModels` operationId).

func (*Client) ListLibraryProviders

func (c *Client) ListLibraryProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListLibraryProviders List Library Providers

Providers (companies) with at least one public library model.

Item shape is the internal companies list thinned to its public parts (`name`, `logo_url`) plus `model_count` — the number of public library models the provider has published. Ordered by name, as the internal dropdown source is.

Corresponds with GET /v1/library/providers (the `ListLibraryProviders` operationId).

func (*Client) ListModelTargets

func (c *Client) ListModelTargets(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

ListModelTargets List Model Targets

Converted target artifacts of a model, newest first (created_at descending, then id descending — same stable ordering as every /v1 list). `target_id` is opaque; soft-deleted rows are excluded.

Results are ordered by created_at descending, then id descending.

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/targets (the `ListModelTargets` operationId).

func (*Client) ListModelUploads

func (c *Client) ListModelUploads(ctx context.Context, accountName string, repoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ListModelUploads List Model Uploads

Active + recent (last 10) upload sessions for the repo.

Requires repository owner or JOINED WRITE-collaborator access even though the PAT scope is READ; upload metadata is not public-repo browse data. Fixed small window, so no pagination on purpose.

Results are ordered by created_at descending, then id descending.

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/uploads (the `ListModelUploads` operationId).

func (*Client) ListModels

func (c *Client) ListModels(ctx context.Context, accountName string, repoName string, params *ListModelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListModels List Models

Models of a visible repo, newest first.

Reuses the internal listing semantics (`CommonModelService.get_list`: excludes soft-deleted rows and half-created rows without a source) with the public contract's explicit stable ordering.

Results are ordered by created_at descending, then id descending.

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models (the `ListModels` operationId).

func (*Client) ListRepos

func (c *Client) ListRepos(ctx context.Context, params *ListReposParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListRepos List Repos

Results are ordered by created_at descending, then id descending.

Corresponds with GET /v1/repos (the `ListRepos` operationId).

func (*Client) ReissueUploadFiles

func (c *Client) ReissueUploadFiles(ctx context.Context, accountName string, repoName string, uploadId string, body ReissueUploadFilesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ReissueUploadFiles Reissue Upload Files

Fresh resumable upload URLs for declared files of an UPLOADING session.

Reissue deliberately has no idempotency-key contract: every accepted call mints fresh, short-lived credentials for the same staging objects.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id}/files (the `ReissueUploadFiles` operationId).

func (*Client) ReissueUploadFilesWithBody

func (c *Client) ReissueUploadFilesWithBody(ctx context.Context, accountName string, repoName string, uploadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ReissueUploadFilesWithBody Reissue Upload Files

Fresh resumable upload URLs for declared files of an UPLOADING session.

Reissue deliberately has no idempotency-key contract: every accepted call mints fresh, short-lived credentials for the same staging objects.

Takes any type of body and a specified content type.

Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id}/files (the `ReissueUploadFiles` operationId).

func (*Client) SetDefaultModel

func (c *Client) SetDefaultModel(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

SetDefaultModel Set Default Model

Make this model the repo's default (idempotent: repeating the call returns 200 with the same result). Reuses the internal set-default service — exactly one model per repo ends up with `is_default`.

Corresponds with PUT /v1/repos/{account_name}/{repo_name}/models/{model_key}/default (the `SetDefaultModel` operationId).

func (*Client) UpdateRepo

func (c *Client) UpdateRepo(ctx context.Context, accountName string, repoName string, body UpdateRepoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateRepo Update Repo

Takes a body of the `application/json` content type.

Corresponds with PATCH /v1/repos/{account_name}/{repo_name} (the `UpdateRepo` operationId).

func (*Client) UpdateRepoWithBody

func (c *Client) UpdateRepoWithBody(ctx context.Context, accountName string, repoName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateRepoWithBody Update Repo

Takes any type of body and a specified content type.

Corresponds with PATCH /v1/repos/{account_name}/{repo_name} (the `UpdateRepo` operationId).

func (*Client) ZeticPublicProjectsCreateProject

func (c *Client) ZeticPublicProjectsCreateProject(ctx context.Context, body ZeticPublicProjectsCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ZeticPublicProjectsCreateProject Create Project

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/projects (the `ZeticPublicProjectsCreateProject` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) ZeticPublicProjectsCreateProjectWithBody

func (c *Client) ZeticPublicProjectsCreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ZeticPublicProjectsCreateProjectWithBody Create Project

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Takes any type of body and a specified content type.

Corresponds with POST /v1/projects (the `ZeticPublicProjectsCreateProject` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) ZeticPublicProjectsDeleteProject

func (c *Client) ZeticPublicProjectsDeleteProject(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ZeticPublicProjectsDeleteProject Delete Project

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Corresponds with DELETE /v1/projects/{project_name} (the `ZeticPublicProjectsDeleteProject` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) ZeticPublicUploadsCancelUpload

func (c *Client) ZeticPublicUploadsCancelUpload(ctx context.Context, projectName string, uploadId string, reqEditors ...RequestEditorFn) (*http.Response, error)

ZeticPublicUploadsCancelUpload Cancel Upload

Cancel an in-flight upload; deletes the row and best-effort removes GCS objects.

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Corresponds with DELETE /v1/projects/{project_name}/uploads/{upload_id} (the `ZeticPublicUploadsCancelUpload` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) ZeticPublicUploadsCompleteUpload

func (c *Client) ZeticPublicUploadsCompleteUpload(ctx context.Context, projectName string, uploadId string, body ZeticPublicUploadsCompleteUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ZeticPublicUploadsCompleteUpload Complete Upload

Complete the upload: validates files arrived, transitions to CONVERTING, and kicks off the pipeline.

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/projects/{project_name}/uploads/{upload_id}/complete (the `ZeticPublicUploadsCompleteUpload` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) ZeticPublicUploadsCompleteUploadWithBody

func (c *Client) ZeticPublicUploadsCompleteUploadWithBody(ctx context.Context, projectName string, uploadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ZeticPublicUploadsCompleteUploadWithBody Complete Upload

Complete the upload: validates files arrived, transitions to CONVERTING, and kicks off the pipeline.

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Takes any type of body and a specified content type.

Corresponds with POST /v1/projects/{project_name}/uploads/{upload_id}/complete (the `ZeticPublicUploadsCompleteUpload` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) ZeticPublicUploadsCreateUpload

func (c *Client) ZeticPublicUploadsCreateUpload(ctx context.Context, projectName string, body ZeticPublicUploadsCreateUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ZeticPublicUploadsCreateUpload Create Upload

Start an upload session. Returns presigned PUT URLs for each requested file.

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/projects/{project_name}/uploads (the `ZeticPublicUploadsCreateUpload` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) ZeticPublicUploadsCreateUploadWithBody

func (c *Client) ZeticPublicUploadsCreateUploadWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ZeticPublicUploadsCreateUploadWithBody Create Upload

Start an upload session. Returns presigned PUT URLs for each requested file.

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Takes any type of body and a specified content type.

Corresponds with POST /v1/projects/{project_name}/uploads (the `ZeticPublicUploadsCreateUpload` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) ZeticPublicUploadsGetUpload

func (c *Client) ZeticPublicUploadsGetUpload(ctx context.Context, projectName string, uploadId string, reqEditors ...RequestEditorFn) (*http.Response, error)

ZeticPublicUploadsGetUpload Get Upload

Return per-file arrival status for the upload session.

After complete, the row's source is populated; clients should switch to `GET /versions/{id}` at that point. We still serve this endpoint with the file list for traceability.

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Corresponds with GET /v1/projects/{project_name}/uploads/{upload_id} (the `ZeticPublicUploadsGetUpload` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) ZeticPublicUploadsListActiveUploads

func (c *Client) ZeticPublicUploadsListActiveUploads(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ZeticPublicUploadsListActiveUploads List Active Uploads

List active (source IS NULL) upload sessions for the project.

Clients should call this before starting a new upload to detect an in-flight session and offer recovery options (status, cancel, resume).

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Corresponds with GET /v1/projects/{project_name}/uploads (the `ZeticPublicUploadsListActiveUploads` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) ZeticPublicUploadsReissueUploadUrls

func (c *Client) ZeticPublicUploadsReissueUploadUrls(ctx context.Context, projectName string, uploadId string, body ZeticPublicUploadsReissueUploadUrlsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ZeticPublicUploadsReissueUploadUrls Reissue Upload Urls

Re-issue presigned PUT URLs for paths declared at session creation.

Use when a previously-issued URL has expired and the client wants to retry upload of the same file. Paths not declared at creation are rejected.

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/projects/{project_name}/uploads/{upload_id}/files (the `ZeticPublicUploadsReissueUploadUrls` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) ZeticPublicUploadsReissueUploadUrlsWithBody

func (c *Client) ZeticPublicUploadsReissueUploadUrlsWithBody(ctx context.Context, projectName string, uploadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ZeticPublicUploadsReissueUploadUrlsWithBody Reissue Upload Urls

Re-issue presigned PUT URLs for paths declared at session creation.

Use when a previously-issued URL has expired and the client wants to retry upload of the same file. Paths not declared at creation are rejected.

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Takes any type of body and a specified content type.

Corresponds with POST /v1/projects/{project_name}/uploads/{upload_id}/files (the `ZeticPublicUploadsReissueUploadUrls` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type ClientInterface

type ClientInterface interface {

	// GetBillingPlan Get Billing Plan
	//
	// Effective billing plan for the token's account.
	//
	// `plan` is the entitlement tier quotas derive from (a trial grant reports
	// the granted tier with `is_trial: true`). Use `/usage/quotas` for the
	// per-counter headroom.
	//
	// Corresponds with GET /v1/billing/plan (the `GetBillingPlan` operationId).
	GetBillingPlan(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDeploymentOptions Get Deployment Options
	//
	// Supported deterministic guide selectors. React Native is excluded.
	//
	// Corresponds with GET /v1/deployment/options (the `GetDeploymentOptions` operationId).
	GetDeploymentOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLibraryModels List Library Models
	//
	// Browse the public model library, newest first.
	//
	// Results are ordered by created_at descending, then id descending.
	//
	// Corresponds with GET /v1/library/models (the `ListLibraryModels` operationId).
	ListLibraryModels(ctx context.Context, params *ListLibraryModelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLibraryModel Get Library Model
	//
	// A single PUBLIC library model, with its readme.
	//
	// Resolves public repos only: a private repo is a 404 here EVEN FOR ITS
	// OWNER (use `/v1/repos/{account_name}/{repo_name}` for that), so this
	// route never confirms a private repo's existence.
	//
	// Corresponds with GET /v1/library/models/{account_name}/{repo_name} (the `GetLibraryModel` operationId).
	GetLibraryModel(ctx context.Context, accountName string, repoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLibraryProviders List Library Providers
	//
	// Providers (companies) with at least one public library model.
	//
	// Item shape is the internal companies list thinned to its public parts
	// (`name`, `logo_url`) plus `model_count` — the number of public library
	// models the provider has published. Ordered by name, as the internal
	// dropdown source is.
	//
	// Corresponds with GET /v1/library/providers (the `ListLibraryProviders` operationId).
	ListLibraryProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMe Get Me
	//
	// Corresponds with GET /v1/me (the `GetMe` operationId).
	GetMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ZeticPublicProjectsCreateProjectWithBody Create Project
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/projects (the `ZeticPublicProjectsCreateProject` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicProjectsCreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ZeticPublicProjectsCreateProject Create Project
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/projects (the `ZeticPublicProjectsCreateProject` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicProjectsCreateProject(ctx context.Context, body ZeticPublicProjectsCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ZeticPublicProjectsDeleteProject Delete Project
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Corresponds with DELETE /v1/projects/{project_name} (the `ZeticPublicProjectsDeleteProject` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicProjectsDeleteProject(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ZeticPublicUploadsListActiveUploads List Active Uploads
	//
	// List active (source IS NULL) upload sessions for the project.
	//
	// Clients should call this before starting a new upload to detect an
	// in-flight session and offer recovery options (status, cancel, resume).
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Corresponds with GET /v1/projects/{project_name}/uploads (the `ZeticPublicUploadsListActiveUploads` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsListActiveUploads(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ZeticPublicUploadsCreateUploadWithBody Create Upload
	//
	// Start an upload session. Returns presigned PUT URLs for each requested file.
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/projects/{project_name}/uploads (the `ZeticPublicUploadsCreateUpload` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsCreateUploadWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ZeticPublicUploadsCreateUpload Create Upload
	//
	// Start an upload session. Returns presigned PUT URLs for each requested file.
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/projects/{project_name}/uploads (the `ZeticPublicUploadsCreateUpload` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsCreateUpload(ctx context.Context, projectName string, body ZeticPublicUploadsCreateUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ZeticPublicUploadsCancelUpload Cancel Upload
	//
	// Cancel an in-flight upload; deletes the row and best-effort removes GCS objects.
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Corresponds with DELETE /v1/projects/{project_name}/uploads/{upload_id} (the `ZeticPublicUploadsCancelUpload` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsCancelUpload(ctx context.Context, projectName string, uploadId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ZeticPublicUploadsGetUpload Get Upload
	//
	// Return per-file arrival status for the upload session.
	//
	// After complete, the row's source is populated; clients
	// should switch to `GET /versions/{id}` at that point. We still serve this
	// endpoint with the file list for traceability.
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Corresponds with GET /v1/projects/{project_name}/uploads/{upload_id} (the `ZeticPublicUploadsGetUpload` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsGetUpload(ctx context.Context, projectName string, uploadId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ZeticPublicUploadsCompleteUploadWithBody Complete Upload
	//
	// Complete the upload: validates files arrived, transitions to CONVERTING, and kicks off the pipeline.
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/projects/{project_name}/uploads/{upload_id}/complete (the `ZeticPublicUploadsCompleteUpload` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsCompleteUploadWithBody(ctx context.Context, projectName string, uploadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ZeticPublicUploadsCompleteUpload Complete Upload
	//
	// Complete the upload: validates files arrived, transitions to CONVERTING, and kicks off the pipeline.
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/projects/{project_name}/uploads/{upload_id}/complete (the `ZeticPublicUploadsCompleteUpload` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsCompleteUpload(ctx context.Context, projectName string, uploadId string, body ZeticPublicUploadsCompleteUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ZeticPublicUploadsReissueUploadUrlsWithBody Reissue Upload Urls
	//
	// Re-issue presigned PUT URLs for paths declared at session creation.
	//
	// Use when a previously-issued URL has expired and the client wants to retry
	// upload of the same file. Paths not declared at creation are rejected.
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/projects/{project_name}/uploads/{upload_id}/files (the `ZeticPublicUploadsReissueUploadUrls` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsReissueUploadUrlsWithBody(ctx context.Context, projectName string, uploadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ZeticPublicUploadsReissueUploadUrls Reissue Upload Urls
	//
	// Re-issue presigned PUT URLs for paths declared at session creation.
	//
	// Use when a previously-issued URL has expired and the client wants to retry
	// upload of the same file. Paths not declared at creation are rejected.
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/projects/{project_name}/uploads/{upload_id}/files (the `ZeticPublicUploadsReissueUploadUrls` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsReissueUploadUrls(ctx context.Context, projectName string, uploadId string, body ZeticPublicUploadsReissueUploadUrlsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListRepos List Repos
	//
	// Results are ordered by created_at descending, then id descending.
	//
	// Corresponds with GET /v1/repos (the `ListRepos` operationId).
	ListRepos(ctx context.Context, params *ListReposParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateRepoWithBody Create Repo
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/repos (the `CreateRepo` operationId).
	CreateRepoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateRepo Create Repo
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/repos (the `CreateRepo` operationId).
	CreateRepo(ctx context.Context, body CreateRepoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteRepo Delete Repo
	//
	// Corresponds with DELETE /v1/repos/{account_name}/{repo_name} (the `DeleteRepo` operationId).
	DeleteRepo(ctx context.Context, accountName string, repoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRepo Get Repo
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name} (the `GetRepo` operationId).
	GetRepo(ctx context.Context, accountName string, repoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateRepoWithBody Update Repo
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v1/repos/{account_name}/{repo_name} (the `UpdateRepo` operationId).
	UpdateRepoWithBody(ctx context.Context, accountName string, repoName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateRepo Update Repo
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v1/repos/{account_name}/{repo_name} (the `UpdateRepo` operationId).
	UpdateRepo(ctx context.Context, accountName string, repoName string, body UpdateRepoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListModels List Models
	//
	// Models of a visible repo, newest first.
	//
	// Reuses the internal listing semantics (`CommonModelService.get_list`:
	// excludes soft-deleted rows and half-created rows without a source) with
	// the public contract's explicit stable ordering.
	//
	// Results are ordered by created_at descending, then id descending.
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models (the `ListModels` operationId).
	ListModels(ctx context.Context, accountName string, repoName string, params *ListModelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateModelUploadWithBody Create Model Upload
	//
	// Open an upload session from a v2 manifest.
	//
	// Returns 201 with server-assigned canonical paths and resumable upload
	// URLs; an `Idempotency-Key` replay of the same manifest returns the
	// original session with 200.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/repos/{account_name}/{repo_name}/models (the `CreateModelUpload` operationId).
	CreateModelUploadWithBody(ctx context.Context, accountName string, repoName string, params *CreateModelUploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateModelUpload Create Model Upload
	//
	// Open an upload session from a v2 manifest.
	//
	// Returns 201 with server-assigned canonical paths and resumable upload
	// URLs; an `Idempotency-Key` replay of the same manifest returns the
	// original session with 200.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/repos/{account_name}/{repo_name}/models (the `CreateModelUpload` operationId).
	CreateModelUpload(ctx context.Context, accountName string, repoName string, params *CreateModelUploadParams, body CreateModelUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ImportModelWithBody Import Model
	//
	// Register an LLM model from a public HuggingFace repo.
	//
	// Returns 201 with the created model reference; conversion continues
	// asynchronously (poll `get_model_status`). An `Idempotency-Key` replay of
	// the same body returns the original model with 200. The repository must
	// have `model_type` "llm".
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/import (the `ImportModel` operationId).
	ImportModelWithBody(ctx context.Context, accountName string, repoName string, params *ImportModelParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ImportModel Import Model
	//
	// Register an LLM model from a public HuggingFace repo.
	//
	// Returns 201 with the created model reference; conversion continues
	// asynchronously (poll `get_model_status`). An `Idempotency-Key` replay of
	// the same body returns the original model with 200. The repository must
	// have `model_type` "llm".
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/import (the `ImportModel` operationId).
	ImportModel(ctx context.Context, accountName string, repoName string, params *ImportModelParams, body ImportModelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListModelUploads List Model Uploads
	//
	// Active + recent (last 10) upload sessions for the repo.
	//
	// Requires repository owner or JOINED WRITE-collaborator access even though
	// the PAT scope is READ; upload metadata is not public-repo browse data.
	// Fixed small window, so no pagination on purpose.
	//
	// Results are ordered by created_at descending, then id descending.
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/uploads (the `ListModelUploads` operationId).
	ListModelUploads(ctx context.Context, accountName string, repoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CancelModelUpload Cancel Model Upload
	//
	// Cancel a pre-completion session (idempotent); cleanup is best-effort.
	//
	// Only CREATED and UPLOADING are cancelable. Once completion has claimed
	// VERIFYING, cancellation returns 409 so it cannot delete staging while a
	// verifier/promoter or the durable dispatch retry path owns the session.
	//
	// Corresponds with DELETE /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id} (the `CancelModelUpload` operationId).
	CancelModelUpload(ctx context.Context, accountName string, repoName string, uploadId string, params *CancelModelUploadParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetModelUpload Get Model Upload
	//
	// Session detail with per-file staging arrival (one storage list call).
	//
	// Requires repository owner or JOINED WRITE-collaborator access even though
	// the PAT scope is READ; private-repo visibility failures remain 404.
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id} (the `GetModelUpload` operationId).
	GetModelUpload(ctx context.Context, accountName string, repoName string, uploadId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CompleteModelUpload Complete Model Upload
	//
	// Complete an upload session: verify -> promote -> register -> dispatch.
	//
	// Contract: a 200 means the COMPLETE REQUEST was processed — not that the
	// session succeeded. Verification/promotion failures are session state:
	// the response carries `state="FAILED"` plus a machine `failure_code`
	// (`file_missing:<id>`, `size_mismatch:<id>`, `crc32c_mismatch:<id>`,
	// `staging_mutated:<id>`). Request-level errors are reserved for sessions
	// that cannot accept a complete at all (CANCELED/EXPIRED/FAILED -> 409).
	//
	// Idempotent: repeating the call (same `Idempotency-Key` or not) while the
	// session is VERIFYING/DISPATCH_PENDING/CONVERTING replays the current
	// state without re-verifying and without double-dispatching; a replay on
	// DISPATCH_PENDING retries a failed conversion trigger.
	//
	// Session expiry is deliberately not checked here: an expired session the
	// cleanup sweep has not processed yet may still complete (the sweep
	// re-checks state under a lock, so the race resolves to one winner).
	//
	// If the account's conversion quota is exhausted the request returns the
	// standard 429 `rate_limit_error`: the conversion has NOT started and the
	// session stays DISPATCH_PENDING — complete again after resolving the
	// quota to retry the dispatch.
	//
	// Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id}/complete (the `CompleteModelUpload` operationId).
	CompleteModelUpload(ctx context.Context, accountName string, repoName string, uploadId string, params *CompleteModelUploadParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReissueUploadFilesWithBody Reissue Upload Files
	//
	// Fresh resumable upload URLs for declared files of an UPLOADING session.
	//
	// Reissue deliberately has no idempotency-key contract: every accepted
	// call mints fresh, short-lived credentials for the same staging objects.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id}/files (the `ReissueUploadFiles` operationId).
	ReissueUploadFilesWithBody(ctx context.Context, accountName string, repoName string, uploadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReissueUploadFiles Reissue Upload Files
	//
	// Fresh resumable upload URLs for declared files of an UPLOADING session.
	//
	// Reissue deliberately has no idempotency-key contract: every accepted
	// call mints fresh, short-lived credentials for the same staging objects.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id}/files (the `ReissueUploadFiles` operationId).
	ReissueUploadFiles(ctx context.Context, accountName string, repoName string, uploadId string, body ReissueUploadFilesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetModel Get Model
	//
	// Public detail of a model within a visible repo (containment: a key
	// that exists in another repo is a 404, not a leak).
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key} (the `GetModel` operationId).
	GetModel(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetDefaultModel Set Default Model
	//
	// Make this model the repo's default (idempotent: repeating the call
	// returns 200 with the same result). Reuses the internal set-default
	// service — exactly one model per repo ends up with `is_default`.
	//
	// Corresponds with PUT /v1/repos/{account_name}/{repo_name}/models/{model_key}/default (the `SetDefaultModel` operationId).
	SetDefaultModel(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDeploymentGuide Get Deployment Guide
	//
	// Exact SDK install/use guide for one contained, visible model.
	//
	// The credential is always a fixed placeholder. The request PAT, internal
	// debug tokens, storage paths, and producer metadata are never inputs.
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/deployment-guide (the `GetDeploymentGuide` operationId).
	GetDeploymentGuide(ctx context.Context, accountName string, repoName string, modelKey string, params *GetDeploymentGuideParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGeneralReport Get General Report
	//
	// Raw general benchmark measurements for a model, one record per
	// (device, run, metric), with a per-precision summary the dashboard's
	// headline numbers derive from. 404 when the model has no general
	// report. Derivation rules are versioned via `derivation_version`.
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/reports/general (the `GetGeneralReport` operationId).
	GetGeneralReport(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLlmReport Get Llm Report
	//
	// Raw LLM benchmark measurements (per-device generation metrics plus
	// server-side accuracy scores per dataset) with per-quant summary
	// aggregates. 404 when the model has no LLM report.
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/reports/llm (the `GetLlmReport` operationId).
	GetLlmReport(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPackageReport Get Package Report
	//
	// Raw ZTC package benchmark measurements, one record per (device
	// environment, run configuration, metric), with per-mode summary
	// aggregates. 404 when the model has no package benchmark results.
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/reports/package (the `GetPackageReport` operationId).
	GetPackageReport(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetModelStatus Get Model Status
	//
	// Public conversion status of a model (the CLI `--wait` poll target).
	//
	// `download_ready` follows `ModelStatus.available()` — the same condition
	// internal download paths gate on: a model is downloadable once converted
	// (OPTIMIZING), even while benchmarking is still running.
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/status (the `GetModelStatus` operationId).
	GetModelStatus(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListModelTargets List Model Targets
	//
	// Converted target artifacts of a model, newest first (created_at
	// descending, then id descending — same stable ordering as every /v1
	// list). `target_id` is opaque; soft-deleted rows are excluded.
	//
	// Results are ordered by created_at descending, then id descending.
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/targets (the `ListModelTargets` operationId).
	ListModelTargets(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDownloadAuthorization Create Download Authorization
	//
	// Authorize downloading a converted target's artifacts (BILLABLE).
	//
	// Charges the target's aggregate `download_size` against the CALLER's
	// bandwidth quota — also for public models owned by others. Over quota is
	// a 429 with nothing charged and no row created. Returns signed GET URLs
	// valid until `expires_at` (about one hour).
	//
	// With an `Idempotency-Key`, replaying returns the original authorization
	// (200) with fresh URLs and does NOT charge again; without one, EVERY
	// call charges. The key is scoped to the caller's account; reusing it for
	// a different target is a 409.
	//
	// Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/{model_key}/targets/{target_id}/download-authorizations (the `CreateDownloadAuthorization` operationId).
	CreateDownloadAuthorization(ctx context.Context, accountName string, repoName string, modelKey string, targetId string, params *CreateDownloadAuthorizationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUsage Get Usage
	//
	// Current-month usage totals for the token's account (`bandwidth` in
	// bytes, the rest counts).
	//
	// Corresponds with GET /v1/usage (the `GetUsage` operationId).
	GetUsage(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUsageQuotas Get Usage Quotas
	//
	// Usage against the account's plan quotas.
	//
	// Each counter reports `{used, limit, remaining}`; null means unlimited.
	// `remaining` is what enforcement would allow right now (spike headroom
	// included, floored at 0) — preflight on `remaining`, not `limit - used`.
	//
	// Corresponds with GET /v1/usage/quotas (the `GetUsageQuotas` operationId).
	GetUsageQuotas(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) CancelModelUploadWithResponse

func (c *ClientWithResponses) CancelModelUploadWithResponse(ctx context.Context, accountName string, repoName string, uploadId string, params *CancelModelUploadParams, reqEditors ...RequestEditorFn) (*CancelModelUploadResult, error)

CancelModelUploadWithResponse Cancel Model Upload

Cancel a pre-completion session (idempotent); cleanup is best-effort.

Only CREATED and UPLOADING are cancelable. Once completion has claimed VERIFYING, cancellation returns 409 so it cannot delete staging while a verifier/promoter or the durable dispatch retry path owns the session.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id} (the `CancelModelUpload` operationId).

func (*ClientWithResponses) CompleteModelUploadWithResponse

func (c *ClientWithResponses) CompleteModelUploadWithResponse(ctx context.Context, accountName string, repoName string, uploadId string, params *CompleteModelUploadParams, reqEditors ...RequestEditorFn) (*CompleteModelUploadResult, error)

CompleteModelUploadWithResponse Complete Model Upload

Complete an upload session: verify -> promote -> register -> dispatch.

Contract: a 200 means the COMPLETE REQUEST was processed — not that the session succeeded. Verification/promotion failures are session state: the response carries `state="FAILED"` plus a machine `failure_code` (`file_missing:<id>`, `size_mismatch:<id>`, `crc32c_mismatch:<id>`, `staging_mutated:<id>`). Request-level errors are reserved for sessions that cannot accept a complete at all (CANCELED/EXPIRED/FAILED -> 409).

Idempotent: repeating the call (same `Idempotency-Key` or not) while the session is VERIFYING/DISPATCH_PENDING/CONVERTING replays the current state without re-verifying and without double-dispatching; a replay on DISPATCH_PENDING retries a failed conversion trigger.

Session expiry is deliberately not checked here: an expired session the cleanup sweep has not processed yet may still complete (the sweep re-checks state under a lock, so the race resolves to one winner).

If the account's conversion quota is exhausted the request returns the standard 429 `rate_limit_error`: the conversion has NOT started and the session stays DISPATCH_PENDING — complete again after resolving the quota to retry the dispatch.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id}/complete (the `CompleteModelUpload` operationId).

func (*ClientWithResponses) CreateDownloadAuthorizationWithResponse

func (c *ClientWithResponses) CreateDownloadAuthorizationWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, targetId string, params *CreateDownloadAuthorizationParams, reqEditors ...RequestEditorFn) (*CreateDownloadAuthorizationResult, error)

CreateDownloadAuthorizationWithResponse Create Download Authorization

Authorize downloading a converted target's artifacts (BILLABLE).

Charges the target's aggregate `download_size` against the CALLER's bandwidth quota — also for public models owned by others. Over quota is a 429 with nothing charged and no row created. Returns signed GET URLs valid until `expires_at` (about one hour).

With an `Idempotency-Key`, replaying returns the original authorization (200) with fresh URLs and does NOT charge again; without one, EVERY call charges. The key is scoped to the caller's account; reusing it for a different target is a 409.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/{model_key}/targets/{target_id}/download-authorizations (the `CreateDownloadAuthorization` operationId).

func (*ClientWithResponses) CreateModelUploadWithBodyWithResponse

func (c *ClientWithResponses) CreateModelUploadWithBodyWithResponse(ctx context.Context, accountName string, repoName string, params *CreateModelUploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateModelUploadResult, error)

CreateModelUploadWithBodyWithResponse Create Model Upload

Open an upload session from a v2 manifest.

Returns 201 with server-assigned canonical paths and resumable upload URLs; an `Idempotency-Key` replay of the same manifest returns the original session with 200.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/repos/{account_name}/{repo_name}/models (the `CreateModelUpload` operationId).

func (*ClientWithResponses) CreateModelUploadWithResponse

func (c *ClientWithResponses) CreateModelUploadWithResponse(ctx context.Context, accountName string, repoName string, params *CreateModelUploadParams, body CreateModelUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateModelUploadResult, error)

CreateModelUploadWithResponse Create Model Upload

Open an upload session from a v2 manifest.

Returns 201 with server-assigned canonical paths and resumable upload URLs; an `Idempotency-Key` replay of the same manifest returns the original session with 200.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/repos/{account_name}/{repo_name}/models (the `CreateModelUpload` operationId).

func (*ClientWithResponses) CreateRepoWithBodyWithResponse

func (c *ClientWithResponses) CreateRepoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRepoResult, error)

CreateRepoWithBodyWithResponse Create Repo

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/repos (the `CreateRepo` operationId).

func (*ClientWithResponses) CreateRepoWithResponse

func (c *ClientWithResponses) CreateRepoWithResponse(ctx context.Context, body CreateRepoJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRepoResult, error)

CreateRepoWithResponse Create Repo

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/repos (the `CreateRepo` operationId).

func (*ClientWithResponses) DeleteRepoWithResponse

func (c *ClientWithResponses) DeleteRepoWithResponse(ctx context.Context, accountName string, repoName string, reqEditors ...RequestEditorFn) (*DeleteRepoResult, error)

DeleteRepoWithResponse Delete Repo

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/repos/{account_name}/{repo_name} (the `DeleteRepo` operationId).

func (*ClientWithResponses) GetBillingPlanWithResponse added in v0.2.0

func (c *ClientWithResponses) GetBillingPlanWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBillingPlanResult, error)

GetBillingPlanWithResponse Get Billing Plan

Effective billing plan for the token's account.

`plan` is the entitlement tier quotas derive from (a trial grant reports the granted tier with `is_trial: true`). Use `/usage/quotas` for the per-counter headroom.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/billing/plan (the `GetBillingPlan` operationId).

func (*ClientWithResponses) GetDeploymentGuideWithResponse

func (c *ClientWithResponses) GetDeploymentGuideWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, params *GetDeploymentGuideParams, reqEditors ...RequestEditorFn) (*GetDeploymentGuideResult, error)

GetDeploymentGuideWithResponse Get Deployment Guide

Exact SDK install/use guide for one contained, visible model.

The credential is always a fixed placeholder. The request PAT, internal debug tokens, storage paths, and producer metadata are never inputs.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/deployment-guide (the `GetDeploymentGuide` operationId).

func (*ClientWithResponses) GetDeploymentOptionsWithResponse

func (c *ClientWithResponses) GetDeploymentOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDeploymentOptionsResult, error)

GetDeploymentOptionsWithResponse Get Deployment Options

Supported deterministic guide selectors. React Native is excluded.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/deployment/options (the `GetDeploymentOptions` operationId).

func (*ClientWithResponses) GetGeneralReportWithResponse

func (c *ClientWithResponses) GetGeneralReportWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*GetGeneralReportResult, error)

GetGeneralReportWithResponse Get General Report

Raw general benchmark measurements for a model, one record per (device, run, metric), with a per-precision summary the dashboard's headline numbers derive from. 404 when the model has no general report. Derivation rules are versioned via `derivation_version`.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/reports/general (the `GetGeneralReport` operationId).

func (*ClientWithResponses) GetLibraryModelWithResponse

func (c *ClientWithResponses) GetLibraryModelWithResponse(ctx context.Context, accountName string, repoName string, reqEditors ...RequestEditorFn) (*GetLibraryModelResult, error)

GetLibraryModelWithResponse Get Library Model

A single PUBLIC library model, with its readme.

Resolves public repos only: a private repo is a 404 here EVEN FOR ITS OWNER (use `/v1/repos/{account_name}/{repo_name}` for that), so this route never confirms a private repo's existence.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/library/models/{account_name}/{repo_name} (the `GetLibraryModel` operationId).

func (*ClientWithResponses) GetLlmReportWithResponse

func (c *ClientWithResponses) GetLlmReportWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*GetLlmReportResult, error)

GetLlmReportWithResponse Get Llm Report

Raw LLM benchmark measurements (per-device generation metrics plus server-side accuracy scores per dataset) with per-quant summary aggregates. 404 when the model has no LLM report.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/reports/llm (the `GetLlmReport` operationId).

func (*ClientWithResponses) GetMeWithResponse

func (c *ClientWithResponses) GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeResult, error)

GetMeWithResponse Get Me

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/me (the `GetMe` operationId).

func (*ClientWithResponses) GetModelStatusWithResponse

func (c *ClientWithResponses) GetModelStatusWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*GetModelStatusResult, error)

GetModelStatusWithResponse Get Model Status

Public conversion status of a model (the CLI `--wait` poll target).

`download_ready` follows `ModelStatus.available()` — the same condition internal download paths gate on: a model is downloadable once converted (OPTIMIZING), even while benchmarking is still running.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/status (the `GetModelStatus` operationId).

func (*ClientWithResponses) GetModelUploadWithResponse

func (c *ClientWithResponses) GetModelUploadWithResponse(ctx context.Context, accountName string, repoName string, uploadId string, reqEditors ...RequestEditorFn) (*GetModelUploadResult, error)

GetModelUploadWithResponse Get Model Upload

Session detail with per-file staging arrival (one storage list call).

Requires repository owner or JOINED WRITE-collaborator access even though the PAT scope is READ; private-repo visibility failures remain 404.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id} (the `GetModelUpload` operationId).

func (*ClientWithResponses) GetModelWithResponse

func (c *ClientWithResponses) GetModelWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*GetModelResult, error)

GetModelWithResponse Get Model

Public detail of a model within a visible repo (containment: a key that exists in another repo is a 404, not a leak).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key} (the `GetModel` operationId).

func (*ClientWithResponses) GetPackageReportWithResponse

func (c *ClientWithResponses) GetPackageReportWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*GetPackageReportResult, error)

GetPackageReportWithResponse Get Package Report

Raw ZTC package benchmark measurements, one record per (device environment, run configuration, metric), with per-mode summary aggregates. 404 when the model has no package benchmark results.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/reports/package (the `GetPackageReport` operationId).

func (*ClientWithResponses) GetRepoWithResponse

func (c *ClientWithResponses) GetRepoWithResponse(ctx context.Context, accountName string, repoName string, reqEditors ...RequestEditorFn) (*GetRepoResult, error)

GetRepoWithResponse Get Repo

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/repos/{account_name}/{repo_name} (the `GetRepo` operationId).

func (*ClientWithResponses) GetUsageQuotasWithResponse

func (c *ClientWithResponses) GetUsageQuotasWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUsageQuotasResult, error)

GetUsageQuotasWithResponse Get Usage Quotas

Usage against the account's plan quotas.

Each counter reports `{used, limit, remaining}`; null means unlimited. `remaining` is what enforcement would allow right now (spike headroom included, floored at 0) — preflight on `remaining`, not `limit - used`.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/usage/quotas (the `GetUsageQuotas` operationId).

func (*ClientWithResponses) GetUsageWithResponse

func (c *ClientWithResponses) GetUsageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUsageResult, error)

GetUsageWithResponse Get Usage

Current-month usage totals for the token's account (`bandwidth` in bytes, the rest counts).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/usage (the `GetUsage` operationId).

func (*ClientWithResponses) ImportModelWithBodyWithResponse

func (c *ClientWithResponses) ImportModelWithBodyWithResponse(ctx context.Context, accountName string, repoName string, params *ImportModelParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportModelResult, error)

ImportModelWithBodyWithResponse Import Model

Register an LLM model from a public HuggingFace repo.

Returns 201 with the created model reference; conversion continues asynchronously (poll `get_model_status`). An `Idempotency-Key` replay of the same body returns the original model with 200. The repository must have `model_type` "llm".

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/import (the `ImportModel` operationId).

func (*ClientWithResponses) ImportModelWithResponse

func (c *ClientWithResponses) ImportModelWithResponse(ctx context.Context, accountName string, repoName string, params *ImportModelParams, body ImportModelJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportModelResult, error)

ImportModelWithResponse Import Model

Register an LLM model from a public HuggingFace repo.

Returns 201 with the created model reference; conversion continues asynchronously (poll `get_model_status`). An `Idempotency-Key` replay of the same body returns the original model with 200. The repository must have `model_type` "llm".

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/import (the `ImportModel` operationId).

func (*ClientWithResponses) ListLibraryModelsWithResponse

func (c *ClientWithResponses) ListLibraryModelsWithResponse(ctx context.Context, params *ListLibraryModelsParams, reqEditors ...RequestEditorFn) (*ListLibraryModelsResult, error)

ListLibraryModelsWithResponse List Library Models

Browse the public model library, newest first.

Results are ordered by created_at descending, then id descending.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/library/models (the `ListLibraryModels` operationId).

func (*ClientWithResponses) ListLibraryProvidersWithResponse

func (c *ClientWithResponses) ListLibraryProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLibraryProvidersResult, error)

ListLibraryProvidersWithResponse List Library Providers

Providers (companies) with at least one public library model.

Item shape is the internal companies list thinned to its public parts (`name`, `logo_url`) plus `model_count` — the number of public library models the provider has published. Ordered by name, as the internal dropdown source is.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/library/providers (the `ListLibraryProviders` operationId).

func (*ClientWithResponses) ListModelTargetsWithResponse

func (c *ClientWithResponses) ListModelTargetsWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*ListModelTargetsResult, error)

ListModelTargetsWithResponse List Model Targets

Converted target artifacts of a model, newest first (created_at descending, then id descending — same stable ordering as every /v1 list). `target_id` is opaque; soft-deleted rows are excluded.

Results are ordered by created_at descending, then id descending.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/targets (the `ListModelTargets` operationId).

func (*ClientWithResponses) ListModelUploadsWithResponse

func (c *ClientWithResponses) ListModelUploadsWithResponse(ctx context.Context, accountName string, repoName string, reqEditors ...RequestEditorFn) (*ListModelUploadsResult, error)

ListModelUploadsWithResponse List Model Uploads

Active + recent (last 10) upload sessions for the repo.

Requires repository owner or JOINED WRITE-collaborator access even though the PAT scope is READ; upload metadata is not public-repo browse data. Fixed small window, so no pagination on purpose.

Results are ordered by created_at descending, then id descending.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/uploads (the `ListModelUploads` operationId).

func (*ClientWithResponses) ListModelsWithResponse

func (c *ClientWithResponses) ListModelsWithResponse(ctx context.Context, accountName string, repoName string, params *ListModelsParams, reqEditors ...RequestEditorFn) (*ListModelsResult, error)

ListModelsWithResponse List Models

Models of a visible repo, newest first.

Reuses the internal listing semantics (`CommonModelService.get_list`: excludes soft-deleted rows and half-created rows without a source) with the public contract's explicit stable ordering.

Results are ordered by created_at descending, then id descending.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/repos/{account_name}/{repo_name}/models (the `ListModels` operationId).

func (*ClientWithResponses) ListReposWithResponse

func (c *ClientWithResponses) ListReposWithResponse(ctx context.Context, params *ListReposParams, reqEditors ...RequestEditorFn) (*ListReposResult, error)

ListReposWithResponse List Repos

Results are ordered by created_at descending, then id descending.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/repos (the `ListRepos` operationId).

func (*ClientWithResponses) ReissueUploadFilesWithBodyWithResponse

func (c *ClientWithResponses) ReissueUploadFilesWithBodyWithResponse(ctx context.Context, accountName string, repoName string, uploadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReissueUploadFilesResult, error)

ReissueUploadFilesWithBodyWithResponse Reissue Upload Files

Fresh resumable upload URLs for declared files of an UPLOADING session.

Reissue deliberately has no idempotency-key contract: every accepted call mints fresh, short-lived credentials for the same staging objects.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id}/files (the `ReissueUploadFiles` operationId).

func (*ClientWithResponses) ReissueUploadFilesWithResponse

func (c *ClientWithResponses) ReissueUploadFilesWithResponse(ctx context.Context, accountName string, repoName string, uploadId string, body ReissueUploadFilesJSONRequestBody, reqEditors ...RequestEditorFn) (*ReissueUploadFilesResult, error)

ReissueUploadFilesWithResponse Reissue Upload Files

Fresh resumable upload URLs for declared files of an UPLOADING session.

Reissue deliberately has no idempotency-key contract: every accepted call mints fresh, short-lived credentials for the same staging objects.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id}/files (the `ReissueUploadFiles` operationId).

func (*ClientWithResponses) SetDefaultModelWithResponse

func (c *ClientWithResponses) SetDefaultModelWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*SetDefaultModelResult, error)

SetDefaultModelWithResponse Set Default Model

Make this model the repo's default (idempotent: repeating the call returns 200 with the same result). Reuses the internal set-default service — exactly one model per repo ends up with `is_default`.

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/repos/{account_name}/{repo_name}/models/{model_key}/default (the `SetDefaultModel` operationId).

func (*ClientWithResponses) UpdateRepoWithBodyWithResponse

func (c *ClientWithResponses) UpdateRepoWithBodyWithResponse(ctx context.Context, accountName string, repoName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRepoResult, error)

UpdateRepoWithBodyWithResponse Update Repo

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v1/repos/{account_name}/{repo_name} (the `UpdateRepo` operationId).

func (*ClientWithResponses) UpdateRepoWithResponse

func (c *ClientWithResponses) UpdateRepoWithResponse(ctx context.Context, accountName string, repoName string, body UpdateRepoJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRepoResult, error)

UpdateRepoWithResponse Update Repo

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v1/repos/{account_name}/{repo_name} (the `UpdateRepo` operationId).

func (*ClientWithResponses) ZeticPublicProjectsCreateProjectWithBodyWithResponse deprecated

func (c *ClientWithResponses) ZeticPublicProjectsCreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ZeticPublicProjectsCreateProjectResult, error)

ZeticPublicProjectsCreateProjectWithBodyWithResponse Create Project

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/projects (the `ZeticPublicProjectsCreateProject` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) ZeticPublicProjectsCreateProjectWithResponse

func (c *ClientWithResponses) ZeticPublicProjectsCreateProjectWithResponse(ctx context.Context, body ZeticPublicProjectsCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ZeticPublicProjectsCreateProjectResult, error)

ZeticPublicProjectsCreateProjectWithResponse Create Project

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/projects (the `ZeticPublicProjectsCreateProject` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) ZeticPublicProjectsDeleteProjectWithResponse deprecated

func (c *ClientWithResponses) ZeticPublicProjectsDeleteProjectWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*ZeticPublicProjectsDeleteProjectResult, error)

ZeticPublicProjectsDeleteProjectWithResponse Delete Project

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/projects/{project_name} (the `ZeticPublicProjectsDeleteProject` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) ZeticPublicUploadsCancelUploadWithResponse deprecated

func (c *ClientWithResponses) ZeticPublicUploadsCancelUploadWithResponse(ctx context.Context, projectName string, uploadId string, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsCancelUploadResult, error)

ZeticPublicUploadsCancelUploadWithResponse Cancel Upload

Cancel an in-flight upload; deletes the row and best-effort removes GCS objects.

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/projects/{project_name}/uploads/{upload_id} (the `ZeticPublicUploadsCancelUpload` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) ZeticPublicUploadsCompleteUploadWithBodyWithResponse deprecated

func (c *ClientWithResponses) ZeticPublicUploadsCompleteUploadWithBodyWithResponse(ctx context.Context, projectName string, uploadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsCompleteUploadResult, error)

ZeticPublicUploadsCompleteUploadWithBodyWithResponse Complete Upload

Complete the upload: validates files arrived, transitions to CONVERTING, and kicks off the pipeline.

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/projects/{project_name}/uploads/{upload_id}/complete (the `ZeticPublicUploadsCompleteUpload` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) ZeticPublicUploadsCompleteUploadWithResponse

func (c *ClientWithResponses) ZeticPublicUploadsCompleteUploadWithResponse(ctx context.Context, projectName string, uploadId string, body ZeticPublicUploadsCompleteUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsCompleteUploadResult, error)

ZeticPublicUploadsCompleteUploadWithResponse Complete Upload

Complete the upload: validates files arrived, transitions to CONVERTING, and kicks off the pipeline.

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/projects/{project_name}/uploads/{upload_id}/complete (the `ZeticPublicUploadsCompleteUpload` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) ZeticPublicUploadsCreateUploadWithBodyWithResponse deprecated

func (c *ClientWithResponses) ZeticPublicUploadsCreateUploadWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsCreateUploadResult, error)

ZeticPublicUploadsCreateUploadWithBodyWithResponse Create Upload

Start an upload session. Returns presigned PUT URLs for each requested file.

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/projects/{project_name}/uploads (the `ZeticPublicUploadsCreateUpload` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) ZeticPublicUploadsCreateUploadWithResponse

func (c *ClientWithResponses) ZeticPublicUploadsCreateUploadWithResponse(ctx context.Context, projectName string, body ZeticPublicUploadsCreateUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsCreateUploadResult, error)

ZeticPublicUploadsCreateUploadWithResponse Create Upload

Start an upload session. Returns presigned PUT URLs for each requested file.

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/projects/{project_name}/uploads (the `ZeticPublicUploadsCreateUpload` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) ZeticPublicUploadsGetUploadWithResponse deprecated

func (c *ClientWithResponses) ZeticPublicUploadsGetUploadWithResponse(ctx context.Context, projectName string, uploadId string, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsGetUploadResult, error)

ZeticPublicUploadsGetUploadWithResponse Get Upload

Return per-file arrival status for the upload session.

After complete, the row's source is populated; clients should switch to `GET /versions/{id}` at that point. We still serve this endpoint with the file list for traceability.

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/projects/{project_name}/uploads/{upload_id} (the `ZeticPublicUploadsGetUpload` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) ZeticPublicUploadsListActiveUploadsWithResponse deprecated

func (c *ClientWithResponses) ZeticPublicUploadsListActiveUploadsWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsListActiveUploadsResult, error)

ZeticPublicUploadsListActiveUploadsWithResponse List Active Uploads

List active (source IS NULL) upload sessions for the project.

Clients should call this before starting a new upload to detect an in-flight session and offer recovery options (status, cancel, resume).

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/projects/{project_name}/uploads (the `ZeticPublicUploadsListActiveUploads` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) ZeticPublicUploadsReissueUploadUrlsWithBodyWithResponse deprecated

func (c *ClientWithResponses) ZeticPublicUploadsReissueUploadUrlsWithBodyWithResponse(ctx context.Context, projectName string, uploadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsReissueUploadUrlsResult, error)

ZeticPublicUploadsReissueUploadUrlsWithBodyWithResponse Reissue Upload Urls

Re-issue presigned PUT URLs for paths declared at session creation.

Use when a previously-issued URL has expired and the client wants to retry upload of the same file. Paths not declared at creation are rejected.

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/projects/{project_name}/uploads/{upload_id}/files (the `ZeticPublicUploadsReissueUploadUrls` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) ZeticPublicUploadsReissueUploadUrlsWithResponse

func (c *ClientWithResponses) ZeticPublicUploadsReissueUploadUrlsWithResponse(ctx context.Context, projectName string, uploadId string, body ZeticPublicUploadsReissueUploadUrlsJSONRequestBody, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsReissueUploadUrlsResult, error)

ZeticPublicUploadsReissueUploadUrlsWithResponse Reissue Upload Urls

Re-issue presigned PUT URLs for paths declared at session creation.

Use when a previously-issued URL has expired and the client wants to retry upload of the same file. Paths not declared at creation are rejected.

Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/projects/{project_name}/uploads/{upload_id}/files (the `ZeticPublicUploadsReissueUploadUrls` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// GetBillingPlanWithResponse Get Billing Plan
	//
	// Effective billing plan for the token's account.
	//
	// `plan` is the entitlement tier quotas derive from (a trial grant reports
	// the granted tier with `is_trial: true`). Use `/usage/quotas` for the
	// per-counter headroom.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/billing/plan (the `GetBillingPlan` operationId).
	GetBillingPlanWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBillingPlanResult, error)

	// GetDeploymentOptionsWithResponse Get Deployment Options
	//
	// Supported deterministic guide selectors. React Native is excluded.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/deployment/options (the `GetDeploymentOptions` operationId).
	GetDeploymentOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDeploymentOptionsResult, error)

	// ListLibraryModelsWithResponse List Library Models
	//
	// Browse the public model library, newest first.
	//
	// Results are ordered by created_at descending, then id descending.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/library/models (the `ListLibraryModels` operationId).
	ListLibraryModelsWithResponse(ctx context.Context, params *ListLibraryModelsParams, reqEditors ...RequestEditorFn) (*ListLibraryModelsResult, error)

	// GetLibraryModelWithResponse Get Library Model
	//
	// A single PUBLIC library model, with its readme.
	//
	// Resolves public repos only: a private repo is a 404 here EVEN FOR ITS
	// OWNER (use `/v1/repos/{account_name}/{repo_name}` for that), so this
	// route never confirms a private repo's existence.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/library/models/{account_name}/{repo_name} (the `GetLibraryModel` operationId).
	GetLibraryModelWithResponse(ctx context.Context, accountName string, repoName string, reqEditors ...RequestEditorFn) (*GetLibraryModelResult, error)

	// ListLibraryProvidersWithResponse List Library Providers
	//
	// Providers (companies) with at least one public library model.
	//
	// Item shape is the internal companies list thinned to its public parts
	// (`name`, `logo_url`) plus `model_count` — the number of public library
	// models the provider has published. Ordered by name, as the internal
	// dropdown source is.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/library/providers (the `ListLibraryProviders` operationId).
	ListLibraryProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLibraryProvidersResult, error)

	// GetMeWithResponse Get Me
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/me (the `GetMe` operationId).
	GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeResult, error)

	// ZeticPublicProjectsCreateProjectWithBodyWithResponse Create Project
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/projects (the `ZeticPublicProjectsCreateProject` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicProjectsCreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ZeticPublicProjectsCreateProjectResult, error)

	// ZeticPublicProjectsCreateProjectWithResponse Create Project
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/projects (the `ZeticPublicProjectsCreateProject` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicProjectsCreateProjectWithResponse(ctx context.Context, body ZeticPublicProjectsCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ZeticPublicProjectsCreateProjectResult, error)

	// ZeticPublicProjectsDeleteProjectWithResponse Delete Project
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/projects/{project_name} (the `ZeticPublicProjectsDeleteProject` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicProjectsDeleteProjectWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*ZeticPublicProjectsDeleteProjectResult, error)

	// ZeticPublicUploadsListActiveUploadsWithResponse List Active Uploads
	//
	// List active (source IS NULL) upload sessions for the project.
	//
	// Clients should call this before starting a new upload to detect an
	// in-flight session and offer recovery options (status, cancel, resume).
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/projects/{project_name}/uploads (the `ZeticPublicUploadsListActiveUploads` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsListActiveUploadsWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsListActiveUploadsResult, error)

	// ZeticPublicUploadsCreateUploadWithBodyWithResponse Create Upload
	//
	// Start an upload session. Returns presigned PUT URLs for each requested file.
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/projects/{project_name}/uploads (the `ZeticPublicUploadsCreateUpload` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsCreateUploadWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsCreateUploadResult, error)

	// ZeticPublicUploadsCreateUploadWithResponse Create Upload
	//
	// Start an upload session. Returns presigned PUT URLs for each requested file.
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/projects/{project_name}/uploads (the `ZeticPublicUploadsCreateUpload` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsCreateUploadWithResponse(ctx context.Context, projectName string, body ZeticPublicUploadsCreateUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsCreateUploadResult, error)

	// ZeticPublicUploadsCancelUploadWithResponse Cancel Upload
	//
	// Cancel an in-flight upload; deletes the row and best-effort removes GCS objects.
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/projects/{project_name}/uploads/{upload_id} (the `ZeticPublicUploadsCancelUpload` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsCancelUploadWithResponse(ctx context.Context, projectName string, uploadId string, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsCancelUploadResult, error)

	// ZeticPublicUploadsGetUploadWithResponse Get Upload
	//
	// Return per-file arrival status for the upload session.
	//
	// After complete, the row's source is populated; clients
	// should switch to `GET /versions/{id}` at that point. We still serve this
	// endpoint with the file list for traceability.
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/projects/{project_name}/uploads/{upload_id} (the `ZeticPublicUploadsGetUpload` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsGetUploadWithResponse(ctx context.Context, projectName string, uploadId string, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsGetUploadResult, error)

	// ZeticPublicUploadsCompleteUploadWithBodyWithResponse Complete Upload
	//
	// Complete the upload: validates files arrived, transitions to CONVERTING, and kicks off the pipeline.
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/projects/{project_name}/uploads/{upload_id}/complete (the `ZeticPublicUploadsCompleteUpload` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsCompleteUploadWithBodyWithResponse(ctx context.Context, projectName string, uploadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsCompleteUploadResult, error)

	// ZeticPublicUploadsCompleteUploadWithResponse Complete Upload
	//
	// Complete the upload: validates files arrived, transitions to CONVERTING, and kicks off the pipeline.
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/projects/{project_name}/uploads/{upload_id}/complete (the `ZeticPublicUploadsCompleteUpload` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsCompleteUploadWithResponse(ctx context.Context, projectName string, uploadId string, body ZeticPublicUploadsCompleteUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsCompleteUploadResult, error)

	// ZeticPublicUploadsReissueUploadUrlsWithBodyWithResponse Reissue Upload Urls
	//
	// Re-issue presigned PUT URLs for paths declared at session creation.
	//
	// Use when a previously-issued URL has expired and the client wants to retry
	// upload of the same file. Paths not declared at creation are rejected.
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/projects/{project_name}/uploads/{upload_id}/files (the `ZeticPublicUploadsReissueUploadUrls` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsReissueUploadUrlsWithBodyWithResponse(ctx context.Context, projectName string, uploadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsReissueUploadUrlsResult, error)

	// ZeticPublicUploadsReissueUploadUrlsWithResponse Reissue Upload Urls
	//
	// Re-issue presigned PUT URLs for paths declared at session creation.
	//
	// Use when a previously-issued URL has expired and the client wants to retry
	// upload of the same file. Paths not declared at creation are rejected.
	//
	// Deprecated legacy endpoint: use the `/v1/repos` successor operations instead.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/projects/{project_name}/uploads/{upload_id}/files (the `ZeticPublicUploadsReissueUploadUrls` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ZeticPublicUploadsReissueUploadUrlsWithResponse(ctx context.Context, projectName string, uploadId string, body ZeticPublicUploadsReissueUploadUrlsJSONRequestBody, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsReissueUploadUrlsResult, error)

	// ListReposWithResponse List Repos
	//
	// Results are ordered by created_at descending, then id descending.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/repos (the `ListRepos` operationId).
	ListReposWithResponse(ctx context.Context, params *ListReposParams, reqEditors ...RequestEditorFn) (*ListReposResult, error)

	// CreateRepoWithBodyWithResponse Create Repo
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/repos (the `CreateRepo` operationId).
	CreateRepoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRepoResult, error)

	// CreateRepoWithResponse Create Repo
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/repos (the `CreateRepo` operationId).
	CreateRepoWithResponse(ctx context.Context, body CreateRepoJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRepoResult, error)

	// DeleteRepoWithResponse Delete Repo
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/repos/{account_name}/{repo_name} (the `DeleteRepo` operationId).
	DeleteRepoWithResponse(ctx context.Context, accountName string, repoName string, reqEditors ...RequestEditorFn) (*DeleteRepoResult, error)

	// GetRepoWithResponse Get Repo
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name} (the `GetRepo` operationId).
	GetRepoWithResponse(ctx context.Context, accountName string, repoName string, reqEditors ...RequestEditorFn) (*GetRepoResult, error)

	// UpdateRepoWithBodyWithResponse Update Repo
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v1/repos/{account_name}/{repo_name} (the `UpdateRepo` operationId).
	UpdateRepoWithBodyWithResponse(ctx context.Context, accountName string, repoName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRepoResult, error)

	// UpdateRepoWithResponse Update Repo
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v1/repos/{account_name}/{repo_name} (the `UpdateRepo` operationId).
	UpdateRepoWithResponse(ctx context.Context, accountName string, repoName string, body UpdateRepoJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRepoResult, error)

	// ListModelsWithResponse List Models
	//
	// Models of a visible repo, newest first.
	//
	// Reuses the internal listing semantics (`CommonModelService.get_list`:
	// excludes soft-deleted rows and half-created rows without a source) with
	// the public contract's explicit stable ordering.
	//
	// Results are ordered by created_at descending, then id descending.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models (the `ListModels` operationId).
	ListModelsWithResponse(ctx context.Context, accountName string, repoName string, params *ListModelsParams, reqEditors ...RequestEditorFn) (*ListModelsResult, error)

	// CreateModelUploadWithBodyWithResponse Create Model Upload
	//
	// Open an upload session from a v2 manifest.
	//
	// Returns 201 with server-assigned canonical paths and resumable upload
	// URLs; an `Idempotency-Key` replay of the same manifest returns the
	// original session with 200.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/repos/{account_name}/{repo_name}/models (the `CreateModelUpload` operationId).
	CreateModelUploadWithBodyWithResponse(ctx context.Context, accountName string, repoName string, params *CreateModelUploadParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateModelUploadResult, error)

	// CreateModelUploadWithResponse Create Model Upload
	//
	// Open an upload session from a v2 manifest.
	//
	// Returns 201 with server-assigned canonical paths and resumable upload
	// URLs; an `Idempotency-Key` replay of the same manifest returns the
	// original session with 200.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/repos/{account_name}/{repo_name}/models (the `CreateModelUpload` operationId).
	CreateModelUploadWithResponse(ctx context.Context, accountName string, repoName string, params *CreateModelUploadParams, body CreateModelUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateModelUploadResult, error)

	// ImportModelWithBodyWithResponse Import Model
	//
	// Register an LLM model from a public HuggingFace repo.
	//
	// Returns 201 with the created model reference; conversion continues
	// asynchronously (poll `get_model_status`). An `Idempotency-Key` replay of
	// the same body returns the original model with 200. The repository must
	// have `model_type` "llm".
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/import (the `ImportModel` operationId).
	ImportModelWithBodyWithResponse(ctx context.Context, accountName string, repoName string, params *ImportModelParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportModelResult, error)

	// ImportModelWithResponse Import Model
	//
	// Register an LLM model from a public HuggingFace repo.
	//
	// Returns 201 with the created model reference; conversion continues
	// asynchronously (poll `get_model_status`). An `Idempotency-Key` replay of
	// the same body returns the original model with 200. The repository must
	// have `model_type` "llm".
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/import (the `ImportModel` operationId).
	ImportModelWithResponse(ctx context.Context, accountName string, repoName string, params *ImportModelParams, body ImportModelJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportModelResult, error)

	// ListModelUploadsWithResponse List Model Uploads
	//
	// Active + recent (last 10) upload sessions for the repo.
	//
	// Requires repository owner or JOINED WRITE-collaborator access even though
	// the PAT scope is READ; upload metadata is not public-repo browse data.
	// Fixed small window, so no pagination on purpose.
	//
	// Results are ordered by created_at descending, then id descending.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/uploads (the `ListModelUploads` operationId).
	ListModelUploadsWithResponse(ctx context.Context, accountName string, repoName string, reqEditors ...RequestEditorFn) (*ListModelUploadsResult, error)

	// CancelModelUploadWithResponse Cancel Model Upload
	//
	// Cancel a pre-completion session (idempotent); cleanup is best-effort.
	//
	// Only CREATED and UPLOADING are cancelable. Once completion has claimed
	// VERIFYING, cancellation returns 409 so it cannot delete staging while a
	// verifier/promoter or the durable dispatch retry path owns the session.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id} (the `CancelModelUpload` operationId).
	CancelModelUploadWithResponse(ctx context.Context, accountName string, repoName string, uploadId string, params *CancelModelUploadParams, reqEditors ...RequestEditorFn) (*CancelModelUploadResult, error)

	// GetModelUploadWithResponse Get Model Upload
	//
	// Session detail with per-file staging arrival (one storage list call).
	//
	// Requires repository owner or JOINED WRITE-collaborator access even though
	// the PAT scope is READ; private-repo visibility failures remain 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id} (the `GetModelUpload` operationId).
	GetModelUploadWithResponse(ctx context.Context, accountName string, repoName string, uploadId string, reqEditors ...RequestEditorFn) (*GetModelUploadResult, error)

	// CompleteModelUploadWithResponse Complete Model Upload
	//
	// Complete an upload session: verify -> promote -> register -> dispatch.
	//
	// Contract: a 200 means the COMPLETE REQUEST was processed — not that the
	// session succeeded. Verification/promotion failures are session state:
	// the response carries `state="FAILED"` plus a machine `failure_code`
	// (`file_missing:<id>`, `size_mismatch:<id>`, `crc32c_mismatch:<id>`,
	// `staging_mutated:<id>`). Request-level errors are reserved for sessions
	// that cannot accept a complete at all (CANCELED/EXPIRED/FAILED -> 409).
	//
	// Idempotent: repeating the call (same `Idempotency-Key` or not) while the
	// session is VERIFYING/DISPATCH_PENDING/CONVERTING replays the current
	// state without re-verifying and without double-dispatching; a replay on
	// DISPATCH_PENDING retries a failed conversion trigger.
	//
	// Session expiry is deliberately not checked here: an expired session the
	// cleanup sweep has not processed yet may still complete (the sweep
	// re-checks state under a lock, so the race resolves to one winner).
	//
	// If the account's conversion quota is exhausted the request returns the
	// standard 429 `rate_limit_error`: the conversion has NOT started and the
	// session stays DISPATCH_PENDING — complete again after resolving the
	// quota to retry the dispatch.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id}/complete (the `CompleteModelUpload` operationId).
	CompleteModelUploadWithResponse(ctx context.Context, accountName string, repoName string, uploadId string, params *CompleteModelUploadParams, reqEditors ...RequestEditorFn) (*CompleteModelUploadResult, error)

	// ReissueUploadFilesWithBodyWithResponse Reissue Upload Files
	//
	// Fresh resumable upload URLs for declared files of an UPLOADING session.
	//
	// Reissue deliberately has no idempotency-key contract: every accepted
	// call mints fresh, short-lived credentials for the same staging objects.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id}/files (the `ReissueUploadFiles` operationId).
	ReissueUploadFilesWithBodyWithResponse(ctx context.Context, accountName string, repoName string, uploadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReissueUploadFilesResult, error)

	// ReissueUploadFilesWithResponse Reissue Upload Files
	//
	// Fresh resumable upload URLs for declared files of an UPLOADING session.
	//
	// Reissue deliberately has no idempotency-key contract: every accepted
	// call mints fresh, short-lived credentials for the same staging objects.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/uploads/{upload_id}/files (the `ReissueUploadFiles` operationId).
	ReissueUploadFilesWithResponse(ctx context.Context, accountName string, repoName string, uploadId string, body ReissueUploadFilesJSONRequestBody, reqEditors ...RequestEditorFn) (*ReissueUploadFilesResult, error)

	// GetModelWithResponse Get Model
	//
	// Public detail of a model within a visible repo (containment: a key
	// that exists in another repo is a 404, not a leak).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key} (the `GetModel` operationId).
	GetModelWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*GetModelResult, error)

	// SetDefaultModelWithResponse Set Default Model
	//
	// Make this model the repo's default (idempotent: repeating the call
	// returns 200 with the same result). Reuses the internal set-default
	// service — exactly one model per repo ends up with `is_default`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/repos/{account_name}/{repo_name}/models/{model_key}/default (the `SetDefaultModel` operationId).
	SetDefaultModelWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*SetDefaultModelResult, error)

	// GetDeploymentGuideWithResponse Get Deployment Guide
	//
	// Exact SDK install/use guide for one contained, visible model.
	//
	// The credential is always a fixed placeholder. The request PAT, internal
	// debug tokens, storage paths, and producer metadata are never inputs.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/deployment-guide (the `GetDeploymentGuide` operationId).
	GetDeploymentGuideWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, params *GetDeploymentGuideParams, reqEditors ...RequestEditorFn) (*GetDeploymentGuideResult, error)

	// GetGeneralReportWithResponse Get General Report
	//
	// Raw general benchmark measurements for a model, one record per
	// (device, run, metric), with a per-precision summary the dashboard's
	// headline numbers derive from. 404 when the model has no general
	// report. Derivation rules are versioned via `derivation_version`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/reports/general (the `GetGeneralReport` operationId).
	GetGeneralReportWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*GetGeneralReportResult, error)

	// GetLlmReportWithResponse Get Llm Report
	//
	// Raw LLM benchmark measurements (per-device generation metrics plus
	// server-side accuracy scores per dataset) with per-quant summary
	// aggregates. 404 when the model has no LLM report.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/reports/llm (the `GetLlmReport` operationId).
	GetLlmReportWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*GetLlmReportResult, error)

	// GetPackageReportWithResponse Get Package Report
	//
	// Raw ZTC package benchmark measurements, one record per (device
	// environment, run configuration, metric), with per-mode summary
	// aggregates. 404 when the model has no package benchmark results.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/reports/package (the `GetPackageReport` operationId).
	GetPackageReportWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*GetPackageReportResult, error)

	// GetModelStatusWithResponse Get Model Status
	//
	// Public conversion status of a model (the CLI `--wait` poll target).
	//
	// `download_ready` follows `ModelStatus.available()` — the same condition
	// internal download paths gate on: a model is downloadable once converted
	// (OPTIMIZING), even while benchmarking is still running.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/status (the `GetModelStatus` operationId).
	GetModelStatusWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*GetModelStatusResult, error)

	// ListModelTargetsWithResponse List Model Targets
	//
	// Converted target artifacts of a model, newest first (created_at
	// descending, then id descending — same stable ordering as every /v1
	// list). `target_id` is opaque; soft-deleted rows are excluded.
	//
	// Results are ordered by created_at descending, then id descending.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/repos/{account_name}/{repo_name}/models/{model_key}/targets (the `ListModelTargets` operationId).
	ListModelTargetsWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, reqEditors ...RequestEditorFn) (*ListModelTargetsResult, error)

	// CreateDownloadAuthorizationWithResponse Create Download Authorization
	//
	// Authorize downloading a converted target's artifacts (BILLABLE).
	//
	// Charges the target's aggregate `download_size` against the CALLER's
	// bandwidth quota — also for public models owned by others. Over quota is
	// a 429 with nothing charged and no row created. Returns signed GET URLs
	// valid until `expires_at` (about one hour).
	//
	// With an `Idempotency-Key`, replaying returns the original authorization
	// (200) with fresh URLs and does NOT charge again; without one, EVERY
	// call charges. The key is scoped to the caller's account; reusing it for
	// a different target is a 409.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/repos/{account_name}/{repo_name}/models/{model_key}/targets/{target_id}/download-authorizations (the `CreateDownloadAuthorization` operationId).
	CreateDownloadAuthorizationWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, targetId string, params *CreateDownloadAuthorizationParams, reqEditors ...RequestEditorFn) (*CreateDownloadAuthorizationResult, error)

	// GetUsageWithResponse Get Usage
	//
	// Current-month usage totals for the token's account (`bandwidth` in
	// bytes, the rest counts).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/usage (the `GetUsage` operationId).
	GetUsageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUsageResult, error)

	// GetUsageQuotasWithResponse Get Usage Quotas
	//
	// Usage against the account's plan quotas.
	//
	// Each counter reports `{used, limit, remaining}`; null means unlimited.
	// `remaining` is what enforcement would allow right now (spike headroom
	// included, floored at 0) — preflight on `remaining`, not `limit - used`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/usage/quotas (the `GetUsageQuotas` operationId).
	GetUsageQuotasWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUsageQuotasResult, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CompleteModelUploadParams

type CompleteModelUploadParams struct {
	// IdempotencyKey Optional client-generated key that makes the mutation safely retryable: replaying a request with the same key returns the original outcome instead of repeating the side effect. See each operation's description for its exact replay semantics.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CompleteModelUploadParams defines parameters for CompleteModelUpload.

type CompleteModelUploadResponse

type CompleteModelUploadResponse struct {
	FailureCode *string                          `json:"failure_code,omitempty"`
	Id          string                           `json:"id"`
	Model       *ModelRef                        `json:"model,omitempty"`
	State       CompleteModelUploadResponseState `json:"state"`
	Terminal    bool                             `json:"terminal"`
}

CompleteModelUploadResponse Session state after a complete call (ADR-5 status vocabulary).

`state` is the session state machine value; verification/promotion failures surface as `state == "FAILED"` + `failure_code` on a 200 — the POST itself succeeded, the SESSION failed. `terminal` means the session will not transition further (CONVERTING is terminal for the session: conversion progress continues on the model status endpoint).

type CompleteModelUploadResponseState

type CompleteModelUploadResponseState string

CompleteModelUploadResponseState defines model for CompleteModelUploadResponse.State.

const (
	CompleteModelUploadResponseStateCANCELED        CompleteModelUploadResponseState = "CANCELED"
	CompleteModelUploadResponseStateCONVERTING      CompleteModelUploadResponseState = "CONVERTING"
	CompleteModelUploadResponseStateCREATED         CompleteModelUploadResponseState = "CREATED"
	CompleteModelUploadResponseStateDISPATCHPENDING CompleteModelUploadResponseState = "DISPATCH_PENDING"
	CompleteModelUploadResponseStateEXPIRED         CompleteModelUploadResponseState = "EXPIRED"
	CompleteModelUploadResponseStateFAILED          CompleteModelUploadResponseState = "FAILED"
	CompleteModelUploadResponseStateUPLOADING       CompleteModelUploadResponseState = "UPLOADING"
	CompleteModelUploadResponseStateVERIFYING       CompleteModelUploadResponseState = "VERIFYING"
)

Defines values for CompleteModelUploadResponseState.

func (CompleteModelUploadResponseState) Valid

Valid indicates whether the value is a known member of the CompleteModelUploadResponseState enum.

type CompleteModelUploadResult

type CompleteModelUploadResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CompleteModelUploadResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationError
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *CompleteModelUploadResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *CompleteModelUploadResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CompleteModelUploadResult404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *CompleteModelUploadResult409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CompleteModelUploadResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CompleteModelUploadResult429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *CompleteModelUploadResult500Headers
}

func ParseCompleteModelUploadResult

func ParseCompleteModelUploadResult(rsp *http.Response) (*CompleteModelUploadResult, error)

ParseCompleteModelUploadResult parses an HTTP response from a CompleteModelUploadWithResponse call

func (CompleteModelUploadResult) ContentType

func (r CompleteModelUploadResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CompleteModelUploadResult) GetBody

func (r CompleteModelUploadResult) GetBody() []byte

GetBody returns the raw response body bytes

func (CompleteModelUploadResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CompleteModelUploadResult) GetJSON401

func (r CompleteModelUploadResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CompleteModelUploadResult) GetJSON403

func (r CompleteModelUploadResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CompleteModelUploadResult) GetJSON404

func (r CompleteModelUploadResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CompleteModelUploadResult) GetJSON409

func (r CompleteModelUploadResult) GetJSON409() *Conflict

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CompleteModelUploadResult) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CompleteModelUploadResult) GetJSON429

func (r CompleteModelUploadResult) GetJSON429() *RateLimited

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CompleteModelUploadResult) GetJSON500

func (r CompleteModelUploadResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CompleteModelUploadResult) Status

func (r CompleteModelUploadResult) Status() string

Status returns HTTPResponse.Status

func (CompleteModelUploadResult) StatusCode

func (r CompleteModelUploadResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CompleteModelUploadResult401Headers

type CompleteModelUploadResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

CompleteModelUploadResult401Headers the declared response headers of an HTTP 401 response for CompleteModelUpload

type CompleteModelUploadResult403Headers

type CompleteModelUploadResult403Headers struct {
	XRequestID *string
}

CompleteModelUploadResult403Headers the declared response headers of an HTTP 403 response for CompleteModelUpload

type CompleteModelUploadResult404Headers

type CompleteModelUploadResult404Headers struct {
	XRequestID *string
}

CompleteModelUploadResult404Headers the declared response headers of an HTTP 404 response for CompleteModelUpload

type CompleteModelUploadResult409Headers

type CompleteModelUploadResult409Headers struct {
	XRequestID *string
}

CompleteModelUploadResult409Headers the declared response headers of an HTTP 409 response for CompleteModelUpload

type CompleteModelUploadResult422Headers

type CompleteModelUploadResult422Headers struct {
	XRequestID *string
}

CompleteModelUploadResult422Headers the declared response headers of an HTTP 422 response for CompleteModelUpload

type CompleteModelUploadResult429Headers

type CompleteModelUploadResult429Headers struct {
	RetryAfter *int
	XRequestID *string
}

CompleteModelUploadResult429Headers the declared response headers of an HTTP 429 response for CompleteModelUpload

type CompleteModelUploadResult500Headers

type CompleteModelUploadResult500Headers struct {
	XRequestID *string
}

CompleteModelUploadResult500Headers the declared response headers of an HTTP 500 response for CompleteModelUpload

type CompleteUploadRequest

type CompleteUploadRequest struct {
	Source *string `json:"source,omitempty"`
}

CompleteUploadRequest defines model for CompleteUploadRequest.

type Conflict

type Conflict = ErrorEnvelope

Conflict Standard error envelope returned by every non-2xx response of the public API.

type CreateDownloadAuthorizationParams

type CreateDownloadAuthorizationParams struct {
	// IdempotencyKey Optional client-generated key that makes the mutation safely retryable: replaying a request with the same key returns the original outcome instead of repeating the side effect. See each operation's description for its exact replay semantics.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CreateDownloadAuthorizationParams defines parameters for CreateDownloadAuthorization.

type CreateDownloadAuthorizationResult

type CreateDownloadAuthorizationResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DownloadAuthorizationResponse
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *DownloadAuthorizationResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationError
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *ServiceUnavailable
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *CreateDownloadAuthorizationResult200Headers
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateDownloadAuthorizationResult201Headers
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *CreateDownloadAuthorizationResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *CreateDownloadAuthorizationResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateDownloadAuthorizationResult404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *CreateDownloadAuthorizationResult409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateDownloadAuthorizationResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateDownloadAuthorizationResult429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *CreateDownloadAuthorizationResult500Headers
	// Headers503 the parsed response headers for an HTTP 503 response
	Headers503 *CreateDownloadAuthorizationResult503Headers
}

func ParseCreateDownloadAuthorizationResult

func ParseCreateDownloadAuthorizationResult(rsp *http.Response) (*CreateDownloadAuthorizationResult, error)

ParseCreateDownloadAuthorizationResult parses an HTTP response from a CreateDownloadAuthorizationWithResponse call

func (CreateDownloadAuthorizationResult) ContentType

func (r CreateDownloadAuthorizationResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateDownloadAuthorizationResult) GetBody

GetBody returns the raw response body bytes

func (CreateDownloadAuthorizationResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateDownloadAuthorizationResult) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateDownloadAuthorizationResult) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateDownloadAuthorizationResult) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateDownloadAuthorizationResult) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateDownloadAuthorizationResult) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateDownloadAuthorizationResult) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateDownloadAuthorizationResult) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateDownloadAuthorizationResult) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CreateDownloadAuthorizationResult) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (CreateDownloadAuthorizationResult) Status

Status returns HTTPResponse.Status

func (CreateDownloadAuthorizationResult) StatusCode

func (r CreateDownloadAuthorizationResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDownloadAuthorizationResult200Headers

type CreateDownloadAuthorizationResult200Headers struct {
	CacheControl *string
}

CreateDownloadAuthorizationResult200Headers the declared response headers of an HTTP 200 response for CreateDownloadAuthorization

type CreateDownloadAuthorizationResult201Headers

type CreateDownloadAuthorizationResult201Headers struct {
	CacheControl *string
}

CreateDownloadAuthorizationResult201Headers the declared response headers of an HTTP 201 response for CreateDownloadAuthorization

type CreateDownloadAuthorizationResult401Headers

type CreateDownloadAuthorizationResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

CreateDownloadAuthorizationResult401Headers the declared response headers of an HTTP 401 response for CreateDownloadAuthorization

type CreateDownloadAuthorizationResult403Headers

type CreateDownloadAuthorizationResult403Headers struct {
	XRequestID *string
}

CreateDownloadAuthorizationResult403Headers the declared response headers of an HTTP 403 response for CreateDownloadAuthorization

type CreateDownloadAuthorizationResult404Headers

type CreateDownloadAuthorizationResult404Headers struct {
	XRequestID *string
}

CreateDownloadAuthorizationResult404Headers the declared response headers of an HTTP 404 response for CreateDownloadAuthorization

type CreateDownloadAuthorizationResult409Headers

type CreateDownloadAuthorizationResult409Headers struct {
	XRequestID *string
}

CreateDownloadAuthorizationResult409Headers the declared response headers of an HTTP 409 response for CreateDownloadAuthorization

type CreateDownloadAuthorizationResult422Headers

type CreateDownloadAuthorizationResult422Headers struct {
	XRequestID *string
}

CreateDownloadAuthorizationResult422Headers the declared response headers of an HTTP 422 response for CreateDownloadAuthorization

type CreateDownloadAuthorizationResult429Headers

type CreateDownloadAuthorizationResult429Headers struct {
	RetryAfter *int
	XRequestID *string
}

CreateDownloadAuthorizationResult429Headers the declared response headers of an HTTP 429 response for CreateDownloadAuthorization

type CreateDownloadAuthorizationResult500Headers

type CreateDownloadAuthorizationResult500Headers struct {
	XRequestID *string
}

CreateDownloadAuthorizationResult500Headers the declared response headers of an HTTP 500 response for CreateDownloadAuthorization

type CreateDownloadAuthorizationResult503Headers

type CreateDownloadAuthorizationResult503Headers struct {
	XRequestID *string
}

CreateDownloadAuthorizationResult503Headers the declared response headers of an HTTP 503 response for CreateDownloadAuthorization

type CreateModelUploadJSONRequestBody

type CreateModelUploadJSONRequestBody = CreateModelUploadRequest

CreateModelUploadJSONRequestBody defines body for CreateModelUpload for application/json ContentType.

type CreateModelUploadParams

type CreateModelUploadParams struct {
	// IdempotencyKey Optional client-generated key that makes the mutation safely retryable: replaying a request with the same key returns the original outcome instead of repeating the side effect. See each operation's description for its exact replay semantics.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CreateModelUploadParams defines parameters for CreateModelUpload.

type CreateModelUploadRequest

type CreateModelUploadRequest struct {
	Files           []ManifestFile                          `json:"files"`
	ManifestVersion CreateModelUploadRequestManifestVersion `json:"manifest_version"`
	Options         *ManifestOptions                        `json:"options,omitempty"`
}

CreateModelUploadRequest defines model for CreateModelUploadRequest.

type CreateModelUploadRequestManifestVersion

type CreateModelUploadRequestManifestVersion int

CreateModelUploadRequestManifestVersion defines model for CreateModelUploadRequest.ManifestVersion.

Defines values for CreateModelUploadRequestManifestVersion.

func (CreateModelUploadRequestManifestVersion) Valid

Valid indicates whether the value is a known member of the CreateModelUploadRequestManifestVersion enum.

type CreateModelUploadResult

type CreateModelUploadResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ModelUploadResponse
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *ModelUploadResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationError
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *ServiceUnavailable
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *CreateModelUploadResult200Headers
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateModelUploadResult201Headers
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *CreateModelUploadResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *CreateModelUploadResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateModelUploadResult404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *CreateModelUploadResult409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateModelUploadResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateModelUploadResult429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *CreateModelUploadResult500Headers
	// Headers503 the parsed response headers for an HTTP 503 response
	Headers503 *CreateModelUploadResult503Headers
}

func ParseCreateModelUploadResult

func ParseCreateModelUploadResult(rsp *http.Response) (*CreateModelUploadResult, error)

ParseCreateModelUploadResult parses an HTTP response from a CreateModelUploadWithResponse call

func (CreateModelUploadResult) ContentType

func (r CreateModelUploadResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateModelUploadResult) GetBody

func (r CreateModelUploadResult) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateModelUploadResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateModelUploadResult) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateModelUploadResult) GetJSON401

func (r CreateModelUploadResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateModelUploadResult) GetJSON403

func (r CreateModelUploadResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateModelUploadResult) GetJSON404

func (r CreateModelUploadResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateModelUploadResult) GetJSON409

func (r CreateModelUploadResult) GetJSON409() *Conflict

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateModelUploadResult) GetJSON422

func (r CreateModelUploadResult) GetJSON422() *ValidationError

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateModelUploadResult) GetJSON429

func (r CreateModelUploadResult) GetJSON429() *RateLimited

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateModelUploadResult) GetJSON500

func (r CreateModelUploadResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CreateModelUploadResult) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (CreateModelUploadResult) Status

func (r CreateModelUploadResult) Status() string

Status returns HTTPResponse.Status

func (CreateModelUploadResult) StatusCode

func (r CreateModelUploadResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateModelUploadResult200Headers

type CreateModelUploadResult200Headers struct {
	CacheControl *string
}

CreateModelUploadResult200Headers the declared response headers of an HTTP 200 response for CreateModelUpload

type CreateModelUploadResult201Headers

type CreateModelUploadResult201Headers struct {
	CacheControl *string
}

CreateModelUploadResult201Headers the declared response headers of an HTTP 201 response for CreateModelUpload

type CreateModelUploadResult401Headers

type CreateModelUploadResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

CreateModelUploadResult401Headers the declared response headers of an HTTP 401 response for CreateModelUpload

type CreateModelUploadResult403Headers

type CreateModelUploadResult403Headers struct {
	XRequestID *string
}

CreateModelUploadResult403Headers the declared response headers of an HTTP 403 response for CreateModelUpload

type CreateModelUploadResult404Headers

type CreateModelUploadResult404Headers struct {
	XRequestID *string
}

CreateModelUploadResult404Headers the declared response headers of an HTTP 404 response for CreateModelUpload

type CreateModelUploadResult409Headers

type CreateModelUploadResult409Headers struct {
	XRequestID *string
}

CreateModelUploadResult409Headers the declared response headers of an HTTP 409 response for CreateModelUpload

type CreateModelUploadResult422Headers

type CreateModelUploadResult422Headers struct {
	XRequestID *string
}

CreateModelUploadResult422Headers the declared response headers of an HTTP 422 response for CreateModelUpload

type CreateModelUploadResult429Headers

type CreateModelUploadResult429Headers struct {
	RetryAfter *int
	XRequestID *string
}

CreateModelUploadResult429Headers the declared response headers of an HTTP 429 response for CreateModelUpload

type CreateModelUploadResult500Headers

type CreateModelUploadResult500Headers struct {
	XRequestID *string
}

CreateModelUploadResult500Headers the declared response headers of an HTTP 500 response for CreateModelUpload

type CreateModelUploadResult503Headers

type CreateModelUploadResult503Headers struct {
	XRequestID *string
}

CreateModelUploadResult503Headers the declared response headers of an HTTP 503 response for CreateModelUpload

type CreateProjectRequest

type CreateProjectRequest struct {
	Description *string                       `json:"description,omitempty"`
	ModelType   CreateProjectRequestModelType `json:"model_type"`
	Name        string                        `json:"name"`
	Readme      *string                       `json:"readme,omitempty"`
	Tags        *[]string                     `json:"tags,omitempty"`
}

CreateProjectRequest defines model for CreateProjectRequest.

type CreateProjectRequestModelType

type CreateProjectRequestModelType string

CreateProjectRequestModelType defines model for CreateProjectRequest.ModelType.

const (
	CreateProjectRequestModelTypeGeneral CreateProjectRequestModelType = "general"
	CreateProjectRequestModelTypeLlm     CreateProjectRequestModelType = "llm"
)

Defines values for CreateProjectRequestModelType.

func (CreateProjectRequestModelType) Valid

Valid indicates whether the value is a known member of the CreateProjectRequestModelType enum.

type CreateRepoJSONRequestBody

type CreateRepoJSONRequestBody = CreateRepoRequest

CreateRepoJSONRequestBody defines body for CreateRepo for application/json ContentType.

type CreateRepoRequest

type CreateRepoRequest struct {
	Description *string                    `json:"description,omitempty"`
	IsPrivate   *bool                      `json:"is_private,omitempty"`
	ModelType   CreateRepoRequestModelType `json:"model_type"`
	Name        string                     `json:"name"`
	Readme      *string                    `json:"readme,omitempty"`
	Tags        *[]string                  `json:"tags,omitempty"`
	UseCase     *CreateRepoRequestUseCase  `json:"use_case,omitempty"`
}

CreateRepoRequest POST /v1/repos body — everything CreateProjectRequest validates plus creation-time configuration, so a single POST yields a fully-configured repo (no follow-up PATCH). The legacy `POST /v1/projects` keeps the base schema and ignores these fields.

Semantics mirror UpdateRepoRequest: an explicit `use_case` wins; tags without `use_case` derive it (the model invariant). `is_private` needs no owner check at create time — the creator is the owner.

type CreateRepoRequestModelType

type CreateRepoRequestModelType string

CreateRepoRequestModelType defines model for CreateRepoRequest.ModelType.

const (
	CreateRepoRequestModelTypeGeneral CreateRepoRequestModelType = "general"
	CreateRepoRequestModelTypeLlm     CreateRepoRequestModelType = "llm"
)

Defines values for CreateRepoRequestModelType.

func (CreateRepoRequestModelType) Valid

func (e CreateRepoRequestModelType) Valid() bool

Valid indicates whether the value is a known member of the CreateRepoRequestModelType enum.

type CreateRepoRequestUseCase

type CreateRepoRequestUseCase string

CreateRepoRequestUseCase defines model for CreateRepoRequest.UseCase.

const (
	CreateRepoRequestUseCaseLlm    CreateRepoRequestUseCase = "llm"
	CreateRepoRequestUseCaseNlp    CreateRepoRequestUseCase = "nlp"
	CreateRepoRequestUseCaseOther  CreateRepoRequestUseCase = "other"
	CreateRepoRequestUseCaseSpeech CreateRepoRequestUseCase = "speech"
	CreateRepoRequestUseCaseVision CreateRepoRequestUseCase = "vision"
)

Defines values for CreateRepoRequestUseCase.

func (CreateRepoRequestUseCase) Valid

func (e CreateRepoRequestUseCase) Valid() bool

Valid indicates whether the value is a known member of the CreateRepoRequestUseCase enum.

type CreateRepoResult

type CreateRepoResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *RepoResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationError
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *CreateRepoResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *CreateRepoResult403Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *CreateRepoResult409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateRepoResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateRepoResult429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *CreateRepoResult500Headers
}

func ParseCreateRepoResult

func ParseCreateRepoResult(rsp *http.Response) (*CreateRepoResult, error)

ParseCreateRepoResult parses an HTTP response from a CreateRepoWithResponse call

func (CreateRepoResult) ContentType

func (r CreateRepoResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateRepoResult) GetBody

func (r CreateRepoResult) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateRepoResult) GetJSON201

func (r CreateRepoResult) GetJSON201() *RepoResponse

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateRepoResult) GetJSON401

func (r CreateRepoResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateRepoResult) GetJSON403

func (r CreateRepoResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateRepoResult) GetJSON409

func (r CreateRepoResult) GetJSON409() *Conflict

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateRepoResult) GetJSON422

func (r CreateRepoResult) GetJSON422() *ValidationError

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateRepoResult) GetJSON429 added in v0.2.0

func (r CreateRepoResult) GetJSON429() *RateLimited

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateRepoResult) GetJSON500

func (r CreateRepoResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CreateRepoResult) Status

func (r CreateRepoResult) Status() string

Status returns HTTPResponse.Status

func (CreateRepoResult) StatusCode

func (r CreateRepoResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateRepoResult401Headers

type CreateRepoResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

CreateRepoResult401Headers the declared response headers of an HTTP 401 response for CreateRepo

type CreateRepoResult403Headers

type CreateRepoResult403Headers struct {
	XRequestID *string
}

CreateRepoResult403Headers the declared response headers of an HTTP 403 response for CreateRepo

type CreateRepoResult409Headers

type CreateRepoResult409Headers struct {
	XRequestID *string
}

CreateRepoResult409Headers the declared response headers of an HTTP 409 response for CreateRepo

type CreateRepoResult422Headers

type CreateRepoResult422Headers struct {
	XRequestID *string
}

CreateRepoResult422Headers the declared response headers of an HTTP 422 response for CreateRepo

type CreateRepoResult429Headers added in v0.2.0

type CreateRepoResult429Headers struct {
	RetryAfter *int
	XRequestID *string
}

CreateRepoResult429Headers the declared response headers of an HTTP 429 response for CreateRepo

type CreateRepoResult500Headers

type CreateRepoResult500Headers struct {
	XRequestID *string
}

CreateRepoResult500Headers the declared response headers of an HTTP 500 response for CreateRepo

type CreateUploadRequest

type CreateUploadRequest struct {
	Files []RequestedFile `json:"files"`
}

CreateUploadRequest defines model for CreateUploadRequest.

type CreateUploadResponse

type CreateUploadResponse struct {
	ExpiresAt string         `json:"expires_at"`
	Files     []IssuedUpload `json:"files"`
	Id        string         `json:"id"`
	Status    string         `json:"status"`
}

CreateUploadResponse defines model for CreateUploadResponse.

type DeleteRepoResult

type DeleteRepoResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *DeleteRepoResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *DeleteRepoResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteRepoResult404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteRepoResult429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *DeleteRepoResult500Headers
}

func ParseDeleteRepoResult

func ParseDeleteRepoResult(rsp *http.Response) (*DeleteRepoResult, error)

ParseDeleteRepoResult parses an HTTP response from a DeleteRepoWithResponse call

func (DeleteRepoResult) ContentType

func (r DeleteRepoResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteRepoResult) GetBody

func (r DeleteRepoResult) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteRepoResult) GetJSON401

func (r DeleteRepoResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteRepoResult) GetJSON403

func (r DeleteRepoResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteRepoResult) GetJSON404

func (r DeleteRepoResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteRepoResult) GetJSON429 added in v0.2.0

func (r DeleteRepoResult) GetJSON429() *RateLimited

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteRepoResult) GetJSON500

func (r DeleteRepoResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteRepoResult) Status

func (r DeleteRepoResult) Status() string

Status returns HTTPResponse.Status

func (DeleteRepoResult) StatusCode

func (r DeleteRepoResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteRepoResult401Headers

type DeleteRepoResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

DeleteRepoResult401Headers the declared response headers of an HTTP 401 response for DeleteRepo

type DeleteRepoResult403Headers

type DeleteRepoResult403Headers struct {
	XRequestID *string
}

DeleteRepoResult403Headers the declared response headers of an HTTP 403 response for DeleteRepo

type DeleteRepoResult404Headers

type DeleteRepoResult404Headers struct {
	XRequestID *string
}

DeleteRepoResult404Headers the declared response headers of an HTTP 404 response for DeleteRepo

type DeleteRepoResult429Headers added in v0.2.0

type DeleteRepoResult429Headers struct {
	RetryAfter *int
	XRequestID *string
}

DeleteRepoResult429Headers the declared response headers of an HTTP 429 response for DeleteRepo

type DeleteRepoResult500Headers

type DeleteRepoResult500Headers struct {
	XRequestID *string
}

DeleteRepoResult500Headers the declared response headers of an HTTP 500 response for DeleteRepo

type DeploymentGuideModel

type DeploymentGuideModel struct {
	DownloadReady bool                      `json:"download_ready"`
	Key           string                    `json:"key"`
	Repository    string                    `json:"repository"`
	State         DeploymentGuideModelState `json:"state"`
	Type          DeploymentGuideModelType  `json:"type"`
	Version       int                       `json:"version"`
}

DeploymentGuideModel defines model for DeploymentGuideModel.

type DeploymentGuideModelState

type DeploymentGuideModelState string

DeploymentGuideModelState defines model for DeploymentGuideModel.State.

const (
	DeploymentGuideModelStateConverting DeploymentGuideModelState = "converting"
	DeploymentGuideModelStateFailed     DeploymentGuideModelState = "failed"
	DeploymentGuideModelStateOptimizing DeploymentGuideModelState = "optimizing"
	DeploymentGuideModelStateReady      DeploymentGuideModelState = "ready"
)

Defines values for DeploymentGuideModelState.

func (DeploymentGuideModelState) Valid

func (e DeploymentGuideModelState) Valid() bool

Valid indicates whether the value is a known member of the DeploymentGuideModelState enum.

type DeploymentGuideModelType

type DeploymentGuideModelType string

DeploymentGuideModelType defines model for DeploymentGuideModel.Type.

const (
	DeploymentGuideModelTypeGeneral DeploymentGuideModelType = "general"
	DeploymentGuideModelTypeLlm     DeploymentGuideModelType = "llm"
)

Defines values for DeploymentGuideModelType.

func (DeploymentGuideModelType) Valid

func (e DeploymentGuideModelType) Valid() bool

Valid indicates whether the value is a known member of the DeploymentGuideModelType enum.

type DeploymentGuideResponse

type DeploymentGuideResponse struct {
	CredentialPlaceholder string                               `json:"credential_placeholder"`
	GuideVersion          int                                  `json:"guide_version"`
	InferenceMode         DeploymentGuideResponseInferenceMode `json:"inference_mode"`
	Language              DeploymentGuideResponseLanguage      `json:"language"`
	Model                 DeploymentGuideModel                 `json:"model"`
	Sdk                   DeploymentGuideSDK                   `json:"sdk"`
	Steps                 []DeploymentGuideStep                `json:"steps"`
}

DeploymentGuideResponse defines model for DeploymentGuideResponse.

type DeploymentGuideResponseInferenceMode

type DeploymentGuideResponseInferenceMode string

DeploymentGuideResponseInferenceMode defines model for DeploymentGuideResponse.InferenceMode.

const (
	DeploymentGuideResponseInferenceModeAccuracy DeploymentGuideResponseInferenceMode = "accuracy"
	DeploymentGuideResponseInferenceModeAuto     DeploymentGuideResponseInferenceMode = "auto"
	DeploymentGuideResponseInferenceModeSpeed    DeploymentGuideResponseInferenceMode = "speed"
)

Defines values for DeploymentGuideResponseInferenceMode.

func (DeploymentGuideResponseInferenceMode) Valid

Valid indicates whether the value is a known member of the DeploymentGuideResponseInferenceMode enum.

type DeploymentGuideResponseLanguage

type DeploymentGuideResponseLanguage string

DeploymentGuideResponseLanguage defines model for DeploymentGuideResponse.Language.

const (
	DeploymentGuideResponseLanguageAndroidJava   DeploymentGuideResponseLanguage = "android-java"
	DeploymentGuideResponseLanguageAndroidKotlin DeploymentGuideResponseLanguage = "android-kotlin"
	DeploymentGuideResponseLanguageFlutter       DeploymentGuideResponseLanguage = "flutter"
	DeploymentGuideResponseLanguageIosSwift      DeploymentGuideResponseLanguage = "ios-swift"
)

Defines values for DeploymentGuideResponseLanguage.

func (DeploymentGuideResponseLanguage) Valid

Valid indicates whether the value is a known member of the DeploymentGuideResponseLanguage enum.

type DeploymentGuideSDK

type DeploymentGuideSDK struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

DeploymentGuideSDK defines model for DeploymentGuideSDK.

type DeploymentGuideStep

type DeploymentGuideStep struct {
	Code         string `json:"code"`
	CodeLanguage string `json:"code_language"`
	Title        string `json:"title"`
}

DeploymentGuideStep defines model for DeploymentGuideStep.

type DeploymentInferenceModeOption

type DeploymentInferenceModeOption struct {
	Description string                          `json:"description"`
	Id          DeploymentInferenceModeOptionId `json:"id"`
	Label       string                          `json:"label"`
}

DeploymentInferenceModeOption defines model for DeploymentInferenceModeOption.

type DeploymentInferenceModeOptionId

type DeploymentInferenceModeOptionId string

DeploymentInferenceModeOptionId defines model for DeploymentInferenceModeOption.Id.

const (
	DeploymentInferenceModeOptionIdAccuracy DeploymentInferenceModeOptionId = "accuracy"
	DeploymentInferenceModeOptionIdAuto     DeploymentInferenceModeOptionId = "auto"
	DeploymentInferenceModeOptionIdSpeed    DeploymentInferenceModeOptionId = "speed"
)

Defines values for DeploymentInferenceModeOptionId.

func (DeploymentInferenceModeOptionId) Valid

Valid indicates whether the value is a known member of the DeploymentInferenceModeOptionId enum.

type DeploymentLanguageOption

type DeploymentLanguageOption struct {
	CodeLanguage string                     `json:"code_language"`
	Id           DeploymentLanguageOptionId `json:"id"`
	Label        string                     `json:"label"`
}

DeploymentLanguageOption defines model for DeploymentLanguageOption.

type DeploymentLanguageOptionId

type DeploymentLanguageOptionId string

DeploymentLanguageOptionId defines model for DeploymentLanguageOption.Id.

const (
	DeploymentLanguageOptionIdAndroidJava   DeploymentLanguageOptionId = "android-java"
	DeploymentLanguageOptionIdAndroidKotlin DeploymentLanguageOptionId = "android-kotlin"
	DeploymentLanguageOptionIdFlutter       DeploymentLanguageOptionId = "flutter"
	DeploymentLanguageOptionIdIosSwift      DeploymentLanguageOptionId = "ios-swift"
)

Defines values for DeploymentLanguageOptionId.

func (DeploymentLanguageOptionId) Valid

func (e DeploymentLanguageOptionId) Valid() bool

Valid indicates whether the value is a known member of the DeploymentLanguageOptionId enum.

type DeploymentOptionsResponse

type DeploymentOptionsResponse struct {
	DefaultInferenceMode DeploymentOptionsResponseDefaultInferenceMode `json:"default_inference_mode"`
	DefaultLanguage      DeploymentOptionsResponseDefaultLanguage      `json:"default_language"`
	GuideVersion         int                                           `json:"guide_version"`
	InferenceModes       []DeploymentInferenceModeOption               `json:"inference_modes"`
	Languages            []DeploymentLanguageOption                    `json:"languages"`
}

DeploymentOptionsResponse defines model for DeploymentOptionsResponse.

type DeploymentOptionsResponseDefaultInferenceMode

type DeploymentOptionsResponseDefaultInferenceMode string

DeploymentOptionsResponseDefaultInferenceMode defines model for DeploymentOptionsResponse.DefaultInferenceMode.

const (
	DeploymentOptionsResponseDefaultInferenceModeAccuracy DeploymentOptionsResponseDefaultInferenceMode = "accuracy"
	DeploymentOptionsResponseDefaultInferenceModeAuto     DeploymentOptionsResponseDefaultInferenceMode = "auto"
	DeploymentOptionsResponseDefaultInferenceModeSpeed    DeploymentOptionsResponseDefaultInferenceMode = "speed"
)

Defines values for DeploymentOptionsResponseDefaultInferenceMode.

func (DeploymentOptionsResponseDefaultInferenceMode) Valid

Valid indicates whether the value is a known member of the DeploymentOptionsResponseDefaultInferenceMode enum.

type DeploymentOptionsResponseDefaultLanguage

type DeploymentOptionsResponseDefaultLanguage string

DeploymentOptionsResponseDefaultLanguage defines model for DeploymentOptionsResponse.DefaultLanguage.

const (
	DeploymentOptionsResponseDefaultLanguageAndroidJava   DeploymentOptionsResponseDefaultLanguage = "android-java"
	DeploymentOptionsResponseDefaultLanguageAndroidKotlin DeploymentOptionsResponseDefaultLanguage = "android-kotlin"
	DeploymentOptionsResponseDefaultLanguageFlutter       DeploymentOptionsResponseDefaultLanguage = "flutter"
	DeploymentOptionsResponseDefaultLanguageIosSwift      DeploymentOptionsResponseDefaultLanguage = "ios-swift"
)

Defines values for DeploymentOptionsResponseDefaultLanguage.

func (DeploymentOptionsResponseDefaultLanguage) Valid

Valid indicates whether the value is a known member of the DeploymentOptionsResponseDefaultLanguage enum.

type DownloadArtifact

type DownloadArtifact struct {
	Checksum *string `json:"checksum,omitempty"`
	Name     string  `json:"name"`
	Size     *int    `json:"size,omitempty"`
	Url      string  `json:"url"`
}

DownloadArtifact One downloadable file of an authorized target.

`url` is a time-limited signed GET URL (valid until `expires_at` of the enclosing authorization). `size` is per-file and only known for single-file targets (the stored `download_size` is the aggregate); `checksum` is null when the pipeline recorded none for the file.

type DownloadAuthorizationResponse

type DownloadAuthorizationResponse struct {
	Artifacts       []DownloadArtifact `json:"artifacts"`
	AuthorizationId string             `json:"authorization_id"`
	ExpiresAt       time.Time          `json:"expires_at"`
}

DownloadAuthorizationResponse defines model for DownloadAuthorizationResponse.

type ErrorEnvelope

type ErrorEnvelope struct {
	Error struct {
		// ActiveUploadId Blocking upload-session id on the create-model-upload active-session conflict (409 only).
		ActiveUploadId *string `json:"active_upload_id,omitempty"`

		// Fields Per-field validation details (422 only).
		Fields *[]struct {
			Field   string `json:"field"`
			Message string `json:"message"`
		} `json:"fields,omitempty"`

		// Message Human-readable explanation.
		Message string `json:"message"`

		// Type Stable machine-readable error code.
		Type ErrorEnvelopeErrorType `json:"type"`
	} `json:"error"`

	// RequestId Correlation id, also sent as the `X-Request-ID` response header.
	RequestId string            `json:"request_id"`
	Type      ErrorEnvelopeType `json:"type"`
}

ErrorEnvelope Standard error envelope returned by every non-2xx response of the public API.

type ErrorEnvelopeErrorType

type ErrorEnvelopeErrorType string

ErrorEnvelopeErrorType Stable machine-readable error code.

const (
	ErrorEnvelopeErrorTypeApiError            ErrorEnvelopeErrorType = "api_error"
	ErrorEnvelopeErrorTypeAuthenticationError ErrorEnvelopeErrorType = "authentication_error"
	ErrorEnvelopeErrorTypeConflictError       ErrorEnvelopeErrorType = "conflict_error"
	ErrorEnvelopeErrorTypeInvalidRequestError ErrorEnvelopeErrorType = "invalid_request_error"
	ErrorEnvelopeErrorTypeMethodNotAllowed    ErrorEnvelopeErrorType = "method_not_allowed"
	ErrorEnvelopeErrorTypeNotFoundError       ErrorEnvelopeErrorType = "not_found_error"
	ErrorEnvelopeErrorTypeOverloadedError     ErrorEnvelopeErrorType = "overloaded_error"
	ErrorEnvelopeErrorTypePermissionError     ErrorEnvelopeErrorType = "permission_error"
	ErrorEnvelopeErrorTypeRateLimitError      ErrorEnvelopeErrorType = "rate_limit_error"
	ErrorEnvelopeErrorTypeRequestTooLarge     ErrorEnvelopeErrorType = "request_too_large"
)

Defines values for ErrorEnvelopeErrorType.

func (ErrorEnvelopeErrorType) Valid

func (e ErrorEnvelopeErrorType) Valid() bool

Valid indicates whether the value is a known member of the ErrorEnvelopeErrorType enum.

type ErrorEnvelopeType

type ErrorEnvelopeType string

ErrorEnvelopeType defines model for ErrorEnvelope.Type.

const (
	Error ErrorEnvelopeType = "error"
)

Defines values for ErrorEnvelopeType.

func (ErrorEnvelopeType) Valid

func (e ErrorEnvelopeType) Valid() bool

Valid indicates whether the value is a known member of the ErrorEnvelopeType enum.

type FileArrival

type FileArrival struct {
	Path         string `json:"path"`
	Size         int    `json:"size"`
	Uploaded     bool   `json:"uploaded"`
	UploadedSize *int   `json:"uploaded_size,omitempty"`
}

FileArrival defines model for FileArrival.

type Forbidden

type Forbidden = ErrorEnvelope

Forbidden Standard error envelope returned by every non-2xx response of the public API.

type GeneralLatencySummary

type GeneralLatencySummary struct {
	All  *ReportStats `json:"all"`
	Fp16 *ReportStats `json:"fp16"`
	Fp32 *ReportStats `json:"fp32"`
	Int8 *ReportStats `json:"int8"`
}

GeneralLatencySummary defines model for GeneralLatencySummary.

type GeneralMemorySummary

type GeneralMemorySummary struct {
	All  *ReportMemoryBounds `json:"all"`
	Fp16 *ReportMemoryBounds `json:"fp16"`
	Fp32 *ReportMemoryBounds `json:"fp32"`
	Int8 *ReportMemoryBounds `json:"int8"`
}

GeneralMemorySummary defines model for GeneralMemorySummary.

type GeneralReportRecord

type GeneralReportRecord struct {
	ApType *GeneralReportRecordApType `json:"ap_type"`

	// Device Locked ADR-4 device identity; persisted blanks are published as null.
	Device    ReportDevice                 `json:"device"`
	Metric    GeneralReportRecordMetric    `json:"metric"`
	Precision GeneralReportRecordPrecision `json:"precision"`
	Run       int                          `json:"run"`
	Unit      GeneralReportRecordUnit      `json:"unit"`
	Value     float32                      `json:"value"`
	Variant   *string                      `json:"variant"`
}

GeneralReportRecord `variant` is an OPAQUE token distinguishing the artifacts measured on one device — clients must not parse it. `run` is the opaque 0-based source-row ordinal within the record's (device, variant, ap_type) group (derivation rule D9): records sharing (device, variant, ap_type, run) form one run's metric set, so `variant` is required to pair a latency with the snr and memory measured in the same run.

type GeneralReportRecordApType

type GeneralReportRecordApType string

GeneralReportRecordApType defines model for GeneralReportRecord.ApType.

const (
	GeneralReportRecordApTypeCpu GeneralReportRecordApType = "cpu"
	GeneralReportRecordApTypeGpu GeneralReportRecordApType = "gpu"
	GeneralReportRecordApTypeNpu GeneralReportRecordApType = "npu"
)

Defines values for GeneralReportRecordApType.

func (GeneralReportRecordApType) Valid

func (e GeneralReportRecordApType) Valid() bool

Valid indicates whether the value is a known member of the GeneralReportRecordApType enum.

type GeneralReportRecordMetric

type GeneralReportRecordMetric string

GeneralReportRecordMetric defines model for GeneralReportRecord.Metric.

const (
	GeneralReportRecordMetricLatencyMs             GeneralReportRecordMetric = "latency_ms"
	GeneralReportRecordMetricMemoryInferenceMinMb  GeneralReportRecordMetric = "memory_inference_min_mb"
	GeneralReportRecordMetricMemoryInferencePeakMb GeneralReportRecordMetric = "memory_inference_peak_mb"
	GeneralReportRecordMetricMemoryLoadMinMb       GeneralReportRecordMetric = "memory_load_min_mb"
	GeneralReportRecordMetricMemoryLoadPeakMb      GeneralReportRecordMetric = "memory_load_peak_mb"
	GeneralReportRecordMetricSnrDb                 GeneralReportRecordMetric = "snr_db"
	GeneralReportRecordMetricTensorCopyLatencyMs   GeneralReportRecordMetric = "tensor_copy_latency_ms"
)

Defines values for GeneralReportRecordMetric.

func (GeneralReportRecordMetric) Valid

func (e GeneralReportRecordMetric) Valid() bool

Valid indicates whether the value is a known member of the GeneralReportRecordMetric enum.

type GeneralReportRecordPrecision

type GeneralReportRecordPrecision string

GeneralReportRecordPrecision defines model for GeneralReportRecord.Precision.

const (
	GeneralReportRecordPrecisionFp16 GeneralReportRecordPrecision = "fp16"
	GeneralReportRecordPrecisionFp32 GeneralReportRecordPrecision = "fp32"
	GeneralReportRecordPrecisionInt8 GeneralReportRecordPrecision = "int8"
)

Defines values for GeneralReportRecordPrecision.

func (GeneralReportRecordPrecision) Valid

Valid indicates whether the value is a known member of the GeneralReportRecordPrecision enum.

type GeneralReportRecordUnit

type GeneralReportRecordUnit string

GeneralReportRecordUnit defines model for GeneralReportRecord.Unit.

const (
	GeneralReportRecordUnitDb GeneralReportRecordUnit = "db"
	GeneralReportRecordUnitMb GeneralReportRecordUnit = "mb"
	GeneralReportRecordUnitMs GeneralReportRecordUnit = "ms"
)

Defines values for GeneralReportRecordUnit.

func (GeneralReportRecordUnit) Valid

func (e GeneralReportRecordUnit) Valid() bool

Valid indicates whether the value is a known member of the GeneralReportRecordUnit enum.

type GeneralReportResponse

type GeneralReportResponse struct {
	DerivationVersion int                   `json:"derivation_version"`
	Model             ReportModelRef        `json:"model"`
	Records           []GeneralReportRecord `json:"records"`
	Summary           GeneralReportSummary  `json:"summary"`
}

GeneralReportResponse defines model for GeneralReportResponse.

type GeneralReportSummary

type GeneralReportSummary struct {
	LatencyMs GeneralLatencySummary `json:"latency_ms"`
	MemoryMb  GeneralMemorySummary  `json:"memory_mb"`
	SnrDb     GeneralSnrSummary     `json:"snr_db"`
}

GeneralReportSummary defines model for GeneralReportSummary.

type GeneralSnrSummary

type GeneralSnrSummary struct {
	All  *ReportMinMax `json:"all"`
	Fp16 *ReportMinMax `json:"fp16"`
	Fp32 *ReportMinMax `json:"fp32"`
	Int8 *ReportMinMax `json:"int8"`
}

GeneralSnrSummary defines model for GeneralSnrSummary.

type GetBillingPlanResult added in v0.2.0

type GetBillingPlanResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BillingPlanResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *GetBillingPlanResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetBillingPlanResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetBillingPlanResult404Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *GetBillingPlanResult500Headers
}

func ParseGetBillingPlanResult added in v0.2.0

func ParseGetBillingPlanResult(rsp *http.Response) (*GetBillingPlanResult, error)

ParseGetBillingPlanResult parses an HTTP response from a GetBillingPlanWithResponse call

func (GetBillingPlanResult) ContentType added in v0.2.0

func (r GetBillingPlanResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetBillingPlanResult) GetBody added in v0.2.0

func (r GetBillingPlanResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetBillingPlanResult) GetJSON200 added in v0.2.0

func (r GetBillingPlanResult) GetJSON200() *BillingPlanResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetBillingPlanResult) GetJSON401 added in v0.2.0

func (r GetBillingPlanResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetBillingPlanResult) GetJSON403 added in v0.2.0

func (r GetBillingPlanResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetBillingPlanResult) GetJSON404 added in v0.2.0

func (r GetBillingPlanResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetBillingPlanResult) GetJSON500 added in v0.2.0

func (r GetBillingPlanResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetBillingPlanResult) Status added in v0.2.0

func (r GetBillingPlanResult) Status() string

Status returns HTTPResponse.Status

func (GetBillingPlanResult) StatusCode added in v0.2.0

func (r GetBillingPlanResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBillingPlanResult401Headers added in v0.2.0

type GetBillingPlanResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

GetBillingPlanResult401Headers the declared response headers of an HTTP 401 response for GetBillingPlan

type GetBillingPlanResult403Headers added in v0.2.0

type GetBillingPlanResult403Headers struct {
	XRequestID *string
}

GetBillingPlanResult403Headers the declared response headers of an HTTP 403 response for GetBillingPlan

type GetBillingPlanResult404Headers added in v0.2.0

type GetBillingPlanResult404Headers struct {
	XRequestID *string
}

GetBillingPlanResult404Headers the declared response headers of an HTTP 404 response for GetBillingPlan

type GetBillingPlanResult500Headers added in v0.2.0

type GetBillingPlanResult500Headers struct {
	XRequestID *string
}

GetBillingPlanResult500Headers the declared response headers of an HTTP 500 response for GetBillingPlan

type GetDeploymentGuideParams

type GetDeploymentGuideParams struct {
	Language      *GetDeploymentGuideParamsLanguage      `form:"language,omitempty" json:"language,omitempty"`
	InferenceMode *GetDeploymentGuideParamsInferenceMode `form:"inference_mode,omitempty" json:"inference_mode,omitempty"`
}

GetDeploymentGuideParams defines parameters for GetDeploymentGuide.

type GetDeploymentGuideParamsInferenceMode

type GetDeploymentGuideParamsInferenceMode string

GetDeploymentGuideParamsInferenceMode defines parameters for GetDeploymentGuide.

const (
	GetDeploymentGuideParamsInferenceModeAccuracy GetDeploymentGuideParamsInferenceMode = "accuracy"
	GetDeploymentGuideParamsInferenceModeAuto     GetDeploymentGuideParamsInferenceMode = "auto"
	GetDeploymentGuideParamsInferenceModeSpeed    GetDeploymentGuideParamsInferenceMode = "speed"
)

Defines values for GetDeploymentGuideParamsInferenceMode.

func (GetDeploymentGuideParamsInferenceMode) Valid

Valid indicates whether the value is a known member of the GetDeploymentGuideParamsInferenceMode enum.

type GetDeploymentGuideParamsLanguage

type GetDeploymentGuideParamsLanguage string

GetDeploymentGuideParamsLanguage defines parameters for GetDeploymentGuide.

const (
	GetDeploymentGuideParamsLanguageAndroidJava   GetDeploymentGuideParamsLanguage = "android-java"
	GetDeploymentGuideParamsLanguageAndroidKotlin GetDeploymentGuideParamsLanguage = "android-kotlin"
	GetDeploymentGuideParamsLanguageFlutter       GetDeploymentGuideParamsLanguage = "flutter"
	GetDeploymentGuideParamsLanguageIosSwift      GetDeploymentGuideParamsLanguage = "ios-swift"
)

Defines values for GetDeploymentGuideParamsLanguage.

func (GetDeploymentGuideParamsLanguage) Valid

Valid indicates whether the value is a known member of the GetDeploymentGuideParamsLanguage enum.

type GetDeploymentGuideResult

type GetDeploymentGuideResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeploymentGuideResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationError
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetDeploymentGuideResult200Headers
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *GetDeploymentGuideResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetDeploymentGuideResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetDeploymentGuideResult404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *GetDeploymentGuideResult409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *GetDeploymentGuideResult422Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *GetDeploymentGuideResult500Headers
}

func ParseGetDeploymentGuideResult

func ParseGetDeploymentGuideResult(rsp *http.Response) (*GetDeploymentGuideResult, error)

ParseGetDeploymentGuideResult parses an HTTP response from a GetDeploymentGuideWithResponse call

func (GetDeploymentGuideResult) ContentType

func (r GetDeploymentGuideResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDeploymentGuideResult) GetBody

func (r GetDeploymentGuideResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDeploymentGuideResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDeploymentGuideResult) GetJSON401

func (r GetDeploymentGuideResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetDeploymentGuideResult) GetJSON403

func (r GetDeploymentGuideResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetDeploymentGuideResult) GetJSON404

func (r GetDeploymentGuideResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetDeploymentGuideResult) GetJSON409

func (r GetDeploymentGuideResult) GetJSON409() *Conflict

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetDeploymentGuideResult) GetJSON422

func (r GetDeploymentGuideResult) GetJSON422() *ValidationError

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetDeploymentGuideResult) GetJSON500

func (r GetDeploymentGuideResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetDeploymentGuideResult) Status

func (r GetDeploymentGuideResult) Status() string

Status returns HTTPResponse.Status

func (GetDeploymentGuideResult) StatusCode

func (r GetDeploymentGuideResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDeploymentGuideResult200Headers

type GetDeploymentGuideResult200Headers struct {
	CacheControl *string
}

GetDeploymentGuideResult200Headers the declared response headers of an HTTP 200 response for GetDeploymentGuide

type GetDeploymentGuideResult401Headers

type GetDeploymentGuideResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

GetDeploymentGuideResult401Headers the declared response headers of an HTTP 401 response for GetDeploymentGuide

type GetDeploymentGuideResult403Headers

type GetDeploymentGuideResult403Headers struct {
	XRequestID *string
}

GetDeploymentGuideResult403Headers the declared response headers of an HTTP 403 response for GetDeploymentGuide

type GetDeploymentGuideResult404Headers

type GetDeploymentGuideResult404Headers struct {
	XRequestID *string
}

GetDeploymentGuideResult404Headers the declared response headers of an HTTP 404 response for GetDeploymentGuide

type GetDeploymentGuideResult409Headers

type GetDeploymentGuideResult409Headers struct {
	XRequestID *string
}

GetDeploymentGuideResult409Headers the declared response headers of an HTTP 409 response for GetDeploymentGuide

type GetDeploymentGuideResult422Headers

type GetDeploymentGuideResult422Headers struct {
	XRequestID *string
}

GetDeploymentGuideResult422Headers the declared response headers of an HTTP 422 response for GetDeploymentGuide

type GetDeploymentGuideResult500Headers

type GetDeploymentGuideResult500Headers struct {
	XRequestID *string
}

GetDeploymentGuideResult500Headers the declared response headers of an HTTP 500 response for GetDeploymentGuide

type GetDeploymentOptionsResult

type GetDeploymentOptionsResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeploymentOptionsResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *GetDeploymentOptionsResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetDeploymentOptionsResult403Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *GetDeploymentOptionsResult500Headers
}

func ParseGetDeploymentOptionsResult

func ParseGetDeploymentOptionsResult(rsp *http.Response) (*GetDeploymentOptionsResult, error)

ParseGetDeploymentOptionsResult parses an HTTP response from a GetDeploymentOptionsWithResponse call

func (GetDeploymentOptionsResult) ContentType

func (r GetDeploymentOptionsResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDeploymentOptionsResult) GetBody

func (r GetDeploymentOptionsResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDeploymentOptionsResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDeploymentOptionsResult) GetJSON401

func (r GetDeploymentOptionsResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetDeploymentOptionsResult) GetJSON403

func (r GetDeploymentOptionsResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetDeploymentOptionsResult) GetJSON500

func (r GetDeploymentOptionsResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetDeploymentOptionsResult) Status

Status returns HTTPResponse.Status

func (GetDeploymentOptionsResult) StatusCode

func (r GetDeploymentOptionsResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDeploymentOptionsResult401Headers

type GetDeploymentOptionsResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

GetDeploymentOptionsResult401Headers the declared response headers of an HTTP 401 response for GetDeploymentOptions

type GetDeploymentOptionsResult403Headers

type GetDeploymentOptionsResult403Headers struct {
	XRequestID *string
}

GetDeploymentOptionsResult403Headers the declared response headers of an HTTP 403 response for GetDeploymentOptions

type GetDeploymentOptionsResult500Headers

type GetDeploymentOptionsResult500Headers struct {
	XRequestID *string
}

GetDeploymentOptionsResult500Headers the declared response headers of an HTTP 500 response for GetDeploymentOptions

type GetGeneralReportResult

type GetGeneralReportResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GeneralReportResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *GetGeneralReportResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetGeneralReportResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetGeneralReportResult404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *GetGeneralReportResult409Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *GetGeneralReportResult500Headers
}

func ParseGetGeneralReportResult

func ParseGetGeneralReportResult(rsp *http.Response) (*GetGeneralReportResult, error)

ParseGetGeneralReportResult parses an HTTP response from a GetGeneralReportWithResponse call

func (GetGeneralReportResult) ContentType

func (r GetGeneralReportResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetGeneralReportResult) GetBody

func (r GetGeneralReportResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetGeneralReportResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetGeneralReportResult) GetJSON401

func (r GetGeneralReportResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetGeneralReportResult) GetJSON403

func (r GetGeneralReportResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetGeneralReportResult) GetJSON404

func (r GetGeneralReportResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetGeneralReportResult) GetJSON409

func (r GetGeneralReportResult) GetJSON409() *Conflict

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetGeneralReportResult) GetJSON500

func (r GetGeneralReportResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetGeneralReportResult) Status

func (r GetGeneralReportResult) Status() string

Status returns HTTPResponse.Status

func (GetGeneralReportResult) StatusCode

func (r GetGeneralReportResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGeneralReportResult401Headers

type GetGeneralReportResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

GetGeneralReportResult401Headers the declared response headers of an HTTP 401 response for GetGeneralReport

type GetGeneralReportResult403Headers

type GetGeneralReportResult403Headers struct {
	XRequestID *string
}

GetGeneralReportResult403Headers the declared response headers of an HTTP 403 response for GetGeneralReport

type GetGeneralReportResult404Headers

type GetGeneralReportResult404Headers struct {
	XRequestID *string
}

GetGeneralReportResult404Headers the declared response headers of an HTTP 404 response for GetGeneralReport

type GetGeneralReportResult409Headers

type GetGeneralReportResult409Headers struct {
	XRequestID *string
}

GetGeneralReportResult409Headers the declared response headers of an HTTP 409 response for GetGeneralReport

type GetGeneralReportResult500Headers

type GetGeneralReportResult500Headers struct {
	XRequestID *string
}

GetGeneralReportResult500Headers the declared response headers of an HTTP 500 response for GetGeneralReport

type GetLibraryModelResult

type GetLibraryModelResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LibraryModelDetailResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *GetLibraryModelResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetLibraryModelResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetLibraryModelResult404Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *GetLibraryModelResult500Headers
}

func ParseGetLibraryModelResult

func ParseGetLibraryModelResult(rsp *http.Response) (*GetLibraryModelResult, error)

ParseGetLibraryModelResult parses an HTTP response from a GetLibraryModelWithResponse call

func (GetLibraryModelResult) ContentType

func (r GetLibraryModelResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLibraryModelResult) GetBody

func (r GetLibraryModelResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetLibraryModelResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetLibraryModelResult) GetJSON401

func (r GetLibraryModelResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetLibraryModelResult) GetJSON403

func (r GetLibraryModelResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetLibraryModelResult) GetJSON404

func (r GetLibraryModelResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetLibraryModelResult) GetJSON500

func (r GetLibraryModelResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetLibraryModelResult) Status

func (r GetLibraryModelResult) Status() string

Status returns HTTPResponse.Status

func (GetLibraryModelResult) StatusCode

func (r GetLibraryModelResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLibraryModelResult401Headers

type GetLibraryModelResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

GetLibraryModelResult401Headers the declared response headers of an HTTP 401 response for GetLibraryModel

type GetLibraryModelResult403Headers

type GetLibraryModelResult403Headers struct {
	XRequestID *string
}

GetLibraryModelResult403Headers the declared response headers of an HTTP 403 response for GetLibraryModel

type GetLibraryModelResult404Headers

type GetLibraryModelResult404Headers struct {
	XRequestID *string
}

GetLibraryModelResult404Headers the declared response headers of an HTTP 404 response for GetLibraryModel

type GetLibraryModelResult500Headers

type GetLibraryModelResult500Headers struct {
	XRequestID *string
}

GetLibraryModelResult500Headers the declared response headers of an HTTP 500 response for GetLibraryModel

type GetLlmReportResult

type GetLlmReportResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LlmReportResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *GetLlmReportResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetLlmReportResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetLlmReportResult404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *GetLlmReportResult409Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *GetLlmReportResult500Headers
}

func ParseGetLlmReportResult

func ParseGetLlmReportResult(rsp *http.Response) (*GetLlmReportResult, error)

ParseGetLlmReportResult parses an HTTP response from a GetLlmReportWithResponse call

func (GetLlmReportResult) ContentType

func (r GetLlmReportResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLlmReportResult) GetBody

func (r GetLlmReportResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetLlmReportResult) GetJSON200

func (r GetLlmReportResult) GetJSON200() *LlmReportResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetLlmReportResult) GetJSON401

func (r GetLlmReportResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetLlmReportResult) GetJSON403

func (r GetLlmReportResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetLlmReportResult) GetJSON404

func (r GetLlmReportResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetLlmReportResult) GetJSON409

func (r GetLlmReportResult) GetJSON409() *Conflict

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetLlmReportResult) GetJSON500

func (r GetLlmReportResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetLlmReportResult) Status

func (r GetLlmReportResult) Status() string

Status returns HTTPResponse.Status

func (GetLlmReportResult) StatusCode

func (r GetLlmReportResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLlmReportResult401Headers

type GetLlmReportResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

GetLlmReportResult401Headers the declared response headers of an HTTP 401 response for GetLlmReport

type GetLlmReportResult403Headers

type GetLlmReportResult403Headers struct {
	XRequestID *string
}

GetLlmReportResult403Headers the declared response headers of an HTTP 403 response for GetLlmReport

type GetLlmReportResult404Headers

type GetLlmReportResult404Headers struct {
	XRequestID *string
}

GetLlmReportResult404Headers the declared response headers of an HTTP 404 response for GetLlmReport

type GetLlmReportResult409Headers

type GetLlmReportResult409Headers struct {
	XRequestID *string
}

GetLlmReportResult409Headers the declared response headers of an HTTP 409 response for GetLlmReport

type GetLlmReportResult500Headers

type GetLlmReportResult500Headers struct {
	XRequestID *string
}

GetLlmReportResult500Headers the declared response headers of an HTTP 500 response for GetLlmReport

type GetMeResult

type GetMeResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MeResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *GetMeResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetMeResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetMeResult404Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *GetMeResult500Headers
}

func ParseGetMeResult

func ParseGetMeResult(rsp *http.Response) (*GetMeResult, error)

ParseGetMeResult parses an HTTP response from a GetMeWithResponse call

func (GetMeResult) ContentType

func (r GetMeResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetMeResult) GetBody

func (r GetMeResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetMeResult) GetJSON200

func (r GetMeResult) GetJSON200() *MeResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetMeResult) GetJSON401

func (r GetMeResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetMeResult) GetJSON403

func (r GetMeResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetMeResult) GetJSON404

func (r GetMeResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetMeResult) GetJSON500

func (r GetMeResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetMeResult) Status

func (r GetMeResult) Status() string

Status returns HTTPResponse.Status

func (GetMeResult) StatusCode

func (r GetMeResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMeResult401Headers

type GetMeResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

GetMeResult401Headers the declared response headers of an HTTP 401 response for GetMe

type GetMeResult403Headers

type GetMeResult403Headers struct {
	XRequestID *string
}

GetMeResult403Headers the declared response headers of an HTTP 403 response for GetMe

type GetMeResult404Headers

type GetMeResult404Headers struct {
	XRequestID *string
}

GetMeResult404Headers the declared response headers of an HTTP 404 response for GetMe

type GetMeResult500Headers

type GetMeResult500Headers struct {
	XRequestID *string
}

GetMeResult500Headers the declared response headers of an HTTP 500 response for GetMe

type GetModelResult

type GetModelResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ModelDetailResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *GetModelResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetModelResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetModelResult404Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *GetModelResult500Headers
}

func ParseGetModelResult

func ParseGetModelResult(rsp *http.Response) (*GetModelResult, error)

ParseGetModelResult parses an HTTP response from a GetModelWithResponse call

func (GetModelResult) ContentType

func (r GetModelResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetModelResult) GetBody

func (r GetModelResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetModelResult) GetJSON200

func (r GetModelResult) GetJSON200() *ModelDetailResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetModelResult) GetJSON401

func (r GetModelResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetModelResult) GetJSON403

func (r GetModelResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetModelResult) GetJSON404

func (r GetModelResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetModelResult) GetJSON500

func (r GetModelResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetModelResult) Status

func (r GetModelResult) Status() string

Status returns HTTPResponse.Status

func (GetModelResult) StatusCode

func (r GetModelResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetModelResult401Headers

type GetModelResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

GetModelResult401Headers the declared response headers of an HTTP 401 response for GetModel

type GetModelResult403Headers

type GetModelResult403Headers struct {
	XRequestID *string
}

GetModelResult403Headers the declared response headers of an HTTP 403 response for GetModel

type GetModelResult404Headers

type GetModelResult404Headers struct {
	XRequestID *string
}

GetModelResult404Headers the declared response headers of an HTTP 404 response for GetModel

type GetModelResult500Headers

type GetModelResult500Headers struct {
	XRequestID *string
}

GetModelResult500Headers the declared response headers of an HTTP 500 response for GetModel

type GetModelStatusResult

type GetModelStatusResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ModelStatusResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *GetModelStatusResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetModelStatusResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetModelStatusResult404Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *GetModelStatusResult500Headers
}

func ParseGetModelStatusResult

func ParseGetModelStatusResult(rsp *http.Response) (*GetModelStatusResult, error)

ParseGetModelStatusResult parses an HTTP response from a GetModelStatusWithResponse call

func (GetModelStatusResult) ContentType

func (r GetModelStatusResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetModelStatusResult) GetBody

func (r GetModelStatusResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetModelStatusResult) GetJSON200

func (r GetModelStatusResult) GetJSON200() *ModelStatusResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetModelStatusResult) GetJSON401

func (r GetModelStatusResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetModelStatusResult) GetJSON403

func (r GetModelStatusResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetModelStatusResult) GetJSON404

func (r GetModelStatusResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetModelStatusResult) GetJSON500

func (r GetModelStatusResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetModelStatusResult) Status

func (r GetModelStatusResult) Status() string

Status returns HTTPResponse.Status

func (GetModelStatusResult) StatusCode

func (r GetModelStatusResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetModelStatusResult401Headers

type GetModelStatusResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

GetModelStatusResult401Headers the declared response headers of an HTTP 401 response for GetModelStatus

type GetModelStatusResult403Headers

type GetModelStatusResult403Headers struct {
	XRequestID *string
}

GetModelStatusResult403Headers the declared response headers of an HTTP 403 response for GetModelStatus

type GetModelStatusResult404Headers

type GetModelStatusResult404Headers struct {
	XRequestID *string
}

GetModelStatusResult404Headers the declared response headers of an HTTP 404 response for GetModelStatus

type GetModelStatusResult500Headers

type GetModelStatusResult500Headers struct {
	XRequestID *string
}

GetModelStatusResult500Headers the declared response headers of an HTTP 500 response for GetModelStatus

type GetModelUploadResult

type GetModelUploadResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ModelUploadDetailResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *GetModelUploadResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetModelUploadResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetModelUploadResult404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetModelUploadResult429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *GetModelUploadResult500Headers
}

func ParseGetModelUploadResult

func ParseGetModelUploadResult(rsp *http.Response) (*GetModelUploadResult, error)

ParseGetModelUploadResult parses an HTTP response from a GetModelUploadWithResponse call

func (GetModelUploadResult) ContentType

func (r GetModelUploadResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetModelUploadResult) GetBody

func (r GetModelUploadResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetModelUploadResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetModelUploadResult) GetJSON401

func (r GetModelUploadResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetModelUploadResult) GetJSON403

func (r GetModelUploadResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetModelUploadResult) GetJSON404

func (r GetModelUploadResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetModelUploadResult) GetJSON429

func (r GetModelUploadResult) GetJSON429() *RateLimited

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetModelUploadResult) GetJSON500

func (r GetModelUploadResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetModelUploadResult) Status

func (r GetModelUploadResult) Status() string

Status returns HTTPResponse.Status

func (GetModelUploadResult) StatusCode

func (r GetModelUploadResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetModelUploadResult401Headers

type GetModelUploadResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

GetModelUploadResult401Headers the declared response headers of an HTTP 401 response for GetModelUpload

type GetModelUploadResult403Headers

type GetModelUploadResult403Headers struct {
	XRequestID *string
}

GetModelUploadResult403Headers the declared response headers of an HTTP 403 response for GetModelUpload

type GetModelUploadResult404Headers

type GetModelUploadResult404Headers struct {
	XRequestID *string
}

GetModelUploadResult404Headers the declared response headers of an HTTP 404 response for GetModelUpload

type GetModelUploadResult429Headers

type GetModelUploadResult429Headers struct {
	RetryAfter *int
	XRequestID *string
}

GetModelUploadResult429Headers the declared response headers of an HTTP 429 response for GetModelUpload

type GetModelUploadResult500Headers

type GetModelUploadResult500Headers struct {
	XRequestID *string
}

GetModelUploadResult500Headers the declared response headers of an HTTP 500 response for GetModelUpload

type GetPackageReportResult

type GetPackageReportResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PackageReportResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *GetPackageReportResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetPackageReportResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetPackageReportResult404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *GetPackageReportResult409Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *GetPackageReportResult500Headers
}

func ParseGetPackageReportResult

func ParseGetPackageReportResult(rsp *http.Response) (*GetPackageReportResult, error)

ParseGetPackageReportResult parses an HTTP response from a GetPackageReportWithResponse call

func (GetPackageReportResult) ContentType

func (r GetPackageReportResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetPackageReportResult) GetBody

func (r GetPackageReportResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPackageReportResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPackageReportResult) GetJSON401

func (r GetPackageReportResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetPackageReportResult) GetJSON403

func (r GetPackageReportResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetPackageReportResult) GetJSON404

func (r GetPackageReportResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPackageReportResult) GetJSON409

func (r GetPackageReportResult) GetJSON409() *Conflict

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetPackageReportResult) GetJSON500

func (r GetPackageReportResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetPackageReportResult) Status

func (r GetPackageReportResult) Status() string

Status returns HTTPResponse.Status

func (GetPackageReportResult) StatusCode

func (r GetPackageReportResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPackageReportResult401Headers

type GetPackageReportResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

GetPackageReportResult401Headers the declared response headers of an HTTP 401 response for GetPackageReport

type GetPackageReportResult403Headers

type GetPackageReportResult403Headers struct {
	XRequestID *string
}

GetPackageReportResult403Headers the declared response headers of an HTTP 403 response for GetPackageReport

type GetPackageReportResult404Headers

type GetPackageReportResult404Headers struct {
	XRequestID *string
}

GetPackageReportResult404Headers the declared response headers of an HTTP 404 response for GetPackageReport

type GetPackageReportResult409Headers

type GetPackageReportResult409Headers struct {
	XRequestID *string
}

GetPackageReportResult409Headers the declared response headers of an HTTP 409 response for GetPackageReport

type GetPackageReportResult500Headers

type GetPackageReportResult500Headers struct {
	XRequestID *string
}

GetPackageReportResult500Headers the declared response headers of an HTTP 500 response for GetPackageReport

type GetRepoResult

type GetRepoResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RepoResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *GetRepoResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetRepoResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetRepoResult404Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *GetRepoResult500Headers
}

func ParseGetRepoResult

func ParseGetRepoResult(rsp *http.Response) (*GetRepoResult, error)

ParseGetRepoResult parses an HTTP response from a GetRepoWithResponse call

func (GetRepoResult) ContentType

func (r GetRepoResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRepoResult) GetBody

func (r GetRepoResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetRepoResult) GetJSON200

func (r GetRepoResult) GetJSON200() *RepoResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetRepoResult) GetJSON401

func (r GetRepoResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetRepoResult) GetJSON403

func (r GetRepoResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetRepoResult) GetJSON404

func (r GetRepoResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetRepoResult) GetJSON500

func (r GetRepoResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetRepoResult) Status

func (r GetRepoResult) Status() string

Status returns HTTPResponse.Status

func (GetRepoResult) StatusCode

func (r GetRepoResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRepoResult401Headers

type GetRepoResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

GetRepoResult401Headers the declared response headers of an HTTP 401 response for GetRepo

type GetRepoResult403Headers

type GetRepoResult403Headers struct {
	XRequestID *string
}

GetRepoResult403Headers the declared response headers of an HTTP 403 response for GetRepo

type GetRepoResult404Headers

type GetRepoResult404Headers struct {
	XRequestID *string
}

GetRepoResult404Headers the declared response headers of an HTTP 404 response for GetRepo

type GetRepoResult500Headers

type GetRepoResult500Headers struct {
	XRequestID *string
}

GetRepoResult500Headers the declared response headers of an HTTP 500 response for GetRepo

type GetUsageQuotasResult

type GetUsageQuotasResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UsageQuotasResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *GetUsageQuotasResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetUsageQuotasResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetUsageQuotasResult404Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *GetUsageQuotasResult500Headers
}

func ParseGetUsageQuotasResult

func ParseGetUsageQuotasResult(rsp *http.Response) (*GetUsageQuotasResult, error)

ParseGetUsageQuotasResult parses an HTTP response from a GetUsageQuotasWithResponse call

func (GetUsageQuotasResult) ContentType

func (r GetUsageQuotasResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUsageQuotasResult) GetBody

func (r GetUsageQuotasResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetUsageQuotasResult) GetJSON200

func (r GetUsageQuotasResult) GetJSON200() *UsageQuotasResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUsageQuotasResult) GetJSON401

func (r GetUsageQuotasResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUsageQuotasResult) GetJSON403

func (r GetUsageQuotasResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetUsageQuotasResult) GetJSON404

func (r GetUsageQuotasResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetUsageQuotasResult) GetJSON500

func (r GetUsageQuotasResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetUsageQuotasResult) Status

func (r GetUsageQuotasResult) Status() string

Status returns HTTPResponse.Status

func (GetUsageQuotasResult) StatusCode

func (r GetUsageQuotasResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUsageQuotasResult401Headers

type GetUsageQuotasResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

GetUsageQuotasResult401Headers the declared response headers of an HTTP 401 response for GetUsageQuotas

type GetUsageQuotasResult403Headers

type GetUsageQuotasResult403Headers struct {
	XRequestID *string
}

GetUsageQuotasResult403Headers the declared response headers of an HTTP 403 response for GetUsageQuotas

type GetUsageQuotasResult404Headers

type GetUsageQuotasResult404Headers struct {
	XRequestID *string
}

GetUsageQuotasResult404Headers the declared response headers of an HTTP 404 response for GetUsageQuotas

type GetUsageQuotasResult500Headers

type GetUsageQuotasResult500Headers struct {
	XRequestID *string
}

GetUsageQuotasResult500Headers the declared response headers of an HTTP 500 response for GetUsageQuotas

type GetUsageResult

type GetUsageResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UsageResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *GetUsageResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetUsageResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetUsageResult404Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *GetUsageResult500Headers
}

func ParseGetUsageResult

func ParseGetUsageResult(rsp *http.Response) (*GetUsageResult, error)

ParseGetUsageResult parses an HTTP response from a GetUsageWithResponse call

func (GetUsageResult) ContentType

func (r GetUsageResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUsageResult) GetBody

func (r GetUsageResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetUsageResult) GetJSON200

func (r GetUsageResult) GetJSON200() *UsageResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUsageResult) GetJSON401

func (r GetUsageResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUsageResult) GetJSON403

func (r GetUsageResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetUsageResult) GetJSON404

func (r GetUsageResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetUsageResult) GetJSON500

func (r GetUsageResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetUsageResult) Status

func (r GetUsageResult) Status() string

Status returns HTTPResponse.Status

func (GetUsageResult) StatusCode

func (r GetUsageResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUsageResult401Headers

type GetUsageResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

GetUsageResult401Headers the declared response headers of an HTTP 401 response for GetUsage

type GetUsageResult403Headers

type GetUsageResult403Headers struct {
	XRequestID *string
}

GetUsageResult403Headers the declared response headers of an HTTP 403 response for GetUsage

type GetUsageResult404Headers

type GetUsageResult404Headers struct {
	XRequestID *string
}

GetUsageResult404Headers the declared response headers of an HTTP 404 response for GetUsage

type GetUsageResult500Headers

type GetUsageResult500Headers struct {
	XRequestID *string
}

GetUsageResult500Headers the declared response headers of an HTTP 500 response for GetUsage

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IdempotencyKey

type IdempotencyKey = string

IdempotencyKey defines model for IdempotencyKey.

type ImportModelJSONRequestBody

type ImportModelJSONRequestBody = ImportModelRequest

ImportModelJSONRequestBody defines body for ImportModel for application/json ContentType.

type ImportModelParams

type ImportModelParams struct {
	// IdempotencyKey Optional client-generated key that makes the mutation safely retryable: replaying a request with the same key returns the original outcome instead of repeating the side effect. See each operation's description for its exact replay semantics.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

ImportModelParams defines parameters for ImportModel.

type ImportModelRequest

type ImportModelRequest struct {
	HfRepo string `json:"hf_repo"`

	// Revision Reserved. Revision pinning is not supported yet: a non-null revision is rejected with 422; omit it (or send null) to import the repository's current default-branch head.
	Revision *string `json:"revision,omitempty"`
}

ImportModelRequest POST .../models/import body — a PUBLIC HuggingFace model repo id (e.g. "org/name"; `hf://` / URL prefixes are accepted and normalized).

type ImportModelResponse

type ImportModelResponse struct {
	Key     string                   `json:"key"`
	State   ImportModelResponseState `json:"state"`
	Version int                      `json:"version"`
}

ImportModelResponse defines model for ImportModelResponse.

type ImportModelResponseState

type ImportModelResponseState string

ImportModelResponseState defines model for ImportModelResponse.State.

const (
	ImportModelResponseStateConverting ImportModelResponseState = "converting"
	ImportModelResponseStateFailed     ImportModelResponseState = "failed"
	ImportModelResponseStateOptimizing ImportModelResponseState = "optimizing"
	ImportModelResponseStateReady      ImportModelResponseState = "ready"
)

Defines values for ImportModelResponseState.

func (ImportModelResponseState) Valid

func (e ImportModelResponseState) Valid() bool

Valid indicates whether the value is a known member of the ImportModelResponseState enum.

type ImportModelResult

type ImportModelResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ImportModelResponse
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *ImportModelResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationError
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *ImportModelResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ImportModelResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ImportModelResult404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *ImportModelResult409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *ImportModelResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ImportModelResult429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *ImportModelResult500Headers
}

func ParseImportModelResult

func ParseImportModelResult(rsp *http.Response) (*ImportModelResult, error)

ParseImportModelResult parses an HTTP response from a ImportModelWithResponse call

func (ImportModelResult) ContentType

func (r ImportModelResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ImportModelResult) GetBody

func (r ImportModelResult) GetBody() []byte

GetBody returns the raw response body bytes

func (ImportModelResult) GetJSON200

func (r ImportModelResult) GetJSON200() *ImportModelResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ImportModelResult) GetJSON201

func (r ImportModelResult) GetJSON201() *ImportModelResponse

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (ImportModelResult) GetJSON401

func (r ImportModelResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ImportModelResult) GetJSON403

func (r ImportModelResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ImportModelResult) GetJSON404

func (r ImportModelResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ImportModelResult) GetJSON409

func (r ImportModelResult) GetJSON409() *Conflict

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ImportModelResult) GetJSON422

func (r ImportModelResult) GetJSON422() *ValidationError

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ImportModelResult) GetJSON429

func (r ImportModelResult) GetJSON429() *RateLimited

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ImportModelResult) GetJSON500

func (r ImportModelResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ImportModelResult) Status

func (r ImportModelResult) Status() string

Status returns HTTPResponse.Status

func (ImportModelResult) StatusCode

func (r ImportModelResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ImportModelResult401Headers

type ImportModelResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

ImportModelResult401Headers the declared response headers of an HTTP 401 response for ImportModel

type ImportModelResult403Headers

type ImportModelResult403Headers struct {
	XRequestID *string
}

ImportModelResult403Headers the declared response headers of an HTTP 403 response for ImportModel

type ImportModelResult404Headers

type ImportModelResult404Headers struct {
	XRequestID *string
}

ImportModelResult404Headers the declared response headers of an HTTP 404 response for ImportModel

type ImportModelResult409Headers

type ImportModelResult409Headers struct {
	XRequestID *string
}

ImportModelResult409Headers the declared response headers of an HTTP 409 response for ImportModel

type ImportModelResult422Headers

type ImportModelResult422Headers struct {
	XRequestID *string
}

ImportModelResult422Headers the declared response headers of an HTTP 422 response for ImportModel

type ImportModelResult429Headers

type ImportModelResult429Headers struct {
	RetryAfter *int
	XRequestID *string
}

ImportModelResult429Headers the declared response headers of an HTTP 429 response for ImportModel

type ImportModelResult500Headers

type ImportModelResult500Headers struct {
	XRequestID *string
}

ImportModelResult500Headers the declared response headers of an HTTP 500 response for ImportModel

type IssuedSessionFile

type IssuedSessionFile struct {
	CanonicalPath string  `json:"canonical_path"`
	ClientFileId  string  `json:"client_file_id"`
	Resumable     *bool   `json:"resumable,omitempty"`
	UploadUrl     *string `json:"upload_url,omitempty"`
}

IssuedSessionFile defines model for IssuedSessionFile.

type IssuedUpload

type IssuedUpload struct {
	Path      string `json:"path"`
	UploadUrl string `json:"upload_url"`
}

IssuedUpload defines model for IssuedUpload.

type LibraryModelDetailResponse

type LibraryModelDetailResponse struct {
	Account     string              `json:"account"`
	CreatedAt   time.Time           `json:"created_at"`
	Description *string             `json:"description,omitempty"`
	FullName    string              `json:"full_name"`
	ModelType   string              `json:"model_type"`
	Name        string              `json:"name"`
	Provider    *LibraryProviderRef `json:"provider,omitempty"`
	Readme      *string             `json:"readme,omitempty"`
	Tags        []string            `json:"tags"`
	UseCase     *string             `json:"use_case,omitempty"`
}

LibraryModelDetailResponse The list item plus the repo's readme (public content).

type LibraryModelItem

type LibraryModelItem struct {
	Account     string              `json:"account"`
	CreatedAt   time.Time           `json:"created_at"`
	Description *string             `json:"description,omitempty"`
	FullName    string              `json:"full_name"`
	ModelType   string              `json:"model_type"`
	Name        string              `json:"name"`
	Provider    *LibraryProviderRef `json:"provider,omitempty"`
	Tags        []string            `json:"tags"`
	UseCase     *string             `json:"use_case,omitempty"`
}

LibraryModelItem One public library model (a public repo, browsed cross-account).

type LibraryProviderItem

type LibraryProviderItem struct {
	LogoUrl    *string `json:"logo_url,omitempty"`
	ModelCount int     `json:"model_count"`
	Name       string  `json:"name"`
}

LibraryProviderItem defines model for LibraryProviderItem.

type LibraryProviderRef

type LibraryProviderRef struct {
	LogoUrl *string `json:"logo_url,omitempty"`
	Name    string  `json:"name"`
}

LibraryProviderRef The provider (company) that published a library model.

type ListActiveUploadsResponse

type ListActiveUploadsResponse struct {
	Uploads []ActiveUpload `json:"uploads"`
}

ListActiveUploadsResponse defines model for ListActiveUploadsResponse.

type ListLibraryModelsParams

type ListLibraryModelsParams struct {
	// Task Repeatable use-case filter; items matching ANY given task are included.
	Task *[]ListLibraryModelsParamsTask `form:"task,omitempty" json:"task,omitempty"`

	// Search Case- and separator-insensitive substring match on name or full_name.
	Search *string `form:"search,omitempty" json:"search,omitempty"`

	// Provider Exact provider (company) name.
	Provider *string `form:"provider,omitempty" json:"provider,omitempty"`

	// Limit Page size. Values greater than 100 are clamped to 100.
	Limit  *int `form:"limit,omitempty" json:"limit,omitempty"`
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ListLibraryModelsParams defines parameters for ListLibraryModels.

type ListLibraryModelsParamsTask

type ListLibraryModelsParamsTask string

ListLibraryModelsParamsTask defines parameters for ListLibraryModels.

const (
	ListLibraryModelsParamsTaskLlm    ListLibraryModelsParamsTask = "llm"
	ListLibraryModelsParamsTaskNlp    ListLibraryModelsParamsTask = "nlp"
	ListLibraryModelsParamsTaskOther  ListLibraryModelsParamsTask = "other"
	ListLibraryModelsParamsTaskSpeech ListLibraryModelsParamsTask = "speech"
	ListLibraryModelsParamsTaskVision ListLibraryModelsParamsTask = "vision"
)

Defines values for ListLibraryModelsParamsTask.

func (ListLibraryModelsParamsTask) Valid

Valid indicates whether the value is a known member of the ListLibraryModelsParamsTask enum.

type ListLibraryModelsResult

type ListLibraryModelsResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PagedLibraryModelItem
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationError
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *ListLibraryModelsResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ListLibraryModelsResult403Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *ListLibraryModelsResult422Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *ListLibraryModelsResult500Headers
}

func ParseListLibraryModelsResult

func ParseListLibraryModelsResult(rsp *http.Response) (*ListLibraryModelsResult, error)

ParseListLibraryModelsResult parses an HTTP response from a ListLibraryModelsWithResponse call

func (ListLibraryModelsResult) ContentType

func (r ListLibraryModelsResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListLibraryModelsResult) GetBody

func (r ListLibraryModelsResult) GetBody() []byte

GetBody returns the raw response body bytes

func (ListLibraryModelsResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListLibraryModelsResult) GetJSON401

func (r ListLibraryModelsResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListLibraryModelsResult) GetJSON403

func (r ListLibraryModelsResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListLibraryModelsResult) GetJSON422

func (r ListLibraryModelsResult) GetJSON422() *ValidationError

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ListLibraryModelsResult) GetJSON500

func (r ListLibraryModelsResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ListLibraryModelsResult) Status

func (r ListLibraryModelsResult) Status() string

Status returns HTTPResponse.Status

func (ListLibraryModelsResult) StatusCode

func (r ListLibraryModelsResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLibraryModelsResult401Headers

type ListLibraryModelsResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

ListLibraryModelsResult401Headers the declared response headers of an HTTP 401 response for ListLibraryModels

type ListLibraryModelsResult403Headers

type ListLibraryModelsResult403Headers struct {
	XRequestID *string
}

ListLibraryModelsResult403Headers the declared response headers of an HTTP 403 response for ListLibraryModels

type ListLibraryModelsResult422Headers

type ListLibraryModelsResult422Headers struct {
	XRequestID *string
}

ListLibraryModelsResult422Headers the declared response headers of an HTTP 422 response for ListLibraryModels

type ListLibraryModelsResult500Headers

type ListLibraryModelsResult500Headers struct {
	XRequestID *string
}

ListLibraryModelsResult500Headers the declared response headers of an HTTP 500 response for ListLibraryModels

type ListLibraryProvidersResponse

type ListLibraryProvidersResponse struct {
	Count   int                   `json:"count"`
	Results []LibraryProviderItem `json:"results"`
}

ListLibraryProvidersResponse defines model for ListLibraryProvidersResponse.

type ListLibraryProvidersResult

type ListLibraryProvidersResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListLibraryProvidersResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *ListLibraryProvidersResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ListLibraryProvidersResult403Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *ListLibraryProvidersResult500Headers
}

func ParseListLibraryProvidersResult

func ParseListLibraryProvidersResult(rsp *http.Response) (*ListLibraryProvidersResult, error)

ParseListLibraryProvidersResult parses an HTTP response from a ListLibraryProvidersWithResponse call

func (ListLibraryProvidersResult) ContentType

func (r ListLibraryProvidersResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListLibraryProvidersResult) GetBody

func (r ListLibraryProvidersResult) GetBody() []byte

GetBody returns the raw response body bytes

func (ListLibraryProvidersResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListLibraryProvidersResult) GetJSON401

func (r ListLibraryProvidersResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListLibraryProvidersResult) GetJSON403

func (r ListLibraryProvidersResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListLibraryProvidersResult) GetJSON500

func (r ListLibraryProvidersResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ListLibraryProvidersResult) Status

Status returns HTTPResponse.Status

func (ListLibraryProvidersResult) StatusCode

func (r ListLibraryProvidersResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLibraryProvidersResult401Headers

type ListLibraryProvidersResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

ListLibraryProvidersResult401Headers the declared response headers of an HTTP 401 response for ListLibraryProviders

type ListLibraryProvidersResult403Headers

type ListLibraryProvidersResult403Headers struct {
	XRequestID *string
}

ListLibraryProvidersResult403Headers the declared response headers of an HTTP 403 response for ListLibraryProviders

type ListLibraryProvidersResult500Headers

type ListLibraryProvidersResult500Headers struct {
	XRequestID *string
}

ListLibraryProvidersResult500Headers the declared response headers of an HTTP 500 response for ListLibraryProviders

type ListModelTargetsResponse

type ListModelTargetsResponse struct {
	Count   int               `json:"count"`
	Results []ModelTargetItem `json:"results"`
}

ListModelTargetsResponse defines model for ListModelTargetsResponse.

type ListModelTargetsResult

type ListModelTargetsResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListModelTargetsResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *ListModelTargetsResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ListModelTargetsResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListModelTargetsResult404Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *ListModelTargetsResult500Headers
}

func ParseListModelTargetsResult

func ParseListModelTargetsResult(rsp *http.Response) (*ListModelTargetsResult, error)

ParseListModelTargetsResult parses an HTTP response from a ListModelTargetsWithResponse call

func (ListModelTargetsResult) ContentType

func (r ListModelTargetsResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListModelTargetsResult) GetBody

func (r ListModelTargetsResult) GetBody() []byte

GetBody returns the raw response body bytes

func (ListModelTargetsResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListModelTargetsResult) GetJSON401

func (r ListModelTargetsResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListModelTargetsResult) GetJSON403

func (r ListModelTargetsResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListModelTargetsResult) GetJSON404

func (r ListModelTargetsResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListModelTargetsResult) GetJSON500

func (r ListModelTargetsResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ListModelTargetsResult) Status

func (r ListModelTargetsResult) Status() string

Status returns HTTPResponse.Status

func (ListModelTargetsResult) StatusCode

func (r ListModelTargetsResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListModelTargetsResult401Headers

type ListModelTargetsResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

ListModelTargetsResult401Headers the declared response headers of an HTTP 401 response for ListModelTargets

type ListModelTargetsResult403Headers

type ListModelTargetsResult403Headers struct {
	XRequestID *string
}

ListModelTargetsResult403Headers the declared response headers of an HTTP 403 response for ListModelTargets

type ListModelTargetsResult404Headers

type ListModelTargetsResult404Headers struct {
	XRequestID *string
}

ListModelTargetsResult404Headers the declared response headers of an HTTP 404 response for ListModelTargets

type ListModelTargetsResult500Headers

type ListModelTargetsResult500Headers struct {
	XRequestID *string
}

ListModelTargetsResult500Headers the declared response headers of an HTTP 500 response for ListModelTargets

type ListModelUploadsResponse

type ListModelUploadsResponse struct {
	Count   int                  `json:"count"`
	Results []ModelUploadSummary `json:"results"`
}

ListModelUploadsResponse defines model for ListModelUploadsResponse.

type ListModelUploadsResult

type ListModelUploadsResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListModelUploadsResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *ListModelUploadsResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ListModelUploadsResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListModelUploadsResult404Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *ListModelUploadsResult500Headers
}

func ParseListModelUploadsResult

func ParseListModelUploadsResult(rsp *http.Response) (*ListModelUploadsResult, error)

ParseListModelUploadsResult parses an HTTP response from a ListModelUploadsWithResponse call

func (ListModelUploadsResult) ContentType

func (r ListModelUploadsResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListModelUploadsResult) GetBody

func (r ListModelUploadsResult) GetBody() []byte

GetBody returns the raw response body bytes

func (ListModelUploadsResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListModelUploadsResult) GetJSON401

func (r ListModelUploadsResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListModelUploadsResult) GetJSON403

func (r ListModelUploadsResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListModelUploadsResult) GetJSON404

func (r ListModelUploadsResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListModelUploadsResult) GetJSON500

func (r ListModelUploadsResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ListModelUploadsResult) Status

func (r ListModelUploadsResult) Status() string

Status returns HTTPResponse.Status

func (ListModelUploadsResult) StatusCode

func (r ListModelUploadsResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListModelUploadsResult401Headers

type ListModelUploadsResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

ListModelUploadsResult401Headers the declared response headers of an HTTP 401 response for ListModelUploads

type ListModelUploadsResult403Headers

type ListModelUploadsResult403Headers struct {
	XRequestID *string
}

ListModelUploadsResult403Headers the declared response headers of an HTTP 403 response for ListModelUploads

type ListModelUploadsResult404Headers

type ListModelUploadsResult404Headers struct {
	XRequestID *string
}

ListModelUploadsResult404Headers the declared response headers of an HTTP 404 response for ListModelUploads

type ListModelUploadsResult500Headers

type ListModelUploadsResult500Headers struct {
	XRequestID *string
}

ListModelUploadsResult500Headers the declared response headers of an HTTP 500 response for ListModelUploads

type ListModelsParams

type ListModelsParams struct {
	// Limit Page size. Values greater than 100 are clamped to 100.
	Limit  *int `form:"limit,omitempty" json:"limit,omitempty"`
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ListModelsParams defines parameters for ListModels.

type ListModelsResult

type ListModelsResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PagedModelSummary
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationError
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *ListModelsResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ListModelsResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListModelsResult404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *ListModelsResult422Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *ListModelsResult500Headers
}

func ParseListModelsResult

func ParseListModelsResult(rsp *http.Response) (*ListModelsResult, error)

ParseListModelsResult parses an HTTP response from a ListModelsWithResponse call

func (ListModelsResult) ContentType

func (r ListModelsResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListModelsResult) GetBody

func (r ListModelsResult) GetBody() []byte

GetBody returns the raw response body bytes

func (ListModelsResult) GetJSON200

func (r ListModelsResult) GetJSON200() *PagedModelSummary

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListModelsResult) GetJSON401

func (r ListModelsResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListModelsResult) GetJSON403

func (r ListModelsResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListModelsResult) GetJSON404

func (r ListModelsResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListModelsResult) GetJSON422

func (r ListModelsResult) GetJSON422() *ValidationError

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ListModelsResult) GetJSON500

func (r ListModelsResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ListModelsResult) Status

func (r ListModelsResult) Status() string

Status returns HTTPResponse.Status

func (ListModelsResult) StatusCode

func (r ListModelsResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListModelsResult401Headers

type ListModelsResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

ListModelsResult401Headers the declared response headers of an HTTP 401 response for ListModels

type ListModelsResult403Headers

type ListModelsResult403Headers struct {
	XRequestID *string
}

ListModelsResult403Headers the declared response headers of an HTTP 403 response for ListModels

type ListModelsResult404Headers

type ListModelsResult404Headers struct {
	XRequestID *string
}

ListModelsResult404Headers the declared response headers of an HTTP 404 response for ListModels

type ListModelsResult422Headers

type ListModelsResult422Headers struct {
	XRequestID *string
}

ListModelsResult422Headers the declared response headers of an HTTP 422 response for ListModels

type ListModelsResult500Headers

type ListModelsResult500Headers struct {
	XRequestID *string
}

ListModelsResult500Headers the declared response headers of an HTTP 500 response for ListModels

type ListReposParams

type ListReposParams struct {
	Search *string `form:"search,omitempty" json:"search,omitempty"`

	// Limit Page size. Values greater than 100 are clamped to 100.
	Limit  *int `form:"limit,omitempty" json:"limit,omitempty"`
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ListReposParams defines parameters for ListRepos.

type ListReposResult

type ListReposResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PagedRepoResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationError
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *ListReposResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ListReposResult403Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *ListReposResult422Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *ListReposResult500Headers
}

func ParseListReposResult

func ParseListReposResult(rsp *http.Response) (*ListReposResult, error)

ParseListReposResult parses an HTTP response from a ListReposWithResponse call

func (ListReposResult) ContentType

func (r ListReposResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListReposResult) GetBody

func (r ListReposResult) GetBody() []byte

GetBody returns the raw response body bytes

func (ListReposResult) GetJSON200

func (r ListReposResult) GetJSON200() *PagedRepoResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListReposResult) GetJSON401

func (r ListReposResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListReposResult) GetJSON403

func (r ListReposResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListReposResult) GetJSON422

func (r ListReposResult) GetJSON422() *ValidationError

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ListReposResult) GetJSON500

func (r ListReposResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ListReposResult) Status

func (r ListReposResult) Status() string

Status returns HTTPResponse.Status

func (ListReposResult) StatusCode

func (r ListReposResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListReposResult401Headers

type ListReposResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

ListReposResult401Headers the declared response headers of an HTTP 401 response for ListRepos

type ListReposResult403Headers

type ListReposResult403Headers struct {
	XRequestID *string
}

ListReposResult403Headers the declared response headers of an HTTP 403 response for ListRepos

type ListReposResult422Headers

type ListReposResult422Headers struct {
	XRequestID *string
}

ListReposResult422Headers the declared response headers of an HTTP 422 response for ListRepos

type ListReposResult500Headers

type ListReposResult500Headers struct {
	XRequestID *string
}

ListReposResult500Headers the declared response headers of an HTTP 500 response for ListRepos

type LlmAccuracyEntry

type LlmAccuracyEntry struct {
	Dataset   *string `json:"dataset"`
	QuantType *string `json:"quant_type"`
	Score     float32 `json:"score"`
}

LlmAccuracyEntry defines model for LlmAccuracyEntry.

type LlmQuantAggregates

type LlmQuantAggregates struct {
	BestAccuracy *float32 `json:"best_accuracy"`
	BestMemoryMb *float32 `json:"best_memory_mb"`
	BestTps      *float32 `json:"best_tps"`
	BestTtftMs   *float32 `json:"best_ttft_ms"`
}

LlmQuantAggregates defines model for LlmQuantAggregates.

type LlmReportRecord

type LlmReportRecord struct {
	ApType    *LlmReportRecordApType `json:"ap_type"`
	Dataset   *string                `json:"dataset"`
	Device    *ReportDevice          `json:"device"`
	Metric    LlmReportRecordMetric  `json:"metric"`
	QuantType *string                `json:"quant_type"`
	Run       int                    `json:"run"`
	Unit      LlmReportRecordUnit    `json:"unit"`
	Value     float32                `json:"value"`
	Variant   *string                `json:"variant"`
}

LlmReportRecord `device`/`ap_type` are null on server-side accuracy records; `dataset` is only set on accuracy_score records. `variant` is an OPAQUE token distinguishing the artifacts measured on one device. `run` is the opaque 0-based source-row ordinal within the record's (device, variant, ap_type, quant_type) group (derivation rule D9).

type LlmReportRecordApType

type LlmReportRecordApType string

LlmReportRecordApType defines model for LlmReportRecord.ApType.

const (
	LlmReportRecordApTypeCpu LlmReportRecordApType = "cpu"
	LlmReportRecordApTypeGpu LlmReportRecordApType = "gpu"
	LlmReportRecordApTypeNpu LlmReportRecordApType = "npu"
)

Defines values for LlmReportRecordApType.

func (LlmReportRecordApType) Valid

func (e LlmReportRecordApType) Valid() bool

Valid indicates whether the value is a known member of the LlmReportRecordApType enum.

type LlmReportRecordMetric

type LlmReportRecordMetric string

LlmReportRecordMetric defines model for LlmReportRecord.Metric.

const (
	LlmReportRecordMetricAccuracyScore         LlmReportRecordMetric = "accuracy_score"
	LlmReportRecordMetricGeneratedTokens       LlmReportRecordMetric = "generated_tokens"
	LlmReportRecordMetricMemoryInferenceMinMb  LlmReportRecordMetric = "memory_inference_min_mb"
	LlmReportRecordMetricMemoryInferencePeakMb LlmReportRecordMetric = "memory_inference_peak_mb"
	LlmReportRecordMetricMemoryLoadMinMb       LlmReportRecordMetric = "memory_load_min_mb"
	LlmReportRecordMetricMemoryLoadPeakMb      LlmReportRecordMetric = "memory_load_peak_mb"
	LlmReportRecordMetricModelSizeBytes        LlmReportRecordMetric = "model_size_bytes"
	LlmReportRecordMetricPromptTokens          LlmReportRecordMetric = "prompt_tokens"
	LlmReportRecordMetricTps                   LlmReportRecordMetric = "tps"
	LlmReportRecordMetricTtftMs                LlmReportRecordMetric = "ttft_ms"
)

Defines values for LlmReportRecordMetric.

func (LlmReportRecordMetric) Valid

func (e LlmReportRecordMetric) Valid() bool

Valid indicates whether the value is a known member of the LlmReportRecordMetric enum.

type LlmReportRecordUnit

type LlmReportRecordUnit string

LlmReportRecordUnit defines model for LlmReportRecord.Unit.

const (
	LlmReportRecordUnitBytes      LlmReportRecordUnit = "bytes"
	LlmReportRecordUnitCount      LlmReportRecordUnit = "count"
	LlmReportRecordUnitMb         LlmReportRecordUnit = "mb"
	LlmReportRecordUnitMs         LlmReportRecordUnit = "ms"
	LlmReportRecordUnitScore      LlmReportRecordUnit = "score"
	LlmReportRecordUnitTokensPerS LlmReportRecordUnit = "tokens_per_s"
)

Defines values for LlmReportRecordUnit.

func (LlmReportRecordUnit) Valid

func (e LlmReportRecordUnit) Valid() bool

Valid indicates whether the value is a known member of the LlmReportRecordUnit enum.

type LlmReportResponse

type LlmReportResponse struct {
	DerivationVersion int               `json:"derivation_version"`
	Model             ReportModelRef    `json:"model"`
	Records           []LlmReportRecord `json:"records"`
	Summary           LlmReportSummary  `json:"summary"`
}

LlmReportResponse defines model for LlmReportResponse.

type LlmReportSummary

type LlmReportSummary struct {
	Accuracy []LlmAccuracyEntry            `json:"accuracy"`
	Quants   map[string]LlmQuantAggregates `json:"quants"`
}

LlmReportSummary defines model for LlmReportSummary.

type ManifestBucket

type ManifestBucket struct {
	Dims  []int `json:"dims"`
	Index int   `json:"index"`
}

ManifestBucket defines model for ManifestBucket.

type ManifestFile

type ManifestFile struct {
	BucketIndex  *int             `json:"bucket_index,omitempty"`
	ClientFileId string           `json:"client_file_id"`
	Crc32c       string           `json:"crc32c"`
	Filename     string           `json:"filename"`
	InputIndex   *int             `json:"input_index,omitempty"`
	Role         ManifestFileRole `json:"role"`
	Sha256       *string          `json:"sha256,omitempty"`
	Size         int              `json:"size"`
}

ManifestFile defines model for ManifestFile.

type ManifestFileRole

type ManifestFileRole string

ManifestFileRole defines model for ManifestFile.Role.

const (
	ExternalData ManifestFileRole = "external_data"
	Input        ManifestFileRole = "input"
	Model        ManifestFileRole = "model"
)

Defines values for ManifestFileRole.

func (ManifestFileRole) Valid

func (e ManifestFileRole) Valid() bool

Valid indicates whether the value is a known member of the ManifestFileRole enum.

type ManifestOptions

type ManifestOptions struct {
	Buckets *[]ManifestBucket `json:"buckets,omitempty"`
}

ManifestOptions defines model for ManifestOptions.

type MeAccount

type MeAccount struct {
	Name string `json:"name"`
	Type string `json:"type"`
}

MeAccount defines model for MeAccount.

type MeResponse

type MeResponse struct {
	Account MeAccount `json:"account"`
	Token   MeToken   `json:"token"`
	User    MeUser    `json:"user"`
}

MeResponse defines model for MeResponse.

type MeToken

type MeToken struct {
	ExpiresAt  *time.Time `json:"expires_at,omitempty"`
	LastUsedAt *time.Time `json:"last_used_at,omitempty"`
	Name       string     `json:"name"`
	Scopes     []string   `json:"scopes"`
}

MeToken defines model for MeToken.

type MeUser

type MeUser struct {
	Email    string `json:"email"`
	Nickname string `json:"nickname"`
}

MeUser defines model for MeUser.

type ModelDetailResponse

type ModelDetailResponse struct {
	CreatedAt     time.Time                `json:"created_at"`
	DownloadReady bool                     `json:"download_ready"`
	FailureCode   *string                  `json:"failure_code,omitempty"`
	IsDefault     bool                     `json:"is_default"`
	Key           string                   `json:"key"`
	SourceType    string                   `json:"source_type"`
	State         ModelDetailResponseState `json:"state"`
	Terminal      bool                     `json:"terminal"`
	Type          string                   `json:"type"`
	UpdatedAt     time.Time                `json:"updated_at"`
	Version       int                      `json:"version"`
}

ModelDetailResponse ModelSummary plus the status endpoint's terminal/download fields and the (lowercase) source type — still NO job args, URIs or HF fields.

type ModelDetailResponseState

type ModelDetailResponseState string

ModelDetailResponseState defines model for ModelDetailResponse.State.

const (
	ModelDetailResponseStateConverting ModelDetailResponseState = "converting"
	ModelDetailResponseStateFailed     ModelDetailResponseState = "failed"
	ModelDetailResponseStateOptimizing ModelDetailResponseState = "optimizing"
	ModelDetailResponseStateReady      ModelDetailResponseState = "ready"
)

Defines values for ModelDetailResponseState.

func (ModelDetailResponseState) Valid

func (e ModelDetailResponseState) Valid() bool

Valid indicates whether the value is a known member of the ModelDetailResponseState enum.

type ModelRef

type ModelRef struct {
	Key     string `json:"key"`
	Version int    `json:"version"`
}

ModelRef Reference to the CommonModel a completed session registered.

type ModelStatusResponse

type ModelStatusResponse struct {
	CreatedAt     time.Time                 `json:"created_at"`
	DownloadReady bool                      `json:"download_ready"`
	FailureCode   *string                   `json:"failure_code"`
	Progress      *float32                  `json:"progress"`
	RetryAfter    *int                      `json:"retry_after"`
	Stage         *ModelStatusResponseStage `json:"stage"`
	State         ModelStatusResponseState  `json:"state"`
	Terminal      bool                      `json:"terminal"`
	UpdatedAt     time.Time                 `json:"updated_at"`
}

ModelStatusResponse Public conversion status of a model (the CLI `--wait` poll target).

`state` is a STABLE public enum (lowercase snake) mapped from the internal model status; `failure_code` is always a sanitized stable code, never raw pipeline exception text.

type ModelStatusResponseStage

type ModelStatusResponseStage string

ModelStatusResponseStage defines model for ModelStatusResponse.Stage.

const (
	Benchmark ModelStatusResponseStage = "benchmark"
	Convert   ModelStatusResponseStage = "convert"
)

Defines values for ModelStatusResponseStage.

func (ModelStatusResponseStage) Valid

func (e ModelStatusResponseStage) Valid() bool

Valid indicates whether the value is a known member of the ModelStatusResponseStage enum.

type ModelStatusResponseState

type ModelStatusResponseState string

ModelStatusResponseState defines model for ModelStatusResponse.State.

const (
	ModelStatusResponseStateConverting ModelStatusResponseState = "converting"
	ModelStatusResponseStateFailed     ModelStatusResponseState = "failed"
	ModelStatusResponseStateOptimizing ModelStatusResponseState = "optimizing"
	ModelStatusResponseStateReady      ModelStatusResponseState = "ready"
)

Defines values for ModelStatusResponseState.

func (ModelStatusResponseState) Valid

func (e ModelStatusResponseState) Valid() bool

Valid indicates whether the value is a known member of the ModelStatusResponseState enum.

type ModelSummary

type ModelSummary struct {
	CreatedAt time.Time         `json:"created_at"`
	IsDefault bool              `json:"is_default"`
	Key       string            `json:"key"`
	State     ModelSummaryState `json:"state"`
	Type      string            `json:"type"`
	UpdatedAt time.Time         `json:"updated_at"`
	Version   int               `json:"version"`
}

ModelSummary Public shape of a model. `key` is the model's globally-unique tag.

type ModelSummaryState

type ModelSummaryState string

ModelSummaryState defines model for ModelSummary.State.

const (
	ModelSummaryStateConverting ModelSummaryState = "converting"
	ModelSummaryStateFailed     ModelSummaryState = "failed"
	ModelSummaryStateOptimizing ModelSummaryState = "optimizing"
	ModelSummaryStateReady      ModelSummaryState = "ready"
)

Defines values for ModelSummaryState.

func (ModelSummaryState) Valid

func (e ModelSummaryState) Valid() bool

Valid indicates whether the value is a known member of the ModelSummaryState enum.

type ModelTargetCompatibility

type ModelTargetCompatibility struct {
	ApTypes         []ModelTargetCompatibilityApTypes `json:"ap_types"`
	Os              *string                           `json:"os,omitempty"`
	SocManufacturer *string                           `json:"soc_manufacturer,omitempty"`
	SocModel        *string                           `json:"soc_model,omitempty"`
}

ModelTargetCompatibility defines model for ModelTargetCompatibility.

type ModelTargetCompatibilityApTypes

type ModelTargetCompatibilityApTypes string

ModelTargetCompatibilityApTypes defines model for ModelTargetCompatibility.ApTypes.

const (
	ModelTargetCompatibilityApTypesCpu ModelTargetCompatibilityApTypes = "cpu"
	ModelTargetCompatibilityApTypesGpu ModelTargetCompatibilityApTypes = "gpu"
	ModelTargetCompatibilityApTypesNpu ModelTargetCompatibilityApTypes = "npu"
)

Defines values for ModelTargetCompatibilityApTypes.

func (ModelTargetCompatibilityApTypes) Valid

Valid indicates whether the value is a known member of the ModelTargetCompatibilityApTypes enum.

type ModelTargetItem

type ModelTargetItem struct {
	Compatibility *ModelTargetCompatibility `json:"compatibility,omitempty"`
	CreatedAt     time.Time                 `json:"created_at"`
	DownloadSize  int                       `json:"download_size"`
	Kind          ModelTargetItemKind       `json:"kind"`
	Precision     *ModelTargetItemPrecision `json:"precision,omitempty"`
	QuantType     *string                   `json:"quant_type,omitempty"`
	TargetId      string                    `json:"target_id"`
}

ModelTargetItem One converted target artifact of a model.

`target_id` is OPAQUE and stable — clients must not parse it; pass it back to the download endpoints to select this artifact.

The runtime engine that produced the artifact is deliberately NOT published. Choose between targets on the properties that describe the artifact to its consumer: `precision` for general targets, `quant_type` for LLM targets, and `compatibility` for the device it was built for — including `compatibility.ap_types`, the accelerator classes (cpu/gpu/npu) it can run on.

`compatibility` is null when the row carries no device compatibility information: LLM targets and the all-null sentinel. For those rows no accelerator information is published at all, and two artifacts alike in `precision` and `quant_type` are distinguishable only by `target_id` and `download_size`.

type ModelTargetItemKind

type ModelTargetItemKind string

ModelTargetItemKind defines model for ModelTargetItem.Kind.

const (
	ModelTargetItemKindGeneral ModelTargetItemKind = "general"
	ModelTargetItemKindLlm     ModelTargetItemKind = "llm"
)

Defines values for ModelTargetItemKind.

func (ModelTargetItemKind) Valid

func (e ModelTargetItemKind) Valid() bool

Valid indicates whether the value is a known member of the ModelTargetItemKind enum.

type ModelTargetItemPrecision added in v0.4.0

type ModelTargetItemPrecision string

ModelTargetItemPrecision defines model for ModelTargetItem.Precision.

const (
	ModelTargetItemPrecisionFp16 ModelTargetItemPrecision = "fp16"
	ModelTargetItemPrecisionFp32 ModelTargetItemPrecision = "fp32"
	ModelTargetItemPrecisionInt8 ModelTargetItemPrecision = "int8"
)

Defines values for ModelTargetItemPrecision.

func (ModelTargetItemPrecision) Valid added in v0.4.0

func (e ModelTargetItemPrecision) Valid() bool

Valid indicates whether the value is a known member of the ModelTargetItemPrecision enum.

type ModelUploadDetailResponse

type ModelUploadDetailResponse struct {
	ExpiresAt   time.Time                      `json:"expires_at"`
	FailureCode *string                        `json:"failure_code,omitempty"`
	Files       []ModelUploadFileStatus        `json:"files"`
	Id          string                         `json:"id"`
	State       ModelUploadDetailResponseState `json:"state"`
	Tag         string                         `json:"tag"`
}

ModelUploadDetailResponse defines model for ModelUploadDetailResponse.

type ModelUploadDetailResponseState

type ModelUploadDetailResponseState string

ModelUploadDetailResponseState defines model for ModelUploadDetailResponse.State.

const (
	ModelUploadDetailResponseStateCANCELED        ModelUploadDetailResponseState = "CANCELED"
	ModelUploadDetailResponseStateCONVERTING      ModelUploadDetailResponseState = "CONVERTING"
	ModelUploadDetailResponseStateCREATED         ModelUploadDetailResponseState = "CREATED"
	ModelUploadDetailResponseStateDISPATCHPENDING ModelUploadDetailResponseState = "DISPATCH_PENDING"
	ModelUploadDetailResponseStateEXPIRED         ModelUploadDetailResponseState = "EXPIRED"
	ModelUploadDetailResponseStateFAILED          ModelUploadDetailResponseState = "FAILED"
	ModelUploadDetailResponseStateUPLOADING       ModelUploadDetailResponseState = "UPLOADING"
	ModelUploadDetailResponseStateVERIFYING       ModelUploadDetailResponseState = "VERIFYING"
)

Defines values for ModelUploadDetailResponseState.

func (ModelUploadDetailResponseState) Valid

Valid indicates whether the value is a known member of the ModelUploadDetailResponseState enum.

type ModelUploadFileStatus

type ModelUploadFileStatus struct {
	CanonicalPath string `json:"canonical_path"`
	ClientFileId  string `json:"client_file_id"`
	Uploaded      bool   `json:"uploaded"`
	UploadedSize  *int   `json:"uploaded_size,omitempty"`
	Verified      bool   `json:"verified"`
}

ModelUploadFileStatus defines model for ModelUploadFileStatus.

type ModelUploadResponse

type ModelUploadResponse struct {
	ExpiresAt time.Time                `json:"expires_at"`
	Files     []IssuedSessionFile      `json:"files"`
	Id        string                   `json:"id"`
	State     ModelUploadResponseState `json:"state"`
	Tag       string                   `json:"tag"`
}

ModelUploadResponse defines model for ModelUploadResponse.

type ModelUploadResponseState

type ModelUploadResponseState string

ModelUploadResponseState defines model for ModelUploadResponse.State.

const (
	ModelUploadResponseStateCANCELED        ModelUploadResponseState = "CANCELED"
	ModelUploadResponseStateCONVERTING      ModelUploadResponseState = "CONVERTING"
	ModelUploadResponseStateCREATED         ModelUploadResponseState = "CREATED"
	ModelUploadResponseStateDISPATCHPENDING ModelUploadResponseState = "DISPATCH_PENDING"
	ModelUploadResponseStateEXPIRED         ModelUploadResponseState = "EXPIRED"
	ModelUploadResponseStateFAILED          ModelUploadResponseState = "FAILED"
	ModelUploadResponseStateUPLOADING       ModelUploadResponseState = "UPLOADING"
	ModelUploadResponseStateVERIFYING       ModelUploadResponseState = "VERIFYING"
)

Defines values for ModelUploadResponseState.

func (ModelUploadResponseState) Valid

func (e ModelUploadResponseState) Valid() bool

Valid indicates whether the value is a known member of the ModelUploadResponseState enum.

type ModelUploadSummary

type ModelUploadSummary struct {
	CreatedAt time.Time               `json:"created_at"`
	ExpiresAt time.Time               `json:"expires_at"`
	FileCount int                     `json:"file_count"`
	Id        string                  `json:"id"`
	State     ModelUploadSummaryState `json:"state"`
}

ModelUploadSummary defines model for ModelUploadSummary.

type ModelUploadSummaryState

type ModelUploadSummaryState string

ModelUploadSummaryState defines model for ModelUploadSummary.State.

const (
	ModelUploadSummaryStateCANCELED        ModelUploadSummaryState = "CANCELED"
	ModelUploadSummaryStateCONVERTING      ModelUploadSummaryState = "CONVERTING"
	ModelUploadSummaryStateCREATED         ModelUploadSummaryState = "CREATED"
	ModelUploadSummaryStateDISPATCHPENDING ModelUploadSummaryState = "DISPATCH_PENDING"
	ModelUploadSummaryStateEXPIRED         ModelUploadSummaryState = "EXPIRED"
	ModelUploadSummaryStateFAILED          ModelUploadSummaryState = "FAILED"
	ModelUploadSummaryStateUPLOADING       ModelUploadSummaryState = "UPLOADING"
	ModelUploadSummaryStateVERIFYING       ModelUploadSummaryState = "VERIFYING"
)

Defines values for ModelUploadSummaryState.

func (ModelUploadSummaryState) Valid

func (e ModelUploadSummaryState) Valid() bool

Valid indicates whether the value is a known member of the ModelUploadSummaryState enum.

type NotFound

type NotFound = ErrorEnvelope

NotFound Standard error envelope returned by every non-2xx response of the public API.

type PackageModeAggregates

type PackageModeAggregates struct {
	MemoryInferencePeakMb *ReportStats `json:"memory_inference_peak_mb"`
	Tps                   *ReportStats `json:"tps"`
	TtftMs                *ReportStats `json:"ttft_ms"`
}

PackageModeAggregates defines model for PackageModeAggregates.

type PackageReportRecord

type PackageReportRecord struct {
	// Device Locked ADR-4 device identity; persisted blanks are published as null.
	Device ReportDevice              `json:"device"`
	Metric PackageReportRecordMetric `json:"metric"`

	// RunConfiguration `configuration` is the SANITIZED producer payload (derivation rule
	// P1): only pinned safe scalar config keys and per-module maps survive;
	// unknown keys, nested junk and path/secret-looking strings are
	// dropped. null when the producer sent none or nothing safe remains.
	RunConfiguration PackageRunConfiguration `json:"run_configuration"`
	Unit             PackageReportRecordUnit `json:"unit"`
	Value            float32                 `json:"value"`
}

PackageReportRecord defines model for PackageReportRecord.

type PackageReportRecordMetric

type PackageReportRecordMetric string

PackageReportRecordMetric defines model for PackageReportRecord.Metric.

const (
	PackageReportRecordMetricGeneratedTokens       PackageReportRecordMetric = "generated_tokens"
	PackageReportRecordMetricLatencyMs             PackageReportRecordMetric = "latency_ms"
	PackageReportRecordMetricMemoryInferenceMinMb  PackageReportRecordMetric = "memory_inference_min_mb"
	PackageReportRecordMetricMemoryInferencePeakMb PackageReportRecordMetric = "memory_inference_peak_mb"
	PackageReportRecordMetricMemoryLoadMinMb       PackageReportRecordMetric = "memory_load_min_mb"
	PackageReportRecordMetricMemoryLoadPeakMb      PackageReportRecordMetric = "memory_load_peak_mb"
	PackageReportRecordMetricPromptTokens          PackageReportRecordMetric = "prompt_tokens"
	PackageReportRecordMetricSnrDb                 PackageReportRecordMetric = "snr_db"
	PackageReportRecordMetricTensorCopyLatencyMs   PackageReportRecordMetric = "tensor_copy_latency_ms"
	PackageReportRecordMetricTps                   PackageReportRecordMetric = "tps"
	PackageReportRecordMetricTtftMs                PackageReportRecordMetric = "ttft_ms"
)

Defines values for PackageReportRecordMetric.

func (PackageReportRecordMetric) Valid

func (e PackageReportRecordMetric) Valid() bool

Valid indicates whether the value is a known member of the PackageReportRecordMetric enum.

type PackageReportRecordUnit

type PackageReportRecordUnit string

PackageReportRecordUnit defines model for PackageReportRecord.Unit.

const (
	PackageReportRecordUnitCount      PackageReportRecordUnit = "count"
	PackageReportRecordUnitDb         PackageReportRecordUnit = "db"
	PackageReportRecordUnitMb         PackageReportRecordUnit = "mb"
	PackageReportRecordUnitMs         PackageReportRecordUnit = "ms"
	PackageReportRecordUnitTokensPerS PackageReportRecordUnit = "tokens_per_s"
)

Defines values for PackageReportRecordUnit.

func (PackageReportRecordUnit) Valid

func (e PackageReportRecordUnit) Valid() bool

Valid indicates whether the value is a known member of the PackageReportRecordUnit enum.

type PackageReportResponse

type PackageReportResponse struct {
	DerivationVersion int                   `json:"derivation_version"`
	Model             ReportModelRef        `json:"model"`
	Records           []PackageReportRecord `json:"records"`

	// Summary `auto` and `speed` are the same selection in v2 (packages carry no
	// accuracy signal); there is no `accuracy` mode.
	Summary PackageReportSummary `json:"summary"`
}

PackageReportResponse defines model for PackageReportResponse.

type PackageReportSummary

type PackageReportSummary struct {
	Auto  *PackageModeAggregates `json:"auto"`
	Speed *PackageModeAggregates `json:"speed"`
}

PackageReportSummary `auto` and `speed` are the same selection in v2 (packages carry no accuracy signal); there is no `accuracy` mode.

type PackageRunConfiguration

type PackageRunConfiguration struct {
	Configuration *map[string]interface{} `json:"configuration"`
	Id            int                     `json:"id"`
	Package       *string                 `json:"package"`
}

PackageRunConfiguration `configuration` is the SANITIZED producer payload (derivation rule P1): only pinned safe scalar config keys and per-module maps survive; unknown keys, nested junk and path/secret-looking strings are dropped. null when the producer sent none or nothing safe remains.

type PagedLibraryModelItem

type PagedLibraryModelItem struct {
	Count   int                `json:"count"`
	Results []LibraryModelItem `json:"results"`
}

PagedLibraryModelItem defines model for PagedLibraryModelItem.

type PagedModelSummary

type PagedModelSummary struct {
	Count   int            `json:"count"`
	Results []ModelSummary `json:"results"`
}

PagedModelSummary defines model for PagedModelSummary.

type PagedRepoResponse

type PagedRepoResponse struct {
	Count   int            `json:"count"`
	Results []RepoResponse `json:"results"`
}

PagedRepoResponse defines model for PagedRepoResponse.

type ProjectResponse

type ProjectResponse struct {
	Account     string  `json:"account"`
	Description *string `json:"description,omitempty"`
	IsPrivate   bool    `json:"is_private"`
	ModelType   string  `json:"model_type"`
	Name        string  `json:"name"`
}

ProjectResponse defines model for ProjectResponse.

type QuotaItem

type QuotaItem struct {
	Limit     *int `json:"limit,omitempty"`
	Remaining *int `json:"remaining,omitempty"`
	Used      int  `json:"used"`
}

QuotaItem `used` this month vs the plan `limit`, plus enforcement-accurate `remaining`.

`limit: null` = unlimited (no plan cap, or the account bypasses quota limits); `remaining: null` = unlimited. `remaining` is what the enforcement path would allow right now (spike headroom included, floored at 0), so `remaining > 0` — not `limit - used` — is the truthful "can I do this" check.

type RateLimited

type RateLimited = ErrorEnvelope

RateLimited Standard error envelope returned by every non-2xx response of the public API.

type ReissueUploadFilesJSONRequestBody

type ReissueUploadFilesJSONRequestBody = ReissueUploadFilesRequest

ReissueUploadFilesJSONRequestBody defines body for ReissueUploadFiles for application/json ContentType.

type ReissueUploadFilesRequest

type ReissueUploadFilesRequest struct {
	ClientFileIds []string `json:"client_file_ids"`
}

ReissueUploadFilesRequest defines model for ReissueUploadFilesRequest.

type ReissueUploadFilesResponse

type ReissueUploadFilesResponse struct {
	ExpiresAt time.Time           `json:"expires_at"`
	Files     []IssuedSessionFile `json:"files"`
}

ReissueUploadFilesResponse defines model for ReissueUploadFilesResponse.

type ReissueUploadFilesResult

type ReissueUploadFilesResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReissueUploadFilesResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationError
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ReissueUploadFilesResult200Headers
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *ReissueUploadFilesResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ReissueUploadFilesResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ReissueUploadFilesResult404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *ReissueUploadFilesResult409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *ReissueUploadFilesResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ReissueUploadFilesResult429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *ReissueUploadFilesResult500Headers
}

func ParseReissueUploadFilesResult

func ParseReissueUploadFilesResult(rsp *http.Response) (*ReissueUploadFilesResult, error)

ParseReissueUploadFilesResult parses an HTTP response from a ReissueUploadFilesWithResponse call

func (ReissueUploadFilesResult) ContentType

func (r ReissueUploadFilesResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ReissueUploadFilesResult) GetBody

func (r ReissueUploadFilesResult) GetBody() []byte

GetBody returns the raw response body bytes

func (ReissueUploadFilesResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ReissueUploadFilesResult) GetJSON401

func (r ReissueUploadFilesResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ReissueUploadFilesResult) GetJSON403

func (r ReissueUploadFilesResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ReissueUploadFilesResult) GetJSON404

func (r ReissueUploadFilesResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ReissueUploadFilesResult) GetJSON409

func (r ReissueUploadFilesResult) GetJSON409() *Conflict

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ReissueUploadFilesResult) GetJSON422

func (r ReissueUploadFilesResult) GetJSON422() *ValidationError

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ReissueUploadFilesResult) GetJSON429

func (r ReissueUploadFilesResult) GetJSON429() *RateLimited

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ReissueUploadFilesResult) GetJSON500

func (r ReissueUploadFilesResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ReissueUploadFilesResult) Status

func (r ReissueUploadFilesResult) Status() string

Status returns HTTPResponse.Status

func (ReissueUploadFilesResult) StatusCode

func (r ReissueUploadFilesResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReissueUploadFilesResult200Headers

type ReissueUploadFilesResult200Headers struct {
	CacheControl *string
}

ReissueUploadFilesResult200Headers the declared response headers of an HTTP 200 response for ReissueUploadFiles

type ReissueUploadFilesResult401Headers

type ReissueUploadFilesResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

ReissueUploadFilesResult401Headers the declared response headers of an HTTP 401 response for ReissueUploadFiles

type ReissueUploadFilesResult403Headers

type ReissueUploadFilesResult403Headers struct {
	XRequestID *string
}

ReissueUploadFilesResult403Headers the declared response headers of an HTTP 403 response for ReissueUploadFiles

type ReissueUploadFilesResult404Headers

type ReissueUploadFilesResult404Headers struct {
	XRequestID *string
}

ReissueUploadFilesResult404Headers the declared response headers of an HTTP 404 response for ReissueUploadFiles

type ReissueUploadFilesResult409Headers

type ReissueUploadFilesResult409Headers struct {
	XRequestID *string
}

ReissueUploadFilesResult409Headers the declared response headers of an HTTP 409 response for ReissueUploadFiles

type ReissueUploadFilesResult422Headers

type ReissueUploadFilesResult422Headers struct {
	XRequestID *string
}

ReissueUploadFilesResult422Headers the declared response headers of an HTTP 422 response for ReissueUploadFiles

type ReissueUploadFilesResult429Headers

type ReissueUploadFilesResult429Headers struct {
	RetryAfter *int
	XRequestID *string
}

ReissueUploadFilesResult429Headers the declared response headers of an HTTP 429 response for ReissueUploadFiles

type ReissueUploadFilesResult500Headers

type ReissueUploadFilesResult500Headers struct {
	XRequestID *string
}

ReissueUploadFilesResult500Headers the declared response headers of an HTTP 500 response for ReissueUploadFiles

type ReissueUploadUrlsRequest

type ReissueUploadUrlsRequest struct {
	Paths []string `json:"paths"`
}

ReissueUploadUrlsRequest defines model for ReissueUploadUrlsRequest.

type ReissueUploadUrlsResponse

type ReissueUploadUrlsResponse struct {
	ExpiresAt string         `json:"expires_at"`
	Files     []IssuedUpload `json:"files"`
}

ReissueUploadUrlsResponse defines model for ReissueUploadUrlsResponse.

type RepoResponse

type RepoResponse struct {
	Account     string    `json:"account"`
	CreatedAt   time.Time `json:"created_at"`
	Description *string   `json:"description,omitempty"`
	FullName    string    `json:"full_name"`
	IsPrivate   bool      `json:"is_private"`
	ModelType   string    `json:"model_type"`
	Name        string    `json:"name"`
	Tags        []string  `json:"tags"`
	UpdatedAt   time.Time `json:"updated_at"`
	UseCase     *string   `json:"use_case,omitempty"`
}

RepoResponse Public shape of a repository. Thin on purpose: internal fields (readme, embedding, metadata, ids, ...) must never leak here.

type ReportDevice

type ReportDevice struct {
	MarketingName *string `json:"marketing_name"`
	Name          *string `json:"name"`
	Os            *string `json:"os"`
	Soc           *string `json:"soc"`
}

ReportDevice Locked ADR-4 device identity; persisted blanks are published as null.

type ReportMemoryBounds

type ReportMemoryBounds struct {
	InferenceMax *float32 `json:"inference_max"`
	InferenceMin *float32 `json:"inference_min"`
	LoadMax      *float32 `json:"load_max"`
	LoadMin      *float32 `json:"load_min"`
}

ReportMemoryBounds Bounds over the pooled peak+min memory values per family — exactly how the dashboard's memory headline pools them.

type ReportMinMax

type ReportMinMax struct {
	Max float32 `json:"max"`
	Min float32 `json:"min"`
}

ReportMinMax defines model for ReportMinMax.

type ReportModelRef

type ReportModelRef struct {
	Key     string `json:"key"`
	Version int    `json:"version"`
}

ReportModelRef defines model for ReportModelRef.

type ReportStats

type ReportStats struct {
	Avg    float32 `json:"avg"`
	Max    float32 `json:"max"`
	Median float32 `json:"median"`
	Min    float32 `json:"min"`
}

ReportStats min/max/median/avg over a metric's record values; `median` is the upper median (the dashboard's rule).

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RequestTooLarge

type RequestTooLarge = ErrorEnvelope

RequestTooLarge Standard error envelope returned by every non-2xx response of the public API.

type RequestedFile

type RequestedFile struct {
	ContentType *string `json:"content_type,omitempty"`
	Path        string  `json:"path"`
	Sha256      *string `json:"sha256,omitempty"`
	Size        int     `json:"size"`
}

RequestedFile defines model for RequestedFile.

type ServerError

type ServerError = ErrorEnvelope

ServerError Standard error envelope returned by every non-2xx response of the public API.

type ServiceUnavailable

type ServiceUnavailable = ErrorEnvelope

ServiceUnavailable Standard error envelope returned by every non-2xx response of the public API.

type SetDefaultModelResult

type SetDefaultModelResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ModelSummary
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *SetDefaultModelResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *SetDefaultModelResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *SetDefaultModelResult404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *SetDefaultModelResult429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *SetDefaultModelResult500Headers
}

func ParseSetDefaultModelResult

func ParseSetDefaultModelResult(rsp *http.Response) (*SetDefaultModelResult, error)

ParseSetDefaultModelResult parses an HTTP response from a SetDefaultModelWithResponse call

func (SetDefaultModelResult) ContentType

func (r SetDefaultModelResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetDefaultModelResult) GetBody

func (r SetDefaultModelResult) GetBody() []byte

GetBody returns the raw response body bytes

func (SetDefaultModelResult) GetJSON200

func (r SetDefaultModelResult) GetJSON200() *ModelSummary

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetDefaultModelResult) GetJSON401

func (r SetDefaultModelResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (SetDefaultModelResult) GetJSON403

func (r SetDefaultModelResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (SetDefaultModelResult) GetJSON404

func (r SetDefaultModelResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (SetDefaultModelResult) GetJSON429 added in v0.2.0

func (r SetDefaultModelResult) GetJSON429() *RateLimited

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (SetDefaultModelResult) GetJSON500

func (r SetDefaultModelResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (SetDefaultModelResult) Status

func (r SetDefaultModelResult) Status() string

Status returns HTTPResponse.Status

func (SetDefaultModelResult) StatusCode

func (r SetDefaultModelResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetDefaultModelResult401Headers

type SetDefaultModelResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

SetDefaultModelResult401Headers the declared response headers of an HTTP 401 response for SetDefaultModel

type SetDefaultModelResult403Headers

type SetDefaultModelResult403Headers struct {
	XRequestID *string
}

SetDefaultModelResult403Headers the declared response headers of an HTTP 403 response for SetDefaultModel

type SetDefaultModelResult404Headers

type SetDefaultModelResult404Headers struct {
	XRequestID *string
}

SetDefaultModelResult404Headers the declared response headers of an HTTP 404 response for SetDefaultModel

type SetDefaultModelResult429Headers added in v0.2.0

type SetDefaultModelResult429Headers struct {
	RetryAfter *int
	XRequestID *string
}

SetDefaultModelResult429Headers the declared response headers of an HTTP 429 response for SetDefaultModel

type SetDefaultModelResult500Headers

type SetDefaultModelResult500Headers struct {
	XRequestID *string
}

SetDefaultModelResult500Headers the declared response headers of an HTTP 500 response for SetDefaultModel

type Unauthorized

type Unauthorized = ErrorEnvelope

Unauthorized Standard error envelope returned by every non-2xx response of the public API.

type UpdateRepoJSONRequestBody

type UpdateRepoJSONRequestBody = UpdateRepoRequest

UpdateRepoJSONRequestBody defines body for UpdateRepo for application/json ContentType.

type UpdateRepoRequest

type UpdateRepoRequest struct {
	Description *string                   `json:"description,omitempty"`
	IsPrivate   *bool                     `json:"is_private,omitempty"`
	Tags        *[]string                 `json:"tags,omitempty"`
	UseCase     *UpdateRepoRequestUseCase `json:"use_case,omitempty"`
}

UpdateRepoRequest PATCH body for a repo — every field optional; only fields present in the payload are applied (exclude_unset semantics). “description“ is nullable; the other fields may be omitted but cannot be null.

type UpdateRepoRequestUseCase

type UpdateRepoRequestUseCase string

UpdateRepoRequestUseCase defines model for UpdateRepoRequest.UseCase.

const (
	UpdateRepoRequestUseCaseLlm    UpdateRepoRequestUseCase = "llm"
	UpdateRepoRequestUseCaseNlp    UpdateRepoRequestUseCase = "nlp"
	UpdateRepoRequestUseCaseOther  UpdateRepoRequestUseCase = "other"
	UpdateRepoRequestUseCaseSpeech UpdateRepoRequestUseCase = "speech"
	UpdateRepoRequestUseCaseVision UpdateRepoRequestUseCase = "vision"
)

Defines values for UpdateRepoRequestUseCase.

func (UpdateRepoRequestUseCase) Valid

func (e UpdateRepoRequestUseCase) Valid() bool

Valid indicates whether the value is a known member of the UpdateRepoRequestUseCase enum.

type UpdateRepoResult

type UpdateRepoResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RepoResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationError
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *UpdateRepoResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *UpdateRepoResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateRepoResult404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateRepoResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateRepoResult429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *UpdateRepoResult500Headers
}

func ParseUpdateRepoResult

func ParseUpdateRepoResult(rsp *http.Response) (*UpdateRepoResult, error)

ParseUpdateRepoResult parses an HTTP response from a UpdateRepoWithResponse call

func (UpdateRepoResult) ContentType

func (r UpdateRepoResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateRepoResult) GetBody

func (r UpdateRepoResult) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateRepoResult) GetJSON200

func (r UpdateRepoResult) GetJSON200() *RepoResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateRepoResult) GetJSON401

func (r UpdateRepoResult) GetJSON401() *Unauthorized

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateRepoResult) GetJSON403

func (r UpdateRepoResult) GetJSON403() *Forbidden

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateRepoResult) GetJSON404

func (r UpdateRepoResult) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateRepoResult) GetJSON422

func (r UpdateRepoResult) GetJSON422() *ValidationError

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateRepoResult) GetJSON429 added in v0.2.0

func (r UpdateRepoResult) GetJSON429() *RateLimited

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (UpdateRepoResult) GetJSON500

func (r UpdateRepoResult) GetJSON500() *ServerError

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (UpdateRepoResult) Status

func (r UpdateRepoResult) Status() string

Status returns HTTPResponse.Status

func (UpdateRepoResult) StatusCode

func (r UpdateRepoResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateRepoResult401Headers

type UpdateRepoResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

UpdateRepoResult401Headers the declared response headers of an HTTP 401 response for UpdateRepo

type UpdateRepoResult403Headers

type UpdateRepoResult403Headers struct {
	XRequestID *string
}

UpdateRepoResult403Headers the declared response headers of an HTTP 403 response for UpdateRepo

type UpdateRepoResult404Headers

type UpdateRepoResult404Headers struct {
	XRequestID *string
}

UpdateRepoResult404Headers the declared response headers of an HTTP 404 response for UpdateRepo

type UpdateRepoResult422Headers

type UpdateRepoResult422Headers struct {
	XRequestID *string
}

UpdateRepoResult422Headers the declared response headers of an HTTP 422 response for UpdateRepo

type UpdateRepoResult429Headers added in v0.2.0

type UpdateRepoResult429Headers struct {
	RetryAfter *int
	XRequestID *string
}

UpdateRepoResult429Headers the declared response headers of an HTTP 429 response for UpdateRepo

type UpdateRepoResult500Headers

type UpdateRepoResult500Headers struct {
	XRequestID *string
}

UpdateRepoResult500Headers the declared response headers of an HTTP 500 response for UpdateRepo

type UploadStatusResponse

type UploadStatusResponse struct {
	ExpiresAt *string       `json:"expires_at,omitempty"`
	Files     []FileArrival `json:"files"`
	Id        string        `json:"id"`
	Status    string        `json:"status"`
}

UploadStatusResponse defines model for UploadStatusResponse.

type UsageQuotasResponse

type UsageQuotasResponse struct {
	// ActiveDevices `used` this month vs the plan `limit`, plus enforcement-accurate
	// `remaining`.
	//
	// `limit: null` = unlimited (no plan cap, or the account bypasses quota
	// limits); `remaining: null` = unlimited. `remaining` is what the
	// enforcement path would allow right now (spike headroom included, floored
	// at 0), so `remaining > 0` — not `limit - used` — is the truthful "can I
	// do this" check.
	ActiveDevices QuotaItem `json:"active_devices"`

	// Bandwidth `used` this month vs the plan `limit`, plus enforcement-accurate
	// `remaining`.
	//
	// `limit: null` = unlimited (no plan cap, or the account bypasses quota
	// limits); `remaining: null` = unlimited. `remaining` is what the
	// enforcement path would allow right now (spike headroom included, floored
	// at 0), so `remaining > 0` — not `limit - used` — is the truthful "can I
	// do this" check.
	Bandwidth QuotaItem `json:"bandwidth"`

	// ModelUploads `used` this month vs the plan `limit`, plus enforcement-accurate
	// `remaining`.
	//
	// `limit: null` = unlimited (no plan cap, or the account bypasses quota
	// limits); `remaining: null` = unlimited. `remaining` is what the
	// enforcement path would allow right now (spike headroom included, floored
	// at 0), so `remaining > 0` — not `limit - used` — is the truthful "can I
	// do this" check.
	ModelUploads QuotaItem `json:"model_uploads"`

	// Prompts `used` this month vs the plan `limit`, plus enforcement-accurate
	// `remaining`.
	//
	// `limit: null` = unlimited (no plan cap, or the account bypasses quota
	// limits); `remaining: null` = unlimited. `remaining` is what the
	// enforcement path would allow right now (spike headroom included, floored
	// at 0), so `remaining > 0` — not `limit - used` — is the truthful "can I
	// do this" check.
	Prompts QuotaItem `json:"prompts"`
}

UsageQuotasResponse defines model for UsageQuotasResponse.

type UsageResponse

type UsageResponse struct {
	ActiveDevices int `json:"active_devices"`
	Bandwidth     int `json:"bandwidth"`
	ModelUploads  int `json:"model_uploads"`
	Prompts       int `json:"prompts"`
}

UsageResponse Current-month usage totals for the PAT's account.

`bandwidth` is bytes; the other counters are counts. The window is the current billing month (an account-level usage reset inside the month moves the window start to the reset time).

type ValidationError

type ValidationError = ErrorEnvelope

ValidationError Standard error envelope returned by every non-2xx response of the public API.

type VersionResponse

type VersionResponse struct {
	Id      string  `json:"id"`
	Name    *string `json:"name,omitempty"`
	Status  *string `json:"status,omitempty"`
	Version int     `json:"version"`
}

VersionResponse defines model for VersionResponse.

type ZeticPublicProjectsCreateProjectJSONRequestBody deprecated

type ZeticPublicProjectsCreateProjectJSONRequestBody = CreateProjectRequest

ZeticPublicProjectsCreateProjectJSONRequestBody defines body for ZeticPublicProjectsCreateProject for application/json ContentType.

Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type ZeticPublicProjectsCreateProjectResult

type ZeticPublicProjectsCreateProjectResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ProjectResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationError
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *ZeticPublicProjectsCreateProjectResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ZeticPublicProjectsCreateProjectResult403Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *ZeticPublicProjectsCreateProjectResult409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *ZeticPublicProjectsCreateProjectResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ZeticPublicProjectsCreateProjectResult429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *ZeticPublicProjectsCreateProjectResult500Headers
}

func ParseZeticPublicProjectsCreateProjectResult

func ParseZeticPublicProjectsCreateProjectResult(rsp *http.Response) (*ZeticPublicProjectsCreateProjectResult, error)

ParseZeticPublicProjectsCreateProjectResult parses an HTTP response from a ZeticPublicProjectsCreateProjectWithResponse call

func (ZeticPublicProjectsCreateProjectResult) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ZeticPublicProjectsCreateProjectResult) GetBody

GetBody returns the raw response body bytes

func (ZeticPublicProjectsCreateProjectResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ZeticPublicProjectsCreateProjectResult) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ZeticPublicProjectsCreateProjectResult) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ZeticPublicProjectsCreateProjectResult) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ZeticPublicProjectsCreateProjectResult) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ZeticPublicProjectsCreateProjectResult) GetJSON429 added in v0.2.0

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ZeticPublicProjectsCreateProjectResult) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ZeticPublicProjectsCreateProjectResult) Status

Status returns HTTPResponse.Status

func (ZeticPublicProjectsCreateProjectResult) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ZeticPublicProjectsCreateProjectResult401Headers

type ZeticPublicProjectsCreateProjectResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

ZeticPublicProjectsCreateProjectResult401Headers the declared response headers of an HTTP 401 response for ZeticPublicProjectsCreateProject

type ZeticPublicProjectsCreateProjectResult403Headers

type ZeticPublicProjectsCreateProjectResult403Headers struct {
	XRequestID *string
}

ZeticPublicProjectsCreateProjectResult403Headers the declared response headers of an HTTP 403 response for ZeticPublicProjectsCreateProject

type ZeticPublicProjectsCreateProjectResult409Headers

type ZeticPublicProjectsCreateProjectResult409Headers struct {
	XRequestID *string
}

ZeticPublicProjectsCreateProjectResult409Headers the declared response headers of an HTTP 409 response for ZeticPublicProjectsCreateProject

type ZeticPublicProjectsCreateProjectResult422Headers

type ZeticPublicProjectsCreateProjectResult422Headers struct {
	XRequestID *string
}

ZeticPublicProjectsCreateProjectResult422Headers the declared response headers of an HTTP 422 response for ZeticPublicProjectsCreateProject

type ZeticPublicProjectsCreateProjectResult429Headers added in v0.2.0

type ZeticPublicProjectsCreateProjectResult429Headers struct {
	RetryAfter *int
	XRequestID *string
}

ZeticPublicProjectsCreateProjectResult429Headers the declared response headers of an HTTP 429 response for ZeticPublicProjectsCreateProject

type ZeticPublicProjectsCreateProjectResult500Headers

type ZeticPublicProjectsCreateProjectResult500Headers struct {
	XRequestID *string
}

ZeticPublicProjectsCreateProjectResult500Headers the declared response headers of an HTTP 500 response for ZeticPublicProjectsCreateProject

type ZeticPublicProjectsDeleteProjectResult

type ZeticPublicProjectsDeleteProjectResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *string
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *ZeticPublicProjectsDeleteProjectResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ZeticPublicProjectsDeleteProjectResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ZeticPublicProjectsDeleteProjectResult404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ZeticPublicProjectsDeleteProjectResult429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *ZeticPublicProjectsDeleteProjectResult500Headers
}

func ParseZeticPublicProjectsDeleteProjectResult

func ParseZeticPublicProjectsDeleteProjectResult(rsp *http.Response) (*ZeticPublicProjectsDeleteProjectResult, error)

ParseZeticPublicProjectsDeleteProjectResult parses an HTTP response from a ZeticPublicProjectsDeleteProjectWithResponse call

func (ZeticPublicProjectsDeleteProjectResult) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ZeticPublicProjectsDeleteProjectResult) GetBody

GetBody returns the raw response body bytes

func (ZeticPublicProjectsDeleteProjectResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ZeticPublicProjectsDeleteProjectResult) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ZeticPublicProjectsDeleteProjectResult) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ZeticPublicProjectsDeleteProjectResult) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ZeticPublicProjectsDeleteProjectResult) GetJSON429 added in v0.2.0

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ZeticPublicProjectsDeleteProjectResult) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ZeticPublicProjectsDeleteProjectResult) Status

Status returns HTTPResponse.Status

func (ZeticPublicProjectsDeleteProjectResult) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ZeticPublicProjectsDeleteProjectResult401Headers

type ZeticPublicProjectsDeleteProjectResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

ZeticPublicProjectsDeleteProjectResult401Headers the declared response headers of an HTTP 401 response for ZeticPublicProjectsDeleteProject

type ZeticPublicProjectsDeleteProjectResult403Headers

type ZeticPublicProjectsDeleteProjectResult403Headers struct {
	XRequestID *string
}

ZeticPublicProjectsDeleteProjectResult403Headers the declared response headers of an HTTP 403 response for ZeticPublicProjectsDeleteProject

type ZeticPublicProjectsDeleteProjectResult404Headers

type ZeticPublicProjectsDeleteProjectResult404Headers struct {
	XRequestID *string
}

ZeticPublicProjectsDeleteProjectResult404Headers the declared response headers of an HTTP 404 response for ZeticPublicProjectsDeleteProject

type ZeticPublicProjectsDeleteProjectResult429Headers added in v0.2.0

type ZeticPublicProjectsDeleteProjectResult429Headers struct {
	RetryAfter *int
	XRequestID *string
}

ZeticPublicProjectsDeleteProjectResult429Headers the declared response headers of an HTTP 429 response for ZeticPublicProjectsDeleteProject

type ZeticPublicProjectsDeleteProjectResult500Headers

type ZeticPublicProjectsDeleteProjectResult500Headers struct {
	XRequestID *string
}

ZeticPublicProjectsDeleteProjectResult500Headers the declared response headers of an HTTP 500 response for ZeticPublicProjectsDeleteProject

type ZeticPublicUploadsCancelUploadResult

type ZeticPublicUploadsCancelUploadResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *ZeticPublicUploadsCancelUploadResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ZeticPublicUploadsCancelUploadResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ZeticPublicUploadsCancelUploadResult404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *ZeticPublicUploadsCancelUploadResult409Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ZeticPublicUploadsCancelUploadResult429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *ZeticPublicUploadsCancelUploadResult500Headers
}

func ParseZeticPublicUploadsCancelUploadResult

func ParseZeticPublicUploadsCancelUploadResult(rsp *http.Response) (*ZeticPublicUploadsCancelUploadResult, error)

ParseZeticPublicUploadsCancelUploadResult parses an HTTP response from a ZeticPublicUploadsCancelUploadWithResponse call

func (ZeticPublicUploadsCancelUploadResult) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ZeticPublicUploadsCancelUploadResult) GetBody

GetBody returns the raw response body bytes

func (ZeticPublicUploadsCancelUploadResult) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ZeticPublicUploadsCancelUploadResult) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ZeticPublicUploadsCancelUploadResult) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ZeticPublicUploadsCancelUploadResult) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ZeticPublicUploadsCancelUploadResult) GetJSON429 added in v0.2.0

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ZeticPublicUploadsCancelUploadResult) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ZeticPublicUploadsCancelUploadResult) Status

Status returns HTTPResponse.Status

func (ZeticPublicUploadsCancelUploadResult) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ZeticPublicUploadsCancelUploadResult401Headers

type ZeticPublicUploadsCancelUploadResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

ZeticPublicUploadsCancelUploadResult401Headers the declared response headers of an HTTP 401 response for ZeticPublicUploadsCancelUpload

type ZeticPublicUploadsCancelUploadResult403Headers

type ZeticPublicUploadsCancelUploadResult403Headers struct {
	XRequestID *string
}

ZeticPublicUploadsCancelUploadResult403Headers the declared response headers of an HTTP 403 response for ZeticPublicUploadsCancelUpload

type ZeticPublicUploadsCancelUploadResult404Headers

type ZeticPublicUploadsCancelUploadResult404Headers struct {
	XRequestID *string
}

ZeticPublicUploadsCancelUploadResult404Headers the declared response headers of an HTTP 404 response for ZeticPublicUploadsCancelUpload

type ZeticPublicUploadsCancelUploadResult409Headers

type ZeticPublicUploadsCancelUploadResult409Headers struct {
	XRequestID *string
}

ZeticPublicUploadsCancelUploadResult409Headers the declared response headers of an HTTP 409 response for ZeticPublicUploadsCancelUpload

type ZeticPublicUploadsCancelUploadResult429Headers added in v0.2.0

type ZeticPublicUploadsCancelUploadResult429Headers struct {
	RetryAfter *int
	XRequestID *string
}

ZeticPublicUploadsCancelUploadResult429Headers the declared response headers of an HTTP 429 response for ZeticPublicUploadsCancelUpload

type ZeticPublicUploadsCancelUploadResult500Headers

type ZeticPublicUploadsCancelUploadResult500Headers struct {
	XRequestID *string
}

ZeticPublicUploadsCancelUploadResult500Headers the declared response headers of an HTTP 500 response for ZeticPublicUploadsCancelUpload

type ZeticPublicUploadsCompleteUploadJSONRequestBody deprecated

type ZeticPublicUploadsCompleteUploadJSONRequestBody = CompleteUploadRequest

ZeticPublicUploadsCompleteUploadJSONRequestBody defines body for ZeticPublicUploadsCompleteUpload for application/json ContentType.

Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type ZeticPublicUploadsCompleteUploadResult

type ZeticPublicUploadsCompleteUploadResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *VersionResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequest
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationError
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *ZeticPublicUploadsCompleteUploadResult400Headers
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *ZeticPublicUploadsCompleteUploadResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ZeticPublicUploadsCompleteUploadResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ZeticPublicUploadsCompleteUploadResult404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *ZeticPublicUploadsCompleteUploadResult409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *ZeticPublicUploadsCompleteUploadResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ZeticPublicUploadsCompleteUploadResult429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *ZeticPublicUploadsCompleteUploadResult500Headers
}

func ParseZeticPublicUploadsCompleteUploadResult

func ParseZeticPublicUploadsCompleteUploadResult(rsp *http.Response) (*ZeticPublicUploadsCompleteUploadResult, error)

ParseZeticPublicUploadsCompleteUploadResult parses an HTTP response from a ZeticPublicUploadsCompleteUploadWithResponse call

func (ZeticPublicUploadsCompleteUploadResult) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ZeticPublicUploadsCompleteUploadResult) GetBody

GetBody returns the raw response body bytes

func (ZeticPublicUploadsCompleteUploadResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ZeticPublicUploadsCompleteUploadResult) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ZeticPublicUploadsCompleteUploadResult) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ZeticPublicUploadsCompleteUploadResult) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ZeticPublicUploadsCompleteUploadResult) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ZeticPublicUploadsCompleteUploadResult) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ZeticPublicUploadsCompleteUploadResult) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ZeticPublicUploadsCompleteUploadResult) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ZeticPublicUploadsCompleteUploadResult) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ZeticPublicUploadsCompleteUploadResult) Status

Status returns HTTPResponse.Status

func (ZeticPublicUploadsCompleteUploadResult) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ZeticPublicUploadsCompleteUploadResult400Headers

type ZeticPublicUploadsCompleteUploadResult400Headers struct {
	XRequestID *string
}

ZeticPublicUploadsCompleteUploadResult400Headers the declared response headers of an HTTP 400 response for ZeticPublicUploadsCompleteUpload

type ZeticPublicUploadsCompleteUploadResult401Headers

type ZeticPublicUploadsCompleteUploadResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

ZeticPublicUploadsCompleteUploadResult401Headers the declared response headers of an HTTP 401 response for ZeticPublicUploadsCompleteUpload

type ZeticPublicUploadsCompleteUploadResult403Headers

type ZeticPublicUploadsCompleteUploadResult403Headers struct {
	XRequestID *string
}

ZeticPublicUploadsCompleteUploadResult403Headers the declared response headers of an HTTP 403 response for ZeticPublicUploadsCompleteUpload

type ZeticPublicUploadsCompleteUploadResult404Headers

type ZeticPublicUploadsCompleteUploadResult404Headers struct {
	XRequestID *string
}

ZeticPublicUploadsCompleteUploadResult404Headers the declared response headers of an HTTP 404 response for ZeticPublicUploadsCompleteUpload

type ZeticPublicUploadsCompleteUploadResult409Headers

type ZeticPublicUploadsCompleteUploadResult409Headers struct {
	XRequestID *string
}

ZeticPublicUploadsCompleteUploadResult409Headers the declared response headers of an HTTP 409 response for ZeticPublicUploadsCompleteUpload

type ZeticPublicUploadsCompleteUploadResult422Headers

type ZeticPublicUploadsCompleteUploadResult422Headers struct {
	XRequestID *string
}

ZeticPublicUploadsCompleteUploadResult422Headers the declared response headers of an HTTP 422 response for ZeticPublicUploadsCompleteUpload

type ZeticPublicUploadsCompleteUploadResult429Headers

type ZeticPublicUploadsCompleteUploadResult429Headers struct {
	RetryAfter *int
	XRequestID *string
}

ZeticPublicUploadsCompleteUploadResult429Headers the declared response headers of an HTTP 429 response for ZeticPublicUploadsCompleteUpload

type ZeticPublicUploadsCompleteUploadResult500Headers

type ZeticPublicUploadsCompleteUploadResult500Headers struct {
	XRequestID *string
}

ZeticPublicUploadsCompleteUploadResult500Headers the declared response headers of an HTTP 500 response for ZeticPublicUploadsCompleteUpload

type ZeticPublicUploadsCreateUploadJSONRequestBody deprecated

type ZeticPublicUploadsCreateUploadJSONRequestBody = CreateUploadRequest

ZeticPublicUploadsCreateUploadJSONRequestBody defines body for ZeticPublicUploadsCreateUpload for application/json ContentType.

Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type ZeticPublicUploadsCreateUploadResult

type ZeticPublicUploadsCreateUploadResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CreateUploadResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequest
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON413 the response for an HTTP 413 `application/json` response
	JSON413 *RequestTooLarge
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationError
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ZeticPublicUploadsCreateUploadResult200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *ZeticPublicUploadsCreateUploadResult400Headers
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *ZeticPublicUploadsCreateUploadResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ZeticPublicUploadsCreateUploadResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ZeticPublicUploadsCreateUploadResult404Headers
	// Headers413 the parsed response headers for an HTTP 413 response
	Headers413 *ZeticPublicUploadsCreateUploadResult413Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *ZeticPublicUploadsCreateUploadResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ZeticPublicUploadsCreateUploadResult429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *ZeticPublicUploadsCreateUploadResult500Headers
}

func ParseZeticPublicUploadsCreateUploadResult

func ParseZeticPublicUploadsCreateUploadResult(rsp *http.Response) (*ZeticPublicUploadsCreateUploadResult, error)

ParseZeticPublicUploadsCreateUploadResult parses an HTTP response from a ZeticPublicUploadsCreateUploadWithResponse call

func (ZeticPublicUploadsCreateUploadResult) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ZeticPublicUploadsCreateUploadResult) GetBody

GetBody returns the raw response body bytes

func (ZeticPublicUploadsCreateUploadResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ZeticPublicUploadsCreateUploadResult) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ZeticPublicUploadsCreateUploadResult) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ZeticPublicUploadsCreateUploadResult) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ZeticPublicUploadsCreateUploadResult) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ZeticPublicUploadsCreateUploadResult) GetJSON413

GetJSON413 returns the response for an HTTP 413 `application/json` response

func (ZeticPublicUploadsCreateUploadResult) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ZeticPublicUploadsCreateUploadResult) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ZeticPublicUploadsCreateUploadResult) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ZeticPublicUploadsCreateUploadResult) Status

Status returns HTTPResponse.Status

func (ZeticPublicUploadsCreateUploadResult) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ZeticPublicUploadsCreateUploadResult200Headers

type ZeticPublicUploadsCreateUploadResult200Headers struct {
	CacheControl *string
}

ZeticPublicUploadsCreateUploadResult200Headers the declared response headers of an HTTP 200 response for ZeticPublicUploadsCreateUpload

type ZeticPublicUploadsCreateUploadResult400Headers

type ZeticPublicUploadsCreateUploadResult400Headers struct {
	XRequestID *string
}

ZeticPublicUploadsCreateUploadResult400Headers the declared response headers of an HTTP 400 response for ZeticPublicUploadsCreateUpload

type ZeticPublicUploadsCreateUploadResult401Headers

type ZeticPublicUploadsCreateUploadResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

ZeticPublicUploadsCreateUploadResult401Headers the declared response headers of an HTTP 401 response for ZeticPublicUploadsCreateUpload

type ZeticPublicUploadsCreateUploadResult403Headers

type ZeticPublicUploadsCreateUploadResult403Headers struct {
	XRequestID *string
}

ZeticPublicUploadsCreateUploadResult403Headers the declared response headers of an HTTP 403 response for ZeticPublicUploadsCreateUpload

type ZeticPublicUploadsCreateUploadResult404Headers

type ZeticPublicUploadsCreateUploadResult404Headers struct {
	XRequestID *string
}

ZeticPublicUploadsCreateUploadResult404Headers the declared response headers of an HTTP 404 response for ZeticPublicUploadsCreateUpload

type ZeticPublicUploadsCreateUploadResult413Headers

type ZeticPublicUploadsCreateUploadResult413Headers struct {
	XRequestID *string
}

ZeticPublicUploadsCreateUploadResult413Headers the declared response headers of an HTTP 413 response for ZeticPublicUploadsCreateUpload

type ZeticPublicUploadsCreateUploadResult422Headers

type ZeticPublicUploadsCreateUploadResult422Headers struct {
	XRequestID *string
}

ZeticPublicUploadsCreateUploadResult422Headers the declared response headers of an HTTP 422 response for ZeticPublicUploadsCreateUpload

type ZeticPublicUploadsCreateUploadResult429Headers

type ZeticPublicUploadsCreateUploadResult429Headers struct {
	RetryAfter *int
	XRequestID *string
}

ZeticPublicUploadsCreateUploadResult429Headers the declared response headers of an HTTP 429 response for ZeticPublicUploadsCreateUpload

type ZeticPublicUploadsCreateUploadResult500Headers

type ZeticPublicUploadsCreateUploadResult500Headers struct {
	XRequestID *string
}

ZeticPublicUploadsCreateUploadResult500Headers the declared response headers of an HTTP 500 response for ZeticPublicUploadsCreateUpload

type ZeticPublicUploadsGetUploadResult

type ZeticPublicUploadsGetUploadResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UploadStatusResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *ZeticPublicUploadsGetUploadResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ZeticPublicUploadsGetUploadResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ZeticPublicUploadsGetUploadResult404Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *ZeticPublicUploadsGetUploadResult500Headers
}

func ParseZeticPublicUploadsGetUploadResult

func ParseZeticPublicUploadsGetUploadResult(rsp *http.Response) (*ZeticPublicUploadsGetUploadResult, error)

ParseZeticPublicUploadsGetUploadResult parses an HTTP response from a ZeticPublicUploadsGetUploadWithResponse call

func (ZeticPublicUploadsGetUploadResult) ContentType

func (r ZeticPublicUploadsGetUploadResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ZeticPublicUploadsGetUploadResult) GetBody

GetBody returns the raw response body bytes

func (ZeticPublicUploadsGetUploadResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ZeticPublicUploadsGetUploadResult) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ZeticPublicUploadsGetUploadResult) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ZeticPublicUploadsGetUploadResult) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ZeticPublicUploadsGetUploadResult) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ZeticPublicUploadsGetUploadResult) Status

Status returns HTTPResponse.Status

func (ZeticPublicUploadsGetUploadResult) StatusCode

func (r ZeticPublicUploadsGetUploadResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ZeticPublicUploadsGetUploadResult401Headers

type ZeticPublicUploadsGetUploadResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

ZeticPublicUploadsGetUploadResult401Headers the declared response headers of an HTTP 401 response for ZeticPublicUploadsGetUpload

type ZeticPublicUploadsGetUploadResult403Headers

type ZeticPublicUploadsGetUploadResult403Headers struct {
	XRequestID *string
}

ZeticPublicUploadsGetUploadResult403Headers the declared response headers of an HTTP 403 response for ZeticPublicUploadsGetUpload

type ZeticPublicUploadsGetUploadResult404Headers

type ZeticPublicUploadsGetUploadResult404Headers struct {
	XRequestID *string
}

ZeticPublicUploadsGetUploadResult404Headers the declared response headers of an HTTP 404 response for ZeticPublicUploadsGetUpload

type ZeticPublicUploadsGetUploadResult500Headers

type ZeticPublicUploadsGetUploadResult500Headers struct {
	XRequestID *string
}

ZeticPublicUploadsGetUploadResult500Headers the declared response headers of an HTTP 500 response for ZeticPublicUploadsGetUpload

type ZeticPublicUploadsListActiveUploadsResult

type ZeticPublicUploadsListActiveUploadsResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListActiveUploadsResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *ZeticPublicUploadsListActiveUploadsResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ZeticPublicUploadsListActiveUploadsResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ZeticPublicUploadsListActiveUploadsResult404Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *ZeticPublicUploadsListActiveUploadsResult500Headers
}

func ParseZeticPublicUploadsListActiveUploadsResult

func ParseZeticPublicUploadsListActiveUploadsResult(rsp *http.Response) (*ZeticPublicUploadsListActiveUploadsResult, error)

ParseZeticPublicUploadsListActiveUploadsResult parses an HTTP response from a ZeticPublicUploadsListActiveUploadsWithResponse call

func (ZeticPublicUploadsListActiveUploadsResult) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ZeticPublicUploadsListActiveUploadsResult) GetBody

GetBody returns the raw response body bytes

func (ZeticPublicUploadsListActiveUploadsResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ZeticPublicUploadsListActiveUploadsResult) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ZeticPublicUploadsListActiveUploadsResult) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ZeticPublicUploadsListActiveUploadsResult) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ZeticPublicUploadsListActiveUploadsResult) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ZeticPublicUploadsListActiveUploadsResult) Status

Status returns HTTPResponse.Status

func (ZeticPublicUploadsListActiveUploadsResult) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ZeticPublicUploadsListActiveUploadsResult401Headers

type ZeticPublicUploadsListActiveUploadsResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

ZeticPublicUploadsListActiveUploadsResult401Headers the declared response headers of an HTTP 401 response for ZeticPublicUploadsListActiveUploads

type ZeticPublicUploadsListActiveUploadsResult403Headers

type ZeticPublicUploadsListActiveUploadsResult403Headers struct {
	XRequestID *string
}

ZeticPublicUploadsListActiveUploadsResult403Headers the declared response headers of an HTTP 403 response for ZeticPublicUploadsListActiveUploads

type ZeticPublicUploadsListActiveUploadsResult404Headers

type ZeticPublicUploadsListActiveUploadsResult404Headers struct {
	XRequestID *string
}

ZeticPublicUploadsListActiveUploadsResult404Headers the declared response headers of an HTTP 404 response for ZeticPublicUploadsListActiveUploads

type ZeticPublicUploadsListActiveUploadsResult500Headers

type ZeticPublicUploadsListActiveUploadsResult500Headers struct {
	XRequestID *string
}

ZeticPublicUploadsListActiveUploadsResult500Headers the declared response headers of an HTTP 500 response for ZeticPublicUploadsListActiveUploads

type ZeticPublicUploadsReissueUploadUrlsJSONRequestBody deprecated

type ZeticPublicUploadsReissueUploadUrlsJSONRequestBody = ReissueUploadUrlsRequest

ZeticPublicUploadsReissueUploadUrlsJSONRequestBody defines body for ZeticPublicUploadsReissueUploadUrls for application/json ContentType.

Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type ZeticPublicUploadsReissueUploadUrlsResult

type ZeticPublicUploadsReissueUploadUrlsResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReissueUploadUrlsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequest
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationError
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimited
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ServerError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ZeticPublicUploadsReissueUploadUrlsResult200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *ZeticPublicUploadsReissueUploadUrlsResult400Headers
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *ZeticPublicUploadsReissueUploadUrlsResult401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ZeticPublicUploadsReissueUploadUrlsResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ZeticPublicUploadsReissueUploadUrlsResult404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *ZeticPublicUploadsReissueUploadUrlsResult409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *ZeticPublicUploadsReissueUploadUrlsResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ZeticPublicUploadsReissueUploadUrlsResult429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *ZeticPublicUploadsReissueUploadUrlsResult500Headers
}

func ParseZeticPublicUploadsReissueUploadUrlsResult

func ParseZeticPublicUploadsReissueUploadUrlsResult(rsp *http.Response) (*ZeticPublicUploadsReissueUploadUrlsResult, error)

ParseZeticPublicUploadsReissueUploadUrlsResult parses an HTTP response from a ZeticPublicUploadsReissueUploadUrlsWithResponse call

func (ZeticPublicUploadsReissueUploadUrlsResult) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ZeticPublicUploadsReissueUploadUrlsResult) GetBody

GetBody returns the raw response body bytes

func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ZeticPublicUploadsReissueUploadUrlsResult) Status

Status returns HTTPResponse.Status

func (ZeticPublicUploadsReissueUploadUrlsResult) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ZeticPublicUploadsReissueUploadUrlsResult200Headers

type ZeticPublicUploadsReissueUploadUrlsResult200Headers struct {
	CacheControl *string
}

ZeticPublicUploadsReissueUploadUrlsResult200Headers the declared response headers of an HTTP 200 response for ZeticPublicUploadsReissueUploadUrls

type ZeticPublicUploadsReissueUploadUrlsResult400Headers

type ZeticPublicUploadsReissueUploadUrlsResult400Headers struct {
	XRequestID *string
}

ZeticPublicUploadsReissueUploadUrlsResult400Headers the declared response headers of an HTTP 400 response for ZeticPublicUploadsReissueUploadUrls

type ZeticPublicUploadsReissueUploadUrlsResult401Headers

type ZeticPublicUploadsReissueUploadUrlsResult401Headers struct {
	WWWAuthenticate *string
	XRequestID      *string
}

ZeticPublicUploadsReissueUploadUrlsResult401Headers the declared response headers of an HTTP 401 response for ZeticPublicUploadsReissueUploadUrls

type ZeticPublicUploadsReissueUploadUrlsResult403Headers

type ZeticPublicUploadsReissueUploadUrlsResult403Headers struct {
	XRequestID *string
}

ZeticPublicUploadsReissueUploadUrlsResult403Headers the declared response headers of an HTTP 403 response for ZeticPublicUploadsReissueUploadUrls

type ZeticPublicUploadsReissueUploadUrlsResult404Headers

type ZeticPublicUploadsReissueUploadUrlsResult404Headers struct {
	XRequestID *string
}

ZeticPublicUploadsReissueUploadUrlsResult404Headers the declared response headers of an HTTP 404 response for ZeticPublicUploadsReissueUploadUrls

type ZeticPublicUploadsReissueUploadUrlsResult409Headers

type ZeticPublicUploadsReissueUploadUrlsResult409Headers struct {
	XRequestID *string
}

ZeticPublicUploadsReissueUploadUrlsResult409Headers the declared response headers of an HTTP 409 response for ZeticPublicUploadsReissueUploadUrls

type ZeticPublicUploadsReissueUploadUrlsResult422Headers

type ZeticPublicUploadsReissueUploadUrlsResult422Headers struct {
	XRequestID *string
}

ZeticPublicUploadsReissueUploadUrlsResult422Headers the declared response headers of an HTTP 422 response for ZeticPublicUploadsReissueUploadUrls

type ZeticPublicUploadsReissueUploadUrlsResult429Headers

type ZeticPublicUploadsReissueUploadUrlsResult429Headers struct {
	RetryAfter *int
	XRequestID *string
}

ZeticPublicUploadsReissueUploadUrlsResult429Headers the declared response headers of an HTTP 429 response for ZeticPublicUploadsReissueUploadUrls

type ZeticPublicUploadsReissueUploadUrlsResult500Headers

type ZeticPublicUploadsReissueUploadUrlsResult500Headers struct {
	XRequestID *string
}

ZeticPublicUploadsReissueUploadUrlsResult500Headers the declared response headers of an HTTP 500 response for ZeticPublicUploadsReissueUploadUrls

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL