Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/windmill-api/apis/ResourceApi.ts>ResourceApiResponseProcessor

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
class ResourceApiResponseProcessor
import { ResourceApiResponseProcessor } from "https://deno.land/x/windmill@v1.32.0/windmill-api/apis/ResourceApi.ts";

Methods

createResource(response: ResponseContext): Promise<string>

Unwraps the actual response sent by the server from the response context and deserializes the response content to the expected objects

createResourceType(response: ResponseContext): Promise<string>

Unwraps the actual response sent by the server from the response context and deserializes the response content to the expected objects

deleteResource(response: ResponseContext): Promise<string>

Unwraps the actual response sent by the server from the response context and deserializes the response content to the expected objects

deleteResourceType(response: ResponseContext): Promise<string>

Unwraps the actual response sent by the server from the response context and deserializes the response content to the expected objects

existsResource(response: ResponseContext): Promise<boolean>

Unwraps the actual response sent by the server from the response context and deserializes the response content to the expected objects

existsResourceType(response: ResponseContext): Promise<boolean>

Unwraps the actual response sent by the server from the response context and deserializes the response content to the expected objects

getResource(response: ResponseContext): Promise<Resource>

Unwraps the actual response sent by the server from the response context and deserializes the response content to the expected objects

Unwraps the actual response sent by the server from the response context and deserializes the response content to the expected objects

listResource(response: ResponseContext): Promise<Array<Resource>>

Unwraps the actual response sent by the server from the response context and deserializes the response content to the expected objects

listResourceType(response: ResponseContext): Promise<Array<ResourceType>>

Unwraps the actual response sent by the server from the response context and deserializes the response content to the expected objects

listResourceTypeNames(response: ResponseContext): Promise<Array<string>>

Unwraps the actual response sent by the server from the response context and deserializes the response content to the expected objects

updateResource(response: ResponseContext): Promise<string>

Unwraps the actual response sent by the server from the response context and deserializes the response content to the expected objects

updateResourceType(response: ResponseContext): Promise<string>

Unwraps the actual response sent by the server from the response context and deserializes the response content to the expected objects