import { ObjectResourceApi } from "https://deno.land/x/windmill@v1.38.0/windmill-api/types/ObjectParamAPI.ts";
Constructors
new
ObjectResourceApi(configuration: Configuration,
requestFactory?: ResourceApiRequestFactory,
responseProcessor?: ResourceApiResponseProcessor,
Properties
private
api: ObservableResourceApiMethods
createResource(param: ResourceApiCreateResourceRequest, options?: Configuration): Promise<string>
create resource
createResourceType(param: ResourceApiCreateResourceTypeRequest, options?: Configuration): Promise<string>
create resource_type
deleteResource(param: ResourceApiDeleteResourceRequest, options?: Configuration): Promise<string>
delete resource
deleteResourceType(param: ResourceApiDeleteResourceTypeRequest, options?: Configuration): Promise<string>
delete resource_type
existsResource(param: ResourceApiExistsResourceRequest, options?: Configuration): Promise<boolean>
does resource exists
existsResourceType(param: ResourceApiExistsResourceTypeRequest, options?: Configuration): Promise<boolean>
does resource_type exists
getResource(param: ResourceApiGetResourceRequest, options?: Configuration): Promise<Resource>
get resource
getResourceType(param: ResourceApiGetResourceTypeRequest, options?: Configuration): Promise<ResourceType>
get resource_type
listResource(param: ResourceApiListResourceRequest, options?: Configuration): Promise<Array<Resource>>
list resources
listResourceType(param: ResourceApiListResourceTypeRequest, options?: Configuration): Promise<Array<ResourceType>>
list resource_types
listResourceTypeNames(param: ResourceApiListResourceTypeNamesRequest, options?: Configuration): Promise<Array<string>>
list resource_types names
updateResource(param: ResourceApiUpdateResourceRequest, options?: Configuration): Promise<string>
update resource
updateResourceType(param: ResourceApiUpdateResourceTypeRequest, options?: Configuration): Promise<string>
update resource_type