/* * InfluxDB OSS API Service * * The InfluxDB v2 API provides a programmatic interface for all interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. * * OpenAPI spec version: 2.0.0 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Threading; using RestSharp; using InfluxDB.Client.Api.Client; using InfluxDB.Client.Api.Domain; namespace InfluxDB.Client.Api.Service { /// /// Represents a collection of functions to interact with the API endpoints /// public interface IInvokableScriptsService : IApiAccessor { #region Synchronous Operations /// /// Delete a script /// /// /// Deletes a script and all associated records. /// /// Thrown when fails to make API call /// The ID of the script to delete. /// void DeleteScriptsID(string scriptID); /// /// Delete a script /// /// /// Deletes a script and all associated records. /// /// Thrown when fails to make API call /// The ID of the script to delete. /// ApiResponse of Object(void) ApiResponse DeleteScriptsIDWithHttpInfo(string scriptID); /// /// List scripts /// /// /// /// /// Thrown when fails to make API call /// The number of scripts to return. (optional) /// The offset for pagination. (optional) /// Scripts Scripts GetScripts(int? limit = null, int? offset = null); /// /// List scripts /// /// /// /// /// Thrown when fails to make API call /// The number of scripts to return. (optional) /// The offset for pagination. (optional) /// ApiResponse of Scripts ApiResponse GetScriptsWithHttpInfo(int? limit = null, int? offset = null); /// /// Retrieve a script /// /// /// Uses script ID to retrieve details of an invokable script. /// /// Thrown when fails to make API call /// The script ID. /// Script Script GetScriptsID(string scriptID); /// /// Retrieve a script /// /// /// Uses script ID to retrieve details of an invokable script. /// /// Thrown when fails to make API call /// The script ID. /// ApiResponse of Script ApiResponse