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 ¶
- func NewCancelModelUploadRequest(server string, accountName string, repoName string, uploadId string, ...) (*http.Request, error)
- func NewCompleteModelUploadRequest(server string, accountName string, repoName string, uploadId string, ...) (*http.Request, error)
- func NewCreateDownloadAuthorizationRequest(server string, accountName string, repoName string, modelKey string, ...) (*http.Request, error)
- func NewCreateModelUploadRequest(server string, accountName string, repoName string, ...) (*http.Request, error)
- func NewCreateModelUploadRequestWithBody(server string, accountName string, repoName string, ...) (*http.Request, error)
- func NewCreateRepoRequest(server string, body CreateRepoJSONRequestBody) (*http.Request, error)
- func NewCreateRepoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteRepoRequest(server string, accountName string, repoName string) (*http.Request, error)
- func NewGetBillingPlanRequest(server string) (*http.Request, error)
- func NewGetDeploymentGuideRequest(server string, accountName string, repoName string, modelKey string, ...) (*http.Request, error)
- func NewGetDeploymentOptionsRequest(server string) (*http.Request, error)
- func NewGetGeneralReportRequest(server string, accountName string, repoName string, modelKey string) (*http.Request, error)
- func NewGetLibraryModelRequest(server string, accountName string, repoName string) (*http.Request, error)
- func NewGetLlmReportRequest(server string, accountName string, repoName string, modelKey string) (*http.Request, error)
- func NewGetMeRequest(server string) (*http.Request, error)
- func NewGetModelRequest(server string, accountName string, repoName string, modelKey string) (*http.Request, error)
- func NewGetModelStatusRequest(server string, accountName string, repoName string, modelKey string) (*http.Request, error)
- func NewGetModelUploadRequest(server string, accountName string, repoName string, uploadId string) (*http.Request, error)
- func NewGetPackageReportRequest(server string, accountName string, repoName string, modelKey string) (*http.Request, error)
- func NewGetRepoRequest(server string, accountName string, repoName string) (*http.Request, error)
- func NewGetUsageQuotasRequest(server string) (*http.Request, error)
- func NewGetUsageRequest(server string) (*http.Request, error)
- func NewImportModelRequest(server string, accountName string, repoName string, params *ImportModelParams, ...) (*http.Request, error)
- func NewImportModelRequestWithBody(server string, accountName string, repoName string, params *ImportModelParams, ...) (*http.Request, error)
- func NewListLibraryModelsRequest(server string, params *ListLibraryModelsParams) (*http.Request, error)
- func NewListLibraryProvidersRequest(server string) (*http.Request, error)
- func NewListModelTargetsRequest(server string, accountName string, repoName string, modelKey string) (*http.Request, error)
- func NewListModelUploadsRequest(server string, accountName string, repoName string) (*http.Request, error)
- func NewListModelsRequest(server string, accountName string, repoName string, params *ListModelsParams) (*http.Request, error)
- func NewListReposRequest(server string, params *ListReposParams) (*http.Request, error)
- func NewReissueUploadFilesRequest(server string, accountName string, repoName string, uploadId string, ...) (*http.Request, error)
- func NewReissueUploadFilesRequestWithBody(server string, accountName string, repoName string, uploadId string, ...) (*http.Request, error)
- func NewSetDefaultModelRequest(server string, accountName string, repoName string, modelKey string) (*http.Request, error)
- func NewUpdateRepoRequest(server string, accountName string, repoName string, ...) (*http.Request, error)
- func NewUpdateRepoRequestWithBody(server string, accountName string, repoName string, contentType string, ...) (*http.Request, error)
- func NewZeticPublicProjectsCreateProjectRequest(server string, body ZeticPublicProjectsCreateProjectJSONRequestBody) (*http.Request, error)
- func NewZeticPublicProjectsCreateProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewZeticPublicProjectsDeleteProjectRequest(server string, projectName string) (*http.Request, error)
- func NewZeticPublicUploadsCancelUploadRequest(server string, projectName string, uploadId string) (*http.Request, error)
- func NewZeticPublicUploadsCompleteUploadRequest(server string, projectName string, uploadId string, ...) (*http.Request, error)
- func NewZeticPublicUploadsCompleteUploadRequestWithBody(server string, projectName string, uploadId string, contentType string, ...) (*http.Request, error)
- func NewZeticPublicUploadsCreateUploadRequest(server string, projectName string, ...) (*http.Request, error)
- func NewZeticPublicUploadsCreateUploadRequestWithBody(server string, projectName string, contentType string, body io.Reader) (*http.Request, error)
- func NewZeticPublicUploadsGetUploadRequest(server string, projectName string, uploadId string) (*http.Request, error)
- func NewZeticPublicUploadsListActiveUploadsRequest(server string, projectName string) (*http.Request, error)
- func NewZeticPublicUploadsReissueUploadUrlsRequest(server string, projectName string, uploadId string, ...) (*http.Request, error)
- func NewZeticPublicUploadsReissueUploadUrlsRequestWithBody(server string, projectName string, uploadId string, contentType string, ...) (*http.Request, error)
- type ActiveUpload
- type BadRequest
- type BillingPlanResponse
- type BillingPlanResponsePlan
- type CancelModelUploadParams
- type CancelModelUploadResponse
- type CancelModelUploadResponseState
- type CancelModelUploadResult
- func (r CancelModelUploadResult) ContentType() string
- func (r CancelModelUploadResult) GetBody() []byte
- func (r CancelModelUploadResult) GetJSON200() *CancelModelUploadResponse
- func (r CancelModelUploadResult) GetJSON401() *Unauthorized
- func (r CancelModelUploadResult) GetJSON403() *Forbidden
- func (r CancelModelUploadResult) GetJSON404() *NotFound
- func (r CancelModelUploadResult) GetJSON409() *Conflict
- func (r CancelModelUploadResult) GetJSON422() *ValidationError
- func (r CancelModelUploadResult) GetJSON429() *RateLimited
- func (r CancelModelUploadResult) GetJSON500() *ServerError
- func (r CancelModelUploadResult) Status() string
- func (r CancelModelUploadResult) StatusCode() int
- type CancelModelUploadResult401Headers
- type CancelModelUploadResult403Headers
- type CancelModelUploadResult404Headers
- type CancelModelUploadResult409Headers
- type CancelModelUploadResult422Headers
- type CancelModelUploadResult429Headers
- type CancelModelUploadResult500Headers
- type Client
- func (c *Client) CancelModelUpload(ctx context.Context, accountName string, repoName string, uploadId string, ...) (*http.Response, error)
- func (c *Client) CompleteModelUpload(ctx context.Context, accountName string, repoName string, uploadId string, ...) (*http.Response, error)
- func (c *Client) CreateDownloadAuthorization(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*http.Response, error)
- func (c *Client) CreateModelUpload(ctx context.Context, accountName string, repoName string, ...) (*http.Response, error)
- func (c *Client) CreateModelUploadWithBody(ctx context.Context, accountName string, repoName string, ...) (*http.Response, error)
- func (c *Client) CreateRepo(ctx context.Context, body CreateRepoJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateRepoWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteRepo(ctx context.Context, accountName string, repoName string, ...) (*http.Response, error)
- func (c *Client) GetBillingPlan(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDeploymentGuide(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*http.Response, error)
- func (c *Client) GetDeploymentOptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetGeneralReport(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*http.Response, error)
- func (c *Client) GetLibraryModel(ctx context.Context, accountName string, repoName string, ...) (*http.Response, error)
- func (c *Client) GetLlmReport(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*http.Response, error)
- func (c *Client) GetMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetModel(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*http.Response, error)
- func (c *Client) GetModelStatus(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*http.Response, error)
- func (c *Client) GetModelUpload(ctx context.Context, accountName string, repoName string, uploadId string, ...) (*http.Response, error)
- func (c *Client) GetPackageReport(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*http.Response, error)
- func (c *Client) GetRepo(ctx context.Context, accountName string, repoName string, ...) (*http.Response, error)
- func (c *Client) GetUsage(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUsageQuotas(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ImportModel(ctx context.Context, accountName string, repoName string, ...) (*http.Response, error)
- func (c *Client) ImportModelWithBody(ctx context.Context, accountName string, repoName string, ...) (*http.Response, error)
- func (c *Client) ListLibraryModels(ctx context.Context, params *ListLibraryModelsParams, ...) (*http.Response, error)
- func (c *Client) ListLibraryProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListModelTargets(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*http.Response, error)
- func (c *Client) ListModelUploads(ctx context.Context, accountName string, repoName string, ...) (*http.Response, error)
- func (c *Client) ListModels(ctx context.Context, accountName string, repoName string, ...) (*http.Response, error)
- func (c *Client) ListRepos(ctx context.Context, params *ListReposParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ReissueUploadFiles(ctx context.Context, accountName string, repoName string, uploadId string, ...) (*http.Response, error)
- func (c *Client) ReissueUploadFilesWithBody(ctx context.Context, accountName string, repoName string, uploadId string, ...) (*http.Response, error)
- func (c *Client) SetDefaultModel(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*http.Response, error)
- func (c *Client) UpdateRepo(ctx context.Context, accountName string, repoName string, ...) (*http.Response, error)
- func (c *Client) UpdateRepoWithBody(ctx context.Context, accountName string, repoName string, contentType string, ...) (*http.Response, error)
- func (c *Client) ZeticPublicProjectsCreateProject(ctx context.Context, body ZeticPublicProjectsCreateProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ZeticPublicProjectsCreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ZeticPublicProjectsDeleteProject(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ZeticPublicUploadsCancelUpload(ctx context.Context, projectName string, uploadId string, ...) (*http.Response, error)
- func (c *Client) ZeticPublicUploadsCompleteUpload(ctx context.Context, projectName string, uploadId string, ...) (*http.Response, error)
- func (c *Client) ZeticPublicUploadsCompleteUploadWithBody(ctx context.Context, projectName string, uploadId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ZeticPublicUploadsCreateUpload(ctx context.Context, projectName string, ...) (*http.Response, error)
- func (c *Client) ZeticPublicUploadsCreateUploadWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ZeticPublicUploadsGetUpload(ctx context.Context, projectName string, uploadId string, ...) (*http.Response, error)
- func (c *Client) ZeticPublicUploadsListActiveUploads(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ZeticPublicUploadsReissueUploadUrls(ctx context.Context, projectName string, uploadId string, ...) (*http.Response, error)
- func (c *Client) ZeticPublicUploadsReissueUploadUrlsWithBody(ctx context.Context, projectName string, uploadId string, contentType string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CancelModelUploadWithResponse(ctx context.Context, accountName string, repoName string, uploadId string, ...) (*CancelModelUploadResult, error)
- func (c *ClientWithResponses) CompleteModelUploadWithResponse(ctx context.Context, accountName string, repoName string, uploadId string, ...) (*CompleteModelUploadResult, error)
- func (c *ClientWithResponses) CreateDownloadAuthorizationWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*CreateDownloadAuthorizationResult, error)
- func (c *ClientWithResponses) CreateModelUploadWithBodyWithResponse(ctx context.Context, accountName string, repoName string, ...) (*CreateModelUploadResult, error)
- func (c *ClientWithResponses) CreateModelUploadWithResponse(ctx context.Context, accountName string, repoName string, ...) (*CreateModelUploadResult, error)
- func (c *ClientWithResponses) CreateRepoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateRepoResult, error)
- func (c *ClientWithResponses) CreateRepoWithResponse(ctx context.Context, body CreateRepoJSONRequestBody, ...) (*CreateRepoResult, error)
- func (c *ClientWithResponses) DeleteRepoWithResponse(ctx context.Context, accountName string, repoName string, ...) (*DeleteRepoResult, error)
- func (c *ClientWithResponses) GetBillingPlanWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBillingPlanResult, error)
- func (c *ClientWithResponses) GetDeploymentGuideWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*GetDeploymentGuideResult, error)
- func (c *ClientWithResponses) GetDeploymentOptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDeploymentOptionsResult, error)
- func (c *ClientWithResponses) GetGeneralReportWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*GetGeneralReportResult, error)
- func (c *ClientWithResponses) GetLibraryModelWithResponse(ctx context.Context, accountName string, repoName string, ...) (*GetLibraryModelResult, error)
- func (c *ClientWithResponses) GetLlmReportWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*GetLlmReportResult, error)
- func (c *ClientWithResponses) GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeResult, error)
- func (c *ClientWithResponses) GetModelStatusWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*GetModelStatusResult, error)
- func (c *ClientWithResponses) GetModelUploadWithResponse(ctx context.Context, accountName string, repoName string, uploadId string, ...) (*GetModelUploadResult, error)
- func (c *ClientWithResponses) GetModelWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*GetModelResult, error)
- func (c *ClientWithResponses) GetPackageReportWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*GetPackageReportResult, error)
- func (c *ClientWithResponses) GetRepoWithResponse(ctx context.Context, accountName string, repoName string, ...) (*GetRepoResult, error)
- func (c *ClientWithResponses) GetUsageQuotasWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUsageQuotasResult, error)
- func (c *ClientWithResponses) GetUsageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUsageResult, error)
- func (c *ClientWithResponses) ImportModelWithBodyWithResponse(ctx context.Context, accountName string, repoName string, ...) (*ImportModelResult, error)
- func (c *ClientWithResponses) ImportModelWithResponse(ctx context.Context, accountName string, repoName string, ...) (*ImportModelResult, error)
- func (c *ClientWithResponses) ListLibraryModelsWithResponse(ctx context.Context, params *ListLibraryModelsParams, ...) (*ListLibraryModelsResult, error)
- func (c *ClientWithResponses) ListLibraryProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLibraryProvidersResult, error)
- func (c *ClientWithResponses) ListModelTargetsWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*ListModelTargetsResult, error)
- func (c *ClientWithResponses) ListModelUploadsWithResponse(ctx context.Context, accountName string, repoName string, ...) (*ListModelUploadsResult, error)
- func (c *ClientWithResponses) ListModelsWithResponse(ctx context.Context, accountName string, repoName string, ...) (*ListModelsResult, error)
- func (c *ClientWithResponses) ListReposWithResponse(ctx context.Context, params *ListReposParams, reqEditors ...RequestEditorFn) (*ListReposResult, error)
- func (c *ClientWithResponses) ReissueUploadFilesWithBodyWithResponse(ctx context.Context, accountName string, repoName string, uploadId string, ...) (*ReissueUploadFilesResult, error)
- func (c *ClientWithResponses) ReissueUploadFilesWithResponse(ctx context.Context, accountName string, repoName string, uploadId string, ...) (*ReissueUploadFilesResult, error)
- func (c *ClientWithResponses) SetDefaultModelWithResponse(ctx context.Context, accountName string, repoName string, modelKey string, ...) (*SetDefaultModelResult, error)
- func (c *ClientWithResponses) UpdateRepoWithBodyWithResponse(ctx context.Context, accountName string, repoName string, contentType string, ...) (*UpdateRepoResult, error)
- func (c *ClientWithResponses) UpdateRepoWithResponse(ctx context.Context, accountName string, repoName string, ...) (*UpdateRepoResult, error)
- func (c *ClientWithResponses) ZeticPublicProjectsCreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ZeticPublicProjectsCreateProjectResult, error)deprecated
- func (c *ClientWithResponses) ZeticPublicProjectsCreateProjectWithResponse(ctx context.Context, body ZeticPublicProjectsCreateProjectJSONRequestBody, ...) (*ZeticPublicProjectsCreateProjectResult, error)
- func (c *ClientWithResponses) ZeticPublicProjectsDeleteProjectWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*ZeticPublicProjectsDeleteProjectResult, error)deprecated
- func (c *ClientWithResponses) ZeticPublicUploadsCancelUploadWithResponse(ctx context.Context, projectName string, uploadId string, ...) (*ZeticPublicUploadsCancelUploadResult, error)deprecated
- func (c *ClientWithResponses) ZeticPublicUploadsCompleteUploadWithBodyWithResponse(ctx context.Context, projectName string, uploadId string, contentType string, ...) (*ZeticPublicUploadsCompleteUploadResult, error)deprecated
- func (c *ClientWithResponses) ZeticPublicUploadsCompleteUploadWithResponse(ctx context.Context, projectName string, uploadId string, ...) (*ZeticPublicUploadsCompleteUploadResult, error)
- func (c *ClientWithResponses) ZeticPublicUploadsCreateUploadWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, ...) (*ZeticPublicUploadsCreateUploadResult, error)deprecated
- func (c *ClientWithResponses) ZeticPublicUploadsCreateUploadWithResponse(ctx context.Context, projectName string, ...) (*ZeticPublicUploadsCreateUploadResult, error)
- func (c *ClientWithResponses) ZeticPublicUploadsGetUploadWithResponse(ctx context.Context, projectName string, uploadId string, ...) (*ZeticPublicUploadsGetUploadResult, error)deprecated
- func (c *ClientWithResponses) ZeticPublicUploadsListActiveUploadsWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*ZeticPublicUploadsListActiveUploadsResult, error)deprecated
- func (c *ClientWithResponses) ZeticPublicUploadsReissueUploadUrlsWithBodyWithResponse(ctx context.Context, projectName string, uploadId string, contentType string, ...) (*ZeticPublicUploadsReissueUploadUrlsResult, error)deprecated
- func (c *ClientWithResponses) ZeticPublicUploadsReissueUploadUrlsWithResponse(ctx context.Context, projectName string, uploadId string, ...) (*ZeticPublicUploadsReissueUploadUrlsResult, error)
- type ClientWithResponsesInterface
- type CompleteModelUploadParams
- type CompleteModelUploadResponse
- type CompleteModelUploadResponseState
- type CompleteModelUploadResult
- func (r CompleteModelUploadResult) ContentType() string
- func (r CompleteModelUploadResult) GetBody() []byte
- func (r CompleteModelUploadResult) GetJSON200() *CompleteModelUploadResponse
- func (r CompleteModelUploadResult) GetJSON401() *Unauthorized
- func (r CompleteModelUploadResult) GetJSON403() *Forbidden
- func (r CompleteModelUploadResult) GetJSON404() *NotFound
- func (r CompleteModelUploadResult) GetJSON409() *Conflict
- func (r CompleteModelUploadResult) GetJSON422() *ValidationError
- func (r CompleteModelUploadResult) GetJSON429() *RateLimited
- func (r CompleteModelUploadResult) GetJSON500() *ServerError
- func (r CompleteModelUploadResult) Status() string
- func (r CompleteModelUploadResult) StatusCode() int
- type CompleteModelUploadResult401Headers
- type CompleteModelUploadResult403Headers
- type CompleteModelUploadResult404Headers
- type CompleteModelUploadResult409Headers
- type CompleteModelUploadResult422Headers
- type CompleteModelUploadResult429Headers
- type CompleteModelUploadResult500Headers
- type CompleteUploadRequest
- type Conflict
- type CreateDownloadAuthorizationParams
- type CreateDownloadAuthorizationResult
- func (r CreateDownloadAuthorizationResult) ContentType() string
- func (r CreateDownloadAuthorizationResult) GetBody() []byte
- func (r CreateDownloadAuthorizationResult) GetJSON200() *DownloadAuthorizationResponse
- func (r CreateDownloadAuthorizationResult) GetJSON201() *DownloadAuthorizationResponse
- func (r CreateDownloadAuthorizationResult) GetJSON401() *Unauthorized
- func (r CreateDownloadAuthorizationResult) GetJSON403() *Forbidden
- func (r CreateDownloadAuthorizationResult) GetJSON404() *NotFound
- func (r CreateDownloadAuthorizationResult) GetJSON409() *Conflict
- func (r CreateDownloadAuthorizationResult) GetJSON422() *ValidationError
- func (r CreateDownloadAuthorizationResult) GetJSON429() *RateLimited
- func (r CreateDownloadAuthorizationResult) GetJSON500() *ServerError
- func (r CreateDownloadAuthorizationResult) GetJSON503() *ServiceUnavailable
- func (r CreateDownloadAuthorizationResult) Status() string
- func (r CreateDownloadAuthorizationResult) StatusCode() int
- type CreateDownloadAuthorizationResult200Headers
- type CreateDownloadAuthorizationResult201Headers
- type CreateDownloadAuthorizationResult401Headers
- type CreateDownloadAuthorizationResult403Headers
- type CreateDownloadAuthorizationResult404Headers
- type CreateDownloadAuthorizationResult409Headers
- type CreateDownloadAuthorizationResult422Headers
- type CreateDownloadAuthorizationResult429Headers
- type CreateDownloadAuthorizationResult500Headers
- type CreateDownloadAuthorizationResult503Headers
- type CreateModelUploadJSONRequestBody
- type CreateModelUploadParams
- type CreateModelUploadRequest
- type CreateModelUploadRequestManifestVersion
- type CreateModelUploadResult
- func (r CreateModelUploadResult) ContentType() string
- func (r CreateModelUploadResult) GetBody() []byte
- func (r CreateModelUploadResult) GetJSON200() *ModelUploadResponse
- func (r CreateModelUploadResult) GetJSON201() *ModelUploadResponse
- func (r CreateModelUploadResult) GetJSON401() *Unauthorized
- func (r CreateModelUploadResult) GetJSON403() *Forbidden
- func (r CreateModelUploadResult) GetJSON404() *NotFound
- func (r CreateModelUploadResult) GetJSON409() *Conflict
- func (r CreateModelUploadResult) GetJSON422() *ValidationError
- func (r CreateModelUploadResult) GetJSON429() *RateLimited
- func (r CreateModelUploadResult) GetJSON500() *ServerError
- func (r CreateModelUploadResult) GetJSON503() *ServiceUnavailable
- func (r CreateModelUploadResult) Status() string
- func (r CreateModelUploadResult) StatusCode() int
- type CreateModelUploadResult200Headers
- type CreateModelUploadResult201Headers
- type CreateModelUploadResult401Headers
- type CreateModelUploadResult403Headers
- type CreateModelUploadResult404Headers
- type CreateModelUploadResult409Headers
- type CreateModelUploadResult422Headers
- type CreateModelUploadResult429Headers
- type CreateModelUploadResult500Headers
- type CreateModelUploadResult503Headers
- type CreateProjectRequest
- type CreateProjectRequestModelType
- type CreateRepoJSONRequestBody
- type CreateRepoRequest
- type CreateRepoRequestModelType
- type CreateRepoRequestUseCase
- type CreateRepoResult
- func (r CreateRepoResult) ContentType() string
- func (r CreateRepoResult) GetBody() []byte
- func (r CreateRepoResult) GetJSON201() *RepoResponse
- func (r CreateRepoResult) GetJSON401() *Unauthorized
- func (r CreateRepoResult) GetJSON403() *Forbidden
- func (r CreateRepoResult) GetJSON409() *Conflict
- func (r CreateRepoResult) GetJSON422() *ValidationError
- func (r CreateRepoResult) GetJSON429() *RateLimited
- func (r CreateRepoResult) GetJSON500() *ServerError
- func (r CreateRepoResult) Status() string
- func (r CreateRepoResult) StatusCode() int
- type CreateRepoResult401Headers
- type CreateRepoResult403Headers
- type CreateRepoResult409Headers
- type CreateRepoResult422Headers
- type CreateRepoResult429Headers
- type CreateRepoResult500Headers
- type CreateUploadRequest
- type CreateUploadResponse
- type DeleteRepoResult
- func (r DeleteRepoResult) ContentType() string
- func (r DeleteRepoResult) GetBody() []byte
- func (r DeleteRepoResult) GetJSON401() *Unauthorized
- func (r DeleteRepoResult) GetJSON403() *Forbidden
- func (r DeleteRepoResult) GetJSON404() *NotFound
- func (r DeleteRepoResult) GetJSON429() *RateLimited
- func (r DeleteRepoResult) GetJSON500() *ServerError
- func (r DeleteRepoResult) Status() string
- func (r DeleteRepoResult) StatusCode() int
- type DeleteRepoResult401Headers
- type DeleteRepoResult403Headers
- type DeleteRepoResult404Headers
- type DeleteRepoResult429Headers
- type DeleteRepoResult500Headers
- type DeploymentGuideModel
- type DeploymentGuideModelState
- type DeploymentGuideModelType
- type DeploymentGuideResponse
- type DeploymentGuideResponseInferenceMode
- type DeploymentGuideResponseLanguage
- type DeploymentGuideSDK
- type DeploymentGuideStep
- type DeploymentInferenceModeOption
- type DeploymentInferenceModeOptionId
- type DeploymentLanguageOption
- type DeploymentLanguageOptionId
- type DeploymentOptionsResponse
- type DeploymentOptionsResponseDefaultInferenceMode
- type DeploymentOptionsResponseDefaultLanguage
- type DownloadArtifact
- type DownloadAuthorizationResponse
- type ErrorEnvelope
- type ErrorEnvelopeErrorType
- type ErrorEnvelopeType
- type FileArrival
- type Forbidden
- type GeneralLatencySummary
- type GeneralMemorySummary
- type GeneralReportRecord
- type GeneralReportRecordApType
- type GeneralReportRecordMetric
- type GeneralReportRecordPrecision
- type GeneralReportRecordUnit
- type GeneralReportResponse
- type GeneralReportSummary
- type GeneralSnrSummary
- type GetBillingPlanResult
- func (r GetBillingPlanResult) ContentType() string
- func (r GetBillingPlanResult) GetBody() []byte
- func (r GetBillingPlanResult) GetJSON200() *BillingPlanResponse
- func (r GetBillingPlanResult) GetJSON401() *Unauthorized
- func (r GetBillingPlanResult) GetJSON403() *Forbidden
- func (r GetBillingPlanResult) GetJSON404() *NotFound
- func (r GetBillingPlanResult) GetJSON500() *ServerError
- func (r GetBillingPlanResult) Status() string
- func (r GetBillingPlanResult) StatusCode() int
- type GetBillingPlanResult401Headers
- type GetBillingPlanResult403Headers
- type GetBillingPlanResult404Headers
- type GetBillingPlanResult500Headers
- type GetDeploymentGuideParams
- type GetDeploymentGuideParamsInferenceMode
- type GetDeploymentGuideParamsLanguage
- type GetDeploymentGuideResult
- func (r GetDeploymentGuideResult) ContentType() string
- func (r GetDeploymentGuideResult) GetBody() []byte
- func (r GetDeploymentGuideResult) GetJSON200() *DeploymentGuideResponse
- func (r GetDeploymentGuideResult) GetJSON401() *Unauthorized
- func (r GetDeploymentGuideResult) GetJSON403() *Forbidden
- func (r GetDeploymentGuideResult) GetJSON404() *NotFound
- func (r GetDeploymentGuideResult) GetJSON409() *Conflict
- func (r GetDeploymentGuideResult) GetJSON422() *ValidationError
- func (r GetDeploymentGuideResult) GetJSON500() *ServerError
- func (r GetDeploymentGuideResult) Status() string
- func (r GetDeploymentGuideResult) StatusCode() int
- type GetDeploymentGuideResult200Headers
- type GetDeploymentGuideResult401Headers
- type GetDeploymentGuideResult403Headers
- type GetDeploymentGuideResult404Headers
- type GetDeploymentGuideResult409Headers
- type GetDeploymentGuideResult422Headers
- type GetDeploymentGuideResult500Headers
- type GetDeploymentOptionsResult
- func (r GetDeploymentOptionsResult) ContentType() string
- func (r GetDeploymentOptionsResult) GetBody() []byte
- func (r GetDeploymentOptionsResult) GetJSON200() *DeploymentOptionsResponse
- func (r GetDeploymentOptionsResult) GetJSON401() *Unauthorized
- func (r GetDeploymentOptionsResult) GetJSON403() *Forbidden
- func (r GetDeploymentOptionsResult) GetJSON500() *ServerError
- func (r GetDeploymentOptionsResult) Status() string
- func (r GetDeploymentOptionsResult) StatusCode() int
- type GetDeploymentOptionsResult401Headers
- type GetDeploymentOptionsResult403Headers
- type GetDeploymentOptionsResult500Headers
- type GetGeneralReportResult
- func (r GetGeneralReportResult) ContentType() string
- func (r GetGeneralReportResult) GetBody() []byte
- func (r GetGeneralReportResult) GetJSON200() *GeneralReportResponse
- func (r GetGeneralReportResult) GetJSON401() *Unauthorized
- func (r GetGeneralReportResult) GetJSON403() *Forbidden
- func (r GetGeneralReportResult) GetJSON404() *NotFound
- func (r GetGeneralReportResult) GetJSON409() *Conflict
- func (r GetGeneralReportResult) GetJSON500() *ServerError
- func (r GetGeneralReportResult) Status() string
- func (r GetGeneralReportResult) StatusCode() int
- type GetGeneralReportResult401Headers
- type GetGeneralReportResult403Headers
- type GetGeneralReportResult404Headers
- type GetGeneralReportResult409Headers
- type GetGeneralReportResult500Headers
- type GetLibraryModelResult
- func (r GetLibraryModelResult) ContentType() string
- func (r GetLibraryModelResult) GetBody() []byte
- func (r GetLibraryModelResult) GetJSON200() *LibraryModelDetailResponse
- func (r GetLibraryModelResult) GetJSON401() *Unauthorized
- func (r GetLibraryModelResult) GetJSON403() *Forbidden
- func (r GetLibraryModelResult) GetJSON404() *NotFound
- func (r GetLibraryModelResult) GetJSON500() *ServerError
- func (r GetLibraryModelResult) Status() string
- func (r GetLibraryModelResult) StatusCode() int
- type GetLibraryModelResult401Headers
- type GetLibraryModelResult403Headers
- type GetLibraryModelResult404Headers
- type GetLibraryModelResult500Headers
- type GetLlmReportResult
- func (r GetLlmReportResult) ContentType() string
- func (r GetLlmReportResult) GetBody() []byte
- func (r GetLlmReportResult) GetJSON200() *LlmReportResponse
- func (r GetLlmReportResult) GetJSON401() *Unauthorized
- func (r GetLlmReportResult) GetJSON403() *Forbidden
- func (r GetLlmReportResult) GetJSON404() *NotFound
- func (r GetLlmReportResult) GetJSON409() *Conflict
- func (r GetLlmReportResult) GetJSON500() *ServerError
- func (r GetLlmReportResult) Status() string
- func (r GetLlmReportResult) StatusCode() int
- type GetLlmReportResult401Headers
- type GetLlmReportResult403Headers
- type GetLlmReportResult404Headers
- type GetLlmReportResult409Headers
- type GetLlmReportResult500Headers
- type GetMeResult
- func (r GetMeResult) ContentType() string
- func (r GetMeResult) GetBody() []byte
- func (r GetMeResult) GetJSON200() *MeResponse
- func (r GetMeResult) GetJSON401() *Unauthorized
- func (r GetMeResult) GetJSON403() *Forbidden
- func (r GetMeResult) GetJSON404() *NotFound
- func (r GetMeResult) GetJSON500() *ServerError
- func (r GetMeResult) Status() string
- func (r GetMeResult) StatusCode() int
- type GetMeResult401Headers
- type GetMeResult403Headers
- type GetMeResult404Headers
- type GetMeResult500Headers
- type GetModelResult
- func (r GetModelResult) ContentType() string
- func (r GetModelResult) GetBody() []byte
- func (r GetModelResult) GetJSON200() *ModelDetailResponse
- func (r GetModelResult) GetJSON401() *Unauthorized
- func (r GetModelResult) GetJSON403() *Forbidden
- func (r GetModelResult) GetJSON404() *NotFound
- func (r GetModelResult) GetJSON500() *ServerError
- func (r GetModelResult) Status() string
- func (r GetModelResult) StatusCode() int
- type GetModelResult401Headers
- type GetModelResult403Headers
- type GetModelResult404Headers
- type GetModelResult500Headers
- type GetModelStatusResult
- func (r GetModelStatusResult) ContentType() string
- func (r GetModelStatusResult) GetBody() []byte
- func (r GetModelStatusResult) GetJSON200() *ModelStatusResponse
- func (r GetModelStatusResult) GetJSON401() *Unauthorized
- func (r GetModelStatusResult) GetJSON403() *Forbidden
- func (r GetModelStatusResult) GetJSON404() *NotFound
- func (r GetModelStatusResult) GetJSON500() *ServerError
- func (r GetModelStatusResult) Status() string
- func (r GetModelStatusResult) StatusCode() int
- type GetModelStatusResult401Headers
- type GetModelStatusResult403Headers
- type GetModelStatusResult404Headers
- type GetModelStatusResult500Headers
- type GetModelUploadResult
- func (r GetModelUploadResult) ContentType() string
- func (r GetModelUploadResult) GetBody() []byte
- func (r GetModelUploadResult) GetJSON200() *ModelUploadDetailResponse
- func (r GetModelUploadResult) GetJSON401() *Unauthorized
- func (r GetModelUploadResult) GetJSON403() *Forbidden
- func (r GetModelUploadResult) GetJSON404() *NotFound
- func (r GetModelUploadResult) GetJSON429() *RateLimited
- func (r GetModelUploadResult) GetJSON500() *ServerError
- func (r GetModelUploadResult) Status() string
- func (r GetModelUploadResult) StatusCode() int
- type GetModelUploadResult401Headers
- type GetModelUploadResult403Headers
- type GetModelUploadResult404Headers
- type GetModelUploadResult429Headers
- type GetModelUploadResult500Headers
- type GetPackageReportResult
- func (r GetPackageReportResult) ContentType() string
- func (r GetPackageReportResult) GetBody() []byte
- func (r GetPackageReportResult) GetJSON200() *PackageReportResponse
- func (r GetPackageReportResult) GetJSON401() *Unauthorized
- func (r GetPackageReportResult) GetJSON403() *Forbidden
- func (r GetPackageReportResult) GetJSON404() *NotFound
- func (r GetPackageReportResult) GetJSON409() *Conflict
- func (r GetPackageReportResult) GetJSON500() *ServerError
- func (r GetPackageReportResult) Status() string
- func (r GetPackageReportResult) StatusCode() int
- type GetPackageReportResult401Headers
- type GetPackageReportResult403Headers
- type GetPackageReportResult404Headers
- type GetPackageReportResult409Headers
- type GetPackageReportResult500Headers
- type GetRepoResult
- func (r GetRepoResult) ContentType() string
- func (r GetRepoResult) GetBody() []byte
- func (r GetRepoResult) GetJSON200() *RepoResponse
- func (r GetRepoResult) GetJSON401() *Unauthorized
- func (r GetRepoResult) GetJSON403() *Forbidden
- func (r GetRepoResult) GetJSON404() *NotFound
- func (r GetRepoResult) GetJSON500() *ServerError
- func (r GetRepoResult) Status() string
- func (r GetRepoResult) StatusCode() int
- type GetRepoResult401Headers
- type GetRepoResult403Headers
- type GetRepoResult404Headers
- type GetRepoResult500Headers
- type GetUsageQuotasResult
- func (r GetUsageQuotasResult) ContentType() string
- func (r GetUsageQuotasResult) GetBody() []byte
- func (r GetUsageQuotasResult) GetJSON200() *UsageQuotasResponse
- func (r GetUsageQuotasResult) GetJSON401() *Unauthorized
- func (r GetUsageQuotasResult) GetJSON403() *Forbidden
- func (r GetUsageQuotasResult) GetJSON404() *NotFound
- func (r GetUsageQuotasResult) GetJSON500() *ServerError
- func (r GetUsageQuotasResult) Status() string
- func (r GetUsageQuotasResult) StatusCode() int
- type GetUsageQuotasResult401Headers
- type GetUsageQuotasResult403Headers
- type GetUsageQuotasResult404Headers
- type GetUsageQuotasResult500Headers
- type GetUsageResult
- func (r GetUsageResult) ContentType() string
- func (r GetUsageResult) GetBody() []byte
- func (r GetUsageResult) GetJSON200() *UsageResponse
- func (r GetUsageResult) GetJSON401() *Unauthorized
- func (r GetUsageResult) GetJSON403() *Forbidden
- func (r GetUsageResult) GetJSON404() *NotFound
- func (r GetUsageResult) GetJSON500() *ServerError
- func (r GetUsageResult) Status() string
- func (r GetUsageResult) StatusCode() int
- type GetUsageResult401Headers
- type GetUsageResult403Headers
- type GetUsageResult404Headers
- type GetUsageResult500Headers
- type HttpRequestDoer
- type IdempotencyKey
- type ImportModelJSONRequestBody
- type ImportModelParams
- type ImportModelRequest
- type ImportModelResponse
- type ImportModelResponseState
- type ImportModelResult
- func (r ImportModelResult) ContentType() string
- func (r ImportModelResult) GetBody() []byte
- func (r ImportModelResult) GetJSON200() *ImportModelResponse
- func (r ImportModelResult) GetJSON201() *ImportModelResponse
- func (r ImportModelResult) GetJSON401() *Unauthorized
- func (r ImportModelResult) GetJSON403() *Forbidden
- func (r ImportModelResult) GetJSON404() *NotFound
- func (r ImportModelResult) GetJSON409() *Conflict
- func (r ImportModelResult) GetJSON422() *ValidationError
- func (r ImportModelResult) GetJSON429() *RateLimited
- func (r ImportModelResult) GetJSON500() *ServerError
- func (r ImportModelResult) Status() string
- func (r ImportModelResult) StatusCode() int
- type ImportModelResult401Headers
- type ImportModelResult403Headers
- type ImportModelResult404Headers
- type ImportModelResult409Headers
- type ImportModelResult422Headers
- type ImportModelResult429Headers
- type ImportModelResult500Headers
- type IssuedSessionFile
- type IssuedUpload
- type LibraryModelDetailResponse
- type LibraryModelItem
- type LibraryProviderItem
- type LibraryProviderRef
- type ListActiveUploadsResponse
- type ListLibraryModelsParams
- type ListLibraryModelsParamsTask
- type ListLibraryModelsResult
- func (r ListLibraryModelsResult) ContentType() string
- func (r ListLibraryModelsResult) GetBody() []byte
- func (r ListLibraryModelsResult) GetJSON200() *PagedLibraryModelItem
- func (r ListLibraryModelsResult) GetJSON401() *Unauthorized
- func (r ListLibraryModelsResult) GetJSON403() *Forbidden
- func (r ListLibraryModelsResult) GetJSON422() *ValidationError
- func (r ListLibraryModelsResult) GetJSON500() *ServerError
- func (r ListLibraryModelsResult) Status() string
- func (r ListLibraryModelsResult) StatusCode() int
- type ListLibraryModelsResult401Headers
- type ListLibraryModelsResult403Headers
- type ListLibraryModelsResult422Headers
- type ListLibraryModelsResult500Headers
- type ListLibraryProvidersResponse
- type ListLibraryProvidersResult
- func (r ListLibraryProvidersResult) ContentType() string
- func (r ListLibraryProvidersResult) GetBody() []byte
- func (r ListLibraryProvidersResult) GetJSON200() *ListLibraryProvidersResponse
- func (r ListLibraryProvidersResult) GetJSON401() *Unauthorized
- func (r ListLibraryProvidersResult) GetJSON403() *Forbidden
- func (r ListLibraryProvidersResult) GetJSON500() *ServerError
- func (r ListLibraryProvidersResult) Status() string
- func (r ListLibraryProvidersResult) StatusCode() int
- type ListLibraryProvidersResult401Headers
- type ListLibraryProvidersResult403Headers
- type ListLibraryProvidersResult500Headers
- type ListModelTargetsResponse
- type ListModelTargetsResult
- func (r ListModelTargetsResult) ContentType() string
- func (r ListModelTargetsResult) GetBody() []byte
- func (r ListModelTargetsResult) GetJSON200() *ListModelTargetsResponse
- func (r ListModelTargetsResult) GetJSON401() *Unauthorized
- func (r ListModelTargetsResult) GetJSON403() *Forbidden
- func (r ListModelTargetsResult) GetJSON404() *NotFound
- func (r ListModelTargetsResult) GetJSON500() *ServerError
- func (r ListModelTargetsResult) Status() string
- func (r ListModelTargetsResult) StatusCode() int
- type ListModelTargetsResult401Headers
- type ListModelTargetsResult403Headers
- type ListModelTargetsResult404Headers
- type ListModelTargetsResult500Headers
- type ListModelUploadsResponse
- type ListModelUploadsResult
- func (r ListModelUploadsResult) ContentType() string
- func (r ListModelUploadsResult) GetBody() []byte
- func (r ListModelUploadsResult) GetJSON200() *ListModelUploadsResponse
- func (r ListModelUploadsResult) GetJSON401() *Unauthorized
- func (r ListModelUploadsResult) GetJSON403() *Forbidden
- func (r ListModelUploadsResult) GetJSON404() *NotFound
- func (r ListModelUploadsResult) GetJSON500() *ServerError
- func (r ListModelUploadsResult) Status() string
- func (r ListModelUploadsResult) StatusCode() int
- type ListModelUploadsResult401Headers
- type ListModelUploadsResult403Headers
- type ListModelUploadsResult404Headers
- type ListModelUploadsResult500Headers
- type ListModelsParams
- type ListModelsResult
- func (r ListModelsResult) ContentType() string
- func (r ListModelsResult) GetBody() []byte
- func (r ListModelsResult) GetJSON200() *PagedModelSummary
- func (r ListModelsResult) GetJSON401() *Unauthorized
- func (r ListModelsResult) GetJSON403() *Forbidden
- func (r ListModelsResult) GetJSON404() *NotFound
- func (r ListModelsResult) GetJSON422() *ValidationError
- func (r ListModelsResult) GetJSON500() *ServerError
- func (r ListModelsResult) Status() string
- func (r ListModelsResult) StatusCode() int
- type ListModelsResult401Headers
- type ListModelsResult403Headers
- type ListModelsResult404Headers
- type ListModelsResult422Headers
- type ListModelsResult500Headers
- type ListReposParams
- type ListReposResult
- func (r ListReposResult) ContentType() string
- func (r ListReposResult) GetBody() []byte
- func (r ListReposResult) GetJSON200() *PagedRepoResponse
- func (r ListReposResult) GetJSON401() *Unauthorized
- func (r ListReposResult) GetJSON403() *Forbidden
- func (r ListReposResult) GetJSON422() *ValidationError
- func (r ListReposResult) GetJSON500() *ServerError
- func (r ListReposResult) Status() string
- func (r ListReposResult) StatusCode() int
- type ListReposResult401Headers
- type ListReposResult403Headers
- type ListReposResult422Headers
- type ListReposResult500Headers
- type LlmAccuracyEntry
- type LlmQuantAggregates
- type LlmReportRecord
- type LlmReportRecordApType
- type LlmReportRecordMetric
- type LlmReportRecordUnit
- type LlmReportResponse
- type LlmReportSummary
- type ManifestBucket
- type ManifestFile
- type ManifestFileRole
- type ManifestOptions
- type MeAccount
- type MeResponse
- type MeToken
- type MeUser
- type ModelDetailResponse
- type ModelDetailResponseState
- type ModelRef
- type ModelStatusResponse
- type ModelStatusResponseStage
- type ModelStatusResponseState
- type ModelSummary
- type ModelSummaryState
- type ModelTargetCompatibility
- type ModelTargetCompatibilityApTypes
- type ModelTargetItem
- type ModelTargetItemKind
- type ModelTargetItemPrecision
- type ModelUploadDetailResponse
- type ModelUploadDetailResponseState
- type ModelUploadFileStatus
- type ModelUploadResponse
- type ModelUploadResponseState
- type ModelUploadSummary
- type ModelUploadSummaryState
- type NotFound
- type PackageModeAggregates
- type PackageReportRecord
- type PackageReportRecordMetric
- type PackageReportRecordUnit
- type PackageReportResponse
- type PackageReportSummary
- type PackageRunConfiguration
- type PagedLibraryModelItem
- type PagedModelSummary
- type PagedRepoResponse
- type ProjectResponse
- type QuotaItem
- type RateLimited
- type ReissueUploadFilesJSONRequestBody
- type ReissueUploadFilesRequest
- type ReissueUploadFilesResponse
- type ReissueUploadFilesResult
- func (r ReissueUploadFilesResult) ContentType() string
- func (r ReissueUploadFilesResult) GetBody() []byte
- func (r ReissueUploadFilesResult) GetJSON200() *ReissueUploadFilesResponse
- func (r ReissueUploadFilesResult) GetJSON401() *Unauthorized
- func (r ReissueUploadFilesResult) GetJSON403() *Forbidden
- func (r ReissueUploadFilesResult) GetJSON404() *NotFound
- func (r ReissueUploadFilesResult) GetJSON409() *Conflict
- func (r ReissueUploadFilesResult) GetJSON422() *ValidationError
- func (r ReissueUploadFilesResult) GetJSON429() *RateLimited
- func (r ReissueUploadFilesResult) GetJSON500() *ServerError
- func (r ReissueUploadFilesResult) Status() string
- func (r ReissueUploadFilesResult) StatusCode() int
- type ReissueUploadFilesResult200Headers
- type ReissueUploadFilesResult401Headers
- type ReissueUploadFilesResult403Headers
- type ReissueUploadFilesResult404Headers
- type ReissueUploadFilesResult409Headers
- type ReissueUploadFilesResult422Headers
- type ReissueUploadFilesResult429Headers
- type ReissueUploadFilesResult500Headers
- type ReissueUploadUrlsRequest
- type ReissueUploadUrlsResponse
- type RepoResponse
- type ReportDevice
- type ReportMemoryBounds
- type ReportMinMax
- type ReportModelRef
- type ReportStats
- type RequestEditorFn
- type RequestTooLarge
- type RequestedFile
- type ServerError
- type ServiceUnavailable
- type SetDefaultModelResult
- func (r SetDefaultModelResult) ContentType() string
- func (r SetDefaultModelResult) GetBody() []byte
- func (r SetDefaultModelResult) GetJSON200() *ModelSummary
- func (r SetDefaultModelResult) GetJSON401() *Unauthorized
- func (r SetDefaultModelResult) GetJSON403() *Forbidden
- func (r SetDefaultModelResult) GetJSON404() *NotFound
- func (r SetDefaultModelResult) GetJSON429() *RateLimited
- func (r SetDefaultModelResult) GetJSON500() *ServerError
- func (r SetDefaultModelResult) Status() string
- func (r SetDefaultModelResult) StatusCode() int
- type SetDefaultModelResult401Headers
- type SetDefaultModelResult403Headers
- type SetDefaultModelResult404Headers
- type SetDefaultModelResult429Headers
- type SetDefaultModelResult500Headers
- type Unauthorized
- type UpdateRepoJSONRequestBody
- type UpdateRepoRequest
- type UpdateRepoRequestUseCase
- type UpdateRepoResult
- func (r UpdateRepoResult) ContentType() string
- func (r UpdateRepoResult) GetBody() []byte
- func (r UpdateRepoResult) GetJSON200() *RepoResponse
- func (r UpdateRepoResult) GetJSON401() *Unauthorized
- func (r UpdateRepoResult) GetJSON403() *Forbidden
- func (r UpdateRepoResult) GetJSON404() *NotFound
- func (r UpdateRepoResult) GetJSON422() *ValidationError
- func (r UpdateRepoResult) GetJSON429() *RateLimited
- func (r UpdateRepoResult) GetJSON500() *ServerError
- func (r UpdateRepoResult) Status() string
- func (r UpdateRepoResult) StatusCode() int
- type UpdateRepoResult401Headers
- type UpdateRepoResult403Headers
- type UpdateRepoResult404Headers
- type UpdateRepoResult422Headers
- type UpdateRepoResult429Headers
- type UpdateRepoResult500Headers
- type UploadStatusResponse
- type UsageQuotasResponse
- type UsageResponse
- type ValidationError
- type VersionResponse
- type ZeticPublicProjectsCreateProjectJSONRequestBodydeprecated
- type ZeticPublicProjectsCreateProjectResult
- func (r ZeticPublicProjectsCreateProjectResult) ContentType() string
- func (r ZeticPublicProjectsCreateProjectResult) GetBody() []byte
- func (r ZeticPublicProjectsCreateProjectResult) GetJSON200() *ProjectResponse
- func (r ZeticPublicProjectsCreateProjectResult) GetJSON401() *Unauthorized
- func (r ZeticPublicProjectsCreateProjectResult) GetJSON403() *Forbidden
- func (r ZeticPublicProjectsCreateProjectResult) GetJSON409() *Conflict
- func (r ZeticPublicProjectsCreateProjectResult) GetJSON422() *ValidationError
- func (r ZeticPublicProjectsCreateProjectResult) GetJSON429() *RateLimited
- func (r ZeticPublicProjectsCreateProjectResult) GetJSON500() *ServerError
- func (r ZeticPublicProjectsCreateProjectResult) Status() string
- func (r ZeticPublicProjectsCreateProjectResult) StatusCode() int
- type ZeticPublicProjectsCreateProjectResult401Headers
- type ZeticPublicProjectsCreateProjectResult403Headers
- type ZeticPublicProjectsCreateProjectResult409Headers
- type ZeticPublicProjectsCreateProjectResult422Headers
- type ZeticPublicProjectsCreateProjectResult429Headers
- type ZeticPublicProjectsCreateProjectResult500Headers
- type ZeticPublicProjectsDeleteProjectResult
- func (r ZeticPublicProjectsDeleteProjectResult) ContentType() string
- func (r ZeticPublicProjectsDeleteProjectResult) GetBody() []byte
- func (r ZeticPublicProjectsDeleteProjectResult) GetJSON200() *string
- func (r ZeticPublicProjectsDeleteProjectResult) GetJSON401() *Unauthorized
- func (r ZeticPublicProjectsDeleteProjectResult) GetJSON403() *Forbidden
- func (r ZeticPublicProjectsDeleteProjectResult) GetJSON404() *NotFound
- func (r ZeticPublicProjectsDeleteProjectResult) GetJSON429() *RateLimited
- func (r ZeticPublicProjectsDeleteProjectResult) GetJSON500() *ServerError
- func (r ZeticPublicProjectsDeleteProjectResult) Status() string
- func (r ZeticPublicProjectsDeleteProjectResult) StatusCode() int
- type ZeticPublicProjectsDeleteProjectResult401Headers
- type ZeticPublicProjectsDeleteProjectResult403Headers
- type ZeticPublicProjectsDeleteProjectResult404Headers
- type ZeticPublicProjectsDeleteProjectResult429Headers
- type ZeticPublicProjectsDeleteProjectResult500Headers
- type ZeticPublicUploadsCancelUploadResult
- func (r ZeticPublicUploadsCancelUploadResult) ContentType() string
- func (r ZeticPublicUploadsCancelUploadResult) GetBody() []byte
- func (r ZeticPublicUploadsCancelUploadResult) GetJSON401() *Unauthorized
- func (r ZeticPublicUploadsCancelUploadResult) GetJSON403() *Forbidden
- func (r ZeticPublicUploadsCancelUploadResult) GetJSON404() *NotFound
- func (r ZeticPublicUploadsCancelUploadResult) GetJSON409() *Conflict
- func (r ZeticPublicUploadsCancelUploadResult) GetJSON429() *RateLimited
- func (r ZeticPublicUploadsCancelUploadResult) GetJSON500() *ServerError
- func (r ZeticPublicUploadsCancelUploadResult) Status() string
- func (r ZeticPublicUploadsCancelUploadResult) StatusCode() int
- type ZeticPublicUploadsCancelUploadResult401Headers
- type ZeticPublicUploadsCancelUploadResult403Headers
- type ZeticPublicUploadsCancelUploadResult404Headers
- type ZeticPublicUploadsCancelUploadResult409Headers
- type ZeticPublicUploadsCancelUploadResult429Headers
- type ZeticPublicUploadsCancelUploadResult500Headers
- type ZeticPublicUploadsCompleteUploadJSONRequestBodydeprecated
- type ZeticPublicUploadsCompleteUploadResult
- func (r ZeticPublicUploadsCompleteUploadResult) ContentType() string
- func (r ZeticPublicUploadsCompleteUploadResult) GetBody() []byte
- func (r ZeticPublicUploadsCompleteUploadResult) GetJSON200() *VersionResponse
- func (r ZeticPublicUploadsCompleteUploadResult) GetJSON400() *BadRequest
- func (r ZeticPublicUploadsCompleteUploadResult) GetJSON401() *Unauthorized
- func (r ZeticPublicUploadsCompleteUploadResult) GetJSON403() *Forbidden
- func (r ZeticPublicUploadsCompleteUploadResult) GetJSON404() *NotFound
- func (r ZeticPublicUploadsCompleteUploadResult) GetJSON409() *Conflict
- func (r ZeticPublicUploadsCompleteUploadResult) GetJSON422() *ValidationError
- func (r ZeticPublicUploadsCompleteUploadResult) GetJSON429() *RateLimited
- func (r ZeticPublicUploadsCompleteUploadResult) GetJSON500() *ServerError
- func (r ZeticPublicUploadsCompleteUploadResult) Status() string
- func (r ZeticPublicUploadsCompleteUploadResult) StatusCode() int
- type ZeticPublicUploadsCompleteUploadResult400Headers
- type ZeticPublicUploadsCompleteUploadResult401Headers
- type ZeticPublicUploadsCompleteUploadResult403Headers
- type ZeticPublicUploadsCompleteUploadResult404Headers
- type ZeticPublicUploadsCompleteUploadResult409Headers
- type ZeticPublicUploadsCompleteUploadResult422Headers
- type ZeticPublicUploadsCompleteUploadResult429Headers
- type ZeticPublicUploadsCompleteUploadResult500Headers
- type ZeticPublicUploadsCreateUploadJSONRequestBodydeprecated
- type ZeticPublicUploadsCreateUploadResult
- func (r ZeticPublicUploadsCreateUploadResult) ContentType() string
- func (r ZeticPublicUploadsCreateUploadResult) GetBody() []byte
- func (r ZeticPublicUploadsCreateUploadResult) GetJSON200() *CreateUploadResponse
- func (r ZeticPublicUploadsCreateUploadResult) GetJSON400() *BadRequest
- func (r ZeticPublicUploadsCreateUploadResult) GetJSON401() *Unauthorized
- func (r ZeticPublicUploadsCreateUploadResult) GetJSON403() *Forbidden
- func (r ZeticPublicUploadsCreateUploadResult) GetJSON404() *NotFound
- func (r ZeticPublicUploadsCreateUploadResult) GetJSON413() *RequestTooLarge
- func (r ZeticPublicUploadsCreateUploadResult) GetJSON422() *ValidationError
- func (r ZeticPublicUploadsCreateUploadResult) GetJSON429() *RateLimited
- func (r ZeticPublicUploadsCreateUploadResult) GetJSON500() *ServerError
- func (r ZeticPublicUploadsCreateUploadResult) Status() string
- func (r ZeticPublicUploadsCreateUploadResult) StatusCode() int
- type ZeticPublicUploadsCreateUploadResult200Headers
- type ZeticPublicUploadsCreateUploadResult400Headers
- type ZeticPublicUploadsCreateUploadResult401Headers
- type ZeticPublicUploadsCreateUploadResult403Headers
- type ZeticPublicUploadsCreateUploadResult404Headers
- type ZeticPublicUploadsCreateUploadResult413Headers
- type ZeticPublicUploadsCreateUploadResult422Headers
- type ZeticPublicUploadsCreateUploadResult429Headers
- type ZeticPublicUploadsCreateUploadResult500Headers
- type ZeticPublicUploadsGetUploadResult
- func (r ZeticPublicUploadsGetUploadResult) ContentType() string
- func (r ZeticPublicUploadsGetUploadResult) GetBody() []byte
- func (r ZeticPublicUploadsGetUploadResult) GetJSON200() *UploadStatusResponse
- func (r ZeticPublicUploadsGetUploadResult) GetJSON401() *Unauthorized
- func (r ZeticPublicUploadsGetUploadResult) GetJSON403() *Forbidden
- func (r ZeticPublicUploadsGetUploadResult) GetJSON404() *NotFound
- func (r ZeticPublicUploadsGetUploadResult) GetJSON500() *ServerError
- func (r ZeticPublicUploadsGetUploadResult) Status() string
- func (r ZeticPublicUploadsGetUploadResult) StatusCode() int
- type ZeticPublicUploadsGetUploadResult401Headers
- type ZeticPublicUploadsGetUploadResult403Headers
- type ZeticPublicUploadsGetUploadResult404Headers
- type ZeticPublicUploadsGetUploadResult500Headers
- type ZeticPublicUploadsListActiveUploadsResult
- func (r ZeticPublicUploadsListActiveUploadsResult) ContentType() string
- func (r ZeticPublicUploadsListActiveUploadsResult) GetBody() []byte
- func (r ZeticPublicUploadsListActiveUploadsResult) GetJSON200() *ListActiveUploadsResponse
- func (r ZeticPublicUploadsListActiveUploadsResult) GetJSON401() *Unauthorized
- func (r ZeticPublicUploadsListActiveUploadsResult) GetJSON403() *Forbidden
- func (r ZeticPublicUploadsListActiveUploadsResult) GetJSON404() *NotFound
- func (r ZeticPublicUploadsListActiveUploadsResult) GetJSON500() *ServerError
- func (r ZeticPublicUploadsListActiveUploadsResult) Status() string
- func (r ZeticPublicUploadsListActiveUploadsResult) StatusCode() int
- type ZeticPublicUploadsListActiveUploadsResult401Headers
- type ZeticPublicUploadsListActiveUploadsResult403Headers
- type ZeticPublicUploadsListActiveUploadsResult404Headers
- type ZeticPublicUploadsListActiveUploadsResult500Headers
- type ZeticPublicUploadsReissueUploadUrlsJSONRequestBodydeprecated
- type ZeticPublicUploadsReissueUploadUrlsResult
- func (r ZeticPublicUploadsReissueUploadUrlsResult) ContentType() string
- func (r ZeticPublicUploadsReissueUploadUrlsResult) GetBody() []byte
- func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON200() *ReissueUploadUrlsResponse
- func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON400() *BadRequest
- func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON401() *Unauthorized
- func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON403() *Forbidden
- func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON404() *NotFound
- func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON409() *Conflict
- func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON422() *ValidationError
- func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON429() *RateLimited
- func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON500() *ServerError
- func (r ZeticPublicUploadsReissueUploadUrlsResult) Status() string
- func (r ZeticPublicUploadsReissueUploadUrlsResult) StatusCode() int
- type ZeticPublicUploadsReissueUploadUrlsResult200Headers
- type ZeticPublicUploadsReissueUploadUrlsResult400Headers
- type ZeticPublicUploadsReissueUploadUrlsResult401Headers
- type ZeticPublicUploadsReissueUploadUrlsResult403Headers
- type ZeticPublicUploadsReissueUploadUrlsResult404Headers
- type ZeticPublicUploadsReissueUploadUrlsResult409Headers
- type ZeticPublicUploadsReissueUploadUrlsResult422Headers
- type ZeticPublicUploadsReissueUploadUrlsResult429Headers
- type ZeticPublicUploadsReissueUploadUrlsResult500Headers
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
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 ¶
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 ¶
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 ¶
NewGetRepoRequest constructs an http.Request for the GetRepo method
func NewGetUsageQuotasRequest ¶
NewGetUsageQuotasRequest constructs an http.Request for the GetUsageQuotas method
func NewGetUsageRequest ¶
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 ¶
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 ¶
func (e CancelModelUploadResponseState) Valid() bool
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 ¶
func (r CancelModelUploadResult) GetJSON200() *CancelModelUploadResponse
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 ¶
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
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) 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 ¶
ClientOption allows setting custom parameters during construction
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 ¶
func (e CompleteModelUploadResponseState) Valid() bool
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 ¶
func (r CompleteModelUploadResult) GetJSON200() *CompleteModelUploadResponse
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 ¶
func (r CompleteModelUploadResult) GetJSON422() *ValidationError
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 ¶
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 ¶
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 ¶
func (r CreateDownloadAuthorizationResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateDownloadAuthorizationResult) GetJSON200 ¶
func (r CreateDownloadAuthorizationResult) GetJSON200() *DownloadAuthorizationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateDownloadAuthorizationResult) GetJSON201 ¶
func (r CreateDownloadAuthorizationResult) GetJSON201() *DownloadAuthorizationResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateDownloadAuthorizationResult) GetJSON401 ¶
func (r CreateDownloadAuthorizationResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateDownloadAuthorizationResult) GetJSON403 ¶
func (r CreateDownloadAuthorizationResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateDownloadAuthorizationResult) GetJSON404 ¶
func (r CreateDownloadAuthorizationResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateDownloadAuthorizationResult) GetJSON409 ¶
func (r CreateDownloadAuthorizationResult) GetJSON409() *Conflict
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CreateDownloadAuthorizationResult) GetJSON422 ¶
func (r CreateDownloadAuthorizationResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateDownloadAuthorizationResult) GetJSON429 ¶
func (r CreateDownloadAuthorizationResult) GetJSON429() *RateLimited
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (CreateDownloadAuthorizationResult) GetJSON500 ¶
func (r CreateDownloadAuthorizationResult) GetJSON500() *ServerError
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (CreateDownloadAuthorizationResult) GetJSON503 ¶
func (r CreateDownloadAuthorizationResult) GetJSON503() *ServiceUnavailable
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (CreateDownloadAuthorizationResult) Status ¶
func (r CreateDownloadAuthorizationResult) Status() string
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 ¶
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.
const (
N2 CreateModelUploadRequestManifestVersion = 2
)
Defines values for CreateModelUploadRequestManifestVersion.
func (CreateModelUploadRequestManifestVersion) Valid ¶
func (e CreateModelUploadRequestManifestVersion) Valid() bool
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 ¶
func (r CreateModelUploadResult) GetJSON200() *ModelUploadResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateModelUploadResult) GetJSON201 ¶
func (r CreateModelUploadResult) GetJSON201() *ModelUploadResponse
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 ¶
func (r CreateModelUploadResult) GetJSON503() *ServiceUnavailable
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 ¶
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 ¶
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 ¶
func (e CreateProjectRequestModelType) Valid() bool
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 ¶
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
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 ¶
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
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 ¶
func (e DeploymentGuideResponseInferenceMode) Valid() bool
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 ¶
func (e DeploymentGuideResponseLanguage) Valid() bool
Valid indicates whether the value is a known member of the DeploymentGuideResponseLanguage enum.
type DeploymentGuideSDK ¶
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 ¶
func (e DeploymentInferenceModeOptionId) Valid() bool
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 ¶
func (e DeploymentOptionsResponseDefaultInferenceMode) Valid() bool
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 ¶
func (e DeploymentOptionsResponseDefaultLanguage) Valid() bool
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 ¶
func (e GeneralReportRecordPrecision) Valid() bool
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
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 ¶
func (e GetDeploymentGuideParamsInferenceMode) Valid() bool
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 ¶
func (e GetDeploymentGuideParamsLanguage) Valid() bool
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 ¶
func (r GetDeploymentGuideResult) GetJSON200() *DeploymentGuideResponse
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 ¶
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 ¶
func (r GetDeploymentOptionsResult) GetJSON200() *DeploymentOptionsResponse
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 ¶
func (r GetDeploymentOptionsResult) Status() string
Status returns HTTPResponse.Status
func (GetDeploymentOptionsResult) StatusCode ¶
func (r GetDeploymentOptionsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeploymentOptionsResult401Headers ¶
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 ¶
func (r GetGeneralReportResult) GetJSON200() *GeneralReportResponse
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 ¶
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 ¶
func (r GetLibraryModelResult) GetJSON200() *LibraryModelDetailResponse
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 ¶
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 ¶
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) StatusCode ¶
func (r GetMeResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMeResult401Headers ¶
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 ¶
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 ¶
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 ¶
func (r GetModelUploadResult) GetJSON200() *ModelUploadDetailResponse
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 ¶
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 ¶
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 ¶
func (r GetPackageReportResult) GetJSON200() *PackageReportResponse
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
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 ¶
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 ¶
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 ¶
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 ¶
func (e ListLibraryModelsParamsTask) Valid() bool
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 ¶
func (r ListLibraryModelsResult) GetJSON200() *PagedLibraryModelItem
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 ¶
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 ¶
func (r ListLibraryProvidersResult) GetJSON200() *ListLibraryProvidersResponse
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 ¶
func (r ListLibraryProvidersResult) Status() string
Status returns HTTPResponse.Status
func (ListLibraryProvidersResult) StatusCode ¶
func (r ListLibraryProvidersResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListLibraryProvidersResult401Headers ¶
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 ¶
func (r ListModelTargetsResult) GetJSON200() *ListModelTargetsResponse
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 ¶
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 ¶
func (r ListModelUploadsResult) GetJSON200() *ListModelUploadsResponse
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 ¶
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 ¶
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 ¶
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 ¶
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 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 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 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 ¶
func (e ModelTargetCompatibilityApTypes) Valid() bool
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 ¶
func (e ModelUploadDetailResponseState) Valid() bool
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 ¶
func (r ReissueUploadFilesResult) GetJSON200() *ReissueUploadFilesResponse
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 ¶
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 ¶
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 ¶
ReportMinMax defines model for ReportMinMax.
type ReportModelRef ¶
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 ¶
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 ¶
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
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 ¶
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
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 ¶
func (r ZeticPublicProjectsCreateProjectResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ZeticPublicProjectsCreateProjectResult) GetBody ¶
func (r ZeticPublicProjectsCreateProjectResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ZeticPublicProjectsCreateProjectResult) GetJSON200 ¶
func (r ZeticPublicProjectsCreateProjectResult) GetJSON200() *ProjectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ZeticPublicProjectsCreateProjectResult) GetJSON401 ¶
func (r ZeticPublicProjectsCreateProjectResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ZeticPublicProjectsCreateProjectResult) GetJSON403 ¶
func (r ZeticPublicProjectsCreateProjectResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ZeticPublicProjectsCreateProjectResult) GetJSON409 ¶
func (r ZeticPublicProjectsCreateProjectResult) GetJSON409() *Conflict
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (ZeticPublicProjectsCreateProjectResult) GetJSON422 ¶
func (r ZeticPublicProjectsCreateProjectResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ZeticPublicProjectsCreateProjectResult) GetJSON429 ¶ added in v0.2.0
func (r ZeticPublicProjectsCreateProjectResult) GetJSON429() *RateLimited
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (ZeticPublicProjectsCreateProjectResult) GetJSON500 ¶
func (r ZeticPublicProjectsCreateProjectResult) GetJSON500() *ServerError
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ZeticPublicProjectsCreateProjectResult) Status ¶
func (r ZeticPublicProjectsCreateProjectResult) Status() string
Status returns HTTPResponse.Status
func (ZeticPublicProjectsCreateProjectResult) StatusCode ¶
func (r ZeticPublicProjectsCreateProjectResult) StatusCode() int
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
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 ¶
func (r ZeticPublicProjectsDeleteProjectResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ZeticPublicProjectsDeleteProjectResult) GetBody ¶
func (r ZeticPublicProjectsDeleteProjectResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ZeticPublicProjectsDeleteProjectResult) GetJSON200 ¶
func (r ZeticPublicProjectsDeleteProjectResult) GetJSON200() *string
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ZeticPublicProjectsDeleteProjectResult) GetJSON401 ¶
func (r ZeticPublicProjectsDeleteProjectResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ZeticPublicProjectsDeleteProjectResult) GetJSON403 ¶
func (r ZeticPublicProjectsDeleteProjectResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ZeticPublicProjectsDeleteProjectResult) GetJSON404 ¶
func (r ZeticPublicProjectsDeleteProjectResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ZeticPublicProjectsDeleteProjectResult) GetJSON429 ¶ added in v0.2.0
func (r ZeticPublicProjectsDeleteProjectResult) GetJSON429() *RateLimited
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (ZeticPublicProjectsDeleteProjectResult) GetJSON500 ¶
func (r ZeticPublicProjectsDeleteProjectResult) GetJSON500() *ServerError
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ZeticPublicProjectsDeleteProjectResult) Status ¶
func (r ZeticPublicProjectsDeleteProjectResult) Status() string
Status returns HTTPResponse.Status
func (ZeticPublicProjectsDeleteProjectResult) StatusCode ¶
func (r ZeticPublicProjectsDeleteProjectResult) StatusCode() int
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
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 ¶
func (r ZeticPublicUploadsCancelUploadResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ZeticPublicUploadsCancelUploadResult) GetBody ¶
func (r ZeticPublicUploadsCancelUploadResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ZeticPublicUploadsCancelUploadResult) GetJSON401 ¶
func (r ZeticPublicUploadsCancelUploadResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ZeticPublicUploadsCancelUploadResult) GetJSON403 ¶
func (r ZeticPublicUploadsCancelUploadResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ZeticPublicUploadsCancelUploadResult) GetJSON404 ¶
func (r ZeticPublicUploadsCancelUploadResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ZeticPublicUploadsCancelUploadResult) GetJSON409 ¶
func (r ZeticPublicUploadsCancelUploadResult) GetJSON409() *Conflict
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (ZeticPublicUploadsCancelUploadResult) GetJSON429 ¶ added in v0.2.0
func (r ZeticPublicUploadsCancelUploadResult) GetJSON429() *RateLimited
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (ZeticPublicUploadsCancelUploadResult) GetJSON500 ¶
func (r ZeticPublicUploadsCancelUploadResult) GetJSON500() *ServerError
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ZeticPublicUploadsCancelUploadResult) Status ¶
func (r ZeticPublicUploadsCancelUploadResult) Status() string
Status returns HTTPResponse.Status
func (ZeticPublicUploadsCancelUploadResult) StatusCode ¶
func (r ZeticPublicUploadsCancelUploadResult) StatusCode() int
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
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 ¶
func (r ZeticPublicUploadsCompleteUploadResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ZeticPublicUploadsCompleteUploadResult) GetBody ¶
func (r ZeticPublicUploadsCompleteUploadResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ZeticPublicUploadsCompleteUploadResult) GetJSON200 ¶
func (r ZeticPublicUploadsCompleteUploadResult) GetJSON200() *VersionResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ZeticPublicUploadsCompleteUploadResult) GetJSON400 ¶
func (r ZeticPublicUploadsCompleteUploadResult) GetJSON400() *BadRequest
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ZeticPublicUploadsCompleteUploadResult) GetJSON401 ¶
func (r ZeticPublicUploadsCompleteUploadResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ZeticPublicUploadsCompleteUploadResult) GetJSON403 ¶
func (r ZeticPublicUploadsCompleteUploadResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ZeticPublicUploadsCompleteUploadResult) GetJSON404 ¶
func (r ZeticPublicUploadsCompleteUploadResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ZeticPublicUploadsCompleteUploadResult) GetJSON409 ¶
func (r ZeticPublicUploadsCompleteUploadResult) GetJSON409() *Conflict
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (ZeticPublicUploadsCompleteUploadResult) GetJSON422 ¶
func (r ZeticPublicUploadsCompleteUploadResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ZeticPublicUploadsCompleteUploadResult) GetJSON429 ¶
func (r ZeticPublicUploadsCompleteUploadResult) GetJSON429() *RateLimited
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (ZeticPublicUploadsCompleteUploadResult) GetJSON500 ¶
func (r ZeticPublicUploadsCompleteUploadResult) GetJSON500() *ServerError
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ZeticPublicUploadsCompleteUploadResult) Status ¶
func (r ZeticPublicUploadsCompleteUploadResult) Status() string
Status returns HTTPResponse.Status
func (ZeticPublicUploadsCompleteUploadResult) StatusCode ¶
func (r ZeticPublicUploadsCompleteUploadResult) StatusCode() int
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 ¶
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 ¶
func (r ZeticPublicUploadsCreateUploadResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ZeticPublicUploadsCreateUploadResult) GetBody ¶
func (r ZeticPublicUploadsCreateUploadResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ZeticPublicUploadsCreateUploadResult) GetJSON200 ¶
func (r ZeticPublicUploadsCreateUploadResult) GetJSON200() *CreateUploadResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ZeticPublicUploadsCreateUploadResult) GetJSON400 ¶
func (r ZeticPublicUploadsCreateUploadResult) GetJSON400() *BadRequest
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ZeticPublicUploadsCreateUploadResult) GetJSON401 ¶
func (r ZeticPublicUploadsCreateUploadResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ZeticPublicUploadsCreateUploadResult) GetJSON403 ¶
func (r ZeticPublicUploadsCreateUploadResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ZeticPublicUploadsCreateUploadResult) GetJSON404 ¶
func (r ZeticPublicUploadsCreateUploadResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ZeticPublicUploadsCreateUploadResult) GetJSON413 ¶
func (r ZeticPublicUploadsCreateUploadResult) GetJSON413() *RequestTooLarge
GetJSON413 returns the response for an HTTP 413 `application/json` response
func (ZeticPublicUploadsCreateUploadResult) GetJSON422 ¶
func (r ZeticPublicUploadsCreateUploadResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ZeticPublicUploadsCreateUploadResult) GetJSON429 ¶
func (r ZeticPublicUploadsCreateUploadResult) GetJSON429() *RateLimited
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (ZeticPublicUploadsCreateUploadResult) GetJSON500 ¶
func (r ZeticPublicUploadsCreateUploadResult) GetJSON500() *ServerError
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ZeticPublicUploadsCreateUploadResult) Status ¶
func (r ZeticPublicUploadsCreateUploadResult) Status() string
Status returns HTTPResponse.Status
func (ZeticPublicUploadsCreateUploadResult) StatusCode ¶
func (r ZeticPublicUploadsCreateUploadResult) StatusCode() int
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 ¶
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 ¶
func (r ZeticPublicUploadsGetUploadResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ZeticPublicUploadsGetUploadResult) GetJSON200 ¶
func (r ZeticPublicUploadsGetUploadResult) GetJSON200() *UploadStatusResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ZeticPublicUploadsGetUploadResult) GetJSON401 ¶
func (r ZeticPublicUploadsGetUploadResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ZeticPublicUploadsGetUploadResult) GetJSON403 ¶
func (r ZeticPublicUploadsGetUploadResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ZeticPublicUploadsGetUploadResult) GetJSON404 ¶
func (r ZeticPublicUploadsGetUploadResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ZeticPublicUploadsGetUploadResult) GetJSON500 ¶
func (r ZeticPublicUploadsGetUploadResult) GetJSON500() *ServerError
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ZeticPublicUploadsGetUploadResult) Status ¶
func (r ZeticPublicUploadsGetUploadResult) Status() string
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 ¶
func (r ZeticPublicUploadsListActiveUploadsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ZeticPublicUploadsListActiveUploadsResult) GetBody ¶
func (r ZeticPublicUploadsListActiveUploadsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ZeticPublicUploadsListActiveUploadsResult) GetJSON200 ¶
func (r ZeticPublicUploadsListActiveUploadsResult) GetJSON200() *ListActiveUploadsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ZeticPublicUploadsListActiveUploadsResult) GetJSON401 ¶
func (r ZeticPublicUploadsListActiveUploadsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ZeticPublicUploadsListActiveUploadsResult) GetJSON403 ¶
func (r ZeticPublicUploadsListActiveUploadsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ZeticPublicUploadsListActiveUploadsResult) GetJSON404 ¶
func (r ZeticPublicUploadsListActiveUploadsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ZeticPublicUploadsListActiveUploadsResult) GetJSON500 ¶
func (r ZeticPublicUploadsListActiveUploadsResult) GetJSON500() *ServerError
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ZeticPublicUploadsListActiveUploadsResult) Status ¶
func (r ZeticPublicUploadsListActiveUploadsResult) Status() string
Status returns HTTPResponse.Status
func (ZeticPublicUploadsListActiveUploadsResult) StatusCode ¶
func (r ZeticPublicUploadsListActiveUploadsResult) StatusCode() int
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 ¶
func (r ZeticPublicUploadsReissueUploadUrlsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ZeticPublicUploadsReissueUploadUrlsResult) GetBody ¶
func (r ZeticPublicUploadsReissueUploadUrlsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON200 ¶
func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON200() *ReissueUploadUrlsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON400 ¶
func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON400() *BadRequest
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON401 ¶
func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON403 ¶
func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON404 ¶
func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON409 ¶
func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON409() *Conflict
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON422 ¶
func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON429 ¶
func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON429() *RateLimited
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (ZeticPublicUploadsReissueUploadUrlsResult) GetJSON500 ¶
func (r ZeticPublicUploadsReissueUploadUrlsResult) GetJSON500() *ServerError
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ZeticPublicUploadsReissueUploadUrlsResult) Status ¶
func (r ZeticPublicUploadsReissueUploadUrlsResult) Status() string
Status returns HTTPResponse.Status
func (ZeticPublicUploadsReissueUploadUrlsResult) StatusCode ¶
func (r ZeticPublicUploadsReissueUploadUrlsResult) StatusCode() int
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