UNPKG

@thlmenezes/sdk-js

Version:

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

40 lines (39 loc) 1.3 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 { SshKey } from '../../generated/models'; import { SshKeyUpdate } from '../../generated/models'; /** * SSHKeysApiService - Auto-generated */ export declare class SSHKeysApiService extends ApiBaseService { /** * * @summary Delete a given SSH key * @param {number} sshKeyId The ID of the ssh key. */ deleteSshKey(sshKeyId: number): Promise<ApiResponse<void>>; /** * * @summary Get a SSH key by ID * @param {number} sshKeyId The ID of the ssh key. */ getSshKey(sshKeyId: number): Promise<ApiResponse<SshKey>>; /** * * @summary Update an existing SSH key * @param {number} sshKeyId The ID of the ssh key. * @param {SshKeyUpdate} sshKeyUpdate A JSON object containing the resource data */ updateSshKey(sshKeyId: number, sshKeyUpdate: SshKeyUpdate): Promise<ApiResponse<void>>; }