UNPKG

@devopness/sdk-js

Version:

Devopness API JS/TS SDK - Painless essential DevOps to everyone

39 lines (38 loc) 1.6 kB
/** * devopness API * Devopness API - Painless essential DevOps to everyone * * The version of the OpenAPI document: latest * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ApiBaseService } from "../../../services/ApiBaseService"; import { ApiResponse } from "../../../common/ApiResponse"; import { Variable } from '../../generated/models'; import { VariableApplicationCreate } from '../../generated/models'; import { VariableRelation } from '../../generated/models'; /** * ApplicationsVariablesApiService - Auto-generated */ export declare class ApplicationsVariablesApiService extends ApiBaseService { /** * * @deprecated * @summary Create a new variable linked to an application * @param {number} applicationId The ID of the application. * @param {VariableApplicationCreate} variableApplicationCreate A JSON object containing the resource data */ addApplicationVariable(applicationId: number, variableApplicationCreate: VariableApplicationCreate): Promise<ApiResponse<Variable>>; /** * * @deprecated * @summary Return a list of variables belonging to an application * @param {number} applicationId The ID of the application. * @param {number} [page] Number of the page to be retrieved * @param {number} [perPage] Number of items returned per page */ listApplicationVariables(applicationId: number, page?: number, perPage?: number): Promise<ApiResponse<Array<VariableRelation>>>; }