Documentation
¶
Overview ¶
Package client provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.0 DO NOT EDIT.
Index ¶
- func NewAppSketchAddLibraryRequest(server string, appID string, libRef string, params *AppSketchAddLibraryParams) (*http.Request, error)
- func NewAppSketchListLibrariesRequest(server string, appID string) (*http.Request, error)
- func NewAppSketchRemoveLibraryRequest(server string, appID string, libRef string) (*http.Request, error)
- func NewApplyUpdateRequest(server string, params *ApplyUpdateParams) (*http.Request, error)
- func NewCheckUpdateRequest(server string, params *CheckUpdateParams) (*http.Request, error)
- func NewCloneAppRequest(server string, id string, body CloneAppJSONRequestBody) (*http.Request, error)
- func NewCloneAppRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateAppRequest(server string, params *CreateAppParams, body CreateAppJSONRequestBody) (*http.Request, error)
- func NewCreateAppRequestWithBody(server string, params *CreateAppParams, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteAppBrickInstanceRequest(server string, appID string, brickID string) (*http.Request, error)
- func NewDeleteAppRequest(server string, id string) (*http.Request, error)
- func NewDeletePropertyRequest(server string, key string) (*http.Request, error)
- func NewEditAppRequest(server string, id string, body EditAppJSONRequestBody) (*http.Request, error)
- func NewEditAppRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewEventsUpdateRequest(server string) (*http.Request, error)
- func NewGetAIModelDetailsRequest(server string, id string) (*http.Request, error)
- func NewGetAIModelsRequest(server string, params *GetAIModelsParams) (*http.Request, error)
- func NewGetAppBrickInstanceByBrickIDRequest(server string, appID string, brickID string) (*http.Request, error)
- func NewGetAppBrickInstancesRequest(server string, appID string) (*http.Request, error)
- func NewGetAppDetailsRequest(server string, id string) (*http.Request, error)
- func NewGetAppEventsRequest(server string, id string) (*http.Request, error)
- func NewGetAppLogsRequest(server string, id string, params *GetAppLogsParams) (*http.Request, error)
- func NewGetAppPortsRequest(server string, appID string) (*http.Request, error)
- func NewGetAppsEventsRequest(server string) (*http.Request, error)
- func NewGetAppsRequest(server string, params *GetAppsParams) (*http.Request, error)
- func NewGetBrickDetailsRequest(server string, id string) (*http.Request, error)
- func NewGetBricksRequest(server string) (*http.Request, error)
- func NewGetConfigRequest(server string) (*http.Request, error)
- func NewGetPropertyKeysRequest(server string) (*http.Request, error)
- func NewGetPropertyRequest(server string, key string) (*http.Request, error)
- func NewGetSystemResourcesRequest(server string) (*http.Request, error)
- func NewGetVersionsRequest(server string) (*http.Request, error)
- func NewListLibrariesRequest(server string, params *ListLibrariesParams) (*http.Request, error)
- func NewStartAppRequest(server string, id string) (*http.Request, error)
- func NewStopAppRequest(server string, id string) (*http.Request, error)
- func NewUpdateAppBrickInstanceRequest(server string, appID string, brickID string, ...) (*http.Request, error)
- func NewUpdateAppBrickInstanceRequestWithBody(server string, appID string, brickID string, contentType string, ...) (*http.Request, error)
- func NewUpdatePropertyRequest(server string, key string, body UpdatePropertyJSONRequestBody) (*http.Request, error)
- func NewUpdatePropertyRequestWithBody(server string, key string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpsertAppBrickInstanceRequest(server string, appID string, brickID string, ...) (*http.Request, error)
- func NewUpsertAppBrickInstanceRequestWithBody(server string, appID string, brickID string, contentType string, ...) (*http.Request, error)
- type AIModelItem
- type AIModelsListResult
- type AppBrickInstancesResult
- type AppDetailedBrick
- type AppDetailedInfo
- type AppInfo
- type AppListResponse
- type AppPortResponse
- type AppReference
- type AppSketchAddLibraryParams
- type AppSketchAddLibraryResp
- type AppSketchListLibrariesResp
- type AppSketchRemoveLibraryResp
- type ApplyUpdateParams
- type ApplyUpdateResp
- type BadRequest
- type BrickConfigVariable
- type BrickCreateUpdateRequest
- type BrickDetailsResult
- type BrickInstance
- type BrickListItem
- type BrickListResult
- type BrickVariable
- type BrokenAppInfo
- type CheckUpdateParams
- type CheckUpdateResp
- type Client
- func (c *Client) AppSketchAddLibrary(ctx context.Context, appID string, libRef string, ...) (*http.Response, error)
- func (c *Client) AppSketchListLibraries(ctx context.Context, appID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppSketchRemoveLibrary(ctx context.Context, appID string, libRef string, ...) (*http.Response, error)
- func (c *Client) ApplyUpdate(ctx context.Context, params *ApplyUpdateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CheckUpdate(ctx context.Context, params *CheckUpdateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CloneApp(ctx context.Context, id string, body CloneAppJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CloneAppWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateApp(ctx context.Context, params *CreateAppParams, body CreateAppJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateAppWithBody(ctx context.Context, params *CreateAppParams, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteApp(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteAppBrickInstance(ctx context.Context, appID string, brickID string, ...) (*http.Response, error)
- func (c *Client) DeleteProperty(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) EditApp(ctx context.Context, id string, body EditAppJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EditAppWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EventsUpdate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAIModelDetails(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAIModels(ctx context.Context, params *GetAIModelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAppBrickInstanceByBrickID(ctx context.Context, appID string, brickID string, ...) (*http.Response, error)
- func (c *Client) GetAppBrickInstances(ctx context.Context, appID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAppDetails(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAppEvents(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAppLogs(ctx context.Context, id string, params *GetAppLogsParams, ...) (*http.Response, error)
- func (c *Client) GetAppPorts(ctx context.Context, appID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApps(ctx context.Context, params *GetAppsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAppsEvents(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBrickDetails(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBricks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProperty(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPropertyKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSystemResources(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetVersions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListLibraries(ctx context.Context, params *ListLibrariesParams, ...) (*http.Response, error)
- func (c *Client) StartApp(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) StopApp(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateAppBrickInstance(ctx context.Context, appID string, brickID string, ...) (*http.Response, error)
- func (c *Client) UpdateAppBrickInstanceWithBody(ctx context.Context, appID string, brickID string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateProperty(ctx context.Context, key string, body UpdatePropertyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdatePropertyWithBody(ctx context.Context, key string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpsertAppBrickInstance(ctx context.Context, appID string, brickID string, ...) (*http.Response, error)
- func (c *Client) UpsertAppBrickInstanceWithBody(ctx context.Context, appID string, brickID string, contentType string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AppSketchAddLibraryWithResponse(ctx context.Context, appID string, libRef string, ...) (*AppSketchAddLibraryResp, error)
- func (c *ClientWithResponses) AppSketchListLibrariesWithResponse(ctx context.Context, appID string, reqEditors ...RequestEditorFn) (*AppSketchListLibrariesResp, error)
- func (c *ClientWithResponses) AppSketchRemoveLibraryWithResponse(ctx context.Context, appID string, libRef string, ...) (*AppSketchRemoveLibraryResp, error)
- func (c *ClientWithResponses) ApplyUpdateWithResponse(ctx context.Context, params *ApplyUpdateParams, reqEditors ...RequestEditorFn) (*ApplyUpdateResp, error)
- func (c *ClientWithResponses) CheckUpdateWithResponse(ctx context.Context, params *CheckUpdateParams, reqEditors ...RequestEditorFn) (*CheckUpdateResp, error)
- func (c *ClientWithResponses) CloneAppWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CloneAppResp, error)
- func (c *ClientWithResponses) CloneAppWithResponse(ctx context.Context, id string, body CloneAppJSONRequestBody, ...) (*CloneAppResp, error)
- func (c *ClientWithResponses) CreateAppWithBodyWithResponse(ctx context.Context, params *CreateAppParams, contentType string, ...) (*CreateAppResp, error)
- func (c *ClientWithResponses) CreateAppWithResponse(ctx context.Context, params *CreateAppParams, body CreateAppJSONRequestBody, ...) (*CreateAppResp, error)
- func (c *ClientWithResponses) DeleteAppBrickInstanceWithResponse(ctx context.Context, appID string, brickID string, ...) (*DeleteAppBrickInstanceResp, error)
- func (c *ClientWithResponses) DeleteAppWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAppResp, error)
- func (c *ClientWithResponses) DeletePropertyWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*DeletePropertyResp, error)
- func (c *ClientWithResponses) EditAppWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*EditAppResp, error)
- func (c *ClientWithResponses) EditAppWithResponse(ctx context.Context, id string, body EditAppJSONRequestBody, ...) (*EditAppResp, error)
- func (c *ClientWithResponses) EventsUpdateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EventsUpdateResp, error)
- func (c *ClientWithResponses) GetAIModelDetailsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAIModelDetailsResp, error)
- func (c *ClientWithResponses) GetAIModelsWithResponse(ctx context.Context, params *GetAIModelsParams, reqEditors ...RequestEditorFn) (*GetAIModelsResp, error)
- func (c *ClientWithResponses) GetAppBrickInstanceByBrickIDWithResponse(ctx context.Context, appID string, brickID string, ...) (*GetAppBrickInstanceByBrickIDResp, error)
- func (c *ClientWithResponses) GetAppBrickInstancesWithResponse(ctx context.Context, appID string, reqEditors ...RequestEditorFn) (*GetAppBrickInstancesResp, error)
- func (c *ClientWithResponses) GetAppDetailsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAppDetailsResp, error)
- func (c *ClientWithResponses) GetAppEventsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAppEventsResp, error)
- func (c *ClientWithResponses) GetAppLogsWithResponse(ctx context.Context, id string, params *GetAppLogsParams, ...) (*GetAppLogsResp, error)
- func (c *ClientWithResponses) GetAppPortsWithResponse(ctx context.Context, appID string, reqEditors ...RequestEditorFn) (*GetAppPortsResp, error)
- func (c *ClientWithResponses) GetAppsEventsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAppsEventsResp, error)
- func (c *ClientWithResponses) GetAppsWithResponse(ctx context.Context, params *GetAppsParams, reqEditors ...RequestEditorFn) (*GetAppsResp, error)
- func (c *ClientWithResponses) GetBrickDetailsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBrickDetailsResp, error)
- func (c *ClientWithResponses) GetBricksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBricksResp, error)
- func (c *ClientWithResponses) GetConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigResp, error)
- func (c *ClientWithResponses) GetPropertyKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPropertyKeysResp, error)
- func (c *ClientWithResponses) GetPropertyWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetPropertyResp, error)
- func (c *ClientWithResponses) GetSystemResourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSystemResourcesResp, error)
- func (c *ClientWithResponses) GetVersionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVersionsResp, error)
- func (c *ClientWithResponses) ListLibrariesWithResponse(ctx context.Context, params *ListLibrariesParams, ...) (*ListLibrariesResp, error)
- func (c *ClientWithResponses) StartAppWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StartAppResp, error)
- func (c *ClientWithResponses) StopAppWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StopAppResp, error)
- func (c *ClientWithResponses) UpdateAppBrickInstanceWithBodyWithResponse(ctx context.Context, appID string, brickID string, contentType string, ...) (*UpdateAppBrickInstanceResp, error)
- func (c *ClientWithResponses) UpdateAppBrickInstanceWithResponse(ctx context.Context, appID string, brickID string, ...) (*UpdateAppBrickInstanceResp, error)
- func (c *ClientWithResponses) UpdatePropertyWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, ...) (*UpdatePropertyResp, error)
- func (c *ClientWithResponses) UpdatePropertyWithResponse(ctx context.Context, key string, body UpdatePropertyJSONRequestBody, ...) (*UpdatePropertyResp, error)
- func (c *ClientWithResponses) UpsertAppBrickInstanceWithBodyWithResponse(ctx context.Context, appID string, brickID string, contentType string, ...) (*UpsertAppBrickInstanceResp, error)
- func (c *ClientWithResponses) UpsertAppBrickInstanceWithResponse(ctx context.Context, appID string, brickID string, ...) (*UpsertAppBrickInstanceResp, error)
- type ClientWithResponsesInterface
- type CloneAppJSONRequestBody
- type CloneAppResp
- type CloneAppResponse
- type CloneRequest
- type CodeExample
- type ConfigDirectories
- type ConfigResponse
- type Conflict
- type CreateAppJSONRequestBody
- type CreateAppParams
- type CreateAppRequest
- type CreateAppResp
- type CreateAppResponse
- type DeleteAppBrickInstanceResp
- type DeleteAppResp
- type DeletePropertyResp
- type EditAppJSONRequestBody
- type EditAppResp
- type EditRequest
- type ErrorResponse
- type EventsUpdateResp
- type GetAIModelDetailsResp
- type GetAIModelsParams
- type GetAIModelsResp
- type GetAppBrickInstanceByBrickIDResp
- type GetAppBrickInstancesResp
- type GetAppDetailsResp
- type GetAppEventsResp
- type GetAppLogsParams
- type GetAppLogsResp
- type GetAppPortsResp
- type GetAppsEventsResp
- type GetAppsParams
- type GetAppsResp
- type GetBrickDetailsResp
- type GetBricksResp
- type GetConfigResp
- type GetPropertyKeysResp
- type GetPropertyResp
- type GetSystemResourcesResp
- type GetVersionsResp
- type HttpRequestDoer
- type InternalServerError
- type Library
- type LibraryListResponse
- type LibraryReleaseID
- type ListLibrariesParams
- type ListLibrariesParamsSort
- type ListLibrariesResp
- type NoContent
- type NotFound
- type PackageType
- type Pagination
- type Port
- type PreconditionFailed
- type PropertyKeysResponse
- type RequestEditorFn
- type SketchAddLibraryResponse
- type SketchListLibraryResponse
- type SketchRemoveLibraryResponse
- type StartAppResp
- type Status
- type StopAppResp
- type UpdateAppBrickInstanceJSONRequestBody
- type UpdateAppBrickInstanceResp
- type UpdateCheckResult
- type UpdatePropertyJSONBody
- type UpdatePropertyJSONRequestBody
- type UpdatePropertyResp
- type UpgradablePackage
- type UpsertAppBrickInstanceJSONRequestBody
- type UpsertAppBrickInstanceResp
- type VersionResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAppSketchAddLibraryRequest ¶
func NewAppSketchAddLibraryRequest(server string, appID string, libRef string, params *AppSketchAddLibraryParams) (*http.Request, error)
NewAppSketchAddLibraryRequest generates requests for AppSketchAddLibrary
func NewAppSketchListLibrariesRequest ¶
NewAppSketchListLibrariesRequest generates requests for AppSketchListLibraries
func NewAppSketchRemoveLibraryRequest ¶
func NewAppSketchRemoveLibraryRequest(server string, appID string, libRef string) (*http.Request, error)
NewAppSketchRemoveLibraryRequest generates requests for AppSketchRemoveLibrary
func NewApplyUpdateRequest ¶
func NewApplyUpdateRequest(server string, params *ApplyUpdateParams) (*http.Request, error)
NewApplyUpdateRequest generates requests for ApplyUpdate
func NewCheckUpdateRequest ¶
func NewCheckUpdateRequest(server string, params *CheckUpdateParams) (*http.Request, error)
NewCheckUpdateRequest generates requests for CheckUpdate
func NewCloneAppRequest ¶
func NewCloneAppRequest(server string, id string, body CloneAppJSONRequestBody) (*http.Request, error)
NewCloneAppRequest calls the generic CloneApp builder with application/json body
func NewCloneAppRequestWithBody ¶
func NewCloneAppRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCloneAppRequestWithBody generates requests for CloneApp with any type of body
func NewCreateAppRequest ¶
func NewCreateAppRequest(server string, params *CreateAppParams, body CreateAppJSONRequestBody) (*http.Request, error)
NewCreateAppRequest calls the generic CreateApp builder with application/json body
func NewCreateAppRequestWithBody ¶
func NewCreateAppRequestWithBody(server string, params *CreateAppParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateAppRequestWithBody generates requests for CreateApp with any type of body
func NewDeleteAppBrickInstanceRequest ¶
func NewDeleteAppBrickInstanceRequest(server string, appID string, brickID string) (*http.Request, error)
NewDeleteAppBrickInstanceRequest generates requests for DeleteAppBrickInstance
func NewDeleteAppRequest ¶
NewDeleteAppRequest generates requests for DeleteApp
func NewDeletePropertyRequest ¶
NewDeletePropertyRequest generates requests for DeleteProperty
func NewEditAppRequest ¶
func NewEditAppRequest(server string, id string, body EditAppJSONRequestBody) (*http.Request, error)
NewEditAppRequest calls the generic EditApp builder with application/json body
func NewEditAppRequestWithBody ¶
func NewEditAppRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewEditAppRequestWithBody generates requests for EditApp with any type of body
func NewEventsUpdateRequest ¶
NewEventsUpdateRequest generates requests for EventsUpdate
func NewGetAIModelDetailsRequest ¶
NewGetAIModelDetailsRequest generates requests for GetAIModelDetails
func NewGetAIModelsRequest ¶
func NewGetAIModelsRequest(server string, params *GetAIModelsParams) (*http.Request, error)
NewGetAIModelsRequest generates requests for GetAIModels
func NewGetAppBrickInstanceByBrickIDRequest ¶
func NewGetAppBrickInstanceByBrickIDRequest(server string, appID string, brickID string) (*http.Request, error)
NewGetAppBrickInstanceByBrickIDRequest generates requests for GetAppBrickInstanceByBrickID
func NewGetAppBrickInstancesRequest ¶
NewGetAppBrickInstancesRequest generates requests for GetAppBrickInstances
func NewGetAppDetailsRequest ¶
NewGetAppDetailsRequest generates requests for GetAppDetails
func NewGetAppEventsRequest ¶
NewGetAppEventsRequest generates requests for GetAppEvents
func NewGetAppLogsRequest ¶
func NewGetAppLogsRequest(server string, id string, params *GetAppLogsParams) (*http.Request, error)
NewGetAppLogsRequest generates requests for GetAppLogs
func NewGetAppPortsRequest ¶
NewGetAppPortsRequest generates requests for GetAppPorts
func NewGetAppsEventsRequest ¶
NewGetAppsEventsRequest generates requests for GetAppsEvents
func NewGetAppsRequest ¶
func NewGetAppsRequest(server string, params *GetAppsParams) (*http.Request, error)
NewGetAppsRequest generates requests for GetApps
func NewGetBrickDetailsRequest ¶
NewGetBrickDetailsRequest generates requests for GetBrickDetails
func NewGetBricksRequest ¶
NewGetBricksRequest generates requests for GetBricks
func NewGetConfigRequest ¶
NewGetConfigRequest generates requests for GetConfig
func NewGetPropertyKeysRequest ¶
NewGetPropertyKeysRequest generates requests for GetPropertyKeys
func NewGetPropertyRequest ¶
NewGetPropertyRequest generates requests for GetProperty
func NewGetSystemResourcesRequest ¶
NewGetSystemResourcesRequest generates requests for GetSystemResources
func NewGetVersionsRequest ¶
NewGetVersionsRequest generates requests for GetVersions
func NewListLibrariesRequest ¶
func NewListLibrariesRequest(server string, params *ListLibrariesParams) (*http.Request, error)
NewListLibrariesRequest generates requests for ListLibraries
func NewStartAppRequest ¶
NewStartAppRequest generates requests for StartApp
func NewStopAppRequest ¶
NewStopAppRequest generates requests for StopApp
func NewUpdateAppBrickInstanceRequest ¶
func NewUpdateAppBrickInstanceRequest(server string, appID string, brickID string, body UpdateAppBrickInstanceJSONRequestBody) (*http.Request, error)
NewUpdateAppBrickInstanceRequest calls the generic UpdateAppBrickInstance builder with application/json body
func NewUpdateAppBrickInstanceRequestWithBody ¶
func NewUpdateAppBrickInstanceRequestWithBody(server string, appID string, brickID string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAppBrickInstanceRequestWithBody generates requests for UpdateAppBrickInstance with any type of body
func NewUpdatePropertyRequest ¶
func NewUpdatePropertyRequest(server string, key string, body UpdatePropertyJSONRequestBody) (*http.Request, error)
NewUpdatePropertyRequest calls the generic UpdateProperty builder with application/json body
func NewUpdatePropertyRequestWithBody ¶
func NewUpdatePropertyRequestWithBody(server string, key string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePropertyRequestWithBody generates requests for UpdateProperty with any type of body
func NewUpsertAppBrickInstanceRequest ¶
func NewUpsertAppBrickInstanceRequest(server string, appID string, brickID string, body UpsertAppBrickInstanceJSONRequestBody) (*http.Request, error)
NewUpsertAppBrickInstanceRequest calls the generic UpsertAppBrickInstance builder with application/json body
func NewUpsertAppBrickInstanceRequestWithBody ¶
func NewUpsertAppBrickInstanceRequestWithBody(server string, appID string, brickID string, contentType string, body io.Reader) (*http.Request, error)
NewUpsertAppBrickInstanceRequestWithBody generates requests for UpsertAppBrickInstance with any type of body
Types ¶
type AIModelItem ¶
type AIModelItem struct {
BrickIds *[]string `json:"brick_ids"`
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
Metadata *map[string]string `json:"metadata,omitempty"`
ModelConfiguration *map[string]string `json:"model_configuration,omitempty"`
Name *string `json:"name,omitempty"`
Runner *string `json:"runner,omitempty"`
}
AIModelItem defines model for AIModelItem.
type AIModelsListResult ¶
type AIModelsListResult struct {
Models *[]AIModelItem `json:"models"`
}
AIModelsListResult defines model for AIModelsListResult.
type AppBrickInstancesResult ¶
type AppBrickInstancesResult struct {
Bricks *[]BrickInstance `json:"bricks"`
}
AppBrickInstancesResult defines model for AppBrickInstancesResult.
type AppDetailedBrick ¶
type AppDetailedBrick struct {
Category *string `json:"category,omitempty"`
Id string `json:"id"`
Name string `json:"name"`
}
AppDetailedBrick defines model for AppDetailedBrick.
type AppDetailedInfo ¶
type AppDetailedInfo struct {
Bricks *[]AppDetailedBrick `json:"bricks,omitempty"`
Default *bool `json:"default,omitempty"`
Description *string `json:"description,omitempty"`
Example *bool `json:"example,omitempty"`
Icon *string `json:"icon,omitempty"`
Id string `json:"id"`
Name string `json:"name"`
Path *string `json:"path,omitempty"`
// Status Application status
Status Status `json:"status"`
}
AppDetailedInfo defines model for AppDetailedInfo.
type AppInfo ¶
type AppInfo struct {
Default *bool `json:"default,omitempty"`
Description *string `json:"description,omitempty"`
Example *bool `json:"example,omitempty"`
Icon *string `json:"icon,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
// Status Application status
Status *Status `json:"status,omitempty"`
}
AppInfo defines model for AppInfo.
type AppListResponse ¶
type AppListResponse struct {
// Apps List of applications
Apps *[]AppInfo `json:"apps"`
// BrokenApps List of applications that are broken and couldn't be parsed
BrokenApps *[]BrokenAppInfo `json:"broken_apps,omitempty"`
}
AppListResponse defines model for AppListResponse.
type AppPortResponse ¶
type AppPortResponse struct {
// Ports exposed port of the app
Ports *[]Port `json:"ports"`
}
AppPortResponse defines model for AppPortResponse.
type AppReference ¶
type AppReference struct {
Icon *string `json:"icon,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
}
AppReference defines model for AppReference.
type AppSketchAddLibraryParams ¶
type AppSketchAddLibraryParams struct {
// AddDeps if set to "true", the library's dependencies will be added as well.
AddDeps *string `form:"add_deps,omitempty" json:"add_deps,omitempty"`
}
AppSketchAddLibraryParams defines parameters for AppSketchAddLibrary.
type AppSketchAddLibraryResp ¶
type AppSketchAddLibraryResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SketchAddLibraryResponse
JSON400 *BadRequest
JSON412 *PreconditionFailed
JSON500 *InternalServerError
}
func ParseAppSketchAddLibraryResp ¶
func ParseAppSketchAddLibraryResp(rsp *http.Response) (*AppSketchAddLibraryResp, error)
ParseAppSketchAddLibraryResp parses an HTTP response from a AppSketchAddLibraryWithResponse call
func (AppSketchAddLibraryResp) Status ¶
func (r AppSketchAddLibraryResp) Status() string
Status returns HTTPResponse.Status
func (AppSketchAddLibraryResp) StatusCode ¶
func (r AppSketchAddLibraryResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppSketchListLibrariesResp ¶
type AppSketchListLibrariesResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SketchListLibraryResponse
JSON400 *BadRequest
JSON412 *PreconditionFailed
JSON500 *InternalServerError
}
func ParseAppSketchListLibrariesResp ¶
func ParseAppSketchListLibrariesResp(rsp *http.Response) (*AppSketchListLibrariesResp, error)
ParseAppSketchListLibrariesResp parses an HTTP response from a AppSketchListLibrariesWithResponse call
func (AppSketchListLibrariesResp) Status ¶
func (r AppSketchListLibrariesResp) Status() string
Status returns HTTPResponse.Status
func (AppSketchListLibrariesResp) StatusCode ¶
func (r AppSketchListLibrariesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppSketchRemoveLibraryResp ¶
type AppSketchRemoveLibraryResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SketchRemoveLibraryResponse
JSON400 *BadRequest
JSON412 *PreconditionFailed
JSON500 *InternalServerError
}
func ParseAppSketchRemoveLibraryResp ¶
func ParseAppSketchRemoveLibraryResp(rsp *http.Response) (*AppSketchRemoveLibraryResp, error)
ParseAppSketchRemoveLibraryResp parses an HTTP response from a AppSketchRemoveLibraryWithResponse call
func (AppSketchRemoveLibraryResp) Status ¶
func (r AppSketchRemoveLibraryResp) Status() string
Status returns HTTPResponse.Status
func (AppSketchRemoveLibraryResp) StatusCode ¶
func (r AppSketchRemoveLibraryResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplyUpdateParams ¶
type ApplyUpdateParams struct {
// OnlyArduino If true, upgrade only the Arduino packages that require an upgrade. Default is false.
OnlyArduino *bool `form:"only-arduino,omitempty" json:"only-arduino,omitempty"`
}
ApplyUpdateParams defines parameters for ApplyUpdate.
type ApplyUpdateResp ¶
type ApplyUpdateResp struct {
Body []byte
HTTPResponse *http.Response
JSON204 *NoContent
JSON409 *Conflict
JSON500 *InternalServerError
}
func ParseApplyUpdateResp ¶
func ParseApplyUpdateResp(rsp *http.Response) (*ApplyUpdateResp, error)
ParseApplyUpdateResp parses an HTTP response from a ApplyUpdateWithResponse call
func (ApplyUpdateResp) Status ¶
func (r ApplyUpdateResp) Status() string
Status returns HTTPResponse.Status
func (ApplyUpdateResp) StatusCode ¶
func (r ApplyUpdateResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BrickConfigVariable ¶ added in v0.6.7
type BrickConfigVariable struct {
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
Required *bool `json:"required,omitempty"`
Value *string `json:"value,omitempty"`
}
BrickConfigVariable defines model for BrickConfigVariable.
type BrickCreateUpdateRequest ¶
type BrickCreateUpdateRequest struct {
Model *string `json:"model"`
Variables *map[string]string `json:"variables,omitempty"`
}
BrickCreateUpdateRequest defines model for BrickCreateUpdateRequest.
type BrickDetailsResult ¶
type BrickDetailsResult struct {
ApiDocsPath *string `json:"api_docs_path,omitempty"`
Author *string `json:"author,omitempty"`
Category *string `json:"category,omitempty"`
CodeExamples *[]CodeExample `json:"code_examples"`
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Readme *string `json:"readme,omitempty"`
Status *string `json:"status,omitempty"`
UsedByApps *[]AppReference `json:"used_by_apps"`
Variables *map[string]BrickVariable `json:"variables,omitempty"`
}
BrickDetailsResult defines model for BrickDetailsResult.
type BrickInstance ¶
type BrickInstance struct {
Author *string `json:"author,omitempty"`
Category *string `json:"category,omitempty"`
ConfigVariables *[]BrickConfigVariable `json:"config_variables,omitempty"`
Id *string `json:"id,omitempty"`
Model *string `json:"model,omitempty"`
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
// Variables Deprecated: use config_variables instead. This field is kept for backward compatibility.
Variables *map[string]string `json:"variables,omitempty"`
}
BrickInstance defines model for BrickInstance.
type BrickListItem ¶
type BrickListItem struct {
Author *string `json:"author,omitempty"`
Category *string `json:"category,omitempty"`
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
Models *[]string `json:"models"`
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
}
BrickListItem defines model for BrickListItem.
type BrickListResult ¶
type BrickListResult struct {
Bricks *[]BrickListItem `json:"bricks"`
}
BrickListResult defines model for BrickListResult.
type BrickVariable ¶
type BrickVariable struct {
DefaultValue *string `json:"default_value,omitempty"`
Description *string `json:"description,omitempty"`
Required *bool `json:"required,omitempty"`
}
BrickVariable defines model for BrickVariable.
type BrokenAppInfo ¶
type BrokenAppInfo struct {
Error *string `json:"error,omitempty"`
Name *string `json:"name,omitempty"`
}
BrokenAppInfo defines model for BrokenAppInfo.
type CheckUpdateParams ¶
type CheckUpdateParams struct {
// OnlyArduino If true, check only for Arduino packages that require an upgrade. Default is false.
OnlyArduino *bool `form:"only-arduino,omitempty" json:"only-arduino,omitempty"`
}
CheckUpdateParams defines parameters for CheckUpdate.
type CheckUpdateResp ¶
type CheckUpdateResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UpdateCheckResult
JSON204 *NoContent
JSON400 *BadRequest
JSON500 *InternalServerError
}
func ParseCheckUpdateResp ¶
func ParseCheckUpdateResp(rsp *http.Response) (*CheckUpdateResp, error)
ParseCheckUpdateResp parses an HTTP response from a CheckUpdateWithResponse call
func (CheckUpdateResp) Status ¶
func (r CheckUpdateResp) Status() string
Status returns HTTPResponse.Status
func (CheckUpdateResp) StatusCode ¶
func (r CheckUpdateResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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) AppSketchAddLibrary ¶
func (c *Client) AppSketchAddLibrary(ctx context.Context, appID string, libRef string, params *AppSketchAddLibraryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AppSketchListLibraries ¶
func (*Client) AppSketchRemoveLibrary ¶
func (*Client) ApplyUpdate ¶
func (c *Client) ApplyUpdate(ctx context.Context, params *ApplyUpdateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CheckUpdate ¶
func (c *Client) CheckUpdate(ctx context.Context, params *CheckUpdateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CloneApp ¶
func (c *Client) CloneApp(ctx context.Context, id string, body CloneAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CloneAppWithBody ¶
func (*Client) CreateApp ¶
func (c *Client) CreateApp(ctx context.Context, params *CreateAppParams, body CreateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateAppWithBody ¶
func (*Client) DeleteAppBrickInstance ¶
func (*Client) DeleteProperty ¶
func (*Client) EditApp ¶
func (c *Client) EditApp(ctx context.Context, id string, body EditAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EditAppWithBody ¶
func (*Client) EventsUpdate ¶
func (*Client) GetAIModelDetails ¶
func (*Client) GetAIModels ¶
func (c *Client) GetAIModels(ctx context.Context, params *GetAIModelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppBrickInstanceByBrickID ¶
func (*Client) GetAppBrickInstances ¶
func (*Client) GetAppDetails ¶
func (*Client) GetAppEvents ¶
func (*Client) GetAppLogs ¶
func (c *Client) GetAppLogs(ctx context.Context, id string, params *GetAppLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppPorts ¶
func (*Client) GetApps ¶
func (c *Client) GetApps(ctx context.Context, params *GetAppsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppsEvents ¶
func (*Client) GetBrickDetails ¶
func (*Client) GetProperty ¶
func (*Client) GetPropertyKeys ¶
func (*Client) GetSystemResources ¶
func (*Client) GetVersions ¶
func (*Client) ListLibraries ¶
func (c *Client) ListLibraries(ctx context.Context, params *ListLibrariesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAppBrickInstance ¶
func (c *Client) UpdateAppBrickInstance(ctx context.Context, appID string, brickID string, body UpdateAppBrickInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAppBrickInstanceWithBody ¶
func (*Client) UpdateProperty ¶
func (c *Client) UpdateProperty(ctx context.Context, key string, body UpdatePropertyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePropertyWithBody ¶
func (*Client) UpsertAppBrickInstance ¶
func (c *Client) UpsertAppBrickInstance(ctx context.Context, appID string, brickID string, body UpsertAppBrickInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// GetApps request
GetApps(ctx context.Context, params *GetAppsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAppWithBody request with any body
CreateAppWithBody(ctx context.Context, params *CreateAppParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateApp(ctx context.Context, params *CreateAppParams, body CreateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppsEvents request
GetAppsEvents(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppBrickInstances request
GetAppBrickInstances(ctx context.Context, appID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAppBrickInstance request
DeleteAppBrickInstance(ctx context.Context, appID string, brickID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppBrickInstanceByBrickID request
GetAppBrickInstanceByBrickID(ctx context.Context, appID string, brickID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAppBrickInstanceWithBody request with any body
UpdateAppBrickInstanceWithBody(ctx context.Context, appID string, brickID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAppBrickInstance(ctx context.Context, appID string, brickID string, body UpdateAppBrickInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertAppBrickInstanceWithBody request with any body
UpsertAppBrickInstanceWithBody(ctx context.Context, appID string, brickID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertAppBrickInstance(ctx context.Context, appID string, brickID string, body UpsertAppBrickInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppPorts request
GetAppPorts(ctx context.Context, appID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppSketchListLibraries request
AppSketchListLibraries(ctx context.Context, appID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppSketchRemoveLibrary request
AppSketchRemoveLibrary(ctx context.Context, appID string, libRef string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppSketchAddLibrary request
AppSketchAddLibrary(ctx context.Context, appID string, libRef string, params *AppSketchAddLibraryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteApp request
DeleteApp(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppDetails request
GetAppDetails(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditAppWithBody request with any body
EditAppWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditApp(ctx context.Context, id string, body EditAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CloneAppWithBody request with any body
CloneAppWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CloneApp(ctx context.Context, id string, body CloneAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppEvents request
GetAppEvents(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppLogs request
GetAppLogs(ctx context.Context, id string, params *GetAppLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartApp request
StartApp(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// StopApp request
StopApp(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBricks request
GetBricks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBrickDetails request
GetBrickDetails(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetConfig request
GetConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListLibraries request
ListLibraries(ctx context.Context, params *ListLibrariesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAIModels request
GetAIModels(ctx context.Context, params *GetAIModelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAIModelDetails request
GetAIModelDetails(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPropertyKeys request
GetPropertyKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteProperty request
DeleteProperty(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProperty request
GetProperty(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePropertyWithBody request with any body
UpdatePropertyWithBody(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateProperty(ctx context.Context, key string, body UpdatePropertyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSystemResources request
GetSystemResources(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApplyUpdate request
ApplyUpdate(ctx context.Context, params *ApplyUpdateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CheckUpdate request
CheckUpdate(ctx context.Context, params *CheckUpdateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EventsUpdate request
EventsUpdate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVersions request
GetVersions(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) AppSketchAddLibraryWithResponse ¶
func (c *ClientWithResponses) AppSketchAddLibraryWithResponse(ctx context.Context, appID string, libRef string, params *AppSketchAddLibraryParams, reqEditors ...RequestEditorFn) (*AppSketchAddLibraryResp, error)
AppSketchAddLibraryWithResponse request returning *AppSketchAddLibraryResp
func (*ClientWithResponses) AppSketchListLibrariesWithResponse ¶
func (c *ClientWithResponses) AppSketchListLibrariesWithResponse(ctx context.Context, appID string, reqEditors ...RequestEditorFn) (*AppSketchListLibrariesResp, error)
AppSketchListLibrariesWithResponse request returning *AppSketchListLibrariesResp
func (*ClientWithResponses) AppSketchRemoveLibraryWithResponse ¶
func (c *ClientWithResponses) AppSketchRemoveLibraryWithResponse(ctx context.Context, appID string, libRef string, reqEditors ...RequestEditorFn) (*AppSketchRemoveLibraryResp, error)
AppSketchRemoveLibraryWithResponse request returning *AppSketchRemoveLibraryResp
func (*ClientWithResponses) ApplyUpdateWithResponse ¶
func (c *ClientWithResponses) ApplyUpdateWithResponse(ctx context.Context, params *ApplyUpdateParams, reqEditors ...RequestEditorFn) (*ApplyUpdateResp, error)
ApplyUpdateWithResponse request returning *ApplyUpdateResp
func (*ClientWithResponses) CheckUpdateWithResponse ¶
func (c *ClientWithResponses) CheckUpdateWithResponse(ctx context.Context, params *CheckUpdateParams, reqEditors ...RequestEditorFn) (*CheckUpdateResp, error)
CheckUpdateWithResponse request returning *CheckUpdateResp
func (*ClientWithResponses) CloneAppWithBodyWithResponse ¶
func (c *ClientWithResponses) CloneAppWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CloneAppResp, error)
CloneAppWithBodyWithResponse request with arbitrary body returning *CloneAppResp
func (*ClientWithResponses) CloneAppWithResponse ¶
func (c *ClientWithResponses) CloneAppWithResponse(ctx context.Context, id string, body CloneAppJSONRequestBody, reqEditors ...RequestEditorFn) (*CloneAppResp, error)
func (*ClientWithResponses) CreateAppWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAppWithBodyWithResponse(ctx context.Context, params *CreateAppParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAppResp, error)
CreateAppWithBodyWithResponse request with arbitrary body returning *CreateAppResp
func (*ClientWithResponses) CreateAppWithResponse ¶
func (c *ClientWithResponses) CreateAppWithResponse(ctx context.Context, params *CreateAppParams, body CreateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAppResp, error)
func (*ClientWithResponses) DeleteAppBrickInstanceWithResponse ¶
func (c *ClientWithResponses) DeleteAppBrickInstanceWithResponse(ctx context.Context, appID string, brickID string, reqEditors ...RequestEditorFn) (*DeleteAppBrickInstanceResp, error)
DeleteAppBrickInstanceWithResponse request returning *DeleteAppBrickInstanceResp
func (*ClientWithResponses) DeleteAppWithResponse ¶
func (c *ClientWithResponses) DeleteAppWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAppResp, error)
DeleteAppWithResponse request returning *DeleteAppResp
func (*ClientWithResponses) DeletePropertyWithResponse ¶
func (c *ClientWithResponses) DeletePropertyWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*DeletePropertyResp, error)
DeletePropertyWithResponse request returning *DeletePropertyResp
func (*ClientWithResponses) EditAppWithBodyWithResponse ¶
func (c *ClientWithResponses) EditAppWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditAppResp, error)
EditAppWithBodyWithResponse request with arbitrary body returning *EditAppResp
func (*ClientWithResponses) EditAppWithResponse ¶
func (c *ClientWithResponses) EditAppWithResponse(ctx context.Context, id string, body EditAppJSONRequestBody, reqEditors ...RequestEditorFn) (*EditAppResp, error)
func (*ClientWithResponses) EventsUpdateWithResponse ¶
func (c *ClientWithResponses) EventsUpdateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EventsUpdateResp, error)
EventsUpdateWithResponse request returning *EventsUpdateResp
func (*ClientWithResponses) GetAIModelDetailsWithResponse ¶
func (c *ClientWithResponses) GetAIModelDetailsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAIModelDetailsResp, error)
GetAIModelDetailsWithResponse request returning *GetAIModelDetailsResp
func (*ClientWithResponses) GetAIModelsWithResponse ¶
func (c *ClientWithResponses) GetAIModelsWithResponse(ctx context.Context, params *GetAIModelsParams, reqEditors ...RequestEditorFn) (*GetAIModelsResp, error)
GetAIModelsWithResponse request returning *GetAIModelsResp
func (*ClientWithResponses) GetAppBrickInstanceByBrickIDWithResponse ¶
func (c *ClientWithResponses) GetAppBrickInstanceByBrickIDWithResponse(ctx context.Context, appID string, brickID string, reqEditors ...RequestEditorFn) (*GetAppBrickInstanceByBrickIDResp, error)
GetAppBrickInstanceByBrickIDWithResponse request returning *GetAppBrickInstanceByBrickIDResp
func (*ClientWithResponses) GetAppBrickInstancesWithResponse ¶
func (c *ClientWithResponses) GetAppBrickInstancesWithResponse(ctx context.Context, appID string, reqEditors ...RequestEditorFn) (*GetAppBrickInstancesResp, error)
GetAppBrickInstancesWithResponse request returning *GetAppBrickInstancesResp
func (*ClientWithResponses) GetAppDetailsWithResponse ¶
func (c *ClientWithResponses) GetAppDetailsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAppDetailsResp, error)
GetAppDetailsWithResponse request returning *GetAppDetailsResp
func (*ClientWithResponses) GetAppEventsWithResponse ¶
func (c *ClientWithResponses) GetAppEventsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAppEventsResp, error)
GetAppEventsWithResponse request returning *GetAppEventsResp
func (*ClientWithResponses) GetAppLogsWithResponse ¶
func (c *ClientWithResponses) GetAppLogsWithResponse(ctx context.Context, id string, params *GetAppLogsParams, reqEditors ...RequestEditorFn) (*GetAppLogsResp, error)
GetAppLogsWithResponse request returning *GetAppLogsResp
func (*ClientWithResponses) GetAppPortsWithResponse ¶
func (c *ClientWithResponses) GetAppPortsWithResponse(ctx context.Context, appID string, reqEditors ...RequestEditorFn) (*GetAppPortsResp, error)
GetAppPortsWithResponse request returning *GetAppPortsResp
func (*ClientWithResponses) GetAppsEventsWithResponse ¶
func (c *ClientWithResponses) GetAppsEventsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAppsEventsResp, error)
GetAppsEventsWithResponse request returning *GetAppsEventsResp
func (*ClientWithResponses) GetAppsWithResponse ¶
func (c *ClientWithResponses) GetAppsWithResponse(ctx context.Context, params *GetAppsParams, reqEditors ...RequestEditorFn) (*GetAppsResp, error)
GetAppsWithResponse request returning *GetAppsResp
func (*ClientWithResponses) GetBrickDetailsWithResponse ¶
func (c *ClientWithResponses) GetBrickDetailsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBrickDetailsResp, error)
GetBrickDetailsWithResponse request returning *GetBrickDetailsResp
func (*ClientWithResponses) GetBricksWithResponse ¶
func (c *ClientWithResponses) GetBricksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBricksResp, error)
GetBricksWithResponse request returning *GetBricksResp
func (*ClientWithResponses) GetConfigWithResponse ¶
func (c *ClientWithResponses) GetConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigResp, error)
GetConfigWithResponse request returning *GetConfigResp
func (*ClientWithResponses) GetPropertyKeysWithResponse ¶
func (c *ClientWithResponses) GetPropertyKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPropertyKeysResp, error)
GetPropertyKeysWithResponse request returning *GetPropertyKeysResp
func (*ClientWithResponses) GetPropertyWithResponse ¶
func (c *ClientWithResponses) GetPropertyWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetPropertyResp, error)
GetPropertyWithResponse request returning *GetPropertyResp
func (*ClientWithResponses) GetSystemResourcesWithResponse ¶
func (c *ClientWithResponses) GetSystemResourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSystemResourcesResp, error)
GetSystemResourcesWithResponse request returning *GetSystemResourcesResp
func (*ClientWithResponses) GetVersionsWithResponse ¶
func (c *ClientWithResponses) GetVersionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVersionsResp, error)
GetVersionsWithResponse request returning *GetVersionsResp
func (*ClientWithResponses) ListLibrariesWithResponse ¶
func (c *ClientWithResponses) ListLibrariesWithResponse(ctx context.Context, params *ListLibrariesParams, reqEditors ...RequestEditorFn) (*ListLibrariesResp, error)
ListLibrariesWithResponse request returning *ListLibrariesResp
func (*ClientWithResponses) StartAppWithResponse ¶
func (c *ClientWithResponses) StartAppWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StartAppResp, error)
StartAppWithResponse request returning *StartAppResp
func (*ClientWithResponses) StopAppWithResponse ¶
func (c *ClientWithResponses) StopAppWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StopAppResp, error)
StopAppWithResponse request returning *StopAppResp
func (*ClientWithResponses) UpdateAppBrickInstanceWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAppBrickInstanceWithBodyWithResponse(ctx context.Context, appID string, brickID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAppBrickInstanceResp, error)
UpdateAppBrickInstanceWithBodyWithResponse request with arbitrary body returning *UpdateAppBrickInstanceResp
func (*ClientWithResponses) UpdateAppBrickInstanceWithResponse ¶
func (c *ClientWithResponses) UpdateAppBrickInstanceWithResponse(ctx context.Context, appID string, brickID string, body UpdateAppBrickInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAppBrickInstanceResp, error)
func (*ClientWithResponses) UpdatePropertyWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePropertyWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePropertyResp, error)
UpdatePropertyWithBodyWithResponse request with arbitrary body returning *UpdatePropertyResp
func (*ClientWithResponses) UpdatePropertyWithResponse ¶
func (c *ClientWithResponses) UpdatePropertyWithResponse(ctx context.Context, key string, body UpdatePropertyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePropertyResp, error)
func (*ClientWithResponses) UpsertAppBrickInstanceWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertAppBrickInstanceWithBodyWithResponse(ctx context.Context, appID string, brickID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertAppBrickInstanceResp, error)
UpsertAppBrickInstanceWithBodyWithResponse request with arbitrary body returning *UpsertAppBrickInstanceResp
func (*ClientWithResponses) UpsertAppBrickInstanceWithResponse ¶
func (c *ClientWithResponses) UpsertAppBrickInstanceWithResponse(ctx context.Context, appID string, brickID string, body UpsertAppBrickInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertAppBrickInstanceResp, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetAppsWithResponse request
GetAppsWithResponse(ctx context.Context, params *GetAppsParams, reqEditors ...RequestEditorFn) (*GetAppsResp, error)
// CreateAppWithBodyWithResponse request with any body
CreateAppWithBodyWithResponse(ctx context.Context, params *CreateAppParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAppResp, error)
CreateAppWithResponse(ctx context.Context, params *CreateAppParams, body CreateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAppResp, error)
// GetAppsEventsWithResponse request
GetAppsEventsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAppsEventsResp, error)
// GetAppBrickInstancesWithResponse request
GetAppBrickInstancesWithResponse(ctx context.Context, appID string, reqEditors ...RequestEditorFn) (*GetAppBrickInstancesResp, error)
// DeleteAppBrickInstanceWithResponse request
DeleteAppBrickInstanceWithResponse(ctx context.Context, appID string, brickID string, reqEditors ...RequestEditorFn) (*DeleteAppBrickInstanceResp, error)
// GetAppBrickInstanceByBrickIDWithResponse request
GetAppBrickInstanceByBrickIDWithResponse(ctx context.Context, appID string, brickID string, reqEditors ...RequestEditorFn) (*GetAppBrickInstanceByBrickIDResp, error)
// UpdateAppBrickInstanceWithBodyWithResponse request with any body
UpdateAppBrickInstanceWithBodyWithResponse(ctx context.Context, appID string, brickID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAppBrickInstanceResp, error)
UpdateAppBrickInstanceWithResponse(ctx context.Context, appID string, brickID string, body UpdateAppBrickInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAppBrickInstanceResp, error)
// UpsertAppBrickInstanceWithBodyWithResponse request with any body
UpsertAppBrickInstanceWithBodyWithResponse(ctx context.Context, appID string, brickID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertAppBrickInstanceResp, error)
UpsertAppBrickInstanceWithResponse(ctx context.Context, appID string, brickID string, body UpsertAppBrickInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertAppBrickInstanceResp, error)
// GetAppPortsWithResponse request
GetAppPortsWithResponse(ctx context.Context, appID string, reqEditors ...RequestEditorFn) (*GetAppPortsResp, error)
// AppSketchListLibrariesWithResponse request
AppSketchListLibrariesWithResponse(ctx context.Context, appID string, reqEditors ...RequestEditorFn) (*AppSketchListLibrariesResp, error)
// AppSketchRemoveLibraryWithResponse request
AppSketchRemoveLibraryWithResponse(ctx context.Context, appID string, libRef string, reqEditors ...RequestEditorFn) (*AppSketchRemoveLibraryResp, error)
// AppSketchAddLibraryWithResponse request
AppSketchAddLibraryWithResponse(ctx context.Context, appID string, libRef string, params *AppSketchAddLibraryParams, reqEditors ...RequestEditorFn) (*AppSketchAddLibraryResp, error)
// DeleteAppWithResponse request
DeleteAppWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAppResp, error)
// GetAppDetailsWithResponse request
GetAppDetailsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAppDetailsResp, error)
// EditAppWithBodyWithResponse request with any body
EditAppWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditAppResp, error)
EditAppWithResponse(ctx context.Context, id string, body EditAppJSONRequestBody, reqEditors ...RequestEditorFn) (*EditAppResp, error)
// CloneAppWithBodyWithResponse request with any body
CloneAppWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CloneAppResp, error)
CloneAppWithResponse(ctx context.Context, id string, body CloneAppJSONRequestBody, reqEditors ...RequestEditorFn) (*CloneAppResp, error)
// GetAppEventsWithResponse request
GetAppEventsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAppEventsResp, error)
// GetAppLogsWithResponse request
GetAppLogsWithResponse(ctx context.Context, id string, params *GetAppLogsParams, reqEditors ...RequestEditorFn) (*GetAppLogsResp, error)
// StartAppWithResponse request
StartAppWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StartAppResp, error)
// StopAppWithResponse request
StopAppWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StopAppResp, error)
// GetBricksWithResponse request
GetBricksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBricksResp, error)
// GetBrickDetailsWithResponse request
GetBrickDetailsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetBrickDetailsResp, error)
// GetConfigWithResponse request
GetConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigResp, error)
// ListLibrariesWithResponse request
ListLibrariesWithResponse(ctx context.Context, params *ListLibrariesParams, reqEditors ...RequestEditorFn) (*ListLibrariesResp, error)
// GetAIModelsWithResponse request
GetAIModelsWithResponse(ctx context.Context, params *GetAIModelsParams, reqEditors ...RequestEditorFn) (*GetAIModelsResp, error)
// GetAIModelDetailsWithResponse request
GetAIModelDetailsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAIModelDetailsResp, error)
// GetPropertyKeysWithResponse request
GetPropertyKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPropertyKeysResp, error)
// DeletePropertyWithResponse request
DeletePropertyWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*DeletePropertyResp, error)
// GetPropertyWithResponse request
GetPropertyWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetPropertyResp, error)
// UpdatePropertyWithBodyWithResponse request with any body
UpdatePropertyWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePropertyResp, error)
UpdatePropertyWithResponse(ctx context.Context, key string, body UpdatePropertyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePropertyResp, error)
// GetSystemResourcesWithResponse request
GetSystemResourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSystemResourcesResp, error)
// ApplyUpdateWithResponse request
ApplyUpdateWithResponse(ctx context.Context, params *ApplyUpdateParams, reqEditors ...RequestEditorFn) (*ApplyUpdateResp, error)
// CheckUpdateWithResponse request
CheckUpdateWithResponse(ctx context.Context, params *CheckUpdateParams, reqEditors ...RequestEditorFn) (*CheckUpdateResp, error)
// EventsUpdateWithResponse request
EventsUpdateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EventsUpdateResp, error)
// GetVersionsWithResponse request
GetVersionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVersionsResp, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CloneAppJSONRequestBody ¶
type CloneAppJSONRequestBody = CloneRequest
CloneAppJSONRequestBody defines body for CloneApp for application/json ContentType.
type CloneAppResp ¶
type CloneAppResp struct {
Body []byte
HTTPResponse *http.Response
JSON201 *CloneAppResponse
JSON400 *BadRequest
JSON404 *NotFound
JSON409 *Conflict
JSON412 *PreconditionFailed
JSON500 *InternalServerError
}
func ParseCloneAppResp ¶
func ParseCloneAppResp(rsp *http.Response) (*CloneAppResp, error)
ParseCloneAppResp parses an HTTP response from a CloneAppWithResponse call
func (CloneAppResp) Status ¶
func (r CloneAppResp) Status() string
Status returns HTTPResponse.Status
func (CloneAppResp) StatusCode ¶
func (r CloneAppResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CloneAppResponse ¶
type CloneAppResponse struct {
Id *string `json:"id,omitempty"`
}
CloneAppResponse defines model for CloneAppResponse.
type CloneRequest ¶
type CloneRequest struct {
// Icon application icon
Icon *string `json:"icon"`
// Name application name
Name *string `json:"name"`
}
CloneRequest defines model for CloneRequest.
type CodeExample ¶
type CodeExample struct {
Path *string `json:"path,omitempty"`
}
CodeExample defines model for CodeExample.
type ConfigDirectories ¶
type ConfigDirectories struct {
Apps *string `json:"apps,omitempty"`
Data *string `json:"data,omitempty"`
Examples *string `json:"examples,omitempty"`
}
ConfigDirectories defines model for ConfigDirectories.
type ConfigResponse ¶
type ConfigResponse struct {
Directories *ConfigDirectories `json:"directories,omitempty"`
}
ConfigResponse defines model for ConfigResponse.
type CreateAppJSONRequestBody ¶
type CreateAppJSONRequestBody = CreateAppRequest
CreateAppJSONRequestBody defines body for CreateApp for application/json ContentType.
type CreateAppParams ¶
type CreateAppParams struct {
// SkipPython If true, the app will not be created with the python part.
SkipPython *bool `form:"skip-python,omitempty" json:"skip-python,omitempty"`
// SkipSketch If true, the app will not be created with the sketch part.
SkipSketch *bool `form:"skip-sketch,omitempty" json:"skip-sketch,omitempty"`
}
CreateAppParams defines parameters for CreateApp.
type CreateAppRequest ¶
type CreateAppRequest struct {
// Description application description
Description *string `json:"description,omitempty"`
// Icon application icon
Icon *string `json:"icon,omitempty"`
// Name application name
Name string `json:"name"`
}
CreateAppRequest defines model for CreateAppRequest.
type CreateAppResp ¶
type CreateAppResp struct {
Body []byte
HTTPResponse *http.Response
JSON201 *CreateAppResponse
JSON400 *BadRequest
JSON409 *Conflict
JSON500 *InternalServerError
}
func ParseCreateAppResp ¶
func ParseCreateAppResp(rsp *http.Response) (*CreateAppResp, error)
ParseCreateAppResp parses an HTTP response from a CreateAppWithResponse call
func (CreateAppResp) Status ¶
func (r CreateAppResp) Status() string
Status returns HTTPResponse.Status
func (CreateAppResp) StatusCode ¶
func (r CreateAppResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAppResponse ¶
type CreateAppResponse struct {
Id *string `json:"id,omitempty"`
}
CreateAppResponse defines model for CreateAppResponse.
type DeleteAppBrickInstanceResp ¶
type DeleteAppBrickInstanceResp struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequest
JSON412 *PreconditionFailed
JSON500 *InternalServerError
}
func ParseDeleteAppBrickInstanceResp ¶
func ParseDeleteAppBrickInstanceResp(rsp *http.Response) (*DeleteAppBrickInstanceResp, error)
ParseDeleteAppBrickInstanceResp parses an HTTP response from a DeleteAppBrickInstanceWithResponse call
func (DeleteAppBrickInstanceResp) Status ¶
func (r DeleteAppBrickInstanceResp) Status() string
Status returns HTTPResponse.Status
func (DeleteAppBrickInstanceResp) StatusCode ¶
func (r DeleteAppBrickInstanceResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAppResp ¶
type DeleteAppResp struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequest
JSON412 *PreconditionFailed
JSON500 *InternalServerError
}
func ParseDeleteAppResp ¶
func ParseDeleteAppResp(rsp *http.Response) (*DeleteAppResp, error)
ParseDeleteAppResp parses an HTTP response from a DeleteAppWithResponse call
func (DeleteAppResp) Status ¶
func (r DeleteAppResp) Status() string
Status returns HTTPResponse.Status
func (DeleteAppResp) StatusCode ¶
func (r DeleteAppResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePropertyResp ¶
type DeletePropertyResp struct {
Body []byte
HTTPResponse *http.Response
JSON204 *string
JSON400 *BadRequest
JSON404 *NotFound
JSON500 *InternalServerError
}
func ParseDeletePropertyResp ¶
func ParseDeletePropertyResp(rsp *http.Response) (*DeletePropertyResp, error)
ParseDeletePropertyResp parses an HTTP response from a DeletePropertyWithResponse call
func (DeletePropertyResp) Status ¶
func (r DeletePropertyResp) Status() string
Status returns HTTPResponse.Status
func (DeletePropertyResp) StatusCode ¶
func (r DeletePropertyResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditAppJSONRequestBody ¶
type EditAppJSONRequestBody = EditRequest
EditAppJSONRequestBody defines body for EditApp for application/json ContentType.
type EditAppResp ¶
type EditAppResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AppDetailedInfo
JSON400 *BadRequest
JSON412 *PreconditionFailed
JSON500 *InternalServerError
}
func ParseEditAppResp ¶
func ParseEditAppResp(rsp *http.Response) (*EditAppResp, error)
ParseEditAppResp parses an HTTP response from a EditAppWithResponse call
func (EditAppResp) StatusCode ¶
func (r EditAppResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditRequest ¶
type EditRequest struct {
Default *bool `json:"default"`
// Description application description
Description *string `json:"description"`
// Icon application icon
Icon *string `json:"icon"`
// Name application name
Name *string `json:"name"`
}
EditRequest defines model for EditRequest.
type ErrorResponse ¶
type ErrorResponse struct {
Code *int `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
}
ErrorResponse defines model for ErrorResponse.
type EventsUpdateResp ¶
type EventsUpdateResp struct {
Body []byte
HTTPResponse *http.Response
JSON500 *InternalServerError
}
func ParseEventsUpdateResp ¶
func ParseEventsUpdateResp(rsp *http.Response) (*EventsUpdateResp, error)
ParseEventsUpdateResp parses an HTTP response from a EventsUpdateWithResponse call
func (EventsUpdateResp) Status ¶
func (r EventsUpdateResp) Status() string
Status returns HTTPResponse.Status
func (EventsUpdateResp) StatusCode ¶
func (r EventsUpdateResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAIModelDetailsResp ¶
type GetAIModelDetailsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AIModelItem
JSON500 *InternalServerError
}
func ParseGetAIModelDetailsResp ¶
func ParseGetAIModelDetailsResp(rsp *http.Response) (*GetAIModelDetailsResp, error)
ParseGetAIModelDetailsResp parses an HTTP response from a GetAIModelDetailsWithResponse call
func (GetAIModelDetailsResp) Status ¶
func (r GetAIModelDetailsResp) Status() string
Status returns HTTPResponse.Status
func (GetAIModelDetailsResp) StatusCode ¶
func (r GetAIModelDetailsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAIModelsParams ¶
type GetAIModelsParams struct {
// Bricks Filter models by bricks. If not specified, all models are returned.
Bricks *string `form:"bricks,omitempty" json:"bricks,omitempty"`
}
GetAIModelsParams defines parameters for GetAIModels.
type GetAIModelsResp ¶
type GetAIModelsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AIModelsListResult
JSON500 *InternalServerError
}
func ParseGetAIModelsResp ¶
func ParseGetAIModelsResp(rsp *http.Response) (*GetAIModelsResp, error)
ParseGetAIModelsResp parses an HTTP response from a GetAIModelsWithResponse call
func (GetAIModelsResp) Status ¶
func (r GetAIModelsResp) Status() string
Status returns HTTPResponse.Status
func (GetAIModelsResp) StatusCode ¶
func (r GetAIModelsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppBrickInstanceByBrickIDResp ¶
type GetAppBrickInstanceByBrickIDResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *BrickInstance
JSON400 *BadRequest
JSON412 *PreconditionFailed
JSON500 *InternalServerError
}
func ParseGetAppBrickInstanceByBrickIDResp ¶
func ParseGetAppBrickInstanceByBrickIDResp(rsp *http.Response) (*GetAppBrickInstanceByBrickIDResp, error)
ParseGetAppBrickInstanceByBrickIDResp parses an HTTP response from a GetAppBrickInstanceByBrickIDWithResponse call
func (GetAppBrickInstanceByBrickIDResp) Status ¶
func (r GetAppBrickInstanceByBrickIDResp) Status() string
Status returns HTTPResponse.Status
func (GetAppBrickInstanceByBrickIDResp) StatusCode ¶
func (r GetAppBrickInstanceByBrickIDResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppBrickInstancesResp ¶
type GetAppBrickInstancesResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AppBrickInstancesResult
JSON412 *PreconditionFailed
JSON500 *InternalServerError
}
func ParseGetAppBrickInstancesResp ¶
func ParseGetAppBrickInstancesResp(rsp *http.Response) (*GetAppBrickInstancesResp, error)
ParseGetAppBrickInstancesResp parses an HTTP response from a GetAppBrickInstancesWithResponse call
func (GetAppBrickInstancesResp) Status ¶
func (r GetAppBrickInstancesResp) Status() string
Status returns HTTPResponse.Status
func (GetAppBrickInstancesResp) StatusCode ¶
func (r GetAppBrickInstancesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppDetailsResp ¶
type GetAppDetailsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AppDetailedInfo
JSON412 *PreconditionFailed
JSON500 *InternalServerError
}
func ParseGetAppDetailsResp ¶
func ParseGetAppDetailsResp(rsp *http.Response) (*GetAppDetailsResp, error)
ParseGetAppDetailsResp parses an HTTP response from a GetAppDetailsWithResponse call
func (GetAppDetailsResp) Status ¶
func (r GetAppDetailsResp) Status() string
Status returns HTTPResponse.Status
func (GetAppDetailsResp) StatusCode ¶
func (r GetAppDetailsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppEventsResp ¶
type GetAppEventsResp struct {
Body []byte
HTTPResponse *http.Response
JSON500 *InternalServerError
}
func ParseGetAppEventsResp ¶
func ParseGetAppEventsResp(rsp *http.Response) (*GetAppEventsResp, error)
ParseGetAppEventsResp parses an HTTP response from a GetAppEventsWithResponse call
func (GetAppEventsResp) Status ¶
func (r GetAppEventsResp) Status() string
Status returns HTTPResponse.Status
func (GetAppEventsResp) StatusCode ¶
func (r GetAppEventsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppLogsParams ¶
type GetAppLogsParams struct {
Filter *string `form:"filter,omitempty" json:"filter,omitempty"`
Tail *int `form:"tail,omitempty" json:"tail,omitempty"`
Nofollow *bool `form:"nofollow,omitempty" json:"nofollow,omitempty"`
}
GetAppLogsParams defines parameters for GetAppLogs.
type GetAppLogsResp ¶
type GetAppLogsResp struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequest
JSON412 *PreconditionFailed
JSON500 *InternalServerError
}
func ParseGetAppLogsResp ¶
func ParseGetAppLogsResp(rsp *http.Response) (*GetAppLogsResp, error)
ParseGetAppLogsResp parses an HTTP response from a GetAppLogsWithResponse call
func (GetAppLogsResp) Status ¶
func (r GetAppLogsResp) Status() string
Status returns HTTPResponse.Status
func (GetAppLogsResp) StatusCode ¶
func (r GetAppLogsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppPortsResp ¶
type GetAppPortsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AppPortResponse
JSON412 *PreconditionFailed
JSON500 *InternalServerError
}
func ParseGetAppPortsResp ¶
func ParseGetAppPortsResp(rsp *http.Response) (*GetAppPortsResp, error)
ParseGetAppPortsResp parses an HTTP response from a GetAppPortsWithResponse call
func (GetAppPortsResp) Status ¶
func (r GetAppPortsResp) Status() string
Status returns HTTPResponse.Status
func (GetAppPortsResp) StatusCode ¶
func (r GetAppPortsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppsEventsResp ¶
type GetAppsEventsResp struct {
Body []byte
HTTPResponse *http.Response
JSON500 *InternalServerError
}
func ParseGetAppsEventsResp ¶
func ParseGetAppsEventsResp(rsp *http.Response) (*GetAppsEventsResp, error)
ParseGetAppsEventsResp parses an HTTP response from a GetAppsEventsWithResponse call
func (GetAppsEventsResp) Status ¶
func (r GetAppsEventsResp) Status() string
Status returns HTTPResponse.Status
func (GetAppsEventsResp) StatusCode ¶
func (r GetAppsEventsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppsParams ¶
type GetAppsParams struct {
// Filter Filters apps by apps,examples,default
Filter *string `form:"filter,omitempty" json:"filter,omitempty"`
// Status Filters applications by status
Status *Status `form:"status,omitempty" json:"status,omitempty"`
}
GetAppsParams defines parameters for GetApps.
type GetAppsResp ¶
type GetAppsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AppListResponse
JSON500 *InternalServerError
}
func ParseGetAppsResp ¶
func ParseGetAppsResp(rsp *http.Response) (*GetAppsResp, error)
ParseGetAppsResp parses an HTTP response from a GetAppsWithResponse call
func (GetAppsResp) StatusCode ¶
func (r GetAppsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBrickDetailsResp ¶
type GetBrickDetailsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *BrickDetailsResult
JSON400 *BadRequest
JSON404 *NotFound
JSON500 *InternalServerError
}
func ParseGetBrickDetailsResp ¶
func ParseGetBrickDetailsResp(rsp *http.Response) (*GetBrickDetailsResp, error)
ParseGetBrickDetailsResp parses an HTTP response from a GetBrickDetailsWithResponse call
func (GetBrickDetailsResp) Status ¶
func (r GetBrickDetailsResp) Status() string
Status returns HTTPResponse.Status
func (GetBrickDetailsResp) StatusCode ¶
func (r GetBrickDetailsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBricksResp ¶
type GetBricksResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *BrickListResult
JSON500 *InternalServerError
}
func ParseGetBricksResp ¶
func ParseGetBricksResp(rsp *http.Response) (*GetBricksResp, error)
ParseGetBricksResp parses an HTTP response from a GetBricksWithResponse call
func (GetBricksResp) Status ¶
func (r GetBricksResp) Status() string
Status returns HTTPResponse.Status
func (GetBricksResp) StatusCode ¶
func (r GetBricksResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetConfigResp ¶
type GetConfigResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ConfigResponse
JSON500 *InternalServerError
}
func ParseGetConfigResp ¶
func ParseGetConfigResp(rsp *http.Response) (*GetConfigResp, error)
ParseGetConfigResp parses an HTTP response from a GetConfigWithResponse call
func (GetConfigResp) Status ¶
func (r GetConfigResp) Status() string
Status returns HTTPResponse.Status
func (GetConfigResp) StatusCode ¶
func (r GetConfigResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPropertyKeysResp ¶
type GetPropertyKeysResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PropertyKeysResponse
JSON500 *InternalServerError
}
func ParseGetPropertyKeysResp ¶
func ParseGetPropertyKeysResp(rsp *http.Response) (*GetPropertyKeysResp, error)
ParseGetPropertyKeysResp parses an HTTP response from a GetPropertyKeysWithResponse call
func (GetPropertyKeysResp) Status ¶
func (r GetPropertyKeysResp) Status() string
Status returns HTTPResponse.Status
func (GetPropertyKeysResp) StatusCode ¶
func (r GetPropertyKeysResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPropertyResp ¶
type GetPropertyResp struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequest
JSON404 *NotFound
JSON500 *InternalServerError
}
func ParseGetPropertyResp ¶
func ParseGetPropertyResp(rsp *http.Response) (*GetPropertyResp, error)
ParseGetPropertyResp parses an HTTP response from a GetPropertyWithResponse call
func (GetPropertyResp) Status ¶
func (r GetPropertyResp) Status() string
Status returns HTTPResponse.Status
func (GetPropertyResp) StatusCode ¶
func (r GetPropertyResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSystemResourcesResp ¶
type GetSystemResourcesResp struct {
Body []byte
HTTPResponse *http.Response
JSON500 *InternalServerError
}
func ParseGetSystemResourcesResp ¶
func ParseGetSystemResourcesResp(rsp *http.Response) (*GetSystemResourcesResp, error)
ParseGetSystemResourcesResp parses an HTTP response from a GetSystemResourcesWithResponse call
func (GetSystemResourcesResp) Status ¶
func (r GetSystemResourcesResp) Status() string
Status returns HTTPResponse.Status
func (GetSystemResourcesResp) StatusCode ¶
func (r GetSystemResourcesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVersionsResp ¶
type GetVersionsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *VersionResponse
JSON500 *InternalServerError
}
func ParseGetVersionsResp ¶
func ParseGetVersionsResp(rsp *http.Response) (*GetVersionsResp, error)
ParseGetVersionsResp parses an HTTP response from a GetVersionsWithResponse call
func (GetVersionsResp) Status ¶
func (r GetVersionsResp) Status() string
Status returns HTTPResponse.Status
func (GetVersionsResp) StatusCode ¶
func (r GetVersionsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InternalServerError ¶
type InternalServerError = ErrorResponse
InternalServerError defines model for InternalServerError.
type Library ¶
type Library struct {
Architectures *[]string `json:"architectures"`
Author *string `json:"author,omitempty"`
Category *string `json:"category,omitempty"`
Dependencies *[]struct {
Name *string `json:"name,omitempty"`
} `json:"dependencies"`
ExampleCount *int `json:"example_count,omitempty"`
Id *string `json:"id,omitempty"`
Includes *[]string `json:"includes"`
License *string `json:"license,omitempty"`
Maintainer *string `json:"maintainer,omitempty"`
Name *string `json:"name,omitempty"`
Paragraph *string `json:"paragraph,omitempty"`
Platform *string `json:"platform"`
Releases *[]struct {
Id *string `json:"id,omitempty"`
Version *string `json:"version,omitempty"`
} `json:"releases"`
Repository *struct {
Forks *int `json:"forks,omitempty"`
Stars *int `json:"stars,omitempty"`
UpdatedAt *string `json:"updated_at,omitempty"`
Url *string `json:"url,omitempty"`
} `json:"repository"`
Sentence *string `json:"sentence,omitempty"`
Types *[]string `json:"types"`
Website *string `json:"website,omitempty"`
}
Library defines model for Library.
type LibraryListResponse ¶
type LibraryListResponse struct {
Libraries *[]Library `json:"libraries"`
Pagination *Pagination `json:"pagination,omitempty"`
}
LibraryListResponse defines model for LibraryListResponse.
type LibraryReleaseID ¶
type LibraryReleaseID = map[string]interface{}
LibraryReleaseID defines model for LibraryReleaseID.
type ListLibrariesParams ¶
type ListLibrariesParams struct {
// Search Search term to filter libraries by name, sentence, paragraph.
Search *string `form:"search,omitempty" json:"search,omitempty"`
// Architecture Filter libraries by target architecture
Architecture *string `form:"architecture,omitempty" json:"architecture,omitempty"`
// Platform Filter libraries by platform
Platform *string `form:"platform,omitempty" json:"platform,omitempty"`
// Sort Sort order for the results
Sort *ListLibrariesParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
// Page Page number for pagination
Page *int `form:"page,omitempty" json:"page,omitempty"`
// Limit Number of results per page
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListLibrariesParams defines parameters for ListLibraries.
type ListLibrariesParamsSort ¶
type ListLibrariesParamsSort string
ListLibrariesParamsSort defines parameters for ListLibraries.
const ( ForksAsc ListLibrariesParamsSort = "forks_asc" ForksDesc ListLibrariesParamsSort = "forks_desc" RecentAsc ListLibrariesParamsSort = "recent_asc" RecentDesc ListLibrariesParamsSort = "recent_desc" StarsAsc ListLibrariesParamsSort = "stars_asc" StarsDesc ListLibrariesParamsSort = "stars_desc" )
Defines values for ListLibrariesParamsSort.
type ListLibrariesResp ¶
type ListLibrariesResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LibraryListResponse
JSON400 *BadRequest
JSON500 *InternalServerError
}
func ParseListLibrariesResp ¶
func ParseListLibrariesResp(rsp *http.Response) (*ListLibrariesResp, error)
ParseListLibrariesResp parses an HTTP response from a ListLibrariesWithResponse call
func (ListLibrariesResp) Status ¶
func (r ListLibrariesResp) Status() string
Status returns HTTPResponse.Status
func (ListLibrariesResp) StatusCode ¶
func (r ListLibrariesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PackageType ¶
type PackageType string
PackageType Package type
const ( ArduinoPlatform PackageType = "arduino-platform" DebianPackage PackageType = "debian-package" )
Defines values for PackageType.
type Pagination ¶
type Pagination struct {
NextPage *int `json:"next_page,omitempty"`
Page *int `json:"page,omitempty"`
PerPage *int `json:"per_page,omitempty"`
PrevPage *int `json:"prev_page,omitempty"`
TotalItems *int `json:"total_items,omitempty"`
TotalPages *int `json:"total_pages,omitempty"`
}
Pagination defines model for Pagination.
type Port ¶
type Port struct {
// Port exposed port of the app
Port *string `json:"port,omitempty"`
// ServiceName name of the service if the port is exposed by a brick
ServiceName *string `json:"serviceName,omitempty"`
// Source source of the port, e.g. app or brick:data-storage
Source *string `json:"source,omitempty"`
}
Port defines model for Port.
type PreconditionFailed ¶
type PreconditionFailed = ErrorResponse
PreconditionFailed defines model for PreconditionFailed.
type PropertyKeysResponse ¶
type PropertyKeysResponse struct {
Keys *[]string `json:"keys"`
}
PropertyKeysResponse defines model for PropertyKeysResponse.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type SketchAddLibraryResponse ¶
type SketchAddLibraryResponse struct {
Libraries *[]LibraryReleaseID `json:"libraries"`
}
SketchAddLibraryResponse defines model for SketchAddLibraryResponse.
type SketchListLibraryResponse ¶
type SketchListLibraryResponse struct {
Libraries *[]LibraryReleaseID `json:"libraries"`
}
SketchListLibraryResponse defines model for SketchListLibraryResponse.
type SketchRemoveLibraryResponse ¶
type SketchRemoveLibraryResponse struct {
Libraries *[]LibraryReleaseID `json:"libraries"`
}
SketchRemoveLibraryResponse defines model for SketchRemoveLibraryResponse.
type StartAppResp ¶
type StartAppResp struct {
Body []byte
HTTPResponse *http.Response
JSON412 *PreconditionFailed
JSON500 *InternalServerError
}
func ParseStartAppResp ¶
func ParseStartAppResp(rsp *http.Response) (*StartAppResp, error)
ParseStartAppResp parses an HTTP response from a StartAppWithResponse call
func (StartAppResp) Status ¶
func (r StartAppResp) Status() string
Status returns HTTPResponse.Status
func (StartAppResp) StatusCode ¶
func (r StartAppResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StopAppResp ¶
type StopAppResp struct {
Body []byte
HTTPResponse *http.Response
JSON412 *PreconditionFailed
JSON500 *InternalServerError
}
func ParseStopAppResp ¶
func ParseStopAppResp(rsp *http.Response) (*StopAppResp, error)
ParseStopAppResp parses an HTTP response from a StopAppWithResponse call
func (StopAppResp) StatusCode ¶
func (r StopAppResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAppBrickInstanceJSONRequestBody ¶
type UpdateAppBrickInstanceJSONRequestBody = BrickCreateUpdateRequest
UpdateAppBrickInstanceJSONRequestBody defines body for UpdateAppBrickInstance for application/json ContentType.
type UpdateAppBrickInstanceResp ¶
type UpdateAppBrickInstanceResp struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequest
JSON412 *PreconditionFailed
JSON500 *InternalServerError
}
func ParseUpdateAppBrickInstanceResp ¶
func ParseUpdateAppBrickInstanceResp(rsp *http.Response) (*UpdateAppBrickInstanceResp, error)
ParseUpdateAppBrickInstanceResp parses an HTTP response from a UpdateAppBrickInstanceWithResponse call
func (UpdateAppBrickInstanceResp) Status ¶
func (r UpdateAppBrickInstanceResp) Status() string
Status returns HTTPResponse.Status
func (UpdateAppBrickInstanceResp) StatusCode ¶
func (r UpdateAppBrickInstanceResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateCheckResult ¶
type UpdateCheckResult struct {
Updates *[]UpgradablePackage `json:"updates"`
}
UpdateCheckResult defines model for UpdateCheckResult.
type UpdatePropertyJSONBody ¶
type UpdatePropertyJSONBody = string
UpdatePropertyJSONBody defines parameters for UpdateProperty.
type UpdatePropertyJSONRequestBody ¶
type UpdatePropertyJSONRequestBody = UpdatePropertyJSONBody
UpdatePropertyJSONRequestBody defines body for UpdateProperty for application/json ContentType.
type UpdatePropertyResp ¶
type UpdatePropertyResp struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequest
JSON404 *NotFound
JSON500 *InternalServerError
}
func ParseUpdatePropertyResp ¶
func ParseUpdatePropertyResp(rsp *http.Response) (*UpdatePropertyResp, error)
ParseUpdatePropertyResp parses an HTTP response from a UpdatePropertyWithResponse call
func (UpdatePropertyResp) Status ¶
func (r UpdatePropertyResp) Status() string
Status returns HTTPResponse.Status
func (UpdatePropertyResp) StatusCode ¶
func (r UpdatePropertyResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpgradablePackage ¶
type UpgradablePackage struct {
FromVersion *string `json:"from_version,omitempty"`
Name *string `json:"name,omitempty"`
ToVersion *string `json:"to_version,omitempty"`
// Type Package type
Type *PackageType `json:"type,omitempty"`
}
UpgradablePackage defines model for UpgradablePackage.
type UpsertAppBrickInstanceJSONRequestBody ¶
type UpsertAppBrickInstanceJSONRequestBody = BrickCreateUpdateRequest
UpsertAppBrickInstanceJSONRequestBody defines body for UpsertAppBrickInstance for application/json ContentType.
type UpsertAppBrickInstanceResp ¶
type UpsertAppBrickInstanceResp struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequest
JSON412 *PreconditionFailed
JSON500 *InternalServerError
}
func ParseUpsertAppBrickInstanceResp ¶
func ParseUpsertAppBrickInstanceResp(rsp *http.Response) (*UpsertAppBrickInstanceResp, error)
ParseUpsertAppBrickInstanceResp parses an HTTP response from a UpsertAppBrickInstanceWithResponse call
func (UpsertAppBrickInstanceResp) Status ¶
func (r UpsertAppBrickInstanceResp) Status() string
Status returns HTTPResponse.Status
func (UpsertAppBrickInstanceResp) StatusCode ¶
func (r UpsertAppBrickInstanceResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VersionResponse ¶
type VersionResponse struct {
Version *string `json:"version,omitempty"`
}
VersionResponse defines model for VersionResponse.