Rust API client for bellhop-client

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

Installation

Put the package under your project folder and add the following in import: "./bellhop-client"

Documentation for API Endpoints

All URIs are relative to http://localhost

Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- DefaultApi | createasset | post /assets | Create a new asset *DefaultApi* | createassettype | post /types | Create a new asset type *DefaultApi* | createlease | put /assets/{assetid}/lease | Create a new lease for this asset *DefaultApi* | createtag | post /assets/{assetid}/tags | Create a new tag *DefaultApi* | createtagtype | post /types/{assettypeid}/tag-types | Create a new tag type *DefaultApi* | deleteasset | delete /assets/{assetid} | Delete an asset and all tags associated with it *DefaultApi* | deleteassettype | delete /types/{assettypeid} | Delete an asset type and all assets and tags associated with it *DefaultApi* | deletelease | delete /assets/{assetid}/lease | Release a lease ahead of its end time *DefaultApi* | deletetag | delete /assets/{assetid}/tags/{tagtypeid} | Delete a tag *DefaultApi* | listassettypes | get /types | List all asset types *DefaultApi* | listassets | get /assets | List all assets DefaultApi | listsubassets | get /types/{assettypeid}/assets | List assets that belong to an asset type DefaultApi | listtagtypes | get /types/{assettypeid}/tag-types | List tag types that belong to an asset type DefaultApi | listtags | get /assets/{assetid}/tags | List tags that belong to an asset DefaultApi | showasset | get /assets/{assetid} | Show details of an asset DefaultApi | showassettype | get /types/{assettypeid} | Show details of an asset type DefaultApi | showlease | get /assets/{assetid}/lease | Show details of an asset's lease DefaultApi | showtag | get /assets/{assetid}/tags/{tagtypeid} | Show details of a tag DefaultApi | showtagtype | get /types/{assettypeid}/tag-types/{tagtypeid} | Show details of a tag type

Documentation For Models

Documentation For Authorization

XBellhopEmail

Example auth := context.WithValue(context.TODO(), sw.ContextAPIKey, sw.APIKey{ Key: "APIKEY", Prefix: "Bearer", // Omit if not necessary. }) r, err := client.Service.Operation(auth, args)

Author